ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, May 27 2022, 11:27:32) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmpzu7c83qe/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:1 Tuesday 07 June 2022 16:09:32 +0000 (0:00:00.025) 0:00:00.025 ********** [DEPRECATION WARNING]: Distribution fedora 34 on host /cache/fedora-34.qcow2 should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/fedora-34.qcow2] META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:09:33 +0000 (0:00:01.006) 0:00:01.031 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:09:33 +0000 (0:00:00.037) 0:00:01.069 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:09:34 +0000 (0:00:00.554) 0:00:01.624 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: python3-decorator-4.4.2-4.fc34.noarch", "Installed: gobject-introspection-1.68.0-4.fc34.x86_64", "Installed: iptables-nft-1.8.7-8.fc34.x86_64", "Installed: nftables-1:0.9.8-3.fc34.x86_64", "Installed: libnftnl-1.1.9-2.fc34.x86_64", "Installed: python3-firewall-0.9.4-1.fc34.noarch", "Installed: python3-nftables-1:0.9.8-3.fc34.x86_64", "Installed: ipset-7.11-1.fc34.x86_64", "Installed: python3-gobject-base-3.40.1-1.fc34.x86_64", "Installed: ipset-libs-7.11-1.fc34.x86_64", "Installed: python3-slip-0.6.4-22.fc34.noarch", "Installed: python3-slip-dbus-0.6.4-22.fc34.noarch", "Installed: firewalld-0.9.4-1.fc34.noarch", "Installed: firewalld-filesystem-0.9.4-1.fc34.noarch" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:10:26 +0000 (0:00:51.853) 0:00:53.477 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:10:26 +0000 (0:00:00.045) 0:00:53.523 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:10:28 +0000 (0:00:02.282) 0:00:55.805 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2325", "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": "infinity" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:10:29 +0000 (0:00:01.065) 0:00:56.870 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:10:29 +0000 (0:00:00.046) 0:00:56.917 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:10:29 +0000 (0:00:00.040) 0:00:56.957 ********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:10:29 +0000 (0:00:00.038) 0:00:56.996 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:10:29 +0000 (0:00:00.041) 0:00:57.038 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:10:29 +0000 (0:00:00.042) 0:00:57.080 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:14 Tuesday 07 June 2022 16:10:29 +0000 (0:00:00.041) 0:00:57.122 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.258776", "end": "2022-06-07 16:10:29.990436", "failed_when_result": false, "rc": 112, "start": "2022-06-07 16:10:29.731660" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:19 Tuesday 07 June 2022 16:10:30 +0000 (0:00:00.770) 0:00:57.892 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.248848", "end": "2022-06-07 16:10:30.618394", "failed_when_result": false, "rc": 22, "start": "2022-06-07 16:10:30.369546" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:24 Tuesday 07 June 2022 16:10:31 +0000 (0:00:00.636) 0:00:58.529 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.252598", "end": "2022-06-07 16:10:31.270875", "failed_when_result": false, "rc": 22, "start": "2022-06-07 16:10:31.018277" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:29 Tuesday 07 June 2022 16:10:31 +0000 (0:00:00.644) 0:00:59.174 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.249322", "end": "2022-06-07 16:10:31.900343", "failed_when_result": false, "rc": 22, "start": "2022-06-07 16:10:31.651021" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:34 Tuesday 07 June 2022 16:10:32 +0000 (0:00:00.626) 0:00:59.800 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.259074", "end": "2022-06-07 16:10:32.545784", "failed_when_result": false, "rc": 22, "start": "2022-06-07 16:10:32.286710" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:39 Tuesday 07 June 2022 16:10:33 +0000 (0:00:00.652) 0:01:00.453 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.257146", "end": "2022-06-07 16:10:33.194426", "failed_when_result": false, "rc": 22, "start": "2022-06-07 16:10:32.937280" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:44 Tuesday 07 June 2022 16:10:33 +0000 (0:00:00.655) 0:01:01.108 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.504444", "end": "2022-06-07 16:10:34.091602", "failed_when_result": false, "rc": 22, "start": "2022-06-07 16:10:33.587158" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:52 Tuesday 07 June 2022 16:10:34 +0000 (0:00:00.885) 0:01:01.994 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.246377", "end": "2022-06-07 16:10:34.708525", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:10:34.462148" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:57 Tuesday 07 June 2022 16:10:35 +0000 (0:00:00.618) 0:01:02.612 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.371869", "end": "2022-06-07 16:10:35.463184", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:10:35.091315" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:64 Tuesday 07 June 2022 16:10:35 +0000 (0:00:00.752) 0:01:03.364 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:72 Tuesday 07 June 2022 16:10:36 +0000 (0:00:00.710) 0:01:04.074 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:80 Tuesday 07 June 2022 16:10:37 +0000 (0:00:00.560) 0:01:04.635 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:88 Tuesday 07 June 2022 16:10:37 +0000 (0:00:00.552) 0:01:05.188 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:96 Tuesday 07 June 2022 16:10:38 +0000 (0:00:00.551) 0:01:05.739 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:104 Tuesday 07 June 2022 16:10:38 +0000 (0:00:00.571) 0:01:06.311 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:112 Tuesday 07 June 2022 16:10:39 +0000 (0:00:00.556) 0:01:06.867 ********** changed: [/cache/fedora-34.qcow2] => { "__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/tmpzu7c83qe/tests/tests_ansible.yml:120 Tuesday 07 June 2022 16:10:39 +0000 (0:00:00.551) 0:01:07.419 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:128 Tuesday 07 June 2022 16:10:40 +0000 (0:00:00.542) 0:01:07.962 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:137 Tuesday 07 June 2022 16:10:41 +0000 (0:00:00.553) 0:01:08.516 ********** ok: [/cache/fedora-34.qcow2] => { "__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/tmpzu7c83qe/tests/tests_ansible.yml:146 Tuesday 07 June 2022 16:10:41 +0000 (0:00:00.616) 0:01:09.132 ********** changed: [/cache/fedora-34.qcow2] => { "__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/tmpzu7c83qe/tests/tests_ansible.yml:155 Tuesday 07 June 2022 16:10:42 +0000 (0:00:00.568) 0:01:09.701 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:164 Tuesday 07 June 2022 16:10:42 +0000 (0:00:00.550) 0:01:10.252 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:173 Tuesday 07 June 2022 16:10:43 +0000 (0:00:00.546) 0:01:10.798 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:182 Tuesday 07 June 2022 16:10:43 +0000 (0:00:00.542) 0:01:11.340 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:191 Tuesday 07 June 2022 16:10:44 +0000 (0:00:00.594) 0:01:11.934 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:200 Tuesday 07 June 2022 16:10:45 +0000 (0:00:00.558) 0:01:12.493 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:208 Tuesday 07 June 2022 16:10:45 +0000 (0:00:00.565) 0:01:13.059 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:216 Tuesday 07 June 2022 16:10:46 +0000 (0:00:00.542) 0:01:13.601 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:224 Tuesday 07 June 2022 16:10:46 +0000 (0:00:00.539) 0:01:14.141 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:232 Tuesday 07 June 2022 16:10:47 +0000 (0:00:00.540) 0:01:14.681 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:240 Tuesday 07 June 2022 16:10:47 +0000 (0:00:00.553) 0:01:15.234 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:249 Tuesday 07 June 2022 16:10:48 +0000 (0:00:00.558) 0:01:15.793 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:258 Tuesday 07 June 2022 16:10:48 +0000 (0:00:00.543) 0:01:16.336 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:267 Tuesday 07 June 2022 16:10:49 +0000 (0:00:00.545) 0:01:16.881 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:276 Tuesday 07 June 2022 16:10:50 +0000 (0:00:00.875) 0:01:17.756 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:285 Tuesday 07 June 2022 16:10:50 +0000 (0:00:00.547) 0:01:18.304 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:294 Tuesday 07 June 2022 16:10:51 +0000 (0:00:00.693) 0:01:18.997 ********** ok: [/cache/fedora-34.qcow2] => { "__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/tmpzu7c83qe/tests/tests_ansible.yml:303 Tuesday 07 June 2022 16:10:52 +0000 (0:00:00.527) 0:01:19.525 ********** changed: [/cache/fedora-34.qcow2] => { "__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/tmpzu7c83qe/tests/tests_ansible.yml:315 Tuesday 07 June 2022 16:10:52 +0000 (0:00:00.549) 0:01:20.074 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:327 Tuesday 07 June 2022 16:10:53 +0000 (0:00:00.529) 0:01:20.604 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:335 Tuesday 07 June 2022 16:10:53 +0000 (0:00:00.669) 0:01:21.273 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:340 Tuesday 07 June 2022 16:10:53 +0000 (0:00:00.043) 0:01:21.316 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:350 Tuesday 07 June 2022 16:10:54 +0000 (0:00:00.555) 0:01:21.872 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:360 Tuesday 07 June 2022 16:10:54 +0000 (0:00:00.528) 0:01:22.400 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.244067", "end": "2022-06-07 16:10:55.109950", "rc": 0, "start": "2022-06-07 16:10:54.865883" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:363 Tuesday 07 June 2022 16:10:55 +0000 (0:00:00.585) 0:01:22.986 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:370 Tuesday 07 June 2022 16:10:56 +0000 (0:00:00.575) 0:01:23.561 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:377 Tuesday 07 June 2022 16:10:56 +0000 (0:00:00.536) 0:01:24.098 ********** ok: [/cache/fedora-34.qcow2] => { "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/tmpzu7c83qe/tests/tests_ansible.yml:387 Tuesday 07 June 2022 16:10:57 +0000 (0:00:00.481) 0:01:24.579 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:395 Tuesday 07 June 2022 16:10:57 +0000 (0:00:00.689) 0:01:25.269 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description and to custom service] *********************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:403 Tuesday 07 June 2022 16:10:58 +0000 (0:00:00.543) 0:01:25.813 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:412 Tuesday 07 June 2022 16:10:59 +0000 (0:00:00.692) 0:01:26.506 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:421 Tuesday 07 June 2022 16:10:59 +0000 (0:00:00.704) 0:01:27.210 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:430 Tuesday 07 June 2022 16:11:00 +0000 (0:00:00.674) 0:01:27.885 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:439 Tuesday 07 June 2022 16:11:01 +0000 (0:00:00.549) 0:01:28.435 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:448 Tuesday 07 June 2022 16:11:01 +0000 (0:00:00.565) 0:01:29.001 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:457 Tuesday 07 June 2022 16:11:02 +0000 (0:00:00.700) 0:01:29.702 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:466 Tuesday 07 June 2022 16:11:02 +0000 (0:00:00.706) 0:01:30.408 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:475 Tuesday 07 June 2022 16:11:03 +0000 (0:00:00.708) 0:01:31.116 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:486 Tuesday 07 June 2022 16:11:04 +0000 (0:00:00.689) 0:01:31.805 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:494 Tuesday 07 June 2022 16:11:05 +0000 (0:00:00.666) 0:01:32.472 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:502 Tuesday 07 June 2022 16:11:05 +0000 (0:00:00.539) 0:01:33.012 ********** changed: [/cache/fedora-34.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:519 Tuesday 07 June 2022 16:11:06 +0000 (0:00:00.678) 0:01:33.690 ********** ok: [/cache/fedora-34.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:536 Tuesday 07 June 2022 16:11:06 +0000 (0:00:00.543) 0:01:34.233 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.262750", "end": "2022-06-07 16:11:06.959463", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:11:06.696713" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:541 Tuesday 07 June 2022 16:11:07 +0000 (0:00:00.630) 0:01:34.864 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.248081", "end": "2022-06-07 16:11:07.618290", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:11:07.370209" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:546 Tuesday 07 June 2022 16:11:08 +0000 (0:00:00.661) 0:01:35.525 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.255633", "end": "2022-06-07 16:11:08.262685", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:11:08.007052" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:551 Tuesday 07 June 2022 16:11:08 +0000 (0:00:00.640) 0:01:36.166 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.250639", "end": "2022-06-07 16:11:08.889916", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:11:08.639277" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:556 Tuesday 07 June 2022 16:11:09 +0000 (0:00:00.627) 0:01:36.794 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.253011", "end": "2022-06-07 16:11:09.511669", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:11:09.258658" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:561 Tuesday 07 June 2022 16:11:09 +0000 (0:00:00.618) 0:01:37.412 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.259007", "end": "2022-06-07 16:11:10.131799", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:11:09.872792" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:566 Tuesday 07 June 2022 16:11:10 +0000 (0:00:00.623) 0:01:38.035 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.248949", "end": "2022-06-07 16:11:10.748747", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:11:10.499798" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:571 Tuesday 07 June 2022 16:11:11 +0000 (0:00:00.616) 0:01:38.652 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.249366", "end": "2022-06-07 16:11:11.364238", "failed_when_result": false, "rc": 22, "start": "2022-06-07 16:11:11.114872" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_ansible.yml:576 Tuesday 07 June 2022 16:11:11 +0000 (0:00:00.611) 0:01:39.264 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.354933", "end": "2022-06-07 16:11:12.080383", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:11:11.725450" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2 : ok=78 changed=48 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Tuesday 07 June 2022 16:11:12 +0000 (0:00:00.717) 0:01:39.981 ********** =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------ 51.85s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 2.28s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Enable and start firewalld service -------- 1.07s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:1 ------------------------------------ Reset default zone to defaults ------------------------------------------ 0.89s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:44 ----------------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 0.88s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:267 ---------------------------------- Remove custom zone ------------------------------------------------------ 0.77s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:14 ----------------------------------- Reload firewalld -------------------------------------------------------- 0.75s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:57 ----------------------------------- Reload firewalld -------------------------------------------------------- 0.72s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:576 ---------------------------------- Permit traffic in default zone for https service ------------------------ 0.71s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:64 ----------------------------------- remove ports from custom service without deleting service --------------- 0.71s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:466 ---------------------------------- remove valid protocol from customservice -------------------------------- 0.71s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:457 ---------------------------------- add short description to custom service --------------------------------- 0.70s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:412 ---------------------------------- add valid protocol to custom service ------------------------------------ 0.70s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:448 ---------------------------------- Ensure default target in permanent internal zone ------------------------ 0.69s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:285 ---------------------------------- add description and to custom service ----------------------------------- 0.69s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:403 ---------------------------------- add custom service without details -------------------------------------- 0.69s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:387 ---------------------------------- add destination addresses ----------------------------------------------- 0.69s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:475 ---------------------------------- add custom service with all the elements at once ------------------------ 0.68s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:502 ---------------------------------- add source_ports to custom service -------------------------------------- 0.67s /tmp/tmpzu7c83qe/tests/tests_ansible.yml:421 ---------------------------------- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, May 27 2022, 11:27:32) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpzu7c83qe/tests/tests_default.yml PLAY [Ensure that the roles runs with default parameters] ********************** META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:11:13 +0000 (0:00:00.023) 0:00:00.023 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:11:13 +0000 (0:00:00.027) 0:00:00.051 ********** [DEPRECATION WARNING]: Distribution fedora 34 on host /cache/fedora-34.qcow2 should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:11:14 +0000 (0:00:00.815) 0:00:00.866 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:11:16 +0000 (0:00:02.281) 0:00:03.147 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:11:16 +0000 (0:00:00.037) 0:00:03.185 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:11:18 +0000 (0:00:02.001) 0:00:05.186 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:10:28 UTC", "ActiveEnterTimestampMonotonic": "65167722", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:10:28 UTC", "AssertTimestampMonotonic": "64916072", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "5959129000", "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": "Tue 2022-06-07 16:10:28 UTC", "ConditionTimestampMonotonic": "64916070", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "7834", "ExecMainStartTimestamp": "Tue 2022-06-07 16:10:28 UTC", "ExecMainStartTimestampMonotonic": "64917325", "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=[Tue 2022-06-07 16:10:28 UTC] ; stop_time=[n/a] ; pid=7834 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:10:28 UTC] ; stop_time=[n/a] ; pid=7834 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-06-07 16:10:28 UTC", "InactiveExitTimestampMonotonic": "64917730", "InvocationID": "d9130871580f4991993f33aeced45a26", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7834", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "31600640", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:10:28 UTC", "StateChangeTimestampMonotonic": "65167722", "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": "4", "TasksMax": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:11:19 +0000 (0:00:00.719) 0:00:05.905 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:11:19 +0000 (0:00:00.039) 0:00:05.945 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:11:19 +0000 (0:00:00.034) 0:00:05.979 ********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:11:19 +0000 (0:00:00.036) 0:00:06.015 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:11:19 +0000 (0:00:00.033) 0:00:06.049 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:11:19 +0000 (0:00:00.033) 0:00:06.083 ********** skipping: [/cache/fedora-34.qcow2] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2 : ok=6 changed=0 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Tuesday 07 June 2022 16:11:19 +0000 (0:00:00.030) 0:00:06.113 ********** =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 2.28s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 2.00s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.82s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Enable and start firewalld service -------- 0.72s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Check if previous replaced is defined ----- 0.04s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- linux-system-roles.firewall : Install python-firewall ------------------- 0.04s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Configure firewall ------------------------ 0.04s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Get config files, checksums before and remove --- 0.03s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- linux-system-roles.firewall : Get config files, checksums after --------- 0.03s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 ---- linux-system-roles.firewall : Calculate what has changed ---------------- 0.03s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 ---- linux-system-roles.firewall : Show diffs -------------------------------- 0.03s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 ---- linux-system-roles.firewall : include_tasks ----------------------------- 0.03s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 ----- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, May 27 2022, 11:27:32) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_purge_config.yml *********************************************** 1 plays in /tmp/tmpzu7c83qe/tests/tests_purge_config.yml PLAY [Test that old config can be purged idempotently] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:1 Tuesday 07 June 2022 16:11:19 +0000 (0:00:00.022) 0:00:00.022 ********** [DEPRECATION WARNING]: Distribution fedora 34 on host /cache/fedora-34.qcow2 should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/fedora-34.qcow2] META: ran handlers TASK [Start from a clean slate] ************************************************ task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:26 Tuesday 07 June 2022 16:11:20 +0000 (0:00:01.040) 0:00:01.063 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:11:20 +0000 (0:00:00.152) 0:00:01.215 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:11:20 +0000 (0:00:00.036) 0:00:01.251 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:11:21 +0000 (0:00:00.474) 0:00:01.726 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:11:23 +0000 (0:00:02.107) 0:00:03.834 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:11:23 +0000 (0:00:00.036) 0:00:03.870 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:11:25 +0000 (0:00:01.952) 0:00:05.822 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:10:28 UTC", "ActiveEnterTimestampMonotonic": "65167722", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:10:28 UTC", "AssertTimestampMonotonic": "64916072", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "5959129000", "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": "Tue 2022-06-07 16:10:28 UTC", "ConditionTimestampMonotonic": "64916070", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "7834", "ExecMainStartTimestamp": "Tue 2022-06-07 16:10:28 UTC", "ExecMainStartTimestampMonotonic": "64917325", "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=[Tue 2022-06-07 16:10:28 UTC] ; stop_time=[n/a] ; pid=7834 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:10:28 UTC] ; stop_time=[n/a] ; pid=7834 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-06-07 16:10:28 UTC", "InactiveExitTimestampMonotonic": "64917730", "InvocationID": "d9130871580f4991993f33aeced45a26", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7834", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "31600640", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:10:28 UTC", "StateChangeTimestampMonotonic": "65167722", "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": "4", "TasksMax": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:11:26 +0000 (0:00:00.749) 0:00:06.571 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:11:26 +0000 (0:00:00.041) 0:00:06.613 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDOUT: 126c9f0cc82a3db044e62957eb91cbba2de11fae175679dc5d1fd067e682f2c2 /etc/firewalld/lockdown-whitelist.xml f975de6c1abfc9a94ed2a1dbe6f04fac647f0fa2169427a024890acefb0d70e0 /etc/firewalld/services/customservice.xml b59401d0282d4b7e551341e10ba9ee304f8d34005143a86b20782093bb6c2b78 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:11:27 +0000 (0:00:01.217) 0:00:07.831 ********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:11:27 +0000 (0:00:00.042) 0:00:07.873 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:11:27 +0000 (0:00:00.265) 0:00:08.138 ********** changed: [/cache/fedora-34.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:11:27 +0000 (0:00:00.046) 0:00:08.184 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Run the role with no config] ********************************************* task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:33 Tuesday 07 June 2022 16:11:27 +0000 (0:00:00.040) 0:00:08.225 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:11:27 +0000 (0:00:00.042) 0:00:08.267 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:11:28 +0000 (0:00:00.022) 0:00:08.290 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:11:28 +0000 (0:00:00.498) 0:00:08.788 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:11:30 +0000 (0:00:02.055) 0:00:10.843 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:11:30 +0000 (0:00:00.041) 0:00:10.885 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:11:32 +0000 (0:00:01.993) 0:00:12.878 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:11:27 UTC", "ActiveEnterTimestampMonotonic": "123302088", "ActiveExitTimestamp": "Tue 2022-06-07 16:11:26 UTC", "ActiveExitTimestampMonotonic": "122423371", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:11:26 UTC", "AssertTimestampMonotonic": "123061503", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "428633000", "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": "Tue 2022-06-07 16:11:26 UTC", "ConditionTimestampMonotonic": "123061496", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "14409", "ExecMainStartTimestamp": "Tue 2022-06-07 16:11:26 UTC", "ExecMainStartTimestampMonotonic": "123063747", "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=[Tue 2022-06-07 16:11:26 UTC] ; stop_time=[n/a] ; pid=14409 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:11:26 UTC] ; stop_time=[n/a] ; pid=14409 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:11:26 UTC", "InactiveEnterTimestampMonotonic": "123060447", "InactiveExitTimestamp": "Tue 2022-06-07 16:11:26 UTC", "InactiveExitTimestampMonotonic": "123064032", "InvocationID": "05eee871facf4c41acd5b0c1f2bc78dc", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14409", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "24432640", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:11:27 UTC", "StateChangeTimestampMonotonic": "123302088", "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": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:11:33 +0000 (0:00:00.510) 0:00:13.388 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:11:33 +0000 (0:00:00.043) 0:00:13.432 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:11:33 +0000 (0:00:00.036) 0:00:13.468 ********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:11:33 +0000 (0:00:00.035) 0:00:13.504 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:11:33 +0000 (0:00:00.036) 0:00:13.540 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:11:33 +0000 (0:00:00.036) 0:00:13.577 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Verify that nothing changed] ********************************************* task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:37 Tuesday 07 June 2022 16:11:33 +0000 (0:00:00.038) 0:00:13.615 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:42 Tuesday 07 June 2022 16:11:33 +0000 (0:00:00.036) 0:00:13.652 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:11:33 +0000 (0:00:00.047) 0:00:13.699 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:11:33 +0000 (0:00:00.023) 0:00:13.723 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:11:33 +0000 (0:00:00.505) 0:00:14.228 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:11:35 +0000 (0:00:02.025) 0:00:16.253 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:11:36 +0000 (0:00:00.040) 0:00:16.294 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:11:37 +0000 (0:00:01.977) 0:00:18.272 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:11:27 UTC", "ActiveEnterTimestampMonotonic": "123302088", "ActiveExitTimestamp": "Tue 2022-06-07 16:11:26 UTC", "ActiveExitTimestampMonotonic": "122423371", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:11:26 UTC", "AssertTimestampMonotonic": "123061503", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "428633000", "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": "Tue 2022-06-07 16:11:26 UTC", "ConditionTimestampMonotonic": "123061496", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "14409", "ExecMainStartTimestamp": "Tue 2022-06-07 16:11:26 UTC", "ExecMainStartTimestampMonotonic": "123063747", "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=[Tue 2022-06-07 16:11:26 UTC] ; stop_time=[n/a] ; pid=14409 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:11:26 UTC] ; stop_time=[n/a] ; pid=14409 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:11:26 UTC", "InactiveEnterTimestampMonotonic": "123060447", "InactiveExitTimestamp": "Tue 2022-06-07 16:11:26 UTC", "InactiveExitTimestampMonotonic": "123064032", "InvocationID": "05eee871facf4c41acd5b0c1f2bc78dc", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14409", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "24432640", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:11:27 UTC", "StateChangeTimestampMonotonic": "123302088", "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": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:11:38 +0000 (0:00:00.505) 0:00:18.777 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:11:38 +0000 (0:00:00.045) 0:00:18.823 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:11:38 +0000 (0:00:00.036) 0:00:18.860 ********** changed: [/cache/fedora-34.qcow2] => (item={u'state': u'present', u'zone': u'customzone'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "state": "present", "zone": "customzone" } } changed: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "customzone", "state": "enabled" } } changed: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } changed: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } changed: [/cache/fedora-34.qcow2] => (item={u'masquerade': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "masquerade": true } } changed: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:11:42 +0000 (0:00:03.514) 0:00:22.375 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:11:42 +0000 (0:00:00.038) 0:00:22.413 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:11:42 +0000 (0:00:00.035) 0:00:22.448 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:48 Tuesday 07 June 2022 16:11:42 +0000 (0:00:00.034) 0:00:22.483 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply again basic config] ************************************************ task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:53 Tuesday 07 June 2022 16:11:42 +0000 (0:00:00.034) 0:00:22.517 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:11:42 +0000 (0:00:00.075) 0:00:22.592 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:11:42 +0000 (0:00:00.025) 0:00:22.618 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:11:42 +0000 (0:00:00.483) 0:00:23.101 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:11:44 +0000 (0:00:02.008) 0:00:25.110 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:11:44 +0000 (0:00:00.038) 0:00:25.149 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:11:46 +0000 (0:00:01.958) 0:00:27.108 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:11:27 UTC", "ActiveEnterTimestampMonotonic": "123302088", "ActiveExitTimestamp": "Tue 2022-06-07 16:11:26 UTC", "ActiveExitTimestampMonotonic": "122423371", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:11:26 UTC", "AssertTimestampMonotonic": "123061503", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "899370000", "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": "Tue 2022-06-07 16:11:26 UTC", "ConditionTimestampMonotonic": "123061496", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "14409", "ExecMainStartTimestamp": "Tue 2022-06-07 16:11:26 UTC", "ExecMainStartTimestampMonotonic": "123063747", "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=[Tue 2022-06-07 16:11:26 UTC] ; stop_time=[n/a] ; pid=14409 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:11:26 UTC] ; stop_time=[n/a] ; pid=14409 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:11:26 UTC", "InactiveEnterTimestampMonotonic": "123060447", "InactiveExitTimestamp": "Tue 2022-06-07 16:11:26 UTC", "InactiveExitTimestampMonotonic": "123064032", "InvocationID": "05eee871facf4c41acd5b0c1f2bc78dc", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14409", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "27148288", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:11:27 UTC", "StateChangeTimestampMonotonic": "123302088", "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": "5", "TasksMax": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:11:47 +0000 (0:00:00.495) 0:00:27.604 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:11:47 +0000 (0:00:00.044) 0:00:27.648 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:11:47 +0000 (0:00:00.036) 0:00:27.685 ********** ok: [/cache/fedora-34.qcow2] => (item={u'state': u'present', u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/fedora-34.qcow2] => (item={u'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:11:50 +0000 (0:00:03.115) 0:00:30.800 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:11:50 +0000 (0:00:00.037) 0:00:30.838 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:11:50 +0000 (0:00:00.036) 0:00:30.875 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Verify role reports nothing changed] ************************************* task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:59 Tuesday 07 June 2022 16:11:50 +0000 (0:00:00.040) 0:00:30.916 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use previous replaced and basic config] ********************************** task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:64 Tuesday 07 June 2022 16:11:50 +0000 (0:00:00.038) 0:00:30.955 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:11:50 +0000 (0:00:00.058) 0:00:31.013 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:11:50 +0000 (0:00:00.024) 0:00:31.037 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:11:51 +0000 (0:00:00.489) 0:00:31.527 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:11:53 +0000 (0:00:02.115) 0:00:33.642 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:11:53 +0000 (0:00:00.037) 0:00:33.680 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:11:55 +0000 (0:00:02.020) 0:00:35.701 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:11:27 UTC", "ActiveEnterTimestampMonotonic": "123302088", "ActiveExitTimestamp": "Tue 2022-06-07 16:11:26 UTC", "ActiveExitTimestampMonotonic": "122423371", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:11:26 UTC", "AssertTimestampMonotonic": "123061503", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1185699000", "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": "Tue 2022-06-07 16:11:26 UTC", "ConditionTimestampMonotonic": "123061496", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "14409", "ExecMainStartTimestamp": "Tue 2022-06-07 16:11:26 UTC", "ExecMainStartTimestampMonotonic": "123063747", "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=[Tue 2022-06-07 16:11:26 UTC] ; stop_time=[n/a] ; pid=14409 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:11:26 UTC] ; stop_time=[n/a] ; pid=14409 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:11:26 UTC", "InactiveEnterTimestampMonotonic": "123060447", "InactiveExitTimestamp": "Tue 2022-06-07 16:11:26 UTC", "InactiveExitTimestampMonotonic": "123064032", "InvocationID": "05eee871facf4c41acd5b0c1f2bc78dc", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14409", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "27123712", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:11:27 UTC", "StateChangeTimestampMonotonic": "123302088", "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": "4", "TasksMax": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:11:55 +0000 (0:00:00.488) 0:00:36.190 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:11:55 +0000 (0:00:00.047) 0:00:36.237 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 9f2dbe242a8b5c76b10de995ca2a0c3279602243a1c4c163d482ffa66d8f8d44 /etc/firewalld/zones/public.xml af08b73c63fa49d850cb311ab87ac01ba718ad006e765ba791e662d35510ecc4 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:11:56 +0000 (0:00:00.900) 0:00:37.138 ********** ok: [/cache/fedora-34.qcow2] => (item={u'state': u'present', u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/fedora-34.qcow2] => (item={u'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:12:00 +0000 (0:00:03.346) 0:00:40.484 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 9f2dbe242a8b5c76b10de995ca2a0c3279602243a1c4c163d482ffa66d8f8d44 /etc/firewalld/zones/public.xml af08b73c63fa49d850cb311ab87ac01ba718ad006e765ba791e662d35510ecc4 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:12:00 +0000 (0:00:00.289) 0:00:40.774 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:12:00 +0000 (0:00:00.044) 0:00:40.818 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:70 Tuesday 07 June 2022 16:12:00 +0000 (0:00:00.037) 0:00:40.855 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use again previous replaced and basic config] **************************** task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:75 Tuesday 07 June 2022 16:12:00 +0000 (0:00:00.039) 0:00:40.895 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:12:00 +0000 (0:00:00.060) 0:00:40.956 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:12:00 +0000 (0:00:00.026) 0:00:40.982 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:12:01 +0000 (0:00:00.505) 0:00:41.488 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:12:03 +0000 (0:00:02.107) 0:00:43.596 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:12:03 +0000 (0:00:00.038) 0:00:43.635 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:12:05 +0000 (0:00:01.983) 0:00:45.618 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:11:56 UTC", "ActiveEnterTimestampMonotonic": "152608332", "ActiveExitTimestamp": "Tue 2022-06-07 16:11:55 UTC", "ActiveExitTimestampMonotonic": "152020522", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:11:56 UTC", "AssertTimestampMonotonic": "152369844", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "896162000", "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": "Tue 2022-06-07 16:11:56 UTC", "ConditionTimestampMonotonic": "152369839", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "16883", "ExecMainStartTimestamp": "Tue 2022-06-07 16:11:56 UTC", "ExecMainStartTimestampMonotonic": "152372265", "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=[Tue 2022-06-07 16:11:56 UTC] ; stop_time=[n/a] ; pid=16883 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:11:56 UTC] ; stop_time=[n/a] ; pid=16883 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:11:56 UTC", "InactiveEnterTimestampMonotonic": "152369148", "InactiveExitTimestamp": "Tue 2022-06-07 16:11:56 UTC", "InactiveExitTimestampMonotonic": "152372528", "InvocationID": "198665baadcd4759aca92a43eca78d71", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "16883", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "27136000", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:11:56 UTC", "StateChangeTimestampMonotonic": "152608332", "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": "5", "TasksMax": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:12:05 +0000 (0:00:00.498) 0:00:46.117 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:12:05 +0000 (0:00:00.044) 0:00:46.162 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 9f2dbe242a8b5c76b10de995ca2a0c3279602243a1c4c163d482ffa66d8f8d44 /etc/firewalld/zones/public.xml af08b73c63fa49d850cb311ab87ac01ba718ad006e765ba791e662d35510ecc4 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:12:07 +0000 (0:00:01.142) 0:00:47.304 ********** ok: [/cache/fedora-34.qcow2] => (item={u'state': u'present', u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/fedora-34.qcow2] => (item={u'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:12:10 +0000 (0:00:03.419) 0:00:50.724 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 9f2dbe242a8b5c76b10de995ca2a0c3279602243a1c4c163d482ffa66d8f8d44 /etc/firewalld/zones/public.xml af08b73c63fa49d850cb311ab87ac01ba718ad006e765ba791e662d35510ecc4 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:12:10 +0000 (0:00:00.285) 0:00:51.009 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:12:10 +0000 (0:00:00.045) 0:00:51.055 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:81 Tuesday 07 June 2022 16:12:10 +0000 (0:00:00.043) 0:00:51.098 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:86 Tuesday 07 June 2022 16:12:10 +0000 (0:00:00.038) 0:00:51.137 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:12:10 +0000 (0:00:00.063) 0:00:51.200 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:12:10 +0000 (0:00:00.024) 0:00:51.225 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:12:11 +0000 (0:00:00.482) 0:00:51.707 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:12:13 +0000 (0:00:01.993) 0:00:53.701 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:12:13 +0000 (0:00:00.038) 0:00:53.739 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:12:15 +0000 (0:00:02.009) 0:00:55.749 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:12:06 UTC", "ActiveEnterTimestampMonotonic": "162774145", "ActiveExitTimestamp": "Tue 2022-06-07 16:12:05 UTC", "ActiveExitTimestampMonotonic": "161938707", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:12:06 UTC", "AssertTimestampMonotonic": "162541824", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "882751000", "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": "Tue 2022-06-07 16:12:06 UTC", "ConditionTimestampMonotonic": "162541819", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "17959", "ExecMainStartTimestamp": "Tue 2022-06-07 16:12:06 UTC", "ExecMainStartTimestampMonotonic": "162543545", "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=[Tue 2022-06-07 16:12:06 UTC] ; stop_time=[n/a] ; pid=17959 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:12:06 UTC] ; stop_time=[n/a] ; pid=17959 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:12:06 UTC", "InactiveEnterTimestampMonotonic": "162541152", "InactiveExitTimestamp": "Tue 2022-06-07 16:12:06 UTC", "InactiveExitTimestampMonotonic": "162543829", "InvocationID": "2750c239f77f4c32ab5407efcd9870e3", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "17959", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "27152384", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:12:06 UTC", "StateChangeTimestampMonotonic": "162774145", "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": "5", "TasksMax": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:12:15 +0000 (0:00:00.500) 0:00:56.249 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:12:16 +0000 (0:00:00.044) 0:00:56.294 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:12:16 +0000 (0:00:00.037) 0:00:56.331 ********** ok: [/cache/fedora-34.qcow2] => (item={u'state': u'present', u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/fedora-34.qcow2] => (item={u'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:12:19 +0000 (0:00:03.157) 0:00:59.489 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:12:19 +0000 (0:00:00.040) 0:00:59.529 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:12:19 +0000 (0:00:00.039) 0:00:59.568 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:92 Tuesday 07 June 2022 16:12:19 +0000 (0:00:00.038) 0:00:59.607 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use only previous replaced] ********************************************** task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:97 Tuesday 07 June 2022 16:12:19 +0000 (0:00:00.041) 0:00:59.649 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:12:19 +0000 (0:00:00.070) 0:00:59.719 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:12:19 +0000 (0:00:00.024) 0:00:59.744 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:12:20 +0000 (0:00:00.543) 0:01:00.288 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:12:22 +0000 (0:00:01.999) 0:01:02.287 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:12:22 +0000 (0:00:00.040) 0:01:02.327 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:12:24 +0000 (0:00:01.981) 0:01:04.308 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:12:06 UTC", "ActiveEnterTimestampMonotonic": "162774145", "ActiveExitTimestamp": "Tue 2022-06-07 16:12:05 UTC", "ActiveExitTimestampMonotonic": "161938707", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:12:06 UTC", "AssertTimestampMonotonic": "162541824", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1167870000", "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": "Tue 2022-06-07 16:12:06 UTC", "ConditionTimestampMonotonic": "162541819", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "17959", "ExecMainStartTimestamp": "Tue 2022-06-07 16:12:06 UTC", "ExecMainStartTimestampMonotonic": "162543545", "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=[Tue 2022-06-07 16:12:06 UTC] ; stop_time=[n/a] ; pid=17959 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:12:06 UTC] ; stop_time=[n/a] ; pid=17959 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:12:06 UTC", "InactiveEnterTimestampMonotonic": "162541152", "InactiveExitTimestamp": "Tue 2022-06-07 16:12:06 UTC", "InactiveExitTimestampMonotonic": "162543829", "InvocationID": "2750c239f77f4c32ab5407efcd9870e3", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "17959", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "27119616", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:12:06 UTC", "StateChangeTimestampMonotonic": "162774145", "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": "4", "TasksMax": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:12:24 +0000 (0:00:00.502) 0:01:04.810 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:12:24 +0000 (0:00:00.043) 0:01:04.853 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 9f2dbe242a8b5c76b10de995ca2a0c3279602243a1c4c163d482ffa66d8f8d44 /etc/firewalld/zones/public.xml af08b73c63fa49d850cb311ab87ac01ba718ad006e765ba791e662d35510ecc4 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:12:25 +0000 (0:00:00.942) 0:01:05.796 ********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:12:25 +0000 (0:00:00.040) 0:01:05.837 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:12:25 +0000 (0:00:00.243) 0:01:06.080 ********** changed: [/cache/fedora-34.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:12:25 +0000 (0:00:00.047) 0:01:06.127 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:104 Tuesday 07 June 2022 16:12:25 +0000 (0:00:00.040) 0:01:06.168 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone] ************************************************* task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:109 Tuesday 07 June 2022 16:12:25 +0000 (0:00:00.036) 0:01:06.205 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:12:26 +0000 (0:00:00.080) 0:01:06.285 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:12:26 +0000 (0:00:00.023) 0:01:06.308 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:12:26 +0000 (0:00:00.485) 0:01:06.794 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:12:28 +0000 (0:00:02.095) 0:01:08.890 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:12:28 +0000 (0:00:00.038) 0:01:08.928 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:12:30 +0000 (0:00:02.000) 0:01:10.929 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:12:25 UTC", "ActiveEnterTimestampMonotonic": "181261769", "ActiveExitTimestamp": "Tue 2022-06-07 16:12:24 UTC", "ActiveExitTimestampMonotonic": "180629936", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:12:24 UTC", "AssertTimestampMonotonic": "181026019", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "419791000", "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": "Tue 2022-06-07 16:12:24 UTC", "ConditionTimestampMonotonic": "181026014", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "19821", "ExecMainStartTimestamp": "Tue 2022-06-07 16:12:24 UTC", "ExecMainStartTimestampMonotonic": "181027758", "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=[Tue 2022-06-07 16:12:24 UTC] ; stop_time=[n/a] ; pid=19821 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:12:24 UTC] ; stop_time=[n/a] ; pid=19821 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:12:24 UTC", "InactiveEnterTimestampMonotonic": "181025360", "InactiveExitTimestamp": "Tue 2022-06-07 16:12:24 UTC", "InactiveExitTimestampMonotonic": "181028021", "InvocationID": "7d64e6a3c704465da5e8caa6b9a7393a", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "19821", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "24436736", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:12:25 UTC", "StateChangeTimestampMonotonic": "181261769", "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": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:12:31 +0000 (0:00:00.504) 0:01:11.434 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:12:31 +0000 (0:00:00.041) 0:01:11.475 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:12:31 +0000 (0:00:00.035) 0:01:11.511 ********** changed: [/cache/fedora-34.qcow2] => (item={u'set_default_zone': u'dmz'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "dmz" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:12:31 +0000 (0:00:00.609) 0:01:12.120 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:12:31 +0000 (0:00:00.038) 0:01:12.159 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:12:31 +0000 (0:00:00.036) 0:01:12.195 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:116 Tuesday 07 June 2022 16:12:31 +0000 (0:00:00.040) 0:01:12.236 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again] ******************************************* task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:121 Tuesday 07 June 2022 16:12:32 +0000 (0:00:00.046) 0:01:12.282 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:12:32 +0000 (0:00:00.080) 0:01:12.362 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:12:32 +0000 (0:00:00.024) 0:01:12.387 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:12:32 +0000 (0:00:00.511) 0:01:12.898 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:12:34 +0000 (0:00:02.054) 0:01:14.953 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:12:34 +0000 (0:00:00.038) 0:01:14.991 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:12:36 +0000 (0:00:02.014) 0:01:17.006 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:12:25 UTC", "ActiveEnterTimestampMonotonic": "181261769", "ActiveExitTimestamp": "Tue 2022-06-07 16:12:24 UTC", "ActiveExitTimestampMonotonic": "180629936", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:12:24 UTC", "AssertTimestampMonotonic": "181026019", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "496669000", "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": "Tue 2022-06-07 16:12:24 UTC", "ConditionTimestampMonotonic": "181026014", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "19821", "ExecMainStartTimestamp": "Tue 2022-06-07 16:12:24 UTC", "ExecMainStartTimestampMonotonic": "181027758", "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=[Tue 2022-06-07 16:12:24 UTC] ; stop_time=[n/a] ; pid=19821 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:12:24 UTC] ; stop_time=[n/a] ; pid=19821 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:12:24 UTC", "InactiveEnterTimestampMonotonic": "181025360", "InactiveExitTimestamp": "Tue 2022-06-07 16:12:24 UTC", "InactiveExitTimestampMonotonic": "181028021", "InvocationID": "7d64e6a3c704465da5e8caa6b9a7393a", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "19821", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "25567232", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:12:25 UTC", "StateChangeTimestampMonotonic": "181261769", "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": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:12:37 +0000 (0:00:00.493) 0:01:17.500 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:12:37 +0000 (0:00:00.041) 0:01:17.541 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:12:37 +0000 (0:00:00.035) 0:01:17.576 ********** ok: [/cache/fedora-34.qcow2] => (item={u'set_default_zone': u'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:12:37 +0000 (0:00:00.548) 0:01:18.124 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:12:37 +0000 (0:00:00.039) 0:01:18.164 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:12:37 +0000 (0:00:00.037) 0:01:18.202 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:128 Tuesday 07 June 2022 16:12:37 +0000 (0:00:00.036) 0:01:18.238 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again with previous replaced] ******************** task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:133 Tuesday 07 June 2022 16:12:37 +0000 (0:00:00.035) 0:01:18.273 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:12:38 +0000 (0:00:00.086) 0:01:18.360 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:12:38 +0000 (0:00:00.022) 0:01:18.382 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:12:38 +0000 (0:00:00.490) 0:01:18.872 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:12:40 +0000 (0:00:01.971) 0:01:20.843 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:12:40 +0000 (0:00:00.039) 0:01:20.883 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:12:42 +0000 (0:00:01.969) 0:01:22.853 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:12:25 UTC", "ActiveEnterTimestampMonotonic": "181261769", "ActiveExitTimestamp": "Tue 2022-06-07 16:12:24 UTC", "ActiveExitTimestampMonotonic": "180629936", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:12:24 UTC", "AssertTimestampMonotonic": "181026019", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "541373000", "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": "Tue 2022-06-07 16:12:24 UTC", "ConditionTimestampMonotonic": "181026014", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "19821", "ExecMainStartTimestamp": "Tue 2022-06-07 16:12:24 UTC", "ExecMainStartTimestampMonotonic": "181027758", "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=[Tue 2022-06-07 16:12:24 UTC] ; stop_time=[n/a] ; pid=19821 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:12:24 UTC] ; stop_time=[n/a] ; pid=19821 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:12:24 UTC", "InactiveEnterTimestampMonotonic": "181025360", "InactiveExitTimestamp": "Tue 2022-06-07 16:12:24 UTC", "InactiveExitTimestampMonotonic": "181028021", "InvocationID": "7d64e6a3c704465da5e8caa6b9a7393a", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "19821", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "25616384", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:12:25 UTC", "StateChangeTimestampMonotonic": "181261769", "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": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:12:43 +0000 (0:00:00.486) 0:01:23.339 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:12:43 +0000 (0:00:00.042) 0:01:23.382 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDOUT: 9f2dbe242a8b5c76b10de995ca2a0c3279602243a1c4c163d482ffa66d8f8d44 /etc/firewalld/zones/public.xml b59401d0282d4b7e551341e10ba9ee304f8d34005143a86b20782093bb6c2b78 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:12:43 +0000 (0:00:00.705) 0:01:24.088 ********** ok: [/cache/fedora-34.qcow2] => (item={u'set_default_zone': u'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:12:44 +0000 (0:00:00.574) 0:01:24.663 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDOUT: 9f2dbe242a8b5c76b10de995ca2a0c3279602243a1c4c163d482ffa66d8f8d44 /etc/firewalld/zones/public.xml b59401d0282d4b7e551341e10ba9ee304f8d34005143a86b20782093bb6c2b78 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:12:44 +0000 (0:00:00.298) 0:01:24.961 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:12:44 +0000 (0:00:00.047) 0:01:25.009 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:141 Tuesday 07 June 2022 16:12:44 +0000 (0:00:00.039) 0:01:25.048 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_purge_config.yml:146 Tuesday 07 June 2022 16:12:44 +0000 (0:00:00.036) 0:01:25.084 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:12:44 +0000 (0:00:00.087) 0:01:25.172 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:12:44 +0000 (0:00:00.022) 0:01:25.194 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:12:45 +0000 (0:00:00.499) 0:01:25.694 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:12:47 +0000 (0:00:02.079) 0:01:27.773 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:12:47 +0000 (0:00:00.043) 0:01:27.817 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:12:49 +0000 (0:00:01.961) 0:01:29.778 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:12:43 UTC", "ActiveEnterTimestampMonotonic": "199558704", "ActiveExitTimestamp": "Tue 2022-06-07 16:12:42 UTC", "ActiveExitTimestampMonotonic": "199164586", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:12:43 UTC", "AssertTimestampMonotonic": "199325888", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "482619000", "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": "Tue 2022-06-07 16:12:43 UTC", "ConditionTimestampMonotonic": "199325884", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "21167", "ExecMainStartTimestamp": "Tue 2022-06-07 16:12:43 UTC", "ExecMainStartTimestampMonotonic": "199327508", "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=[Tue 2022-06-07 16:12:43 UTC] ; stop_time=[n/a] ; pid=21167 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:12:43 UTC] ; stop_time=[n/a] ; pid=21167 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:12:43 UTC", "InactiveEnterTimestampMonotonic": "199325239", "InactiveExitTimestamp": "Tue 2022-06-07 16:12:43 UTC", "InactiveExitTimestampMonotonic": "199327796", "InvocationID": "096f19c301354a10b5594976ff616737", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "21167", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "25575424", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:12:43 UTC", "StateChangeTimestampMonotonic": "199558704", "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": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:12:50 +0000 (0:00:00.507) 0:01:30.286 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:12:50 +0000 (0:00:00.046) 0:01:30.332 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDOUT: 9f2dbe242a8b5c76b10de995ca2a0c3279602243a1c4c163d482ffa66d8f8d44 /etc/firewalld/zones/public.xml b59401d0282d4b7e551341e10ba9ee304f8d34005143a86b20782093bb6c2b78 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:12:50 +0000 (0:00:00.731) 0:01:31.064 ********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:12:50 +0000 (0:00:00.039) 0:01:31.103 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:12:51 +0000 (0:00:00.240) 0:01:31.344 ********** changed: [/cache/fedora-34.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:12:51 +0000 (0:00:00.045) 0:01:31.389 ********** skipping: [/cache/fedora-34.qcow2] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2 : ok=99 changed=5 unreachable=0 failed=0 skipped=56 rescued=0 ignored=0 Tuesday 07 June 2022 16:12:51 +0000 (0:00:00.037) 0:01:31.427 ********** =============================================================================== linux-system-roles.firewall : Configure firewall ------------------------ 3.42s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 3.16s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Install firewalld ------------------------- 2.12s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 2.11s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 2.11s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 2.10s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 2.08s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 2.06s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 2.05s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 2.03s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 2.02s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 2.01s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 2.01s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 2.01s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 2.00s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 2.00s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.99s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.99s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.98s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.98s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, May 27 2022, 11:27:32) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_target.yml ***************************************************** 1 plays in /tmp/tmpzu7c83qe/tests/tests_target.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpzu7c83qe/tests/tests_target.yml:1 Tuesday 07 June 2022 16:12:51 +0000 (0:00:00.022) 0:00:00.022 ********** [DEPRECATION WARNING]: Distribution fedora 34 on host /cache/fedora-34.qcow2 should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/fedora-34.qcow2] META: ran handlers TASK [Call role to change target settings] ************************************* task path: /tmp/tmpzu7c83qe/tests/tests_target.yml:5 Tuesday 07 June 2022 16:12:52 +0000 (0:00:01.044) 0:00:01.067 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:12:52 +0000 (0:00:00.146) 0:00:01.214 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:12:52 +0000 (0:00:00.035) 0:00:01.250 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:12:53 +0000 (0:00:00.486) 0:00:01.736 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:12:55 +0000 (0:00:02.130) 0:00:03.867 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:12:55 +0000 (0:00:00.038) 0:00:03.906 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:12:57 +0000 (0:00:02.005) 0:00:05.912 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:12:50 UTC", "ActiveEnterTimestampMonotonic": "206531084", "ActiveExitTimestamp": "Tue 2022-06-07 16:12:49 UTC", "ActiveExitTimestampMonotonic": "206123073", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:12:50 UTC", "AssertTimestampMonotonic": "206286878", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "431334000", "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": "Tue 2022-06-07 16:12:50 UTC", "ConditionTimestampMonotonic": "206286874", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "21801", "ExecMainStartTimestamp": "Tue 2022-06-07 16:12:50 UTC", "ExecMainStartTimestampMonotonic": "206288756", "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=[Tue 2022-06-07 16:12:50 UTC] ; stop_time=[n/a] ; pid=21801 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:12:50 UTC] ; stop_time=[n/a] ; pid=21801 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:12:50 UTC", "InactiveEnterTimestampMonotonic": "206286189", "InactiveExitTimestamp": "Tue 2022-06-07 16:12:50 UTC", "InactiveExitTimestampMonotonic": "206289036", "InvocationID": "ec8e732bf6bb4e05b11137957ed392d1", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "21801", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "24444928", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:12:50 UTC", "StateChangeTimestampMonotonic": "206531084", "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": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:12:58 +0000 (0:00:00.802) 0:00:06.714 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:12:58 +0000 (0:00:00.047) 0:00:06.762 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:12:58 +0000 (0:00:00.043) 0:00:06.805 ********** ok: [/cache/fedora-34.qcow2] => (item={u'permanent': True, u'set_default_zone': u'public'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "set_default_zone": "public" } } changed: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'permanent': True, u'target': u'DROP'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "enabled", "target": "DROP" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:12:59 +0000 (0:00:01.324) 0:00:08.129 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:12:59 +0000 (0:00:00.040) 0:00:08.169 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:12:59 +0000 (0:00:00.040) 0:00:08.209 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Get target setting] ****************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_target.yml:16 Tuesday 07 June 2022 16:12:59 +0000 (0:00:00.043) 0:00:08.253 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.241808", "end": "2022-06-07 16:13:00.140400", "rc": 0, "start": "2022-06-07 16:12:59.898592" } STDOUT: public (active) target: DROP icmp-block-inversion: no interfaces: eth0 sources: services: dhcpv6-client mdns ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting] *************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_target.yml:21 Tuesday 07 June 2022 16:13:00 +0000 (0:00:00.714) 0:00:08.968 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false } MSG: All assertions passed TASK [Call role to reset target settings] ************************************** task path: /tmp/tmpzu7c83qe/tests/tests_target.yml:27 Tuesday 07 June 2022 16:13:00 +0000 (0:00:00.041) 0:00:09.010 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:13:00 +0000 (0:00:00.037) 0:00:09.047 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:13:00 +0000 (0:00:00.024) 0:00:09.072 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:13:01 +0000 (0:00:00.522) 0:00:09.595 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:13:03 +0000 (0:00:02.025) 0:00:11.621 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:13:03 +0000 (0:00:00.040) 0:00:11.661 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:13:05 +0000 (0:00:02.039) 0:00:13.700 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:12:50 UTC", "ActiveEnterTimestampMonotonic": "206531084", "ActiveExitTimestamp": "Tue 2022-06-07 16:12:49 UTC", "ActiveExitTimestampMonotonic": "206123073", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:12:50 UTC", "AssertTimestampMonotonic": "206286878", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "691391000", "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": "Tue 2022-06-07 16:12:50 UTC", "ConditionTimestampMonotonic": "206286874", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "21801", "ExecMainStartTimestamp": "Tue 2022-06-07 16:12:50 UTC", "ExecMainStartTimestampMonotonic": "206288756", "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=[Tue 2022-06-07 16:12:50 UTC] ; stop_time=[n/a] ; pid=21801 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:12:50 UTC] ; stop_time=[n/a] ; pid=21801 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:12:50 UTC", "InactiveEnterTimestampMonotonic": "206286189", "InactiveExitTimestamp": "Tue 2022-06-07 16:12:50 UTC", "InactiveExitTimestampMonotonic": "206289036", "InvocationID": "ec8e732bf6bb4e05b11137957ed392d1", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "21801", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "27037696", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:12:50 UTC", "StateChangeTimestampMonotonic": "206531084", "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": "5", "TasksMax": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:13:05 +0000 (0:00:00.492) 0:00:14.193 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:13:05 +0000 (0:00:00.043) 0:00:14.236 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:13:05 +0000 (0:00:00.037) 0:00:14.274 ********** changed: [/cache/fedora-34.qcow2] => (item={u'state': u'absent', u'permanent': True, u'target': u'DROP'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "absent", "target": "DROP" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:13:06 +0000 (0:00:00.664) 0:00:14.939 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:13:06 +0000 (0:00:00.038) 0:00:14.977 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:13:06 +0000 (0:00:00.037) 0:00:15.015 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Get target setting] ****************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_target.yml:36 Tuesday 07 June 2022 16:13:06 +0000 (0:00:00.036) 0:00:15.051 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.239515", "end": "2022-06-07 16:13:06.805406", "rc": 0, "start": "2022-06-07 16:13:06.565891" } STDOUT: public (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: dhcpv6-client mdns ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting was reset] ***************************************** task path: /tmp/tmpzu7c83qe/tests/tests_target.yml:41 Tuesday 07 June 2022 16:13:07 +0000 (0:00:00.580) 0:00:15.631 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_target.yml:47 Tuesday 07 June 2022 16:13:07 +0000 (0:00:00.041) 0:00:15.673 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:13:07 +0000 (0:00:00.042) 0:00:15.716 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:13:07 +0000 (0:00:00.023) 0:00:15.740 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:13:07 +0000 (0:00:00.500) 0:00:16.240 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:13:09 +0000 (0:00:01.989) 0:00:18.230 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:13:09 +0000 (0:00:00.039) 0:00:18.269 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:13:11 +0000 (0:00:01.960) 0:00:20.230 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:12:50 UTC", "ActiveEnterTimestampMonotonic": "206531084", "ActiveExitTimestamp": "Tue 2022-06-07 16:12:49 UTC", "ActiveExitTimestampMonotonic": "206123073", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:12:50 UTC", "AssertTimestampMonotonic": "206286878", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "892407000", "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": "Tue 2022-06-07 16:12:50 UTC", "ConditionTimestampMonotonic": "206286874", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "21801", "ExecMainStartTimestamp": "Tue 2022-06-07 16:12:50 UTC", "ExecMainStartTimestampMonotonic": "206288756", "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=[Tue 2022-06-07 16:12:50 UTC] ; stop_time=[n/a] ; pid=21801 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:12:50 UTC] ; stop_time=[n/a] ; pid=21801 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:12:50 UTC", "InactiveEnterTimestampMonotonic": "206286189", "InactiveExitTimestamp": "Tue 2022-06-07 16:12:50 UTC", "InactiveExitTimestampMonotonic": "206289036", "InvocationID": "ec8e732bf6bb4e05b11137957ed392d1", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "21801", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "27619328", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:12:50 UTC", "StateChangeTimestampMonotonic": "206531084", "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": "5", "TasksMax": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:13:12 +0000 (0:00:00.491) 0:00:20.722 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:13:12 +0000 (0:00:00.044) 0:00:20.766 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDOUT: 9f2dbe242a8b5c76b10de995ca2a0c3279602243a1c4c163d482ffa66d8f8d44 /etc/firewalld/zones/public.xml STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:13:13 +0000 (0:00:00.662) 0:00:21.429 ********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:13:13 +0000 (0:00:00.037) 0:00:21.467 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:13:13 +0000 (0:00:00.246) 0:00:21.713 ********** changed: [/cache/fedora-34.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:13:13 +0000 (0:00:00.046) 0:00:21.760 ********** skipping: [/cache/fedora-34.qcow2] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2 : ok=28 changed=3 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Tuesday 07 June 2022 16:13:13 +0000 (0:00:00.034) 0:00:21.795 ********** =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 2.13s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 2.04s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 2.03s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 2.01s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.99s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.96s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Configure firewall ------------------------ 1.32s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpzu7c83qe/tests/tests_target.yml:1 ------------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.80s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Get target setting ------------------------------------------------------ 0.71s /tmp/tmpzu7c83qe/tests/tests_target.yml:16 ------------------------------------ linux-system-roles.firewall : Configure firewall ------------------------ 0.66s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Get config files, checksums before and remove --- 0.66s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- Get target setting ------------------------------------------------------ 0.58s /tmp/tmpzu7c83qe/tests/tests_target.yml:36 ------------------------------------ linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.52s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.50s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Enable and start firewalld service -------- 0.49s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Enable and start firewalld service -------- 0.49s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.49s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Get config files, checksums after --------- 0.25s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 ---- Call role to change target settings ------------------------------------- 0.15s /tmp/tmpzu7c83qe/tests/tests_target.yml:5 ------------------------------------- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, May 27 2022, 11:27:32) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_zone.yml ******************************************************* 1 plays in /tmp/tmpzu7c83qe/tests/tests_zone.yml PLAY [Test firewalld zones] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpzu7c83qe/tests/tests_zone.yml:1 Tuesday 07 June 2022 16:13:13 +0000 (0:00:00.023) 0:00:00.023 ********** [DEPRECATION WARNING]: Distribution fedora 34 on host /cache/fedora-34.qcow2 should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/fedora-34.qcow2] META: ran handlers TASK [Verify used firewalld zones] ********************************************* task path: /tmp/tmpzu7c83qe/tests/tests_zone.yml:10 Tuesday 07 June 2022 16:13:14 +0000 (0:00:01.047) 0:00:01.071 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:13:15 +0000 (0:00:00.173) 0:00:01.245 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:13:15 +0000 (0:00:00.058) 0:00:01.304 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:13:15 +0000 (0:00:00.496) 0:00:01.800 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:13:17 +0000 (0:00:02.097) 0:00:03.898 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:13:17 +0000 (0:00:00.041) 0:00:03.939 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:13:19 +0000 (0:00:01.994) 0:00:05.934 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:13:12 UTC", "ActiveEnterTimestampMonotonic": "228802788", "ActiveExitTimestamp": "Tue 2022-06-07 16:13:12 UTC", "ActiveExitTimestampMonotonic": "228400576", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:13:12 UTC", "AssertTimestampMonotonic": "228563151", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "420401000", "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": "Tue 2022-06-07 16:13:12 UTC", "ConditionTimestampMonotonic": "228563145", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "23502", "ExecMainStartTimestamp": "Tue 2022-06-07 16:13:12 UTC", "ExecMainStartTimestampMonotonic": "228565196", "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=[Tue 2022-06-07 16:13:12 UTC] ; stop_time=[n/a] ; pid=23502 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:13:12 UTC] ; stop_time=[n/a] ; pid=23502 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:13:12 UTC", "InactiveEnterTimestampMonotonic": "228562375", "InactiveExitTimestamp": "Tue 2022-06-07 16:13:12 UTC", "InactiveExitTimestampMonotonic": "228565511", "InvocationID": "5a93dae46e904ba7b7530d5ffea07b74", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "23502", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "24432640", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:13:12 UTC", "StateChangeTimestampMonotonic": "228802788", "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": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:13:20 +0000 (0:00:00.740) 0:00:06.675 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:13:20 +0000 (0:00:00.049) 0:00:06.724 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:13:20 +0000 (0:00:00.040) 0:00:06.765 ********** ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'zone': u'internal'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "internal" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'zone': u'external'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "external" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'zone': u'trusted'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "trusted" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:13:22 +0000 (0:00:01.685) 0:00:08.451 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:13:22 +0000 (0:00:00.047) 0:00:08.499 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:13:22 +0000 (0:00:00.043) 0:00:08.542 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Fail on missing zones] *************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_zone.yml:22 Tuesday 07 June 2022 16:13:22 +0000 (0:00:00.043) 0:00:08.585 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld] ********************************************************* task path: /tmp/tmpzu7c83qe/tests/tests_zone.yml:28 Tuesday 07 June 2022 16:13:22 +0000 (0:00:00.040) 0:00:08.626 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:13:22 +0000 (0:00:00.064) 0:00:08.691 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:13:22 +0000 (0:00:00.047) 0:00:08.738 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:13:23 +0000 (0:00:00.495) 0:00:09.234 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:13:25 +0000 (0:00:02.030) 0:00:11.264 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:13:25 +0000 (0:00:00.040) 0:00:11.305 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:13:27 +0000 (0:00:02.029) 0:00:13.335 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:13:12 UTC", "ActiveEnterTimestampMonotonic": "228802788", "ActiveExitTimestamp": "Tue 2022-06-07 16:13:12 UTC", "ActiveExitTimestampMonotonic": "228400576", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:13:12 UTC", "AssertTimestampMonotonic": "228563151", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "560943000", "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": "Tue 2022-06-07 16:13:12 UTC", "ConditionTimestampMonotonic": "228563145", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "23502", "ExecMainStartTimestamp": "Tue 2022-06-07 16:13:12 UTC", "ExecMainStartTimestampMonotonic": "228565196", "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=[Tue 2022-06-07 16:13:12 UTC] ; stop_time=[n/a] ; pid=23502 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:13:12 UTC] ; stop_time=[n/a] ; pid=23502 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:13:12 UTC", "InactiveEnterTimestampMonotonic": "228562375", "InactiveExitTimestamp": "Tue 2022-06-07 16:13:12 UTC", "InactiveExitTimestampMonotonic": "228565511", "InvocationID": "5a93dae46e904ba7b7530d5ffea07b74", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "23502", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "25497600", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:13:12 UTC", "StateChangeTimestampMonotonic": "228802788", "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": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:13:27 +0000 (0:00:00.498) 0:00:13.833 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:13:27 +0000 (0:00:00.046) 0:00:13.880 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:13:28 +0000 (0:00:00.237) 0:00:14.118 ********** ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'service': [u'tftp', u'ftp'], u'port': [u'443/tcp', u'443/udp'], u'zone': u'internal', u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'service': [u'tftp', u'ftp'], u'port': [u'443/tcp', u'443/udp'], u'zone': u'internal', u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'present', u'permanent': True, u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" } } ok: [/cache/fedora-34.qcow2] => (item={u'masquerade': True, u'state': u'enabled', u'permanent': True, u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'set_default_zone': u'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:13:31 +0000 (0:00:03.279) 0:00:17.397 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml 9f2dbe242a8b5c76b10de995ca2a0c3279602243a1c4c163d482ffa66d8f8d44 /etc/firewalld/zones/public.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml b59401d0282d4b7e551341e10ba9ee304f8d34005143a86b20782093bb6c2b78 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:13:31 +0000 (0:00:00.322) 0:00:17.720 ********** changed: [/cache/fedora-34.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:13:31 +0000 (0:00:00.050) 0:00:17.770 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Fail if no changes are done] ********************************************* task path: /tmp/tmpzu7c83qe/tests/tests_zone.yml:58 Tuesday 07 June 2022 16:13:31 +0000 (0:00:00.042) 0:00:17.812 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld again] *************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_zone.yml:64 Tuesday 07 June 2022 16:13:31 +0000 (0:00:00.038) 0:00:17.851 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:13:31 +0000 (0:00:00.062) 0:00:17.914 ********** included: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:13:31 +0000 (0:00:00.047) 0:00:17.962 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:13:32 +0000 (0:00:00.508) 0:00:18.470 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:13:34 +0000 (0:00:02.142) 0:00:20.613 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:13:34 +0000 (0:00:00.042) 0:00:20.656 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:13:36 +0000 (0:00:01.988) 0:00:22.644 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 16:13:12 UTC", "ActiveEnterTimestampMonotonic": "228802788", "ActiveExitTimestamp": "Tue 2022-06-07 16:13:12 UTC", "ActiveExitTimestampMonotonic": "228400576", "ActiveState": "active", "After": "dbus.socket sysinit.target basic.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 16:13:12 UTC", "AssertTimestampMonotonic": "228563151", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1000628000", "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": "Tue 2022-06-07 16:13:12 UTC", "ConditionTimestampMonotonic": "228563145", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service iptables.service shutdown.target ip6tables.service ipset.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": "23502", "ExecMainStartTimestamp": "Tue 2022-06-07 16:13:12 UTC", "ExecMainStartTimestampMonotonic": "228565196", "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=[Tue 2022-06-07 16:13:12 UTC] ; stop_time=[n/a] ; pid=23502 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Tue 2022-06-07 16:13:12 UTC] ; stop_time=[n/a] ; pid=23502 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 16:13:12 UTC", "InactiveEnterTimestampMonotonic": "228562375", "InactiveExitTimestamp": "Tue 2022-06-07 16:13:12 UTC", "InactiveExitTimestampMonotonic": "228565511", "InvocationID": "5a93dae46e904ba7b7530d5ffea07b74", "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": "7750", "LimitNPROCSoft": "7750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7750", "LimitSIGPENDINGSoft": "7750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "23502", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "27205632", "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", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 16:13:12 UTC", "StateChangeTimestampMonotonic": "228802788", "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": "5", "TasksMax": "2325", "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/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:13:37 +0000 (0:00:00.507) 0:00:23.152 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:13:37 +0000 (0:00:00.048) 0:00:23.201 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml 9f2dbe242a8b5c76b10de995ca2a0c3279602243a1c4c163d482ffa66d8f8d44 /etc/firewalld/zones/public.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml b59401d0282d4b7e551341e10ba9ee304f8d34005143a86b20782093bb6c2b78 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:13:37 +0000 (0:00:00.735) 0:00:23.936 ********** ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'service': [u'tftp', u'ftp'], u'port': [u'443/tcp', u'443/udp'], u'zone': u'internal', u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'service': [u'tftp', u'ftp'], u'port': [u'443/tcp', u'443/udp'], u'zone': u'internal', u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'present', u'permanent': True, u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" } } ok: [/cache/fedora-34.qcow2] => (item={u'masquerade': True, u'state': u'enabled', u'permanent': True, u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'set_default_zone': u'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } ok: [/cache/fedora-34.qcow2] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:13:41 +0000 (0:00:03.371) 0:00:27.308 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml 9f2dbe242a8b5c76b10de995ca2a0c3279602243a1c4c163d482ffa66d8f8d44 /etc/firewalld/zones/public.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml b59401d0282d4b7e551341e10ba9ee304f8d34005143a86b20782093bb6c2b78 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:13:41 +0000 (0:00:00.304) 0:00:27.613 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:13:41 +0000 (0:00:00.046) 0:00:27.660 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [Fail on newly changes] *************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_zone.yml:94 Tuesday 07 June 2022 16:13:41 +0000 (0:00:00.039) 0:00:27.700 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify firewalld zone internal services] ********************************* task path: /tmp/tmpzu7c83qe/tests/tests_zone.yml:100 Tuesday 07 June 2022 16:13:41 +0000 (0:00:00.038) 0:00:27.738 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-services" ], "delta": "0:00:00.274032", "end": "2022-06-07 16:13:41.927639", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:13:41.653607" } STDOUT: dhcpv6-client ftp mdns samba-client ssh tftp TASK [Verify firewalld zone internal ports] ************************************ task path: /tmp/tmpzu7c83qe/tests/tests_zone.yml:107 Tuesday 07 June 2022 16:13:42 +0000 (0:00:00.738) 0:00:28.476 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-ports" ], "delta": "0:00:00.260651", "end": "2022-06-07 16:13:42.561027", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:13:42.300376" } STDOUT: 443/tcp 443/udp TASK [Verify firewalld zone internal forward ports] **************************** task path: /tmp/tmpzu7c83qe/tests/tests_zone.yml:114 Tuesday 07 June 2022 16:13:43 +0000 (0:00:00.632) 0:00:29.108 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-forward-ports" ], "delta": "0:00:00.248315", "end": "2022-06-07 16:13:43.188122", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:13:42.939807" } STDOUT: port=447:proto=tcp:toport=:toaddr=1.2.3.4 port=448:proto=tcp:toport=:toaddr=1.2.3.5 TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/tmpzu7c83qe/tests/tests_zone.yml:123 Tuesday 07 June 2022 16:13:43 +0000 (0:00:00.627) 0:00:29.736 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=customzone", "--query-masquerade" ], "delta": "0:00:00.239802", "end": "2022-06-07 16:13:43.797653", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:13:43.557851" } STDOUT: yes TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/tmpzu7c83qe/tests/tests_zone.yml:129 Tuesday 07 June 2022 16:13:44 +0000 (0:00:00.606) 0:00:30.343 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.234918", "end": "2022-06-07 16:13:44.401750", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:13:44.166832" } STDOUT: dmz TASK [Verify that service http has been added to the default zone dmz] ********* task path: /tmp/tmpzu7c83qe/tests/tests_zone.yml:135 Tuesday 07 June 2022 16:13:44 +0000 (0:00:00.603) 0:00:30.946 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--zone=dmz", "--query-service=http" ], "delta": "0:00:00.236362", "end": "2022-06-07 16:13:44.999741", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:13:44.763379" } STDOUT: yes TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_zone.yml:147 Tuesday 07 June 2022 16:13:45 +0000 (0:00:00.599) 0:00:31.546 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.255154", "end": "2022-06-07 16:13:45.620215", "failed_when_result": false, "rc": 0, "start": "2022-06-07 16:13:45.365061" } STDOUT: success TASK [Reset to zone defaults] ************************************************** task path: /tmp/tmpzu7c83qe/tests/tests_zone.yml:152 Tuesday 07 June 2022 16:13:46 +0000 (0:00:00.621) 0:00:32.167 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": "firewall-cmd --permanent --load-zone-defaults=internal\nfirewall-cmd --permanent --load-zone-defaults=external\nfirewall-cmd --permanent --load-zone-defaults=trusted\nfirewall-cmd --reload\n", "delta": "0:00:01.075661", "end": "2022-06-07 16:13:47.061970", "rc": 0, "start": "2022-06-07 16:13:45.986309" } STDOUT: success success STDERR: Error: NO_DEFAULTS: external Error: NO_DEFAULTS: trusted META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2 : ok=36 changed=9 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0 Tuesday 07 June 2022 16:13:47 +0000 (0:00:01.434) 0:00:33.601 ********** =============================================================================== linux-system-roles.firewall : Configure firewall ------------------------ 3.37s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Install firewalld ------------------------- 2.14s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 2.10s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 2.03s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 2.03s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.99s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.99s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Configure firewall ------------------------ 1.69s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Reset to zone defaults -------------------------------------------------- 1.43s /tmp/tmpzu7c83qe/tests/tests_zone.yml:152 ------------------------------------- Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmpzu7c83qe/tests/tests_zone.yml:1 --------------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.74s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Verify firewalld zone internal services --------------------------------- 0.74s /tmp/tmpzu7c83qe/tests/tests_zone.yml:100 ------------------------------------- linux-system-roles.firewall : Get config files, checksums before and remove --- 0.74s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- Verify firewalld zone internal ports ------------------------------------ 0.63s /tmp/tmpzu7c83qe/tests/tests_zone.yml:107 ------------------------------------- Verify firewalld zone internal forward ports ---------------------------- 0.63s /tmp/tmpzu7c83qe/tests/tests_zone.yml:114 ------------------------------------- Remove customzone zone -------------------------------------------------- 0.62s /tmp/tmpzu7c83qe/tests/tests_zone.yml:147 ------------------------------------- Verify custom zone has masquerade added to it --------------------------- 0.61s /tmp/tmpzu7c83qe/tests/tests_zone.yml:123 ------------------------------------- Verify custom zone has masquerade added to it --------------------------- 0.60s /tmp/tmpzu7c83qe/tests/tests_zone.yml:129 ------------------------------------- Verify that service http has been added to the default zone dmz --------- 0.60s /tmp/tmpzu7c83qe/tests/tests_zone.yml:135 ------------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.51s /tmp/tmpzu7c83qe/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Testing /tmp/tmp4cc2qit_/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmp4cc2qit_/tests/tests_default.yml...SUCCESS Testing /tmp/tmp4cc2qit_/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmp4cc2qit_/tests/tests_target.yml...SUCCESS Testing /tmp/tmp4cc2qit_/tests/tests_zone.yml...SUCCESS Testing /tmp/tmp_a0krf31/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmp_a0krf31/tests/tests_default.yml...SUCCESS Testing /tmp/tmp_a0krf31/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmp_a0krf31/tests/tests_target.yml...SUCCESS Testing /tmp/tmp_a0krf31/tests/tests_zone.yml...SUCCESS Testing /tmp/tmp69vb9r10/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmp69vb9r10/tests/tests_default.yml...SUCCESS Testing /tmp/tmp69vb9r10/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmp69vb9r10/tests/tests_target.yml...SUCCESS Testing /tmp/tmp69vb9r10/tests/tests_zone.yml...SUCCESS Testing /tmp/tmp9g0tlrhl/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmp9g0tlrhl/tests/tests_default.yml...SUCCESS Testing /tmp/tmp9g0tlrhl/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmp9g0tlrhl/tests/tests_target.yml...SUCCESS Testing /tmp/tmp9g0tlrhl/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpl9lbn_ok/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpl9lbn_ok/tests/tests_default.yml...SUCCESS Testing /tmp/tmpl9lbn_ok/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpl9lbn_ok/tests/tests_target.yml...SUCCESS Testing /tmp/tmpl9lbn_ok/tests/tests_zone.yml...SUCCESS Testing /tmp/tmp0yfn471j/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmp0yfn471j/tests/tests_default.yml...SUCCESS Testing /tmp/tmp0yfn471j/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmp0yfn471j/tests/tests_target.yml...SUCCESS Testing /tmp/tmp0yfn471j/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpt68xat6i/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpt68xat6i/tests/tests_default.yml...SUCCESS Testing /tmp/tmpt68xat6i/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpt68xat6i/tests/tests_target.yml...SUCCESS Testing /tmp/tmpt68xat6i/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpzy7v0t42/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpzy7v0t42/tests/tests_default.yml...SUCCESS Testing /tmp/tmpzy7v0t42/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpzy7v0t42/tests/tests_target.yml...SUCCESS Testing /tmp/tmpzy7v0t42/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpq4ig96mj/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpq4ig96mj/tests/tests_default.yml...SUCCESS Testing /tmp/tmpq4ig96mj/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpq4ig96mj/tests/tests_target.yml...SUCCESS Testing /tmp/tmpq4ig96mj/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpwcequdc3/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpwcequdc3/tests/tests_default.yml...SUCCESS Testing /tmp/tmpwcequdc3/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpwcequdc3/tests/tests_target.yml...SUCCESS Testing /tmp/tmpwcequdc3/tests/tests_zone.yml...SUCCESS Testing /tmp/tmp8w25djwe/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmp8w25djwe/tests/tests_default.yml...SUCCESS Testing /tmp/tmp8w25djwe/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmp8w25djwe/tests/tests_target.yml...SUCCESS Testing /tmp/tmp8w25djwe/tests/tests_zone.yml...SUCCESS Testing /tmp/tmphqupj8gl/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmphqupj8gl/tests/tests_default.yml...SUCCESS Testing /tmp/tmphqupj8gl/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmphqupj8gl/tests/tests_target.yml...SUCCESS Testing /tmp/tmphqupj8gl/tests/tests_zone.yml...SUCCESS Testing /tmp/tmp4zu155i4/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmp4zu155i4/tests/tests_default.yml...SUCCESS Testing /tmp/tmp4zu155i4/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmp4zu155i4/tests/tests_target.yml...SUCCESS Testing /tmp/tmp4zu155i4/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpj9x9t4y4/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpj9x9t4y4/tests/tests_default.yml...SUCCESS Testing /tmp/tmpj9x9t4y4/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpj9x9t4y4/tests/tests_target.yml...SUCCESS Testing /tmp/tmpj9x9t4y4/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpgv3bsrcy/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpgv3bsrcy/tests/tests_default.yml...SUCCESS Testing /tmp/tmpgv3bsrcy/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpgv3bsrcy/tests/tests_target.yml...SUCCESS Testing /tmp/tmpgv3bsrcy/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpyk8cnsge/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpyk8cnsge/tests/tests_default.yml...SUCCESS Testing /tmp/tmpyk8cnsge/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpyk8cnsge/tests/tests_target.yml...SUCCESS Testing /tmp/tmpyk8cnsge/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpax8fslr6/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpax8fslr6/tests/tests_default.yml...SUCCESS Testing /tmp/tmpax8fslr6/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpax8fslr6/tests/tests_target.yml...SUCCESS Testing /tmp/tmpax8fslr6/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpzu7c83qe/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpzu7c83qe/tests/tests_default.yml...SUCCESS Testing /tmp/tmpzu7c83qe/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpzu7c83qe/tests/tests_target.yml...SUCCESS Testing /tmp/tmpzu7c83qe/tests/tests_zone.yml...SUCCESS SUCCESS