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: rhel-x_setup.yml ***************************************************** 1 plays in /cache/rhel-x_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-x_setup.yml:6 Tuesday 07 June 2022 16:00:42 +0000 (0:00:00.022) 0:00:00.022 ********** changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 07 June 2022 16:00:43 +0000 (0:00:01.291) 0:00:01.314 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.29s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmptsw6k5sz/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:1 Tuesday 07 June 2022 16:00:44 +0000 (0:00:00.174) 0:00:01.488 ********** ok: [/cache/rhel-x.qcow2] META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:00:45 +0000 (0:00:00.979) 0:00:02.467 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:00:45 +0000 (0:00:00.043) 0:00:02.511 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:00:45 +0000 (0:00:00.535) 0:00:03.047 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: python3-nftables-1:0.9.8-12.el9.x86_64", "Installed: ipset-7.11-6.el9.x86_64", "Installed: python3-firewall-1.0.0-4.el9.noarch", "Installed: ipset-libs-7.11-6.el9.x86_64", "Installed: nftables-1:0.9.8-12.el9.x86_64", "Installed: libnftnl-1.1.9-4.el9.x86_64", "Installed: iptables-nft-1.8.7-28.el9.x86_64", "Installed: libcap-ng-python3-0.8.2-7.el9.x86_64", "Installed: firewalld-1.0.0-4.el9.noarch", "Installed: firewalld-filesystem-1.0.0-4.el9.noarch" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:00:50 +0000 (0:00:04.686) 0:00:07.733 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:00:50 +0000 (0:00:00.043) 0:00:07.776 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:00:51 +0000 (0:00:00.995) 0:00:08.772 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[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": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "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", "MemoryAvailable": "infinity", "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", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:00:52 +0000 (0:00:00.995) 0:00:09.768 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:00:52 +0000 (0:00:00.050) 0:00:09.818 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:00:52 +0000 (0:00:00.042) 0:00:09.860 ********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:00:52 +0000 (0:00:00.044) 0:00:09.905 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:00:52 +0000 (0:00:00.042) 0:00:09.947 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:00:52 +0000 (0:00:00.040) 0:00:09.988 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Remove custom zone] ****************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:14 Tuesday 07 June 2022 16:00:52 +0000 (0:00:00.041) 0:00:10.030 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.250827", "end": "2022-06-07 12:00:53.814221", "failed_when_result": false, "rc": 112, "start": "2022-06-07 12:00:53.563394" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:19 Tuesday 07 June 2022 16:00:53 +0000 (0:00:00.785) 0:00:10.815 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.218879", "end": "2022-06-07 12:00:54.435424", "failed_when_result": false, "rc": 22, "start": "2022-06-07 12:00:54.216545" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:24 Tuesday 07 June 2022 16:00:54 +0000 (0:00:00.621) 0:00:11.437 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.212706", "end": "2022-06-07 12:00:55.038770", "failed_when_result": false, "rc": 22, "start": "2022-06-07 12:00:54.826064" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:29 Tuesday 07 June 2022 16:00:54 +0000 (0:00:00.597) 0:00:12.035 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.221667", "end": "2022-06-07 12:00:55.649215", "failed_when_result": false, "rc": 22, "start": "2022-06-07 12:00:55.427548" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:34 Tuesday 07 June 2022 16:00:55 +0000 (0:00:00.614) 0:00:12.649 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.210756", "end": "2022-06-07 12:00:56.241787", "failed_when_result": false, "rc": 22, "start": "2022-06-07 12:00:56.031031" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:39 Tuesday 07 June 2022 16:00:55 +0000 (0:00:00.588) 0:00:13.238 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.210334", "end": "2022-06-07 12:00:56.825137", "failed_when_result": false, "rc": 22, "start": "2022-06-07 12:00:56.614803" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:44 Tuesday 07 June 2022 16:00:56 +0000 (0:00:00.581) 0:00:13.819 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.417540", "end": "2022-06-07 12:00:57.608508", "failed_when_result": false, "rc": 22, "start": "2022-06-07 12:00:57.190968" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:52 Tuesday 07 June 2022 16:00:57 +0000 (0:00:00.786) 0:00:14.606 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.204791", "end": "2022-06-07 12:00:58.199515", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:00:57.994724" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:57 Tuesday 07 June 2022 16:00:57 +0000 (0:00:00.594) 0:00:15.201 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.335528", "end": "2022-06-07 12:00:58.922675", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:00:58.587147" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:64 Tuesday 07 June 2022 16:00:58 +0000 (0:00:00.718) 0:00:15.920 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:72 Tuesday 07 June 2022 16:00:59 +0000 (0:00:00.626) 0:00:16.546 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:80 Tuesday 07 June 2022 16:00:59 +0000 (0:00:00.487) 0:00:17.034 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:88 Tuesday 07 June 2022 16:01:00 +0000 (0:00:00.501) 0:00:17.535 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:96 Tuesday 07 June 2022 16:01:00 +0000 (0:00:00.493) 0:00:18.029 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:104 Tuesday 07 June 2022 16:01:01 +0000 (0:00:00.491) 0:00:18.520 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/tests_ansible.yml:112 Tuesday 07 June 2022 16:01:01 +0000 (0:00:00.483) 0:00:19.004 ********** changed: [/cache/rhel-x.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/tmptsw6k5sz/tests/tests_ansible.yml:120 Tuesday 07 June 2022 16:01:02 +0000 (0:00:00.501) 0:00:19.505 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:128 Tuesday 07 June 2022 16:01:02 +0000 (0:00:00.504) 0:00:20.010 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:137 Tuesday 07 June 2022 16:01:03 +0000 (0:00:00.491) 0:00:20.502 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/tests_ansible.yml:146 Tuesday 07 June 2022 16:01:03 +0000 (0:00:00.498) 0:00:21.000 ********** changed: [/cache/rhel-x.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/tmptsw6k5sz/tests/tests_ansible.yml:155 Tuesday 07 June 2022 16:01:04 +0000 (0:00:00.508) 0:00:21.509 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:164 Tuesday 07 June 2022 16:01:04 +0000 (0:00:00.496) 0:00:22.006 ********** changed: [/cache/rhel-x.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/tmptsw6k5sz/tests/tests_ansible.yml:173 Tuesday 07 June 2022 16:01:05 +0000 (0:00:00.528) 0:00:22.534 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:182 Tuesday 07 June 2022 16:01:05 +0000 (0:00:00.502) 0:00:23.036 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:191 Tuesday 07 June 2022 16:01:06 +0000 (0:00:00.505) 0:00:23.542 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:200 Tuesday 07 June 2022 16:01:06 +0000 (0:00:00.513) 0:00:24.056 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:208 Tuesday 07 June 2022 16:01:07 +0000 (0:00:00.499) 0:00:24.555 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:216 Tuesday 07 June 2022 16:01:07 +0000 (0:00:00.496) 0:00:25.052 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:224 Tuesday 07 June 2022 16:01:08 +0000 (0:00:00.498) 0:00:25.551 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:232 Tuesday 07 June 2022 16:01:08 +0000 (0:00:00.507) 0:00:26.058 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:240 Tuesday 07 June 2022 16:01:09 +0000 (0:00:00.503) 0:00:26.561 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:249 Tuesday 07 June 2022 16:01:09 +0000 (0:00:00.508) 0:00:27.070 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:258 Tuesday 07 June 2022 16:01:10 +0000 (0:00:00.508) 0:00:27.578 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:267 Tuesday 07 June 2022 16:01:10 +0000 (0:00:00.532) 0:00:28.110 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:276 Tuesday 07 June 2022 16:01:11 +0000 (0:00:00.895) 0:00:29.006 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:285 Tuesday 07 June 2022 16:01:12 +0000 (0:00:00.547) 0:00:29.554 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:294 Tuesday 07 June 2022 16:01:12 +0000 (0:00:00.674) 0:00:30.228 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/tests_ansible.yml:303 Tuesday 07 June 2022 16:01:13 +0000 (0:00:00.524) 0:00:30.753 ********** changed: [/cache/rhel-x.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/tmptsw6k5sz/tests/tests_ansible.yml:315 Tuesday 07 June 2022 16:01:13 +0000 (0:00:00.557) 0:00:31.311 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:327 Tuesday 07 June 2022 16:01:14 +0000 (0:00:00.531) 0:00:31.842 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:335 Tuesday 07 June 2022 16:01:15 +0000 (0:00:00.668) 0:00:32.511 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:340 Tuesday 07 June 2022 16:01:15 +0000 (0:00:00.045) 0:00:32.556 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:350 Tuesday 07 June 2022 16:01:15 +0000 (0:00:00.547) 0:00:33.104 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:360 Tuesday 07 June 2022 16:01:16 +0000 (0:00:00.532) 0:00:33.636 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.251897", "end": "2022-06-07 12:01:17.276241", "rc": 0, "start": "2022-06-07 12:01:17.024344" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:363 Tuesday 07 June 2022 16:01:16 +0000 (0:00:00.615) 0:00:34.251 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:370 Tuesday 07 June 2022 16:01:17 +0000 (0:00:00.572) 0:00:34.823 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:377 Tuesday 07 June 2022 16:01:18 +0000 (0:00:00.512) 0:00:35.336 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/tests_ansible.yml:387 Tuesday 07 June 2022 16:01:18 +0000 (0:00:00.412) 0:00:35.748 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:395 Tuesday 07 June 2022 16:01:19 +0000 (0:00:00.686) 0:00:36.434 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description and to custom service] *********************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:403 Tuesday 07 June 2022 16:01:19 +0000 (0:00:00.544) 0:00:36.979 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:412 Tuesday 07 June 2022 16:01:20 +0000 (0:00:00.682) 0:00:37.662 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:421 Tuesday 07 June 2022 16:01:21 +0000 (0:00:00.659) 0:00:38.321 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:430 Tuesday 07 June 2022 16:01:21 +0000 (0:00:00.651) 0:00:38.973 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:439 Tuesday 07 June 2022 16:01:22 +0000 (0:00:00.513) 0:00:39.486 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:448 Tuesday 07 June 2022 16:01:22 +0000 (0:00:00.521) 0:00:40.007 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:457 Tuesday 07 June 2022 16:01:23 +0000 (0:00:00.674) 0:00:40.681 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:466 Tuesday 07 June 2022 16:01:24 +0000 (0:00:00.636) 0:00:41.317 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:475 Tuesday 07 June 2022 16:01:24 +0000 (0:00:00.673) 0:00:41.991 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:486 Tuesday 07 June 2022 16:01:25 +0000 (0:00:00.700) 0:00:42.692 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:494 Tuesday 07 June 2022 16:01:26 +0000 (0:00:00.658) 0:00:43.350 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:502 Tuesday 07 June 2022 16:01:26 +0000 (0:00:00.490) 0:00:43.841 ********** changed: [/cache/rhel-x.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:519 Tuesday 07 June 2022 16:01:27 +0000 (0:00:00.647) 0:00:44.488 ********** ok: [/cache/rhel-x.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:536 Tuesday 07 June 2022 16:01:27 +0000 (0:00:00.507) 0:00:44.996 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.215278", "end": "2022-06-07 12:01:28.590301", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:01:28.375023" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:541 Tuesday 07 June 2022 16:01:28 +0000 (0:00:00.589) 0:00:45.585 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.209054", "end": "2022-06-07 12:01:29.168596", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:01:28.959542" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:546 Tuesday 07 June 2022 16:01:28 +0000 (0:00:00.592) 0:00:46.178 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.228906", "end": "2022-06-07 12:01:29.795811", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:01:29.566905" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:551 Tuesday 07 June 2022 16:01:29 +0000 (0:00:00.616) 0:00:46.794 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.213036", "end": "2022-06-07 12:01:30.390392", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:01:30.177356" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:556 Tuesday 07 June 2022 16:01:30 +0000 (0:00:00.591) 0:00:47.386 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.216386", "end": "2022-06-07 12:01:30.980871", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:01:30.764485" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:561 Tuesday 07 June 2022 16:01:30 +0000 (0:00:00.593) 0:00:47.979 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.244723", "end": "2022-06-07 12:01:31.604162", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:01:31.359439" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:566 Tuesday 07 June 2022 16:01:31 +0000 (0:00:00.629) 0:00:48.608 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.219716", "end": "2022-06-07 12:01:32.219667", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:01:31.999951" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:571 Tuesday 07 June 2022 16:01:31 +0000 (0:00:00.612) 0:00:49.221 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.224534", "end": "2022-06-07 12:01:32.823569", "failed_when_result": false, "rc": 22, "start": "2022-06-07 12:01:32.599035" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_ansible.yml:576 Tuesday 07 June 2022 16:01:32 +0000 (0:00:00.602) 0:00:49.823 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.349930", "end": "2022-06-07 12:01:33.564233", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:01:33.214303" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=79 changed=49 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Tuesday 07 June 2022 16:01:33 +0000 (0:00:00.734) 0:00:50.558 ********** =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 4.69s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 set up internal repositories -------------------------------------------- 1.29s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 1.00s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Install python3-firewall ------------------ 1.00s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 0.98s /tmp/tmptsw6k5sz/tests/tests_ansible.yml:1 ------------------------------------ Ensure target ACCEPT in permanent internal zone ------------------------- 0.90s /tmp/tmptsw6k5sz/tests/tests_ansible.yml:267 ---------------------------------- Reset default zone to defaults ------------------------------------------ 0.79s /tmp/tmptsw6k5sz/tests/tests_ansible.yml:44 ----------------------------------- Remove custom zone ------------------------------------------------------ 0.79s /tmp/tmptsw6k5sz/tests/tests_ansible.yml:14 ----------------------------------- Reload firewalld -------------------------------------------------------- 0.73s /tmp/tmptsw6k5sz/tests/tests_ansible.yml:576 ---------------------------------- Reload firewalld -------------------------------------------------------- 0.72s /tmp/tmptsw6k5sz/tests/tests_ansible.yml:57 ----------------------------------- add destination addresses ----------------------------------------------- 0.70s /tmp/tmptsw6k5sz/tests/tests_ansible.yml:475 ---------------------------------- add custom service without details -------------------------------------- 0.69s /tmp/tmptsw6k5sz/tests/tests_ansible.yml:387 ---------------------------------- add description and to custom service ----------------------------------- 0.68s /tmp/tmptsw6k5sz/tests/tests_ansible.yml:403 ---------------------------------- Ensure default target in permanent internal zone ------------------------ 0.67s /tmp/tmptsw6k5sz/tests/tests_ansible.yml:285 ---------------------------------- add valid protocol to custom service ------------------------------------ 0.67s /tmp/tmptsw6k5sz/tests/tests_ansible.yml:448 ---------------------------------- remove ports from custom service without deleting service --------------- 0.67s /tmp/tmptsw6k5sz/tests/tests_ansible.yml:466 ---------------------------------- Firewalld custom zone --------------------------------------------------- 0.67s /tmp/tmptsw6k5sz/tests/tests_ansible.yml:327 ---------------------------------- add short description to custom service --------------------------------- 0.66s /tmp/tmptsw6k5sz/tests/tests_ansible.yml:412 ---------------------------------- delete custom service --------------------------------------------------- 0.66s /tmp/tmptsw6k5sz/tests/tests_ansible.yml:486 ---------------------------------- add source_ports to custom service -------------------------------------- 0.65s /tmp/tmptsw6k5sz/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: rhel-x_setup.yml ***************************************************** 1 plays in /cache/rhel-x_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-x_setup.yml:6 Tuesday 07 June 2022 16:01:33 +0000 (0:00:00.022) 0:00:00.022 ********** ok: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-x.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 07 June 2022 16:01:35 +0000 (0:00:01.226) 0:00:01.248 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.23s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmptsw6k5sz/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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:01:35 +0000 (0:00:00.130) 0:00:01.379 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:01:35 +0000 (0:00:00.027) 0:00:01.407 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:01:36 +0000 (0:00:00.779) 0:00:02.186 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:01:37 +0000 (0:00:01.113) 0:00:03.300 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:01:37 +0000 (0:00:00.039) 0:00:03.339 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:01:38 +0000 (0:00:00.973) 0:00:04.313 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:00:52 EDT", "ActiveEnterTimestampMonotonic": "21690438", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:00:52 EDT", "AssertTimestampMonotonic": "21553607", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "8009058000", "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 12:00:52 EDT", "ConditionTimestampMonotonic": "21553605", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "10631", "ExecMainStartTimestamp": "Tue 2022-06-07 12:00:52 EDT", "ExecMainStartTimestampMonotonic": "21555491", "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 12:00:52 EDT] ; stop_time=[n/a] ; pid=10631 ; 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 12:00:52 EDT] ; stop_time=[n/a] ; pid=10631 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-06-07 12:00:52 EDT", "InactiveExitTimestampMonotonic": "21555858", "InvocationID": "4a09bb2df58148948e481076b2849917", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10631", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "31436800", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:00:52 EDT", "StateChangeTimestampMonotonic": "21690438", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:01:39 +0000 (0:00:00.758) 0:00:05.071 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:01:39 +0000 (0:00:00.046) 0:00:05.117 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:01:39 +0000 (0:00:00.039) 0:00:05.157 ********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:01:39 +0000 (0:00:00.039) 0:00:05.196 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:01:39 +0000 (0:00:00.038) 0:00:05.235 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:01:39 +0000 (0:00:00.037) 0:00:05.273 ********** skipping: [/cache/rhel-x.qcow2] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=7 changed=0 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Tuesday 07 June 2022 16:01:39 +0000 (0:00:00.034) 0:00:05.307 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.23s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 1.11s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 0.97s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.78s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Enable and start firewalld service -------- 0.76s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Check if previous replaced is defined ----- 0.05s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- linux-system-roles.firewall : Get config files, checksums before and remove --- 0.04s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- linux-system-roles.firewall : Install python-firewall ------------------- 0.04s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Configure firewall ------------------------ 0.04s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Get config files, checksums after --------- 0.04s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 ---- linux-system-roles.firewall : Calculate what has changed ---------------- 0.04s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 ---- linux-system-roles.firewall : Show diffs -------------------------------- 0.03s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 ---- linux-system-roles.firewall : include_tasks ----------------------------- 0.03s /tmp/tmptsw6k5sz/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: rhel-x_setup.yml ***************************************************** 1 plays in /cache/rhel-x_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-x_setup.yml:6 Tuesday 07 June 2022 16:01:40 +0000 (0:00:00.022) 0:00:00.022 ********** ok: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-x.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 07 June 2022 16:01:41 +0000 (0:00:01.267) 0:00:01.289 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.27s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- PLAYBOOK: tests_purge_config.yml *********************************************** 1 plays in /tmp/tmptsw6k5sz/tests/tests_purge_config.yml PLAY [Test that old config can be purged idempotently] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:1 Tuesday 07 June 2022 16:01:41 +0000 (0:00:00.019) 0:00:01.309 ********** ok: [/cache/rhel-x.qcow2] META: ran handlers TASK [Start from a clean slate] ************************************************ task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:26 Tuesday 07 June 2022 16:01:42 +0000 (0:00:00.979) 0:00:02.288 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:01:42 +0000 (0:00:00.154) 0:00:02.443 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:01:42 +0000 (0:00:00.043) 0:00:02.486 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:01:43 +0000 (0:00:00.541) 0:00:03.028 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:01:44 +0000 (0:00:01.140) 0:00:04.169 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:01:44 +0000 (0:00:00.040) 0:00:04.209 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:01:45 +0000 (0:00:00.946) 0:00:05.156 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:00:52 EDT", "ActiveEnterTimestampMonotonic": "21690438", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:00:52 EDT", "AssertTimestampMonotonic": "21553607", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "8009058000", "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 12:00:52 EDT", "ConditionTimestampMonotonic": "21553605", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "10631", "ExecMainStartTimestamp": "Tue 2022-06-07 12:00:52 EDT", "ExecMainStartTimestampMonotonic": "21555491", "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 12:00:52 EDT] ; stop_time=[n/a] ; pid=10631 ; 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 12:00:52 EDT] ; stop_time=[n/a] ; pid=10631 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-06-07 12:00:52 EDT", "InactiveExitTimestampMonotonic": "21555858", "InvocationID": "4a09bb2df58148948e481076b2849917", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10631", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "32485376", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:00:52 EDT", "StateChangeTimestampMonotonic": "21690438", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:01:45 +0000 (0:00:00.738) 0:00:05.895 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:01:45 +0000 (0:00:00.044) 0:00:05.940 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0 } STDOUT: 126c9f0cc82a3db044e62957eb91cbba2de11fae175679dc5d1fd067e682f2c2 /etc/firewalld/lockdown-whitelist.xml f975de6c1abfc9a94ed2a1dbe6f04fac647f0fa2169427a024890acefb0d70e0 /etc/firewalld/services/customservice.xml 414874ced74b68ce42fa113643f47725535bcc62276497de026375670de0c4f7 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:01:46 +0000 (0:00:00.527) 0:00:06.467 ********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:01:46 +0000 (0:00:00.039) 0:00:06.507 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:01:46 +0000 (0:00:00.231) 0:00:06.739 ********** changed: [/cache/rhel-x.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:01:46 +0000 (0:00:00.048) 0:00:06.787 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Run the role with no config] ********************************************* task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:33 Tuesday 07 June 2022 16:01:46 +0000 (0:00:00.041) 0:00:06.828 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:01:46 +0000 (0:00:00.045) 0:00:06.874 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:01:46 +0000 (0:00:00.027) 0:00:06.902 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:01:47 +0000 (0:00:00.523) 0:00:07.426 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:01:48 +0000 (0:00:00.933) 0:00:08.360 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:01:48 +0000 (0:00:00.043) 0:00:08.403 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:01:49 +0000 (0:00:00.938) 0:00:09.342 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:01:46 EDT", "ActiveEnterTimestampMonotonic": "75740717", "ActiveExitTimestamp": "Tue 2022-06-07 12:01:46 EDT", "ActiveExitTimestampMonotonic": "75526463", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:01:46 EDT", "AssertTimestampMonotonic": "75609134", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "342062000", "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 12:01:46 EDT", "ConditionTimestampMonotonic": "75609129", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "22268", "ExecMainStartTimestamp": "Tue 2022-06-07 12:01:46 EDT", "ExecMainStartTimestampMonotonic": "75611150", "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 12:01:46 EDT] ; stop_time=[n/a] ; pid=22268 ; 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 12:01:46 EDT] ; stop_time=[n/a] ; pid=22268 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:01:46 EDT", "InactiveEnterTimestampMonotonic": "75608312", "InactiveExitTimestamp": "Tue 2022-06-07 12:01:46 EDT", "InactiveExitTimestampMonotonic": "75611403", "InvocationID": "ca95147c04d247998adc5a9b72e9f45a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "22268", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "22622208", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:01:46 EDT", "StateChangeTimestampMonotonic": "75740717", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:01:49 +0000 (0:00:00.548) 0:00:09.891 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:01:49 +0000 (0:00:00.043) 0:00:09.935 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:01:49 +0000 (0:00:00.039) 0:00:09.974 ********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:01:50 +0000 (0:00:00.040) 0:00:10.015 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:01:50 +0000 (0:00:00.042) 0:00:10.057 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:01:50 +0000 (0:00:00.041) 0:00:10.099 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Verify that nothing changed] ********************************************* task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:37 Tuesday 07 June 2022 16:01:50 +0000 (0:00:00.041) 0:00:10.140 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:42 Tuesday 07 June 2022 16:01:50 +0000 (0:00:00.040) 0:00:10.180 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:01:50 +0000 (0:00:00.051) 0:00:10.232 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:01:50 +0000 (0:00:00.027) 0:00:10.259 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:01:50 +0000 (0:00:00.506) 0:00:10.766 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:01:51 +0000 (0:00:00.993) 0:00:11.760 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:01:51 +0000 (0:00:00.041) 0:00:11.801 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:01:52 +0000 (0:00:00.977) 0:00:12.779 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:01:46 EDT", "ActiveEnterTimestampMonotonic": "75740717", "ActiveExitTimestamp": "Tue 2022-06-07 12:01:46 EDT", "ActiveExitTimestampMonotonic": "75526463", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:01:46 EDT", "AssertTimestampMonotonic": "75609134", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "342062000", "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 12:01:46 EDT", "ConditionTimestampMonotonic": "75609129", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "22268", "ExecMainStartTimestamp": "Tue 2022-06-07 12:01:46 EDT", "ExecMainStartTimestampMonotonic": "75611150", "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 12:01:46 EDT] ; stop_time=[n/a] ; pid=22268 ; 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 12:01:46 EDT] ; stop_time=[n/a] ; pid=22268 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:01:46 EDT", "InactiveEnterTimestampMonotonic": "75608312", "InactiveExitTimestamp": "Tue 2022-06-07 12:01:46 EDT", "InactiveExitTimestampMonotonic": "75611403", "InvocationID": "ca95147c04d247998adc5a9b72e9f45a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "22268", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "22622208", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:01:46 EDT", "StateChangeTimestampMonotonic": "75740717", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:01:53 +0000 (0:00:00.519) 0:00:13.298 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:01:53 +0000 (0:00:00.047) 0:00:13.345 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:01:53 +0000 (0:00:00.040) 0:00:13.385 ********** changed: [/cache/rhel-x.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/rhel-x.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/rhel-x.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/rhel-x.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/rhel-x.qcow2] => (item={u'masquerade': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "masquerade": true } } changed: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:01:56 +0000 (0:00:03.383) 0:00:16.768 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:01:56 +0000 (0:00:00.039) 0:00:16.808 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:01:56 +0000 (0:00:00.038) 0:00:16.847 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Verify role reports changed] ********************************************* task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:48 Tuesday 07 June 2022 16:01:56 +0000 (0:00:00.038) 0:00:16.885 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply again basic config] ************************************************ task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:53 Tuesday 07 June 2022 16:01:56 +0000 (0:00:00.042) 0:00:16.927 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:01:56 +0000 (0:00:00.049) 0:00:16.977 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:01:57 +0000 (0:00:00.025) 0:00:17.003 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:01:57 +0000 (0:00:00.492) 0:00:17.495 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:01:58 +0000 (0:00:00.956) 0:00:18.451 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:01:58 +0000 (0:00:00.042) 0:00:18.494 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:01:59 +0000 (0:00:00.961) 0:00:19.455 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:01:46 EDT", "ActiveEnterTimestampMonotonic": "75740717", "ActiveExitTimestamp": "Tue 2022-06-07 12:01:46 EDT", "ActiveExitTimestampMonotonic": "75526463", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:01:46 EDT", "AssertTimestampMonotonic": "75609134", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1011258000", "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 12:01:46 EDT", "ConditionTimestampMonotonic": "75609129", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "22268", "ExecMainStartTimestamp": "Tue 2022-06-07 12:01:46 EDT", "ExecMainStartTimestampMonotonic": "75611150", "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 12:01:46 EDT] ; stop_time=[n/a] ; pid=22268 ; 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 12:01:46 EDT] ; stop_time=[n/a] ; pid=22268 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:01:46 EDT", "InactiveEnterTimestampMonotonic": "75608312", "InactiveExitTimestamp": "Tue 2022-06-07 12:01:46 EDT", "InactiveExitTimestampMonotonic": "75611403", "InvocationID": "ca95147c04d247998adc5a9b72e9f45a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "22268", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "27705344", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:01:46 EDT", "StateChangeTimestampMonotonic": "75740717", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:01:59 +0000 (0:00:00.505) 0:00:19.961 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:02:00 +0000 (0:00:00.056) 0:00:20.017 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:02:00 +0000 (0:00:00.040) 0:00:20.058 ********** ok: [/cache/rhel-x.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/rhel-x.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/rhel-x.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/rhel-x.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/rhel-x.qcow2] => (item={u'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:02:02 +0000 (0:00:02.856) 0:00:22.914 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:02:02 +0000 (0:00:00.041) 0:00:22.956 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:02:02 +0000 (0:00:00.038) 0:00:22.995 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Verify role reports nothing changed] ************************************* task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:59 Tuesday 07 June 2022 16:02:03 +0000 (0:00:00.039) 0:00:23.034 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use previous replaced and basic config] ********************************** task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:64 Tuesday 07 June 2022 16:02:03 +0000 (0:00:00.037) 0:00:23.072 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:02:03 +0000 (0:00:00.062) 0:00:23.134 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:02:03 +0000 (0:00:00.027) 0:00:23.162 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:02:03 +0000 (0:00:00.550) 0:00:23.713 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:02:04 +0000 (0:00:00.986) 0:00:24.700 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:02:04 +0000 (0:00:00.039) 0:00:24.740 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:02:05 +0000 (0:00:00.931) 0:00:25.671 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:01:46 EDT", "ActiveEnterTimestampMonotonic": "75740717", "ActiveExitTimestamp": "Tue 2022-06-07 12:01:46 EDT", "ActiveExitTimestampMonotonic": "75526463", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:01:46 EDT", "AssertTimestampMonotonic": "75609134", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1489146000", "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 12:01:46 EDT", "ConditionTimestampMonotonic": "75609129", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "22268", "ExecMainStartTimestamp": "Tue 2022-06-07 12:01:46 EDT", "ExecMainStartTimestampMonotonic": "75611150", "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 12:01:46 EDT] ; stop_time=[n/a] ; pid=22268 ; 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 12:01:46 EDT] ; stop_time=[n/a] ; pid=22268 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:01:46 EDT", "InactiveEnterTimestampMonotonic": "75608312", "InactiveExitTimestamp": "Tue 2022-06-07 12:01:46 EDT", "InactiveExitTimestampMonotonic": "75611403", "InvocationID": "ca95147c04d247998adc5a9b72e9f45a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "22268", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "27709440", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:01:46 EDT", "StateChangeTimestampMonotonic": "75740717", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:02:06 +0000 (0:00:00.505) 0:00:26.177 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:02:06 +0000 (0:00:00.046) 0:00:26.223 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 2920e617d0927ea6680528e1c4784c092917e4bd002f4baef9edc8ee6f50a3c3 /etc/firewalld/zones/public.xml 09fa9483695b07907a4b382b3c7ea7173fd18e4f59296d39de5d3cf4ab381b3b /etc/firewalld/zones/internal.xml b654e1c3ae3dd455033961e4f2f74362fe25b24d559ed17d98428fb028986e5c /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:02:06 +0000 (0:00:00.493) 0:00:26.717 ********** ok: [/cache/rhel-x.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/rhel-x.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/rhel-x.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/rhel-x.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/rhel-x.qcow2] => (item={u'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:02:09 +0000 (0:00:03.116) 0:00:29.833 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 2920e617d0927ea6680528e1c4784c092917e4bd002f4baef9edc8ee6f50a3c3 /etc/firewalld/zones/public.xml 09fa9483695b07907a4b382b3c7ea7173fd18e4f59296d39de5d3cf4ab381b3b /etc/firewalld/zones/internal.xml b654e1c3ae3dd455033961e4f2f74362fe25b24d559ed17d98428fb028986e5c /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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:02:10 +0000 (0:00:00.291) 0:00:30.125 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:02:10 +0000 (0:00:00.052) 0:00:30.177 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:70 Tuesday 07 June 2022 16:02:10 +0000 (0:00:00.041) 0:00:30.219 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use again previous replaced and basic config] **************************** task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:75 Tuesday 07 June 2022 16:02:10 +0000 (0:00:00.039) 0:00:30.258 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:02:10 +0000 (0:00:00.059) 0:00:30.318 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:02:10 +0000 (0:00:00.026) 0:00:30.344 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:02:10 +0000 (0:00:00.513) 0:00:30.858 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:02:11 +0000 (0:00:00.960) 0:00:31.819 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:02:11 +0000 (0:00:00.043) 0:00:31.862 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:02:12 +0000 (0:00:00.945) 0:00:32.808 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:02:07 EDT", "ActiveEnterTimestampMonotonic": "95990176", "ActiveExitTimestamp": "Tue 2022-06-07 12:02:06 EDT", "ActiveExitTimestampMonotonic": "95797711", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:02:06 EDT", "AssertTimestampMonotonic": "95864961", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "929983000", "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 12:02:06 EDT", "ConditionTimestampMonotonic": "95864959", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "24875", "ExecMainStartTimestamp": "Tue 2022-06-07 12:02:06 EDT", "ExecMainStartTimestampMonotonic": "95866945", "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 12:02:06 EDT] ; stop_time=[n/a] ; pid=24875 ; 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 12:02:06 EDT] ; stop_time=[n/a] ; pid=24875 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:02:06 EDT", "InactiveEnterTimestampMonotonic": "95864348", "InactiveExitTimestamp": "Tue 2022-06-07 12:02:06 EDT", "InactiveExitTimestampMonotonic": "95867216", "InvocationID": "56e90e3470dc4830b521f3a636348a03", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "24875", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "27738112", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:02:07 EDT", "StateChangeTimestampMonotonic": "95990176", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:02:13 +0000 (0:00:00.511) 0:00:33.319 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:02:13 +0000 (0:00:00.051) 0:00:33.370 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 2920e617d0927ea6680528e1c4784c092917e4bd002f4baef9edc8ee6f50a3c3 /etc/firewalld/zones/public.xml 09fa9483695b07907a4b382b3c7ea7173fd18e4f59296d39de5d3cf4ab381b3b /etc/firewalld/zones/internal.xml b654e1c3ae3dd455033961e4f2f74362fe25b24d559ed17d98428fb028986e5c /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:02:13 +0000 (0:00:00.502) 0:00:33.872 ********** ok: [/cache/rhel-x.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/rhel-x.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/rhel-x.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/rhel-x.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/rhel-x.qcow2] => (item={u'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:02:17 +0000 (0:00:03.143) 0:00:37.016 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 2920e617d0927ea6680528e1c4784c092917e4bd002f4baef9edc8ee6f50a3c3 /etc/firewalld/zones/public.xml 09fa9483695b07907a4b382b3c7ea7173fd18e4f59296d39de5d3cf4ab381b3b /etc/firewalld/zones/internal.xml b654e1c3ae3dd455033961e4f2f74362fe25b24d559ed17d98428fb028986e5c /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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:02:17 +0000 (0:00:00.290) 0:00:37.306 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:02:17 +0000 (0:00:00.049) 0:00:37.355 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:81 Tuesday 07 June 2022 16:02:17 +0000 (0:00:00.041) 0:00:37.397 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:86 Tuesday 07 June 2022 16:02:17 +0000 (0:00:00.040) 0:00:37.437 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:02:17 +0000 (0:00:00.065) 0:00:37.503 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:02:17 +0000 (0:00:00.027) 0:00:37.530 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:02:18 +0000 (0:00:00.521) 0:00:38.052 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:02:19 +0000 (0:00:00.976) 0:00:39.028 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:02:19 +0000 (0:00:00.043) 0:00:39.072 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:02:20 +0000 (0:00:00.936) 0:00:40.008 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:02:14 EDT", "ActiveEnterTimestampMonotonic": "103144161", "ActiveExitTimestamp": "Tue 2022-06-07 12:02:14 EDT", "ActiveExitTimestampMonotonic": "102948376", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:02:14 EDT", "AssertTimestampMonotonic": "103019793", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "959990000", "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 12:02:14 EDT", "ConditionTimestampMonotonic": "103019791", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "25981", "ExecMainStartTimestamp": "Tue 2022-06-07 12:02:14 EDT", "ExecMainStartTimestampMonotonic": "103021846", "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 12:02:14 EDT] ; stop_time=[n/a] ; pid=25981 ; 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 12:02:14 EDT] ; stop_time=[n/a] ; pid=25981 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:02:14 EDT", "InactiveEnterTimestampMonotonic": "103019220", "InactiveExitTimestamp": "Tue 2022-06-07 12:02:14 EDT", "InactiveExitTimestampMonotonic": "103022099", "InvocationID": "d5c68bbe9fd846219042ac24c47b29eb", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "25981", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "27729920", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:02:14 EDT", "StateChangeTimestampMonotonic": "103144161", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:02:20 +0000 (0:00:00.507) 0:00:40.515 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:02:20 +0000 (0:00:00.047) 0:00:40.563 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:02:20 +0000 (0:00:00.038) 0:00:40.602 ********** ok: [/cache/rhel-x.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/rhel-x.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/rhel-x.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/rhel-x.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/rhel-x.qcow2] => (item={u'masquerade': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true } } ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:02:23 +0000 (0:00:02.958) 0:00:43.560 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:02:23 +0000 (0:00:00.045) 0:00:43.606 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:02:23 +0000 (0:00:00.041) 0:00:43.648 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:92 Tuesday 07 June 2022 16:02:23 +0000 (0:00:00.040) 0:00:43.689 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use only previous replaced] ********************************************** task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:97 Tuesday 07 June 2022 16:02:23 +0000 (0:00:00.040) 0:00:43.729 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:02:23 +0000 (0:00:00.073) 0:00:43.803 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:02:23 +0000 (0:00:00.027) 0:00:43.830 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:02:24 +0000 (0:00:00.551) 0:00:44.382 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:02:25 +0000 (0:00:00.972) 0:00:45.354 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:02:25 +0000 (0:00:00.043) 0:00:45.397 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:02:26 +0000 (0:00:00.956) 0:00:46.354 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:02:14 EDT", "ActiveEnterTimestampMonotonic": "103144161", "ActiveExitTimestamp": "Tue 2022-06-07 12:02:14 EDT", "ActiveExitTimestampMonotonic": "102948376", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:02:14 EDT", "AssertTimestampMonotonic": "103019793", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1423740000", "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 12:02:14 EDT", "ConditionTimestampMonotonic": "103019791", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "25981", "ExecMainStartTimestamp": "Tue 2022-06-07 12:02:14 EDT", "ExecMainStartTimestampMonotonic": "103021846", "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 12:02:14 EDT] ; stop_time=[n/a] ; pid=25981 ; 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 12:02:14 EDT] ; stop_time=[n/a] ; pid=25981 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:02:14 EDT", "InactiveEnterTimestampMonotonic": "103019220", "InactiveExitTimestamp": "Tue 2022-06-07 12:02:14 EDT", "InactiveExitTimestampMonotonic": "103022099", "InvocationID": "d5c68bbe9fd846219042ac24c47b29eb", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "25981", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "27734016", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:02:14 EDT", "StateChangeTimestampMonotonic": "103144161", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:02:26 +0000 (0:00:00.524) 0:00:46.878 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:02:26 +0000 (0:00:00.046) 0:00:46.925 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 2920e617d0927ea6680528e1c4784c092917e4bd002f4baef9edc8ee6f50a3c3 /etc/firewalld/zones/public.xml 09fa9483695b07907a4b382b3c7ea7173fd18e4f59296d39de5d3cf4ab381b3b /etc/firewalld/zones/internal.xml b654e1c3ae3dd455033961e4f2f74362fe25b24d559ed17d98428fb028986e5c /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:02:27 +0000 (0:00:00.493) 0:00:47.418 ********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:02:27 +0000 (0:00:00.040) 0:00:47.458 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:02:27 +0000 (0:00:00.250) 0:00:47.709 ********** changed: [/cache/rhel-x.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:02:27 +0000 (0:00:00.047) 0:00:47.757 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Verify role reports changed] ********************************************* task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:104 Tuesday 07 June 2022 16:02:27 +0000 (0:00:00.041) 0:00:47.798 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone] ************************************************* task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:109 Tuesday 07 June 2022 16:02:27 +0000 (0:00:00.041) 0:00:47.840 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:02:27 +0000 (0:00:00.083) 0:00:47.923 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:02:27 +0000 (0:00:00.027) 0:00:47.951 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:02:28 +0000 (0:00:00.502) 0:00:48.454 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:02:29 +0000 (0:00:00.963) 0:00:49.417 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:02:29 +0000 (0:00:00.042) 0:00:49.460 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:02:30 +0000 (0:00:00.968) 0:00:50.429 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:02:27 EDT", "ActiveEnterTimestampMonotonic": "116689878", "ActiveExitTimestamp": "Tue 2022-06-07 12:02:27 EDT", "ActiveExitTimestampMonotonic": "116504096", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:02:27 EDT", "AssertTimestampMonotonic": "116567890", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "293183000", "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 12:02:27 EDT", "ConditionTimestampMonotonic": "116567888", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "27923", "ExecMainStartTimestamp": "Tue 2022-06-07 12:02:27 EDT", "ExecMainStartTimestampMonotonic": "116569335", "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 12:02:27 EDT] ; stop_time=[n/a] ; pid=27923 ; 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 12:02:27 EDT] ; stop_time=[n/a] ; pid=27923 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:02:27 EDT", "InactiveEnterTimestampMonotonic": "116567336", "InactiveExitTimestamp": "Tue 2022-06-07 12:02:27 EDT", "InactiveExitTimestampMonotonic": "116569641", "InvocationID": "b4f6666310494fe9847cd5e6d3ba81ae", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "27923", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "22622208", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:02:27 EDT", "StateChangeTimestampMonotonic": "116689878", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:02:30 +0000 (0:00:00.530) 0:00:50.960 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:02:31 +0000 (0:00:00.047) 0:00:51.007 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:02:31 +0000 (0:00:00.041) 0:00:51.049 ********** changed: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:02:31 +0000 (0:00:00.554) 0:00:51.603 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:02:31 +0000 (0:00:00.044) 0:00:51.648 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:02:31 +0000 (0:00:00.042) 0:00:51.690 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Verify role reports changed] ********************************************* task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:116 Tuesday 07 June 2022 16:02:31 +0000 (0:00:00.044) 0:00:51.734 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again] ******************************************* task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:121 Tuesday 07 June 2022 16:02:31 +0000 (0:00:00.042) 0:00:51.777 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:02:31 +0000 (0:00:00.089) 0:00:51.867 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:02:31 +0000 (0:00:00.030) 0:00:51.897 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:02:32 +0000 (0:00:00.493) 0:00:52.391 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:02:33 +0000 (0:00:00.950) 0:00:53.341 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:02:33 +0000 (0:00:00.043) 0:00:53.385 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:02:34 +0000 (0:00:00.946) 0:00:54.331 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:02:27 EDT", "ActiveEnterTimestampMonotonic": "116689878", "ActiveExitTimestamp": "Tue 2022-06-07 12:02:27 EDT", "ActiveExitTimestampMonotonic": "116504096", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:02:27 EDT", "AssertTimestampMonotonic": "116567890", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "387350000", "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 12:02:27 EDT", "ConditionTimestampMonotonic": "116567888", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "27923", "ExecMainStartTimestamp": "Tue 2022-06-07 12:02:27 EDT", "ExecMainStartTimestampMonotonic": "116569335", "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 12:02:27 EDT] ; stop_time=[n/a] ; pid=27923 ; 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 12:02:27 EDT] ; stop_time=[n/a] ; pid=27923 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:02:27 EDT", "InactiveEnterTimestampMonotonic": "116567336", "InactiveExitTimestamp": "Tue 2022-06-07 12:02:27 EDT", "InactiveExitTimestampMonotonic": "116569641", "InvocationID": "b4f6666310494fe9847cd5e6d3ba81ae", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "27923", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "24137728", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:02:27 EDT", "StateChangeTimestampMonotonic": "116689878", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:02:34 +0000 (0:00:00.504) 0:00:54.836 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:02:34 +0000 (0:00:00.049) 0:00:54.885 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:02:34 +0000 (0:00:00.043) 0:00:54.929 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:02:35 +0000 (0:00:00.535) 0:00:55.464 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:02:35 +0000 (0:00:00.042) 0:00:55.507 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:02:35 +0000 (0:00:00.042) 0:00:55.549 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:128 Tuesday 07 June 2022 16:02:35 +0000 (0:00:00.042) 0:00:55.591 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again with previous replaced] ******************** task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:133 Tuesday 07 June 2022 16:02:35 +0000 (0:00:00.043) 0:00:55.635 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:02:35 +0000 (0:00:00.097) 0:00:55.732 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:02:35 +0000 (0:00:00.032) 0:00:55.765 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:02:36 +0000 (0:00:00.544) 0:00:56.309 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:02:37 +0000 (0:00:00.952) 0:00:57.262 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:02:37 +0000 (0:00:00.044) 0:00:57.306 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:02:38 +0000 (0:00:00.933) 0:00:58.240 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:02:27 EDT", "ActiveEnterTimestampMonotonic": "116689878", "ActiveExitTimestamp": "Tue 2022-06-07 12:02:27 EDT", "ActiveExitTimestampMonotonic": "116504096", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:02:27 EDT", "AssertTimestampMonotonic": "116567890", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "459124000", "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 12:02:27 EDT", "ConditionTimestampMonotonic": "116567888", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "27923", "ExecMainStartTimestamp": "Tue 2022-06-07 12:02:27 EDT", "ExecMainStartTimestampMonotonic": "116569335", "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 12:02:27 EDT] ; stop_time=[n/a] ; pid=27923 ; 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 12:02:27 EDT] ; stop_time=[n/a] ; pid=27923 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:02:27 EDT", "InactiveEnterTimestampMonotonic": "116567336", "InactiveExitTimestamp": "Tue 2022-06-07 12:02:27 EDT", "InactiveExitTimestampMonotonic": "116569641", "InvocationID": "b4f6666310494fe9847cd5e6d3ba81ae", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "27923", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "24170496", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:02:27 EDT", "StateChangeTimestampMonotonic": "116689878", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:02:38 +0000 (0:00:00.510) 0:00:58.750 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:02:38 +0000 (0:00:00.048) 0:00:58.799 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0 } STDOUT: 2920e617d0927ea6680528e1c4784c092917e4bd002f4baef9edc8ee6f50a3c3 /etc/firewalld/zones/public.xml 414874ced74b68ce42fa113643f47725535bcc62276497de026375670de0c4f7 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:02:39 +0000 (0:00:00.492) 0:00:59.291 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:02:39 +0000 (0:00:00.567) 0:00:59.859 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0 } STDOUT: 2920e617d0927ea6680528e1c4784c092917e4bd002f4baef9edc8ee6f50a3c3 /etc/firewalld/zones/public.xml 414874ced74b68ce42fa113643f47725535bcc62276497de026375670de0c4f7 /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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:02:40 +0000 (0:00:00.295) 0:01:00.154 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:02:40 +0000 (0:00:00.047) 0:01:00.202 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:141 Tuesday 07 June 2022 16:02:40 +0000 (0:00:00.039) 0:01:00.241 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:146 Tuesday 07 June 2022 16:02:40 +0000 (0:00:00.037) 0:01:00.279 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:02:40 +0000 (0:00:00.092) 0:01:00.371 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:02:40 +0000 (0:00:00.026) 0:01:00.398 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:02:40 +0000 (0:00:00.514) 0:01:00.912 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:02:41 +0000 (0:00:00.974) 0:01:01.886 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:02:41 +0000 (0:00:00.042) 0:01:01.929 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:02:42 +0000 (0:00:00.964) 0:01:02.893 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:02:39 EDT", "ActiveEnterTimestampMonotonic": "128562230", "ActiveExitTimestamp": "Tue 2022-06-07 12:02:39 EDT", "ActiveExitTimestampMonotonic": "128373221", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:02:39 EDT", "AssertTimestampMonotonic": "128438885", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "405516000", "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 12:02:39 EDT", "ConditionTimestampMonotonic": "128438883", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "29332", "ExecMainStartTimestamp": "Tue 2022-06-07 12:02:39 EDT", "ExecMainStartTimestampMonotonic": "128440374", "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 12:02:39 EDT] ; stop_time=[n/a] ; pid=29332 ; 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 12:02:39 EDT] ; stop_time=[n/a] ; pid=29332 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:02:39 EDT", "InactiveEnterTimestampMonotonic": "128438390", "InactiveExitTimestamp": "Tue 2022-06-07 12:02:39 EDT", "InactiveExitTimestampMonotonic": "128440648", "InvocationID": "1f0cb3439ffe414c8f76f43afbb8020c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "29332", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "24125440", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:02:39 EDT", "StateChangeTimestampMonotonic": "128562230", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:02:43 +0000 (0:00:00.512) 0:01:03.406 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:02:43 +0000 (0:00:00.057) 0:01:03.463 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0 } STDOUT: 2920e617d0927ea6680528e1c4784c092917e4bd002f4baef9edc8ee6f50a3c3 /etc/firewalld/zones/public.xml 414874ced74b68ce42fa113643f47725535bcc62276497de026375670de0c4f7 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:02:43 +0000 (0:00:00.503) 0:01:03.967 ********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:02:44 +0000 (0:00:00.043) 0:01:04.010 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:02:44 +0000 (0:00:00.235) 0:01:04.246 ********** changed: [/cache/rhel-x.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:02:44 +0000 (0:00:00.051) 0:01:04.297 ********** skipping: [/cache/rhel-x.qcow2] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=100 changed=5 unreachable=0 failed=0 skipped=56 rescued=0 ignored=0 Tuesday 07 June 2022 16:02:44 +0000 (0:00:00.037) 0:01:04.335 ********** =============================================================================== linux-system-roles.firewall : Configure firewall ------------------------ 3.14s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 2.96s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- set up internal repositories -------------------------------------------- 1.27s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 1.14s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 0.99s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 0.99s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Gathering Facts --------------------------------------------------------- 0.98s /tmp/tmptsw6k5sz/tests/tests_purge_config.yml:1 ------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 0.98s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 0.98s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 0.97s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 0.97s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 0.97s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 0.96s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 0.96s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 0.96s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 0.96s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 0.96s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 0.96s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 0.95s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 0.95s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 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: rhel-x_setup.yml ***************************************************** 1 plays in /cache/rhel-x_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-x_setup.yml:6 Tuesday 07 June 2022 16:02:45 +0000 (0:00:00.022) 0:00:00.022 ********** ok: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-x.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 07 June 2022 16:02:46 +0000 (0:00:01.240) 0:00:01.263 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.24s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- PLAYBOOK: tests_target.yml ***************************************************** 1 plays in /tmp/tmptsw6k5sz/tests/tests_target.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptsw6k5sz/tests/tests_target.yml:1 Tuesday 07 June 2022 16:02:46 +0000 (0:00:00.010) 0:00:01.274 ********** ok: [/cache/rhel-x.qcow2] META: ran handlers TASK [Call role to change target settings] ************************************* task path: /tmp/tmptsw6k5sz/tests/tests_target.yml:5 Tuesday 07 June 2022 16:02:47 +0000 (0:00:00.928) 0:00:02.202 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:02:47 +0000 (0:00:00.155) 0:00:02.358 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:02:47 +0000 (0:00:00.041) 0:00:02.399 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:02:47 +0000 (0:00:00.511) 0:00:02.911 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:02:49 +0000 (0:00:01.075) 0:00:03.987 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:02:49 +0000 (0:00:00.041) 0:00:04.028 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:02:50 +0000 (0:00:00.931) 0:00:04.960 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:02:44 EDT", "ActiveEnterTimestampMonotonic": "133239648", "ActiveExitTimestamp": "Tue 2022-06-07 12:02:44 EDT", "ActiveExitTimestampMonotonic": "133047065", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:02:44 EDT", "AssertTimestampMonotonic": "133114295", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "299172000", "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 12:02:44 EDT", "ConditionTimestampMonotonic": "133114293", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "29991", "ExecMainStartTimestamp": "Tue 2022-06-07 12:02:44 EDT", "ExecMainStartTimestampMonotonic": "133116244", "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 12:02:44 EDT] ; stop_time=[n/a] ; pid=29991 ; 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 12:02:44 EDT] ; stop_time=[n/a] ; pid=29991 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:02:44 EDT", "InactiveEnterTimestampMonotonic": "133113751", "InactiveExitTimestamp": "Tue 2022-06-07 12:02:44 EDT", "InactiveExitTimestampMonotonic": "133116515", "InvocationID": "21a5c989b1b146b5be75d816c7803c87", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "29991", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "24584192", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:02:44 EDT", "StateChangeTimestampMonotonic": "133239648", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:02:50 +0000 (0:00:00.738) 0:00:05.699 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:02:50 +0000 (0:00:00.046) 0:00:05.745 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:02:50 +0000 (0:00:00.040) 0:00:05.786 ********** ok: [/cache/rhel-x.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/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:02:52 +0000 (0:00:01.241) 0:00:07.028 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:02:52 +0000 (0:00:00.040) 0:00:07.068 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:02:52 +0000 (0:00:00.039) 0:00:07.107 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Get target setting] ****************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_target.yml:16 Tuesday 07 June 2022 16:02:52 +0000 (0:00:00.039) 0:00:07.146 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.203484", "end": "2022-06-07 12:02:53.241876", "rc": 0, "start": "2022-06-07 12:02:53.038392" } STDOUT: public (active) target: DROP icmp-block-inversion: no interfaces: eth0 sources: services: cockpit dhcpv6-client ssh ports: protocols: forward: yes masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting] *************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_target.yml:21 Tuesday 07 June 2022 16:02:52 +0000 (0:00:00.669) 0:00:07.816 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false } MSG: All assertions passed TASK [Call role to reset target settings] ************************************** task path: /tmp/tmptsw6k5sz/tests/tests_target.yml:27 Tuesday 07 June 2022 16:02:52 +0000 (0:00:00.044) 0:00:07.861 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:02:52 +0000 (0:00:00.038) 0:00:07.900 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:02:53 +0000 (0:00:00.026) 0:00:07.927 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:02:53 +0000 (0:00:00.504) 0:00:08.432 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:02:54 +0000 (0:00:00.928) 0:00:09.360 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:02:54 +0000 (0:00:00.041) 0:00:09.401 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:02:55 +0000 (0:00:00.933) 0:00:10.334 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:02:44 EDT", "ActiveEnterTimestampMonotonic": "133239648", "ActiveExitTimestamp": "Tue 2022-06-07 12:02:44 EDT", "ActiveExitTimestampMonotonic": "133047065", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:02:44 EDT", "AssertTimestampMonotonic": "133114295", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "643817000", "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 12:02:44 EDT", "ConditionTimestampMonotonic": "133114293", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "29991", "ExecMainStartTimestamp": "Tue 2022-06-07 12:02:44 EDT", "ExecMainStartTimestampMonotonic": "133116244", "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 12:02:44 EDT] ; stop_time=[n/a] ; pid=29991 ; 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 12:02:44 EDT] ; stop_time=[n/a] ; pid=29991 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:02:44 EDT", "InactiveEnterTimestampMonotonic": "133113751", "InactiveExitTimestamp": "Tue 2022-06-07 12:02:44 EDT", "InactiveExitTimestampMonotonic": "133116515", "InvocationID": "21a5c989b1b146b5be75d816c7803c87", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "29991", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "29487104", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:02:44 EDT", "StateChangeTimestampMonotonic": "133239648", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:02:55 +0000 (0:00:00.498) 0:00:10.833 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:02:55 +0000 (0:00:00.045) 0:00:10.878 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:02:56 +0000 (0:00:00.039) 0:00:10.917 ********** changed: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:02:56 +0000 (0:00:00.665) 0:00:11.583 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:02:56 +0000 (0:00:00.050) 0:00:11.633 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:02:56 +0000 (0:00:00.045) 0:00:11.678 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Get target setting] ****************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_target.yml:36 Tuesday 07 June 2022 16:02:56 +0000 (0:00:00.041) 0:00:11.720 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.199762", "end": "2022-06-07 12:02:57.691675", "rc": 0, "start": "2022-06-07 12:02:57.491913" } STDOUT: public (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: cockpit dhcpv6-client ssh ports: protocols: forward: yes masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting was reset] ***************************************** task path: /tmp/tmptsw6k5sz/tests/tests_target.yml:41 Tuesday 07 June 2022 16:02:57 +0000 (0:00:00.546) 0:00:12.266 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_target.yml:47 Tuesday 07 June 2022 16:02:57 +0000 (0:00:00.043) 0:00:12.309 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:02:57 +0000 (0:00:00.044) 0:00:12.354 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:02:57 +0000 (0:00:00.025) 0:00:12.379 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:02:57 +0000 (0:00:00.532) 0:00:12.912 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:02:58 +0000 (0:00:00.932) 0:00:13.845 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:02:58 +0000 (0:00:00.039) 0:00:13.884 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:02:59 +0000 (0:00:00.932) 0:00:14.817 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:02:44 EDT", "ActiveEnterTimestampMonotonic": "133239648", "ActiveExitTimestamp": "Tue 2022-06-07 12:02:44 EDT", "ActiveExitTimestampMonotonic": "133047065", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:02:44 EDT", "AssertTimestampMonotonic": "133114295", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "909363000", "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 12:02:44 EDT", "ConditionTimestampMonotonic": "133114293", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "29991", "ExecMainStartTimestamp": "Tue 2022-06-07 12:02:44 EDT", "ExecMainStartTimestampMonotonic": "133116244", "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 12:02:44 EDT] ; stop_time=[n/a] ; pid=29991 ; 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 12:02:44 EDT] ; stop_time=[n/a] ; pid=29991 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:02:44 EDT", "InactiveEnterTimestampMonotonic": "133113751", "InactiveExitTimestamp": "Tue 2022-06-07 12:02:44 EDT", "InactiveExitTimestampMonotonic": "133116515", "InvocationID": "21a5c989b1b146b5be75d816c7803c87", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "29991", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "29990912", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:02:44 EDT", "StateChangeTimestampMonotonic": "133239648", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:03:00 +0000 (0:00:00.506) 0:00:15.323 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:03:00 +0000 (0:00:00.044) 0:00:15.367 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0 } STDOUT: 2920e617d0927ea6680528e1c4784c092917e4bd002f4baef9edc8ee6f50a3c3 /etc/firewalld/zones/public.xml STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:03:00 +0000 (0:00:00.452) 0:00:15.820 ********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:03:00 +0000 (0:00:00.039) 0:00:15.860 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:03:01 +0000 (0:00:00.244) 0:00:16.104 ********** changed: [/cache/rhel-x.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:03:01 +0000 (0:00:00.046) 0:00:16.151 ********** skipping: [/cache/rhel-x.qcow2] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=29 changed=3 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Tuesday 07 June 2022 16:03:01 +0000 (0:00:00.034) 0:00:16.185 ********** =============================================================================== linux-system-roles.firewall : Configure firewall ------------------------ 1.24s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- set up internal repositories -------------------------------------------- 1.24s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 1.08s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 0.93s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 0.93s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 0.93s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 0.93s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmptsw6k5sz/tests/tests_target.yml:1 ------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 0.93s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Enable and start firewalld service -------- 0.74s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Get target setting ------------------------------------------------------ 0.67s /tmp/tmptsw6k5sz/tests/tests_target.yml:16 ------------------------------------ linux-system-roles.firewall : Configure firewall ------------------------ 0.67s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Get target setting ------------------------------------------------------ 0.55s /tmp/tmptsw6k5sz/tests/tests_target.yml:36 ------------------------------------ linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.53s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.51s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Enable and start firewalld service -------- 0.51s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.50s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Enable and start firewalld service -------- 0.50s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Get config files, checksums before and remove --- 0.45s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- linux-system-roles.firewall : Get config files, checksums after --------- 0.24s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 ---- 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: rhel-x_setup.yml ***************************************************** 1 plays in /cache/rhel-x_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-x_setup.yml:6 Tuesday 07 June 2022 16:03:02 +0000 (0:00:00.022) 0:00:00.022 ********** ok: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-x.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 07 June 2022 16:03:03 +0000 (0:00:01.256) 0:00:01.278 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.26s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- PLAYBOOK: tests_zone.yml ******************************************************* 1 plays in /tmp/tmptsw6k5sz/tests/tests_zone.yml PLAY [Test firewalld zones] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptsw6k5sz/tests/tests_zone.yml:1 Tuesday 07 June 2022 16:03:03 +0000 (0:00:00.017) 0:00:01.296 ********** ok: [/cache/rhel-x.qcow2] META: ran handlers TASK [Verify used firewalld zones] ********************************************* task path: /tmp/tmptsw6k5sz/tests/tests_zone.yml:10 Tuesday 07 June 2022 16:03:04 +0000 (0:00:00.904) 0:00:02.200 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:03:04 +0000 (0:00:00.180) 0:00:02.380 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:03:04 +0000 (0:00:00.065) 0:00:02.446 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:03:04 +0000 (0:00:00.496) 0:00:02.943 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:03:06 +0000 (0:00:01.135) 0:00:04.078 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:03:06 +0000 (0:00:00.042) 0:00:04.121 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:03:07 +0000 (0:00:00.925) 0:00:05.046 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:03:01 EDT", "ActiveEnterTimestampMonotonic": "150173516", "ActiveExitTimestamp": "Tue 2022-06-07 12:03:01 EDT", "ActiveExitTimestampMonotonic": "149986032", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:03:01 EDT", "AssertTimestampMonotonic": "150050813", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "309585000", "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 12:03:01 EDT", "ConditionTimestampMonotonic": "150050812", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "32055", "ExecMainStartTimestamp": "Tue 2022-06-07 12:03:01 EDT", "ExecMainStartTimestampMonotonic": "150052206", "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 12:03:01 EDT] ; stop_time=[n/a] ; pid=32055 ; 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 12:03:01 EDT] ; stop_time=[n/a] ; pid=32055 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:03:01 EDT", "InactiveEnterTimestampMonotonic": "150050280", "InactiveExitTimestamp": "Tue 2022-06-07 12:03:01 EDT", "InactiveExitTimestampMonotonic": "150052480", "InvocationID": "c210f87d266a4362be3ffc6eeb2c4f35", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32055", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "22626304", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:03:01 EDT", "StateChangeTimestampMonotonic": "150173516", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:03:07 +0000 (0:00:00.753) 0:00:05.800 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:03:07 +0000 (0:00:00.050) 0:00:05.850 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:03:07 +0000 (0:00:00.041) 0:00:05.891 ********** ok: [/cache/rhel-x.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/rhel-x.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/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:03:09 +0000 (0:00:01.604) 0:00:07.495 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:03:09 +0000 (0:00:00.044) 0:00:07.540 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:03:09 +0000 (0:00:00.042) 0:00:07.582 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Fail on missing zones] *************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_zone.yml:22 Tuesday 07 June 2022 16:03:09 +0000 (0:00:00.042) 0:00:07.625 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld] ********************************************************* task path: /tmp/tmptsw6k5sz/tests/tests_zone.yml:28 Tuesday 07 June 2022 16:03:09 +0000 (0:00:00.040) 0:00:07.666 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:03:09 +0000 (0:00:00.067) 0:00:07.733 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:03:09 +0000 (0:00:00.056) 0:00:07.790 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:03:10 +0000 (0:00:00.507) 0:00:08.298 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:03:11 +0000 (0:00:00.961) 0:00:09.260 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:03:11 +0000 (0:00:00.042) 0:00:09.303 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:03:12 +0000 (0:00:00.947) 0:00:10.250 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:03:01 EDT", "ActiveEnterTimestampMonotonic": "150173516", "ActiveExitTimestamp": "Tue 2022-06-07 12:03:01 EDT", "ActiveExitTimestampMonotonic": "149986032", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:03:01 EDT", "AssertTimestampMonotonic": "150050813", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "540159000", "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 12:03:01 EDT", "ConditionTimestampMonotonic": "150050812", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "32055", "ExecMainStartTimestamp": "Tue 2022-06-07 12:03:01 EDT", "ExecMainStartTimestampMonotonic": "150052206", "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 12:03:01 EDT] ; stop_time=[n/a] ; pid=32055 ; 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 12:03:01 EDT] ; stop_time=[n/a] ; pid=32055 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:03:01 EDT", "InactiveEnterTimestampMonotonic": "150050280", "InactiveExitTimestamp": "Tue 2022-06-07 12:03:01 EDT", "InactiveExitTimestampMonotonic": "150052480", "InvocationID": "c210f87d266a4362be3ffc6eeb2c4f35", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32055", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "23990272", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:03:01 EDT", "StateChangeTimestampMonotonic": "150173516", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:03:12 +0000 (0:00:00.548) 0:00:10.798 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:03:12 +0000 (0:00:00.049) 0:00:10.848 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:03:13 +0000 (0:00:00.247) 0:00:11.095 ********** ok: [/cache/rhel-x.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/rhel-x.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/rhel-x.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/rhel-x.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/rhel-x.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/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:03:16 +0000 (0:00:03.114) 0:00:14.209 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0 } STDOUT: 09fa9483695b07907a4b382b3c7ea7173fd18e4f59296d39de5d3cf4ab381b3b /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml 2920e617d0927ea6680528e1c4784c092917e4bd002f4baef9edc8ee6f50a3c3 /etc/firewalld/zones/public.xml e033a4592feef4480b815bd63ef2f8a2319b606a552febb7cfeb716c1d396b7b /etc/firewalld/zones/dmz.xml 414874ced74b68ce42fa113643f47725535bcc62276497de026375670de0c4f7 /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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:03:16 +0000 (0:00:00.291) 0:00:14.501 ********** changed: [/cache/rhel-x.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:03:16 +0000 (0:00:00.054) 0:00:14.556 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Fail if no changes are done] ********************************************* task path: /tmp/tmptsw6k5sz/tests/tests_zone.yml:58 Tuesday 07 June 2022 16:03:16 +0000 (0:00:00.052) 0:00:14.608 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld again] *************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_zone.yml:64 Tuesday 07 June 2022 16:03:16 +0000 (0:00:00.040) 0:00:14.649 ********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 07 June 2022 16:03:16 +0000 (0:00:00.065) 0:00:14.715 ********** included: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 07 June 2022 16:03:16 +0000 (0:00:00.050) 0:00:14.765 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 07 June 2022 16:03:17 +0000 (0:00:00.500) 0:00:15.265 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 07 June 2022 16:03:18 +0000 (0:00:00.957) 0:00:16.223 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 07 June 2022 16:03:18 +0000 (0:00:00.042) 0:00:16.265 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 07 June 2022 16:03:19 +0000 (0:00:00.967) 0:00:17.233 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-06-07 12:03:01 EDT", "ActiveEnterTimestampMonotonic": "150173516", "ActiveExitTimestamp": "Tue 2022-06-07 12:03:01 EDT", "ActiveExitTimestampMonotonic": "149986032", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice polkit.service basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-06-07 12:03:01 EDT", "AssertTimestampMonotonic": "150050813", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1147751000", "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 12:03:01 EDT", "ConditionTimestampMonotonic": "150050812", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ipset.service nftables.service ebtables.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": "32055", "ExecMainStartTimestamp": "Tue 2022-06-07 12:03:01 EDT", "ExecMainStartTimestampMonotonic": "150052206", "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 12:03:01 EDT] ; stop_time=[n/a] ; pid=32055 ; 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 12:03:01 EDT] ; stop_time=[n/a] ; pid=32055 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-06-07 12:03:01 EDT", "InactiveEnterTimestampMonotonic": "150050280", "InactiveExitTimestamp": "Tue 2022-06-07 12:03:01 EDT", "InactiveExitTimestampMonotonic": "150052480", "InvocationID": "c210f87d266a4362be3ffc6eeb2c4f35", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "32055", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "25636864", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-06-07 12:03:01 EDT", "StateChangeTimestampMonotonic": "150173516", "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": "10920", "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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 07 June 2022 16:03:19 +0000 (0:00:00.495) 0:00:17.728 ********** ok: [/cache/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Tuesday 07 June 2022 16:03:19 +0000 (0:00:00.046) 0:00:17.775 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0 } STDOUT: 09fa9483695b07907a4b382b3c7ea7173fd18e4f59296d39de5d3cf4ab381b3b /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml 2920e617d0927ea6680528e1c4784c092917e4bd002f4baef9edc8ee6f50a3c3 /etc/firewalld/zones/public.xml e033a4592feef4480b815bd63ef2f8a2319b606a552febb7cfeb716c1d396b7b /etc/firewalld/zones/dmz.xml 414874ced74b68ce42fa113643f47725535bcc62276497de026375670de0c4f7 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Tuesday 07 June 2022 16:03:20 +0000 (0:00:00.495) 0:00:18.270 ********** ok: [/cache/rhel-x.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/rhel-x.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/rhel-x.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/rhel-x.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/rhel-x.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/rhel-x.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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Tuesday 07 June 2022 16:03:23 +0000 (0:00:02.995) 0:00:21.266 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0 } STDOUT: 09fa9483695b07907a4b382b3c7ea7173fd18e4f59296d39de5d3cf4ab381b3b /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml 2920e617d0927ea6680528e1c4784c092917e4bd002f4baef9edc8ee6f50a3c3 /etc/firewalld/zones/public.xml e033a4592feef4480b815bd63ef2f8a2319b606a552febb7cfeb716c1d396b7b /etc/firewalld/zones/dmz.xml 414874ced74b68ce42fa113643f47725535bcc62276497de026375670de0c4f7 /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/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Tuesday 07 June 2022 16:03:23 +0000 (0:00:00.304) 0:00:21.570 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Tuesday 07 June 2022 16:03:23 +0000 (0:00:00.049) 0:00:21.620 ********** skipping: [/cache/rhel-x.qcow2] => {} TASK [Fail on newly changes] *************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_zone.yml:94 Tuesday 07 June 2022 16:03:23 +0000 (0:00:00.042) 0:00:21.662 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify firewalld zone internal services] ********************************* task path: /tmp/tmptsw6k5sz/tests/tests_zone.yml:100 Tuesday 07 June 2022 16:03:23 +0000 (0:00:00.039) 0:00:21.702 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-services" ], "delta": "0:00:00.214697", "end": "2022-06-07 12:03:24.742870", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:03:24.528173" } STDOUT: cockpit dhcpv6-client ftp mdns samba-client ssh tftp TASK [Verify firewalld zone internal ports] ************************************ task path: /tmp/tmptsw6k5sz/tests/tests_zone.yml:107 Tuesday 07 June 2022 16:03:24 +0000 (0:00:00.694) 0:00:22.396 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-ports" ], "delta": "0:00:00.204488", "end": "2022-06-07 12:03:25.309301", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:03:25.104813" } STDOUT: 443/tcp 443/udp TASK [Verify firewalld zone internal forward ports] **************************** task path: /tmp/tmptsw6k5sz/tests/tests_zone.yml:114 Tuesday 07 June 2022 16:03:24 +0000 (0:00:00.567) 0:00:22.964 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-forward-ports" ], "delta": "0:00:00.204868", "end": "2022-06-07 12:03:25.879804", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:03:25.674936" } 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/tmptsw6k5sz/tests/tests_zone.yml:123 Tuesday 07 June 2022 16:03:25 +0000 (0:00:00.569) 0:00:23.534 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=customzone", "--query-masquerade" ], "delta": "0:00:00.218367", "end": "2022-06-07 12:03:26.462611", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:03:26.244244" } STDOUT: yes TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/tmptsw6k5sz/tests/tests_zone.yml:129 Tuesday 07 June 2022 16:03:26 +0000 (0:00:00.585) 0:00:24.119 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.192675", "end": "2022-06-07 12:03:27.021338", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:03:26.828663" } STDOUT: dmz TASK [Verify that service http has been added to the default zone dmz] ********* task path: /tmp/tmptsw6k5sz/tests/tests_zone.yml:135 Tuesday 07 June 2022 16:03:26 +0000 (0:00:00.556) 0:00:24.676 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--zone=dmz", "--query-service=http" ], "delta": "0:00:00.197844", "end": "2022-06-07 12:03:27.590677", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:03:27.392833" } STDOUT: yes TASK [Remove customzone zone] ************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_zone.yml:147 Tuesday 07 June 2022 16:03:27 +0000 (0:00:00.572) 0:00:25.248 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.204003", "end": "2022-06-07 12:03:28.162432", "failed_when_result": false, "rc": 0, "start": "2022-06-07 12:03:27.958429" } STDOUT: success TASK [Reset to zone defaults] ************************************************** task path: /tmp/tmptsw6k5sz/tests/tests_zone.yml:152 Tuesday 07 June 2022 16:03:27 +0000 (0:00:00.567) 0:00:25.816 ********** changed: [/cache/rhel-x.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:00.948359", "end": "2022-06-07 12:03:29.482019", "rc": 0, "start": "2022-06-07 12:03:28.533660" } STDOUT: success success STDERR: Error: NO_DEFAULTS: external Error: NO_DEFAULTS: trusted META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=37 changed=9 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0 Tuesday 07 June 2022 16:03:29 +0000 (0:00:01.311) 0:00:27.128 ********** =============================================================================== linux-system-roles.firewall : Configure firewall ------------------------ 3.00s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 1.60s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Reset to zone defaults -------------------------------------------------- 1.31s /tmp/tmptsw6k5sz/tests/tests_zone.yml:152 ------------------------------------- set up internal repositories -------------------------------------------- 1.26s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 1.14s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 0.97s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 0.96s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 0.96s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 0.95s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 0.93s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmptsw6k5sz/tests/tests_zone.yml:1 --------------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.75s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Verify firewalld zone internal services --------------------------------- 0.69s /tmp/tmptsw6k5sz/tests/tests_zone.yml:100 ------------------------------------- Verify custom zone has masquerade added to it --------------------------- 0.59s /tmp/tmptsw6k5sz/tests/tests_zone.yml:123 ------------------------------------- Verify that service http has been added to the default zone dmz --------- 0.57s /tmp/tmptsw6k5sz/tests/tests_zone.yml:135 ------------------------------------- Verify firewalld zone internal forward ports ---------------------------- 0.57s /tmp/tmptsw6k5sz/tests/tests_zone.yml:114 ------------------------------------- Verify firewalld zone internal ports ------------------------------------ 0.57s /tmp/tmptsw6k5sz/tests/tests_zone.yml:107 ------------------------------------- Remove customzone zone -------------------------------------------------- 0.57s /tmp/tmptsw6k5sz/tests/tests_zone.yml:147 ------------------------------------- Verify custom zone has masquerade added to it --------------------------- 0.56s /tmp/tmptsw6k5sz/tests/tests_zone.yml:129 ------------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.51s /tmp/tmptsw6k5sz/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Testing /tmp/tmphmoifzv6/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmphmoifzv6/tests/tests_default.yml...SUCCESS Testing /tmp/tmphmoifzv6/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmphmoifzv6/tests/tests_target.yml...SUCCESS Testing /tmp/tmphmoifzv6/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpdt4svcve/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpdt4svcve/tests/tests_default.yml...SUCCESS Testing /tmp/tmpdt4svcve/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpdt4svcve/tests/tests_target.yml...SUCCESS Testing /tmp/tmpdt4svcve/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpqymalqdx/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpqymalqdx/tests/tests_default.yml...SUCCESS Testing /tmp/tmpqymalqdx/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpqymalqdx/tests/tests_target.yml...SUCCESS Testing /tmp/tmpqymalqdx/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpmjus8tiu/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpmjus8tiu/tests/tests_default.yml...SUCCESS Testing /tmp/tmpmjus8tiu/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpmjus8tiu/tests/tests_target.yml...SUCCESS Testing /tmp/tmpmjus8tiu/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpcaqbfvu4/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpcaqbfvu4/tests/tests_default.yml...SUCCESS Testing /tmp/tmpcaqbfvu4/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpcaqbfvu4/tests/tests_target.yml...SUCCESS Testing /tmp/tmpcaqbfvu4/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpj2anggd7/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpj2anggd7/tests/tests_default.yml...SUCCESS Testing /tmp/tmpj2anggd7/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpj2anggd7/tests/tests_target.yml...SUCCESS Testing /tmp/tmpj2anggd7/tests/tests_zone.yml...SUCCESS Testing /tmp/tmphvrbznxb/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmphvrbznxb/tests/tests_default.yml...SUCCESS Testing /tmp/tmphvrbznxb/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmphvrbznxb/tests/tests_target.yml...SUCCESS Testing /tmp/tmphvrbznxb/tests/tests_zone.yml...SUCCESS Testing /tmp/tmp7kfy17ad/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmp7kfy17ad/tests/tests_default.yml...SUCCESS Testing /tmp/tmp7kfy17ad/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmp7kfy17ad/tests/tests_target.yml...SUCCESS Testing /tmp/tmp7kfy17ad/tests/tests_zone.yml...SUCCESS Testing /tmp/tmp_688rtn3/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmp_688rtn3/tests/tests_default.yml...SUCCESS Testing /tmp/tmp_688rtn3/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmp_688rtn3/tests/tests_target.yml...SUCCESS Testing /tmp/tmp_688rtn3/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpw10pv_9w/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpw10pv_9w/tests/tests_default.yml...SUCCESS Testing /tmp/tmpw10pv_9w/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpw10pv_9w/tests/tests_target.yml...SUCCESS Testing /tmp/tmpw10pv_9w/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpo_rmb5na/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpo_rmb5na/tests/tests_default.yml...SUCCESS Testing /tmp/tmpo_rmb5na/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpo_rmb5na/tests/tests_target.yml...SUCCESS Testing /tmp/tmpo_rmb5na/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpfob47tb2/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpfob47tb2/tests/tests_default.yml...SUCCESS Testing /tmp/tmpfob47tb2/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpfob47tb2/tests/tests_target.yml...SUCCESS Testing /tmp/tmpfob47tb2/tests/tests_zone.yml...SUCCESS Testing /tmp/tmput4hdnfw/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmput4hdnfw/tests/tests_default.yml...SUCCESS Testing /tmp/tmput4hdnfw/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmput4hdnfw/tests/tests_target.yml...SUCCESS Testing /tmp/tmput4hdnfw/tests/tests_zone.yml...SUCCESS Testing /tmp/tmp4fyaqjh0/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmp4fyaqjh0/tests/tests_default.yml...SUCCESS Testing /tmp/tmp4fyaqjh0/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmp4fyaqjh0/tests/tests_target.yml...SUCCESS Testing /tmp/tmp4fyaqjh0/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpcg3bv88y/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpcg3bv88y/tests/tests_default.yml...SUCCESS Testing /tmp/tmpcg3bv88y/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpcg3bv88y/tests/tests_target.yml...SUCCESS Testing /tmp/tmpcg3bv88y/tests/tests_zone.yml...SUCCESS Testing /tmp/tmplqumndff/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmplqumndff/tests/tests_default.yml...SUCCESS Testing /tmp/tmplqumndff/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmplqumndff/tests/tests_target.yml...SUCCESS Testing /tmp/tmplqumndff/tests/tests_zone.yml...SUCCESS Testing /tmp/tmp9sxwozxt/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmp9sxwozxt/tests/tests_default.yml...SUCCESS Testing /tmp/tmp9sxwozxt/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmp9sxwozxt/tests/tests_target.yml...SUCCESS Testing /tmp/tmp9sxwozxt/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpl725ba3r/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpl725ba3r/tests/tests_default.yml...SUCCESS Testing /tmp/tmpl725ba3r/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpl725ba3r/tests/tests_target.yml...SUCCESS Testing /tmp/tmpl725ba3r/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpa1fe7o8n/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpa1fe7o8n/tests/tests_default.yml...SUCCESS Testing /tmp/tmpa1fe7o8n/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpa1fe7o8n/tests/tests_target.yml...SUCCESS Testing /tmp/tmpa1fe7o8n/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpq21hho09/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpq21hho09/tests/tests_default.yml...SUCCESS Testing /tmp/tmpq21hho09/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpq21hho09/tests/tests_target.yml...SUCCESS Testing /tmp/tmpq21hho09/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpxggbk0ww/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpxggbk0ww/tests/tests_default.yml...SUCCESS Testing /tmp/tmpxggbk0ww/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpxggbk0ww/tests/tests_target.yml...SUCCESS Testing /tmp/tmpxggbk0ww/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpmsmo9480/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpmsmo9480/tests/tests_default.yml...SUCCESS Testing /tmp/tmpmsmo9480/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpmsmo9480/tests/tests_target.yml...SUCCESS Testing /tmp/tmpmsmo9480/tests/tests_zone.yml...SUCCESS Testing /tmp/tmphk1pt8c4/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmphk1pt8c4/tests/tests_default.yml...SUCCESS Testing /tmp/tmphk1pt8c4/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmphk1pt8c4/tests/tests_target.yml...SUCCESS Testing /tmp/tmphk1pt8c4/tests/tests_zone.yml...SUCCESS Testing /tmp/tmpru6l7rla/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmpru6l7rla/tests/tests_default.yml...SUCCESS Testing /tmp/tmpru6l7rla/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmpru6l7rla/tests/tests_target.yml...SUCCESS Testing /tmp/tmpru6l7rla/tests/tests_zone.yml...SUCCESS Testing /tmp/tmptsw6k5sz/tests/tests_ansible.yml...SUCCESS Testing /tmp/tmptsw6k5sz/tests/tests_default.yml...SUCCESS Testing /tmp/tmptsw6k5sz/tests/tests_purge_config.yml...SUCCESS Testing /tmp/tmptsw6k5sz/tests/tests_target.yml...SUCCESS Testing /tmp/tmptsw6k5sz/tests/tests_zone.yml...SUCCESS SUCCESS