Formatting '/cache/fedora-36.qcow2.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=4294967296 backing_file=/cache/fedora-36.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/tmp5gt65yp9 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-36_setup.yml ************************************************** 1 plays in /cache/fedora-36_setup.yml PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/fedora-36_setup.yml:1 Friday 22 July 2022 00:27:16 +0000 (0:00:00.012) 0:00:00.012 *********** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [Create EPEL 36 repo] ***************************************************** task path: /cache/fedora-36_setup.yml:5 Friday 22 July 2022 00:27:18 +0000 (0:00:01.277) 0:00:01.290 *********** skipping: [/cache/fedora-36.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-36_setup.yml:15 Friday 22 July 2022 00:27:18 +0000 (0:00:00.039) 0:00:01.330 *********** skipping: [/cache/fedora-36.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-36_setup.yml:21 Friday 22 July 2022 00:27:18 +0000 (0:00:00.019) 0:00:01.349 *********** changed: [/cache/fedora-36.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-36_setup.yml:27 Friday 22 July 2022 00:28:01 +0000 (0:00:43.624) 0:00:44.974 *********** skipping: [/cache/fedora-36.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-36_setup.yml:35 Friday 22 July 2022 00:28:01 +0000 (0:00:00.023) 0:00:44.998 *********** skipping: [/cache/fedora-36.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-36.qcow2.snap : ok=2 changed=1 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Friday 22 July 2022 00:28:01 +0000 (0:00:00.028) 0:00:45.027 *********** =============================================================================== Create dnf cache ------------------------------------------------------- 43.62s /cache/fedora-36_setup.yml:21 ------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.28s /cache/fedora-36_setup.yml:1 -------------------------------------------------- Create EPEL 36 repo ----------------------------------------------------- 0.04s /cache/fedora-36_setup.yml:5 -------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/fedora-36_setup.yml:35 ------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/fedora-36_setup.yml:27 ------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/fedora-36_setup.yml:15 ------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmp6zl_o41u/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp6zl_o41u/tests/setup-snapshot.yml:1 Friday 22 July 2022 00:28:01 +0000 (0:00:00.012) 0:00:45.039 *********** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [Set platform/version specific variables] ********************************* task path: /tmp/tmp6zl_o41u/tests/setup-snapshot.yml:3 Friday 22 July 2022 00:28:02 +0000 (0:00:00.829) 0:00:45.869 *********** TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:28:02 +0000 (0:00:00.034) 0:00:45.903 *********** ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:28:03 +0000 (0:00:00.595) 0:00:46.499 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: libnetfilter_conntrack-1.0.8-4.fc36.x86_64", "Installed: libcap-ng-python3-0.8.3-1.fc36.x86_64", "Installed: iptables-libs-1.8.7-15.fc36.x86_64", "Installed: iptables-nft-1.8.7-15.fc36.x86_64", "Installed: libnfnetlink-1.0.1-21.fc36.x86_64", "Installed: libnftnl-1.2.1-2.fc36.x86_64", "Installed: python3-firewall-1.0.5-2.fc36.noarch", "Installed: jansson-2.13.1-4.fc36.x86_64", "Installed: firewalld-1.0.5-2.fc36.noarch", "Installed: firewalld-filesystem-1.0.5-2.fc36.noarch", "Installed: python3-gobject-base-3.42.1-1.fc36.x86_64", "Installed: python3-gobject-base-noarch-3.42.1-1.fc36.noarch", "Installed: libibverbs-39.0-1.fc36.x86_64", "Installed: ipset-7.15-2.fc36.x86_64", "Installed: gobject-introspection-1.72.0-1.fc36.x86_64", "Installed: ipset-libs-7.15-2.fc36.x86_64", "Installed: nftables-1:1.0.1-3.fc36.x86_64", "Installed: libpcap-14:1.10.1-3.fc36.x86_64", "Installed: python3-nftables-1:1.0.1-3.fc36.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:28:13 +0000 (0:00:10.593) 0:00:57.093 *********** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:28:14 +0000 (0:00:00.024) 0:00:57.117 *********** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do META: role_complete for /cache/fedora-36.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=6 changed=2 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Friday 22 July 2022 00:28:15 +0000 (0:00:01.819) 0:00:58.936 *********** =============================================================================== Create dnf cache ------------------------------------------------------- 43.62s /cache/fedora-36_setup.yml:21 ------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------ 10.59s /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.82s /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 1.28s /cache/fedora-36_setup.yml:1 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmp6zl_o41u/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.60s /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Create EPEL 36 repo ----------------------------------------------------- 0.04s /cache/fedora-36_setup.yml:5 -------------------------------------------------- Set platform/version specific variables --------------------------------- 0.03s /tmp/tmp6zl_o41u/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/fedora-36_setup.yml:35 ------------------------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.02s /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/fedora-36_setup.yml:27 ------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/fedora-36_setup.yml:15 ------------------------------------------------- PLAYBOOK: fedora-36_post_setup.yml ********************************************* 1 plays in /cache/fedora-36_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-36_post_setup.yml:5 Friday 22 July 2022 00:28:15 +0000 (0:00:00.019) 0:00:58.956 *********** changed: [/cache/fedora-36.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-36_post_setup.yml:8 Friday 22 July 2022 00:28:16 +0000 (0:00:00.522) 0:00:59.478 *********** changed: [/cache/fedora-36.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-36.qcow2.snap : ok=8 changed=4 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Friday 22 July 2022 00:28:16 +0000 (0:00:00.538) 0:01:00.017 *********** =============================================================================== Create dnf cache ------------------------------------------------------- 43.62s /cache/fedora-36_setup.yml:21 ------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------ 10.59s /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.82s /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 1.28s /cache/fedora-36_setup.yml:1 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmp6zl_o41u/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.60s /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 shutdown guest ---------------------------------------------------------- 0.54s /cache/fedora-36_post_setup.yml:8 --------------------------------------------- force sync of filesystems - ensure setup changes are made to snapshot --- 0.52s /cache/fedora-36_post_setup.yml:5 --------------------------------------------- Create EPEL 36 repo ----------------------------------------------------- 0.04s /cache/fedora-36_setup.yml:5 -------------------------------------------------- Set platform/version specific variables --------------------------------- 0.03s /tmp/tmp6zl_o41u/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/fedora-36_setup.yml:35 ------------------------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.02s /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/fedora-36_setup.yml:27 ------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/fedora-36_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/tmp5gt65yp9 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/tmp6zl_o41u/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:1 Friday 22 July 2022 00:29:01 +0000 (0:00:00.015) 0:00:00.015 *********** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:29:02 +0000 (0:00:01.213) 0:00:01.229 *********** included: /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:29:02 +0000 (0:00:00.031) 0:00:01.260 *********** ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:29:03 +0000 (0:00:00.552) 0:00:01.813 *********** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:29:05 +0000 (0:00:02.549) 0:00:04.362 *********** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:29:05 +0000 (0:00:00.023) 0:00:04.386 *********** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:29:07 +0000 (0:00:01.834) 0:00:06.220 *********** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-07-22 00:28:56 UTC", "ActiveEnterTimestampMonotonic": "6178986", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target polkit.service system.slice dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-07-22 00:28:56 UTC", "AssertTimestampMonotonic": "5599008", "Before": "multi-user.target shutdown.target network-pre.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": "341230000", "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:28:56 UTC", "ConditionTimestampMonotonic": "5599005", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ebtables.service iptables.service ipset.service nftables.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", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "690", "ExecMainStartTimestamp": "Fri 2022-07-22 00:28:56 UTC", "ExecMainStartTimestampMonotonic": "5600780", "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:28:56 UTC] ; stop_time=[n/a] ; pid=690 ; 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:28:56 UTC] ; stop_time=[n/a] ; pid=690 ; code=(null) ; status=0/0 }", "ExitType": "main", "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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2022-07-22 00:28:56 UTC", "InactiveExitTimestampMonotonic": "5600848", "InvocationID": "301193907f014628a8b4e4c89f6e285f", "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": "690", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "43405312", "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": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "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:28:56 UTC", "StateChangeTimestampMonotonic": "6178986", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:29:08 +0000 (0:00:00.823) 0:00:07.044 *********** ok: [/cache/fedora-36.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/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:29:08 +0000 (0:00:00.045) 0:00:07.090 *********** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:29:08 +0000 (0:00:00.031) 0:00:07.121 *********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:29:08 +0000 (0:00:00.036) 0:00:07.157 *********** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:29:08 +0000 (0:00:00.033) 0:00:07.191 *********** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:29:08 +0000 (0:00:00.033) 0:00:07.225 *********** skipping: [/cache/fedora-36.qcow2.snap] => {} META: role_complete for /cache/fedora-36.qcow2.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:14 Friday 22 July 2022 00:29:08 +0000 (0:00:00.041) 0:00:07.266 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.238427", "end": "2022-07-22 00:29:08.292014", "failed_when_result": false, "rc": 112, "start": "2022-07-22 00:29:08.053587" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:19 Friday 22 July 2022 00:29:09 +0000 (0:00:00.773) 0:00:08.040 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.225535", "end": "2022-07-22 00:29:08.939159", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:29:08.713624" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:24 Friday 22 July 2022 00:29:09 +0000 (0:00:00.640) 0:00:08.681 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.229903", "end": "2022-07-22 00:29:09.578200", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:29:09.348297" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:29 Friday 22 July 2022 00:29:10 +0000 (0:00:00.639) 0:00:09.320 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.242162", "end": "2022-07-22 00:29:10.236605", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:29:09.994443" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:34 Friday 22 July 2022 00:29:11 +0000 (0:00:00.657) 0:00:09.978 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.220548", "end": "2022-07-22 00:29:10.872272", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:29:10.651724" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:39 Friday 22 July 2022 00:29:11 +0000 (0:00:00.634) 0:00:10.612 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.230481", "end": "2022-07-22 00:29:11.520056", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:29:11.289575" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:44 Friday 22 July 2022 00:29:12 +0000 (0:00:00.647) 0:00:11.259 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.439283", "end": "2022-07-22 00:29:12.362001", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:29:11.922718" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:52 Friday 22 July 2022 00:29:13 +0000 (0:00:00.840) 0:00:12.100 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.211616", "end": "2022-07-22 00:29:12.981513", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:29:12.769897" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:57 Friday 22 July 2022 00:29:13 +0000 (0:00:00.620) 0:00:12.721 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.358076", "end": "2022-07-22 00:29:13.753369", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:29:13.395293" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:64 Friday 22 July 2022 00:29:14 +0000 (0:00:00.774) 0:00:13.495 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:72 Friday 22 July 2022 00:29:15 +0000 (0:00:00.688) 0:00:14.184 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:80 Friday 22 July 2022 00:29:16 +0000 (0:00:00.562) 0:00:14.747 *********** changed: [/cache/fedora-36.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/tmp6zl_o41u/tests/tests_ansible.yml:88 Friday 22 July 2022 00:29:16 +0000 (0:00:00.566) 0:00:15.314 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:96 Friday 22 July 2022 00:29:17 +0000 (0:00:00.582) 0:00:15.896 *********** changed: [/cache/fedora-36.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/tmp6zl_o41u/tests/tests_ansible.yml:104 Friday 22 July 2022 00:29:17 +0000 (0:00:00.578) 0:00:16.475 *********** ok: [/cache/fedora-36.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/tmp6zl_o41u/tests/tests_ansible.yml:112 Friday 22 July 2022 00:29:18 +0000 (0:00:00.563) 0:00:17.038 *********** changed: [/cache/fedora-36.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/tmp6zl_o41u/tests/tests_ansible.yml:120 Friday 22 July 2022 00:29:18 +0000 (0:00:00.577) 0:00:17.616 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:128 Friday 22 July 2022 00:29:19 +0000 (0:00:00.556) 0:00:18.173 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:137 Friday 22 July 2022 00:29:19 +0000 (0:00:00.539) 0:00:18.712 *********** ok: [/cache/fedora-36.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/tmp6zl_o41u/tests/tests_ansible.yml:146 Friday 22 July 2022 00:29:20 +0000 (0:00:00.555) 0:00:19.267 *********** changed: [/cache/fedora-36.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/tmp6zl_o41u/tests/tests_ansible.yml:155 Friday 22 July 2022 00:29:21 +0000 (0:00:00.641) 0:00:19.909 *********** ok: [/cache/fedora-36.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/tmp6zl_o41u/tests/tests_ansible.yml:164 Friday 22 July 2022 00:29:21 +0000 (0:00:00.564) 0:00:20.473 *********** changed: [/cache/fedora-36.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/tmp6zl_o41u/tests/tests_ansible.yml:173 Friday 22 July 2022 00:29:22 +0000 (0:00:00.553) 0:00:21.027 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:182 Friday 22 July 2022 00:29:22 +0000 (0:00:00.536) 0:00:21.563 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:191 Friday 22 July 2022 00:29:23 +0000 (0:00:00.556) 0:00:22.119 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:200 Friday 22 July 2022 00:29:23 +0000 (0:00:00.550) 0:00:22.670 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:208 Friday 22 July 2022 00:29:24 +0000 (0:00:00.535) 0:00:23.205 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:216 Friday 22 July 2022 00:29:25 +0000 (0:00:00.553) 0:00:23.759 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:224 Friday 22 July 2022 00:29:25 +0000 (0:00:00.540) 0:00:24.300 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:232 Friday 22 July 2022 00:29:26 +0000 (0:00:00.542) 0:00:24.842 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:240 Friday 22 July 2022 00:29:26 +0000 (0:00:00.532) 0:00:25.375 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:249 Friday 22 July 2022 00:29:27 +0000 (0:00:00.528) 0:00:25.903 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:258 Friday 22 July 2022 00:29:27 +0000 (0:00:00.586) 0:00:26.490 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:267 Friday 22 July 2022 00:29:28 +0000 (0:00:00.563) 0:00:27.054 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:276 Friday 22 July 2022 00:29:29 +0000 (0:00:00.915) 0:00:27.969 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:285 Friday 22 July 2022 00:29:29 +0000 (0:00:00.547) 0:00:28.517 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:294 Friday 22 July 2022 00:29:30 +0000 (0:00:00.681) 0:00:29.198 *********** ok: [/cache/fedora-36.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/tmp6zl_o41u/tests/tests_ansible.yml:303 Friday 22 July 2022 00:29:31 +0000 (0:00:00.575) 0:00:29.774 *********** changed: [/cache/fedora-36.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/tmp6zl_o41u/tests/tests_ansible.yml:315 Friday 22 July 2022 00:29:31 +0000 (0:00:00.597) 0:00:30.371 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:327 Friday 22 July 2022 00:29:32 +0000 (0:00:00.584) 0:00:30.956 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:335 Friday 22 July 2022 00:29:32 +0000 (0:00:00.662) 0:00:31.619 *********** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:340 Friday 22 July 2022 00:29:32 +0000 (0:00:00.036) 0:00:31.656 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:350 Friday 22 July 2022 00:29:33 +0000 (0:00:00.548) 0:00:32.205 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:360 Friday 22 July 2022 00:29:34 +0000 (0:00:00.544) 0:00:32.750 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.228017", "end": "2022-07-22 00:29:33.648599", "rc": 0, "start": "2022-07-22 00:29:33.420582" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:363 Friday 22 July 2022 00:29:34 +0000 (0:00:00.636) 0:00:33.386 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:370 Friday 22 July 2022 00:29:35 +0000 (0:00:00.586) 0:00:33.972 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:377 Friday 22 July 2022 00:29:35 +0000 (0:00:00.554) 0:00:34.527 *********** ok: [/cache/fedora-36.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/tmp6zl_o41u/tests/tests_ansible.yml:387 Friday 22 July 2022 00:29:36 +0000 (0:00:00.447) 0:00:34.974 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:395 Friday 22 July 2022 00:29:36 +0000 (0:00:00.702) 0:00:35.677 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:403 Friday 22 July 2022 00:29:37 +0000 (0:00:00.567) 0:00:36.245 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:412 Friday 22 July 2022 00:29:38 +0000 (0:00:00.690) 0:00:36.935 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:421 Friday 22 July 2022 00:29:38 +0000 (0:00:00.681) 0:00:37.617 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:430 Friday 22 July 2022 00:29:39 +0000 (0:00:00.694) 0:00:38.311 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:439 Friday 22 July 2022 00:29:40 +0000 (0:00:00.563) 0:00:38.875 *********** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:448 Friday 22 July 2022 00:29:40 +0000 (0:00:00.571) 0:00:39.446 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:457 Friday 22 July 2022 00:29:41 +0000 (0:00:00.744) 0:00:40.191 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:466 Friday 22 July 2022 00:29:42 +0000 (0:00:00.690) 0:00:40.881 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:475 Friday 22 July 2022 00:29:42 +0000 (0:00:00.705) 0:00:41.587 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:486 Friday 22 July 2022 00:29:43 +0000 (0:00:00.687) 0:00:42.274 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:494 Friday 22 July 2022 00:29:44 +0000 (0:00:00.714) 0:00:42.989 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:502 Friday 22 July 2022 00:29:44 +0000 (0:00:00.571) 0:00:43.560 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:519 Friday 22 July 2022 00:29:45 +0000 (0:00:00.714) 0:00:44.275 *********** ok: [/cache/fedora-36.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/tmp6zl_o41u/tests/tests_ansible.yml:528 Friday 22 July 2022 00:29:46 +0000 (0:00:00.574) 0:00:44.849 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward same port again (string)] **************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:535 Friday 22 July 2022 00:29:46 +0000 (0:00:00.621) 0:00:45.471 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (string)] ******************************************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:542 Friday 22 July 2022 00:29:47 +0000 (0:00:00.601) 0:00:46.072 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port (dict form)] ************************************************ task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:549 Friday 22 July 2022 00:29:47 +0000 (0:00:00.587) 0:00:46.659 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port again (dict form)] ****************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:560 Friday 22 July 2022 00:29:48 +0000 (0:00:00.546) 0:00:47.206 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (dict form)] **************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:571 Friday 22 July 2022 00:29:49 +0000 (0:00:00.539) 0:00:47.745 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:590 Friday 22 July 2022 00:29:49 +0000 (0:00:00.559) 0:00:48.304 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.235501", "end": "2022-07-22 00:29:49.213270", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:29:48.977769" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:595 Friday 22 July 2022 00:29:50 +0000 (0:00:00.650) 0:00:48.955 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.219974", "end": "2022-07-22 00:29:49.835448", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:29:49.615474" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:600 Friday 22 July 2022 00:29:50 +0000 (0:00:00.622) 0:00:49.577 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.228809", "end": "2022-07-22 00:29:50.453027", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:29:50.224218" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:605 Friday 22 July 2022 00:29:51 +0000 (0:00:00.615) 0:00:50.192 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.227540", "end": "2022-07-22 00:29:51.091925", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:29:50.864385" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:610 Friday 22 July 2022 00:29:52 +0000 (0:00:00.638) 0:00:50.831 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.219787", "end": "2022-07-22 00:29:51.716432", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:29:51.496645" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:615 Friday 22 July 2022 00:29:52 +0000 (0:00:00.624) 0:00:51.456 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.247588", "end": "2022-07-22 00:29:52.368982", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:29:52.121394" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:620 Friday 22 July 2022 00:29:53 +0000 (0:00:00.664) 0:00:52.120 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.219727", "end": "2022-07-22 00:29:53.003558", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:29:52.783831" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:625 Friday 22 July 2022 00:29:54 +0000 (0:00:00.630) 0:00:52.751 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.240775", "end": "2022-07-22 00:29:53.680616", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:29:53.439841" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp6zl_o41u/tests/tests_ansible.yml:630 Friday 22 July 2022 00:29:54 +0000 (0:00:00.668) 0:00:53.420 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.324591", "end": "2022-07-22 00:29:54.415624", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:29:54.091033" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=84 changed=50 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Friday 22 July 2022 00:29:55 +0000 (0:00:00.744) 0:00:54.164 *********** =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 2.55s /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.83s /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 1.21s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:1 ------------------------------------ Ensure target ACCEPT in permanent internal zone ------------------------- 0.92s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:267 ---------------------------------- Reset default zone to defaults ------------------------------------------ 0.84s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:44 ----------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.82s /tmp/tmp6zl_o41u/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Reload firewalld -------------------------------------------------------- 0.77s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:57 ----------------------------------- Remove custom zone ------------------------------------------------------ 0.77s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:14 ----------------------------------- Reload firewalld -------------------------------------------------------- 0.74s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:630 ---------------------------------- add valid protocol to custom service ------------------------------------ 0.74s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:448 ---------------------------------- add custom service with all the elements at once ------------------------ 0.71s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:502 ---------------------------------- delete custom service --------------------------------------------------- 0.71s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:486 ---------------------------------- remove ports from custom service without deleting service --------------- 0.71s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:466 ---------------------------------- add custom service without details -------------------------------------- 0.70s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:387 ---------------------------------- add source_ports to custom service -------------------------------------- 0.69s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:421 ---------------------------------- add description to custom service --------------------------------------- 0.69s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:403 ---------------------------------- remove valid protocol from customservice -------------------------------- 0.69s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:457 ---------------------------------- Permit traffic in default zone for https service ------------------------ 0.69s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:64 ----------------------------------- add destination addresses ----------------------------------------------- 0.69s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:475 ---------------------------------- Ensure default target in permanent internal zone ------------------------ 0.68s /tmp/tmp6zl_o41u/tests/tests_ansible.yml:285 ---------------------------------- 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/tmp5gt65yp9 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/tmp2w3ho5gm/tests/firewall/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:1 Friday 22 July 2022 00:34:49 +0000 (0:00:00.014) 0:00:00.014 *********** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp5gt65yp9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:34:51 +0000 (0:00:01.189) 0:00:01.203 *********** included: /tmp/tmp5gt65yp9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp5gt65yp9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:34:51 +0000 (0:00:00.031) 0:00:01.235 *********** ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp5gt65yp9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:34:51 +0000 (0:00:00.563) 0:00:01.799 *********** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmp5gt65yp9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:34:54 +0000 (0:00:02.422) 0:00:04.221 *********** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmp5gt65yp9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:34:54 +0000 (0:00:00.025) 0:00:04.247 *********** ok: [/cache/fedora-36.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/tmp5gt65yp9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:34:56 +0000 (0:00:01.867) 0:00:06.115 *********** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-07-22 00:34:44 UTC", "ActiveEnterTimestampMonotonic": "4993555", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice basic.target polkit.service dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-07-22 00:34:44 UTC", "AssertTimestampMonotonic": "4712870", "Before": "network-pre.target shutdown.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": "348662000", "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:34:44 UTC", "ConditionTimestampMonotonic": "4712868", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ip6tables.service iptables.service ebtables.service ipset.service shutdown.target", "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", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "688", "ExecMainStartTimestamp": "Fri 2022-07-22 00:34:44 UTC", "ExecMainStartTimestampMonotonic": "4714472", "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:34:44 UTC] ; stop_time=[n/a] ; pid=688 ; 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:34:44 UTC] ; stop_time=[n/a] ; pid=688 ; code=(null) ; status=0/0 }", "ExitType": "main", "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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2022-07-22 00:34:44 UTC", "InactiveExitTimestampMonotonic": "4714544", "InvocationID": "9ee1f6026a674ff98efb9741e79d7c7c", "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": "688", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "41783296", "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", "RuntimeRandomizedExtraUSec": "0", "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:34:44 UTC", "StateChangeTimestampMonotonic": "4993555", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp5gt65yp9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:34:56 +0000 (0:00:00.830) 0:00:06.946 *********** ok: [/cache/fedora-36.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/tmp5gt65yp9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:34:56 +0000 (0:00:00.046) 0:00:06.992 *********** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp5gt65yp9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:34:56 +0000 (0:00:00.030) 0:00:07.022 *********** TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp5gt65yp9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:34:56 +0000 (0:00:00.032) 0:00:07.055 *********** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp5gt65yp9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:34:57 +0000 (0:00:00.030) 0:00:07.085 *********** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp5gt65yp9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:34:57 +0000 (0:00:00.031) 0:00:07.116 *********** skipping: [/cache/fedora-36.qcow2.snap] => {} META: role_complete for /cache/fedora-36.qcow2.snap TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:14 Friday 22 July 2022 00:34:57 +0000 (0:00:00.038) 0:00:07.155 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.243643", "end": "2022-07-22 00:34:57.278592", "failed_when_result": false, "rc": 112, "start": "2022-07-22 00:34:57.034949" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:19 Friday 22 July 2022 00:34:57 +0000 (0:00:00.776) 0:00:07.932 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.230779", "end": "2022-07-22 00:34:57.926933", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:34:57.696154" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:24 Friday 22 July 2022 00:34:58 +0000 (0:00:00.648) 0:00:08.580 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.219677", "end": "2022-07-22 00:34:58.568150", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:34:58.348473" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:29 Friday 22 July 2022 00:34:59 +0000 (0:00:00.638) 0:00:09.219 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.239145", "end": "2022-07-22 00:34:59.226283", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:34:58.987138" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:34 Friday 22 July 2022 00:34:59 +0000 (0:00:00.658) 0:00:09.877 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.217812", "end": "2022-07-22 00:34:59.860579", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:34:59.642767" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:39 Friday 22 July 2022 00:35:00 +0000 (0:00:00.630) 0:00:10.508 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.225425", "end": "2022-07-22 00:35:00.496495", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:35:00.271070" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:44 Friday 22 July 2022 00:35:01 +0000 (0:00:00.637) 0:00:11.145 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.446620", "end": "2022-07-22 00:35:01.362613", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:35:00.915993" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:52 Friday 22 July 2022 00:35:01 +0000 (0:00:00.865) 0:00:12.011 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.208625", "end": "2022-07-22 00:35:01.981565", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:35:01.772940" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:57 Friday 22 July 2022 00:35:02 +0000 (0:00:00.620) 0:00:12.632 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.351638", "end": "2022-07-22 00:35:02.791871", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:35:02.440233" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:64 Friday 22 July 2022 00:35:03 +0000 (0:00:00.810) 0:00:13.443 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:72 Friday 22 July 2022 00:35:04 +0000 (0:00:00.666) 0:00:14.110 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:80 Friday 22 July 2022 00:35:04 +0000 (0:00:00.547) 0:00:14.657 *********** changed: [/cache/fedora-36.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/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:88 Friday 22 July 2022 00:35:05 +0000 (0:00:00.543) 0:00:15.201 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:96 Friday 22 July 2022 00:35:05 +0000 (0:00:00.548) 0:00:15.749 *********** changed: [/cache/fedora-36.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/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:104 Friday 22 July 2022 00:35:06 +0000 (0:00:00.600) 0:00:16.350 *********** ok: [/cache/fedora-36.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/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:112 Friday 22 July 2022 00:35:06 +0000 (0:00:00.534) 0:00:16.884 *********** changed: [/cache/fedora-36.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/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:120 Friday 22 July 2022 00:35:07 +0000 (0:00:00.553) 0:00:17.437 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:128 Friday 22 July 2022 00:35:07 +0000 (0:00:00.604) 0:00:18.041 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:137 Friday 22 July 2022 00:35:08 +0000 (0:00:00.563) 0:00:18.605 *********** ok: [/cache/fedora-36.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/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:146 Friday 22 July 2022 00:35:09 +0000 (0:00:00.558) 0:00:19.163 *********** changed: [/cache/fedora-36.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/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:154 Friday 22 July 2022 00:35:09 +0000 (0:00:00.549) 0:00:19.713 *********** ok: [/cache/fedora-36.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/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:162 Friday 22 July 2022 00:35:10 +0000 (0:00:00.554) 0:00:20.268 *********** changed: [/cache/fedora-36.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/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:171 Friday 22 July 2022 00:35:10 +0000 (0:00:00.557) 0:00:20.825 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:180 Friday 22 July 2022 00:35:11 +0000 (0:00:00.538) 0:00:21.363 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:189 Friday 22 July 2022 00:35:11 +0000 (0:00:00.557) 0:00:21.920 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:198 Friday 22 July 2022 00:35:12 +0000 (0:00:00.583) 0:00:22.504 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:206 Friday 22 July 2022 00:35:12 +0000 (0:00:00.539) 0:00:23.044 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:214 Friday 22 July 2022 00:35:13 +0000 (0:00:00.534) 0:00:23.578 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:222 Friday 22 July 2022 00:35:14 +0000 (0:00:00.532) 0:00:24.110 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:230 Friday 22 July 2022 00:35:14 +0000 (0:00:00.552) 0:00:24.663 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:238 Friday 22 July 2022 00:35:15 +0000 (0:00:00.549) 0:00:25.213 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:247 Friday 22 July 2022 00:35:15 +0000 (0:00:00.553) 0:00:25.766 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:256 Friday 22 July 2022 00:35:16 +0000 (0:00:00.553) 0:00:26.320 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:265 Friday 22 July 2022 00:35:16 +0000 (0:00:00.535) 0:00:26.856 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:274 Friday 22 July 2022 00:35:17 +0000 (0:00:00.921) 0:00:27.778 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:283 Friday 22 July 2022 00:35:18 +0000 (0:00:00.573) 0:00:28.351 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:292 Friday 22 July 2022 00:35:18 +0000 (0:00:00.706) 0:00:29.058 *********** ok: [/cache/fedora-36.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/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:301 Friday 22 July 2022 00:35:19 +0000 (0:00:00.554) 0:00:29.612 *********** changed: [/cache/fedora-36.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/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:311 Friday 22 July 2022 00:35:20 +0000 (0:00:00.608) 0:00:30.221 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:321 Friday 22 July 2022 00:35:20 +0000 (0:00:00.582) 0:00:30.803 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:329 Friday 22 July 2022 00:35:21 +0000 (0:00:00.685) 0:00:31.489 *********** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:334 Friday 22 July 2022 00:35:21 +0000 (0:00:00.034) 0:00:31.523 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:344 Friday 22 July 2022 00:35:22 +0000 (0:00:00.560) 0:00:32.084 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:354 Friday 22 July 2022 00:35:22 +0000 (0:00:00.567) 0:00:32.652 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.247594", "end": "2022-07-22 00:35:22.653986", "rc": 0, "start": "2022-07-22 00:35:22.406392" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:357 Friday 22 July 2022 00:35:23 +0000 (0:00:00.651) 0:00:33.303 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:364 Friday 22 July 2022 00:35:23 +0000 (0:00:00.590) 0:00:33.894 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:371 Friday 22 July 2022 00:35:24 +0000 (0:00:00.557) 0:00:34.451 *********** ok: [/cache/fedora-36.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/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:381 Friday 22 July 2022 00:35:24 +0000 (0:00:00.448) 0:00:34.899 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:389 Friday 22 July 2022 00:35:25 +0000 (0:00:00.708) 0:00:35.608 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:397 Friday 22 July 2022 00:35:26 +0000 (0:00:00.556) 0:00:36.165 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:406 Friday 22 July 2022 00:35:26 +0000 (0:00:00.710) 0:00:36.875 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:415 Friday 22 July 2022 00:35:27 +0000 (0:00:00.707) 0:00:37.582 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:424 Friday 22 July 2022 00:35:28 +0000 (0:00:00.692) 0:00:38.275 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:433 Friday 22 July 2022 00:35:28 +0000 (0:00:00.569) 0:00:38.844 *********** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:442 Friday 22 July 2022 00:35:29 +0000 (0:00:00.569) 0:00:39.414 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:451 Friday 22 July 2022 00:35:30 +0000 (0:00:00.706) 0:00:40.121 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:460 Friday 22 July 2022 00:35:30 +0000 (0:00:00.728) 0:00:40.850 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:469 Friday 22 July 2022 00:35:31 +0000 (0:00:00.691) 0:00:41.541 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:480 Friday 22 July 2022 00:35:32 +0000 (0:00:00.701) 0:00:42.242 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:488 Friday 22 July 2022 00:35:32 +0000 (0:00:00.747) 0:00:42.990 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:496 Friday 22 July 2022 00:35:33 +0000 (0:00:00.562) 0:00:43.553 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:513 Friday 22 July 2022 00:35:34 +0000 (0:00:00.694) 0:00:44.247 *********** ok: [/cache/fedora-36.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/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:522 Friday 22 July 2022 00:35:34 +0000 (0:00:00.609) 0:00:44.857 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward same port again (string)] **************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:529 Friday 22 July 2022 00:35:35 +0000 (0:00:00.624) 0:00:45.481 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (string)] ******************************************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:536 Friday 22 July 2022 00:35:35 +0000 (0:00:00.565) 0:00:46.047 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port (dict form)] ************************************************ task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:543 Friday 22 July 2022 00:35:36 +0000 (0:00:00.550) 0:00:46.597 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port again (dict form)] ****************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:554 Friday 22 July 2022 00:35:37 +0000 (0:00:00.547) 0:00:47.145 *********** ok: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (dict form)] **************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:565 Friday 22 July 2022 00:35:37 +0000 (0:00:00.549) 0:00:47.695 *********** changed: [/cache/fedora-36.qcow2.snap] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:584 Friday 22 July 2022 00:35:38 +0000 (0:00:00.566) 0:00:48.261 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.229628", "end": "2022-07-22 00:35:38.259267", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:35:38.029639" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:589 Friday 22 July 2022 00:35:38 +0000 (0:00:00.649) 0:00:48.911 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.227851", "end": "2022-07-22 00:35:38.903880", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:35:38.676029" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:594 Friday 22 July 2022 00:35:39 +0000 (0:00:00.645) 0:00:49.557 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.241618", "end": "2022-07-22 00:35:39.558956", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:35:39.317338" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:599 Friday 22 July 2022 00:35:40 +0000 (0:00:00.654) 0:00:50.211 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.235798", "end": "2022-07-22 00:35:40.206805", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:35:39.971007" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:604 Friday 22 July 2022 00:35:40 +0000 (0:00:00.649) 0:00:50.860 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.231196", "end": "2022-07-22 00:35:40.856773", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:35:40.625577" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:609 Friday 22 July 2022 00:35:41 +0000 (0:00:00.645) 0:00:51.506 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.237931", "end": "2022-07-22 00:35:41.504188", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:35:41.266257" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:614 Friday 22 July 2022 00:35:42 +0000 (0:00:00.649) 0:00:52.156 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.246674", "end": "2022-07-22 00:35:42.161940", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:35:41.915266" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:619 Friday 22 July 2022 00:35:42 +0000 (0:00:00.661) 0:00:52.817 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.233672", "end": "2022-07-22 00:35:42.825782", "failed_when_result": false, "rc": 22, "start": "2022-07-22 00:35:42.592110" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:624 Friday 22 July 2022 00:35:43 +0000 (0:00:00.658) 0:00:53.476 *********** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.345363", "end": "2022-07-22 00:35:43.581372", "failed_when_result": false, "rc": 0, "start": "2022-07-22 00:35:43.236009" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=84 changed=50 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Friday 22 July 2022 00:35:44 +0000 (0:00:00.764) 0:00:54.241 *********** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 2.42s /tmp/tmp5gt65yp9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.87s /tmp/tmp5gt65yp9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Gathering Facts --------------------------------------------------------- 1.19s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:1 --------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 0.92s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:265 ------------------------- Reset default zone to defaults ------------------------------------------ 0.87s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:44 -------------------------- fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.83s /tmp/tmp5gt65yp9/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Reload firewalld -------------------------------------------------------- 0.81s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:57 -------------------------- Remove custom zone ------------------------------------------------------ 0.78s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:14 -------------------------- Reload firewalld -------------------------------------------------------- 0.76s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:624 ------------------------- delete custom service --------------------------------------------------- 0.75s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:480 ------------------------- remove valid protocol from customservice -------------------------------- 0.73s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:451 ------------------------- add description to custom service --------------------------------------- 0.71s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:397 ------------------------- add custom service without details -------------------------------------- 0.71s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:381 ------------------------- add short description to custom service --------------------------------- 0.71s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:406 ------------------------- Ensure default target in permanent internal zone ------------------------ 0.71s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:283 ------------------------- add valid protocol to custom service ------------------------------------ 0.71s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:442 ------------------------- add destination addresses ----------------------------------------------- 0.70s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:469 ------------------------- add custom service with all the elements at once ------------------------ 0.69s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:496 ------------------------- add source_ports to custom service -------------------------------------- 0.69s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:415 ------------------------- remove ports from custom service without deleting service --------------- 0.69s /tmp/tmp2w3ho5gm/tests/firewall/tests_ansible.yml:460 -------------------------