+ cd /tmp/tmprpo0h1c6/tests; TEST_SUBJECTS=/cache/fedora-35.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_firewall-64-5b978e8-fedora-35-9narco09/artifacts ANSIBLE_COLLECTIONS_PATHS=/tmp/tmpulxamnhf:~/.ansible/collections:/usr/share/ansible/collections ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 --skip-tags=tests::cleanup,tests::nvme /tmp/tmprpo0h1c6/_setup.yml /tmp/tmprpo0h1c6/tests/tests_ansible.yml ansible-playbook [core 2.12.1rc1.post0] config file = None configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.8/site-packages/ansible ansible collection location = /tmp/tmpulxamnhf:/home/runner/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible-playbook python version = 3.8.8 (default, Aug 25 2021, 16:13:02) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)] jinja version = 2.10.3 libyaml = True No config file found; using defaults Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _setup.yml *********************************************************** 1 plays in /tmp/tmprpo0h1c6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmprpo0h1c6/_setup.yml:5 Wednesday 19 January 2022 20:32:16 +0000 (0:00:00.010) 0:00:00.010 ***** ok: [/cache/fedora-35.qcow2] => { "groups": { "all": [ "/cache/fedora-35.qcow2" ], "localhost": [ "/cache/fedora-35.qcow2" ], "subjects": [ "/cache/fedora-35.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmprpo0h1c6/_setup.yml:6 Wednesday 19 January 2022 20:32:16 +0000 (0:00:00.017) 0:00:00.027 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 Wednesday 19 January 2022 20:32:16 +0000 (0:00:00.017) 0:00:00.045 ***** =============================================================================== fail -------------------------------------------------------------------- 0.02s /tmp/tmprpo0h1c6/_setup.yml:6 ------------------------------------------------- debug ------------------------------------------------------------------- 0.02s /tmp/tmprpo0h1c6/_setup.yml:5 ------------------------------------------------- [DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks instead. This feature will be removed in version 2.16. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. statically imported: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmprpo0h1c6/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:1 Wednesday 19 January 2022 20:32:16 +0000 (0:00:00.032) 0:00:00.077 ***** ok: [/cache/fedora-35.qcow2] META: ran handlers TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 19 January 2022 20:32:17 +0000 (0:00:01.043) 0:00:01.121 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: ipset-7.15-1.fc35.x86_64", "Installed: iptables-nft-1.8.7-13.fc35.x86_64", "Installed: ipset-libs-7.15-1.fc35.x86_64", "Installed: firewalld-1.0.1-2.fc35.noarch", "Installed: firewalld-filesystem-1.0.1-2.fc35.noarch", "Installed: python3-gobject-base-3.42.0-1.fc35.x86_64", "Installed: python3-nftables-1:1.0.0-1.fc35.x86_64", "Installed: python3-firewall-1.0.1-2.fc35.noarch", "Installed: gobject-introspection-1.70.0-1.fc35.x86_64", "Installed: libcap-ng-python3-0.8.2-8.fc35.x86_64", "Installed: jansson-2.13.1-3.fc35.x86_64", "Installed: libnftnl-1.2.0-2.fc35.x86_64", "Installed: nftables-1:1.0.0-1.fc35.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:7 Wednesday 19 January 2022 20:33:12 +0000 (0:00:54.991) 0:00:56.113 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 19 January 2022 20:33:12 +0000 (0:00:00.024) 0:00:56.137 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 19 January 2022 20:33:14 +0000 (0:00:01.627) 0:00:57.765 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice dbus-broker.service polkit.service sysinit.target basic.target dbus.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ip6tables.service shutdown.target iptables.service ebtables.service ipset.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7731", "LimitNPROCSoft": "7731", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7731", "LimitSIGPENDINGSoft": "7731", "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": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 19 January 2022 20:33:15 +0000 (0:00:00.918) 0:00:58.683 ***** META: role_complete for /cache/fedora-35.qcow2 TASK [Remove custom zone] ****************************************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:14 Wednesday 19 January 2022 20:33:15 +0000 (0:00:00.022) 0:00:58.705 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.212438", "end": "2022-01-19 20:33:15.386787", "failed_when_result": false, "rc": 112, "start": "2022-01-19 20:33:15.174349" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:19 Wednesday 19 January 2022 20:33:16 +0000 (0:00:00.739) 0:00:59.445 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.205012", "end": "2022-01-19 20:33:15.967308", "failed_when_result": false, "rc": 22, "start": "2022-01-19 20:33:15.762296" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:24 Wednesday 19 January 2022 20:33:16 +0000 (0:00:00.581) 0:01:00.026 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.213607", "end": "2022-01-19 20:33:16.557479", "failed_when_result": false, "rc": 22, "start": "2022-01-19 20:33:16.343872" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:29 Wednesday 19 January 2022 20:33:17 +0000 (0:00:00.592) 0:01:00.618 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.232368", "end": "2022-01-19 20:33:17.164384", "failed_when_result": false, "rc": 22, "start": "2022-01-19 20:33:16.932016" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:34 Wednesday 19 January 2022 20:33:17 +0000 (0:00:00.608) 0:01:01.227 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.207025", "end": "2022-01-19 20:33:17.750971", "failed_when_result": false, "rc": 22, "start": "2022-01-19 20:33:17.543946" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:39 Wednesday 19 January 2022 20:33:18 +0000 (0:00:00.583) 0:01:01.811 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.207324", "end": "2022-01-19 20:33:18.336502", "failed_when_result": false, "rc": 22, "start": "2022-01-19 20:33:18.129178" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:44 Wednesday 19 January 2022 20:33:19 +0000 (0:00:00.584) 0:01:02.396 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.414811", "end": "2022-01-19 20:33:19.118984", "failed_when_result": false, "rc": 22, "start": "2022-01-19 20:33:18.704173" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:52 Wednesday 19 January 2022 20:33:19 +0000 (0:00:00.782) 0:01:03.178 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.197704", "end": "2022-01-19 20:33:19.685017", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:33:19.487313" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:57 Wednesday 19 January 2022 20:33:20 +0000 (0:00:00.566) 0:01:03.744 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.315101", "end": "2022-01-19 20:33:20.372015", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:33:20.056914" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:64 Wednesday 19 January 2022 20:33:21 +0000 (0:00:00.687) 0:01:04.431 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:72 Wednesday 19 January 2022 20:33:21 +0000 (0:00:00.634) 0:01:05.066 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:80 Wednesday 19 January 2022 20:33:22 +0000 (0:00:00.494) 0:01:05.561 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:88 Wednesday 19 January 2022 20:33:22 +0000 (0:00:00.496) 0:01:06.057 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:96 Wednesday 19 January 2022 20:33:23 +0000 (0:00:00.521) 0:01:06.578 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:104 Wednesday 19 January 2022 20:33:23 +0000 (0:00:00.493) 0:01:07.072 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:112 Wednesday 19 January 2022 20:33:24 +0000 (0:00:00.507) 0:01:07.579 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:120 Wednesday 19 January 2022 20:33:24 +0000 (0:00:00.514) 0:01:08.094 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:128 Wednesday 19 January 2022 20:33:25 +0000 (0:00:00.510) 0:01:08.604 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:137 Wednesday 19 January 2022 20:33:25 +0000 (0:00:00.500) 0:01:09.105 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:146 Wednesday 19 January 2022 20:33:26 +0000 (0:00:00.505) 0:01:09.610 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:155 Wednesday 19 January 2022 20:33:26 +0000 (0:00:00.509) 0:01:10.119 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:164 Wednesday 19 January 2022 20:33:27 +0000 (0:00:00.512) 0:01:10.632 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:173 Wednesday 19 January 2022 20:33:27 +0000 (0:00:00.507) 0:01:11.139 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:182 Wednesday 19 January 2022 20:33:28 +0000 (0:00:00.518) 0:01:11.657 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:191 Wednesday 19 January 2022 20:33:28 +0000 (0:00:00.521) 0:01:12.179 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:200 Wednesday 19 January 2022 20:33:29 +0000 (0:00:00.522) 0:01:12.702 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:209 Wednesday 19 January 2022 20:33:29 +0000 (0:00:00.503) 0:01:13.205 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:218 Wednesday 19 January 2022 20:33:30 +0000 (0:00:00.503) 0:01:13.708 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:226 Wednesday 19 January 2022 20:33:30 +0000 (0:00:00.531) 0:01:14.240 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:235 Wednesday 19 January 2022 20:33:31 +0000 (0:00:00.521) 0:01:14.761 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:244 Wednesday 19 January 2022 20:33:31 +0000 (0:00:00.520) 0:01:15.282 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:253 Wednesday 19 January 2022 20:33:32 +0000 (0:00:00.496) 0:01:15.778 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:262 Wednesday 19 January 2022 20:33:32 +0000 (0:00:00.514) 0:01:16.292 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:271 Wednesday 19 January 2022 20:33:33 +0000 (0:00:00.503) 0:01:16.796 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:280 Wednesday 19 January 2022 20:33:33 +0000 (0:00:00.502) 0:01:17.298 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:289 Wednesday 19 January 2022 20:33:34 +0000 (0:00:00.510) 0:01:17.808 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:298 Wednesday 19 January 2022 20:33:34 +0000 (0:00:00.498) 0:01:18.306 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:307 Wednesday 19 January 2022 20:33:35 +0000 (0:00:00.497) 0:01:18.804 ***** [DEPRECATION WARNING]: Alias 'immediate' is deprecated. See the module docs for more information. This feature will be removed from ansible.posix in a release after 2021-09-23. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. changed: [/cache/fedora-35.qcow2] => { "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/tmprpo0h1c6/tests/tests_ansible.yml:319 Wednesday 19 January 2022 20:33:35 +0000 (0:00:00.545) 0:01:19.349 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:331 Wednesday 19 January 2022 20:33:36 +0000 (0:00:00.499) 0:01:19.849 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:338 Wednesday 19 January 2022 20:33:36 +0000 (0:00:00.480) 0:01:20.330 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false } MSG: All assertions passed TASK [Remove custom zone] ****************************************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:347 Wednesday 19 January 2022 20:33:36 +0000 (0:00:00.023) 0:01:20.353 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.229857", "end": "2022-01-19 20:33:36.898788", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:33:36.668931" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:352 Wednesday 19 January 2022 20:33:37 +0000 (0:00:00.611) 0:01:20.965 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.217429", "end": "2022-01-19 20:33:37.499519", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:33:37.282090" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:357 Wednesday 19 January 2022 20:33:38 +0000 (0:00:00.597) 0:01:21.562 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.212004", "end": "2022-01-19 20:33:38.086297", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:33:37.874293" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:362 Wednesday 19 January 2022 20:33:38 +0000 (0:00:00.586) 0:01:22.149 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.213710", "end": "2022-01-19 20:33:38.683541", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:33:38.469831" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:367 Wednesday 19 January 2022 20:33:39 +0000 (0:00:00.598) 0:01:22.748 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.229246", "end": "2022-01-19 20:33:39.296339", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:33:39.067093" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:372 Wednesday 19 January 2022 20:33:39 +0000 (0:00:00.613) 0:01:23.361 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.208924", "end": "2022-01-19 20:33:39.892028", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:33:39.683104" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:377 Wednesday 19 January 2022 20:33:40 +0000 (0:00:00.591) 0:01:23.953 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.453296", "end": "2022-01-19 20:33:40.716955", "failed_when_result": false, "rc": 22, "start": "2022-01-19 20:33:40.263659" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmprpo0h1c6/tests/tests_ansible.yml:385 Wednesday 19 January 2022 20:33:41 +0000 (0:00:00.828) 0:01:24.782 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.315375", "end": "2022-01-19 20:33:41.418030", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:33:41.102655" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2 : ok=54 changed=34 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Wednesday 19 January 2022 20:33:42 +0000 (0:00:00.709) 0:01:25.491 ***** =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------ 54.99s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Install python3-firewall ------------------ 1.63s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:1 ------------------------------------ linux-system-roles.firewall : Enable and start firewalld service -------- 0.92s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Reset default zone to defaults ------------------------------------------ 0.83s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:377 ---------------------------------- Reset default zone to defaults ------------------------------------------ 0.78s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:44 ----------------------------------- Remove custom zone ------------------------------------------------------ 0.74s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:14 ----------------------------------- Reload firewalld -------------------------------------------------------- 0.71s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:385 ---------------------------------- Reload firewalld -------------------------------------------------------- 0.69s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:57 ----------------------------------- Permit traffic in default zone for https service ------------------------ 0.63s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:64 ----------------------------------- Reset drop zone to defaults --------------------------------------------- 0.61s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:367 ---------------------------------- Remove custom zone ------------------------------------------------------ 0.61s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:347 ---------------------------------- Reset dmz zone to defaults ---------------------------------------------- 0.61s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:29 ----------------------------------- Reset dmz zone to defaults ---------------------------------------------- 0.60s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:362 ---------------------------------- Reset internal zone to defaults ----------------------------------------- 0.60s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:352 ---------------------------------- Reset trusted zone to defaults ------------------------------------------ 0.59s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:24 ----------------------------------- Reset public zone to defaults ------------------------------------------- 0.59s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:372 ---------------------------------- Reset trusted zone to defaults ------------------------------------------ 0.59s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:357 ---------------------------------- Reset public zone to defaults ------------------------------------------- 0.58s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:39 ----------------------------------- Reset drop zone to defaults --------------------------------------------- 0.58s /tmp/tmprpo0h1c6/tests/tests_ansible.yml:34 ----------------------------------- + cd /tmp/tmprpo0h1c6/tests; TEST_SUBJECTS=/cache/fedora-35.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_firewall-64-5b978e8-fedora-35-9narco09/artifacts ANSIBLE_COLLECTIONS_PATHS=/tmp/tmpulxamnhf:~/.ansible/collections:/usr/share/ansible/collections ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 --skip-tags=tests::cleanup,tests::nvme /tmp/tmprpo0h1c6/_setup.yml /tmp/tmprpo0h1c6/tests/tests_default.yml ansible-playbook [core 2.12.1rc1.post0] config file = None configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.8/site-packages/ansible ansible collection location = /tmp/tmpulxamnhf:/home/runner/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible-playbook python version = 3.8.8 (default, Aug 25 2021, 16:13:02) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)] jinja version = 2.10.3 libyaml = True No config file found; using defaults Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _setup.yml *********************************************************** 1 plays in /tmp/tmprpo0h1c6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmprpo0h1c6/_setup.yml:5 Wednesday 19 January 2022 20:33:55 +0000 (0:00:00.010) 0:00:00.010 ***** ok: [/cache/fedora-35.qcow2] => { "groups": { "all": [ "/cache/fedora-35.qcow2" ], "localhost": [ "/cache/fedora-35.qcow2" ], "subjects": [ "/cache/fedora-35.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmprpo0h1c6/_setup.yml:6 Wednesday 19 January 2022 20:33:55 +0000 (0:00:00.016) 0:00:00.027 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 Wednesday 19 January 2022 20:33:55 +0000 (0:00:00.016) 0:00:00.044 ***** =============================================================================== debug ------------------------------------------------------------------- 0.02s /tmp/tmprpo0h1c6/_setup.yml:5 ------------------------------------------------- fail -------------------------------------------------------------------- 0.02s /tmp/tmprpo0h1c6/_setup.yml:6 ------------------------------------------------- [DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks instead. This feature will be removed in version 2.16. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. statically imported: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmprpo0h1c6/tests/tests_default.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmprpo0h1c6/tests/tests_default.yml:1 Wednesday 19 January 2022 20:33:55 +0000 (0:00:00.014) 0:00:00.058 ***** ok: [/cache/fedora-35.qcow2] META: ran handlers TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 19 January 2022 20:33:56 +0000 (0:00:01.007) 0:00:01.066 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: ipset-7.15-1.fc35.x86_64", "Installed: iptables-nft-1.8.7-13.fc35.x86_64", "Installed: ipset-libs-7.15-1.fc35.x86_64", "Installed: firewalld-1.0.1-2.fc35.noarch", "Installed: firewalld-filesystem-1.0.1-2.fc35.noarch", "Installed: python3-gobject-base-3.42.0-1.fc35.x86_64", "Installed: python3-nftables-1:1.0.0-1.fc35.x86_64", "Installed: python3-firewall-1.0.1-2.fc35.noarch", "Installed: gobject-introspection-1.70.0-1.fc35.x86_64", "Installed: libcap-ng-python3-0.8.2-8.fc35.x86_64", "Installed: jansson-2.13.1-3.fc35.x86_64", "Installed: libnftnl-1.2.0-2.fc35.x86_64", "Installed: nftables-1:1.0.0-1.fc35.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:7 Wednesday 19 January 2022 20:34:42 +0000 (0:00:46.069) 0:00:47.135 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 19 January 2022 20:34:42 +0000 (0:00:00.025) 0:00:47.160 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 19 January 2022 20:34:44 +0000 (0:00:01.691) 0:00:48.852 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target dbus.socket sysinit.target system.slice dbus-broker.service polkit.service", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[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 ebtables.service ipset.service ip6tables.service nftables.service iptables.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7731", "LimitNPROCSoft": "7731", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7731", "LimitSIGPENDINGSoft": "7731", "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": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 19 January 2022 20:34:45 +0000 (0:00:00.909) 0:00:49.761 ***** META: role_complete for /cache/fedora-35.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2 : ok=5 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Wednesday 19 January 2022 20:34:45 +0000 (0:00:00.024) 0:00:49.786 ***** =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------ 46.07s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Install python3-firewall ------------------ 1.69s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmprpo0h1c6/tests/tests_default.yml:1 ------------------------------------ linux-system-roles.firewall : Enable and start firewalld service -------- 0.91s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python-firewall ------------------- 0.03s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:7 linux-system-roles.firewall : Configure firewall ------------------------ 0.02s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- debug ------------------------------------------------------------------- 0.02s /tmp/tmprpo0h1c6/_setup.yml:5 ------------------------------------------------- fail -------------------------------------------------------------------- 0.02s /tmp/tmprpo0h1c6/_setup.yml:6 ------------------------------------------------- + cd /tmp/tmprpo0h1c6/tests; TEST_SUBJECTS=/cache/fedora-35.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_firewall-64-5b978e8-fedora-35-9narco09/artifacts ANSIBLE_COLLECTIONS_PATHS=/tmp/tmpulxamnhf:~/.ansible/collections:/usr/share/ansible/collections ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 --skip-tags=tests::cleanup,tests::nvme /tmp/tmprpo0h1c6/_setup.yml /tmp/tmprpo0h1c6/tests/tests_zone.yml ansible-playbook [core 2.12.1rc1.post0] config file = None configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.8/site-packages/ansible ansible collection location = /tmp/tmpulxamnhf:/home/runner/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible-playbook python version = 3.8.8 (default, Aug 25 2021, 16:13:02) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)] jinja version = 2.10.3 libyaml = True No config file found; using defaults Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _setup.yml *********************************************************** 1 plays in /tmp/tmprpo0h1c6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmprpo0h1c6/_setup.yml:5 Wednesday 19 January 2022 20:34:58 +0000 (0:00:00.010) 0:00:00.010 ***** ok: [/cache/fedora-35.qcow2] => { "groups": { "all": [ "/cache/fedora-35.qcow2" ], "localhost": [ "/cache/fedora-35.qcow2" ], "subjects": [ "/cache/fedora-35.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmprpo0h1c6/_setup.yml:6 Wednesday 19 January 2022 20:34:58 +0000 (0:00:00.016) 0:00:00.027 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 Wednesday 19 January 2022 20:34:58 +0000 (0:00:00.018) 0:00:00.045 ***** =============================================================================== fail -------------------------------------------------------------------- 0.02s /tmp/tmprpo0h1c6/_setup.yml:6 ------------------------------------------------- debug ------------------------------------------------------------------- 0.02s /tmp/tmprpo0h1c6/_setup.yml:5 ------------------------------------------------- PLAYBOOK: tests_zone.yml ******************************************************* 1 plays in /tmp/tmprpo0h1c6/tests/tests_zone.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmprpo0h1c6/tests/tests_zone.yml:1 Wednesday 19 January 2022 20:34:58 +0000 (0:00:00.009) 0:00:00.055 ***** ok: [/cache/fedora-35.qcow2] META: ran handlers TASK [include_role : linux-system-roles.firewall] ****************************** task path: /tmp/tmprpo0h1c6/tests/tests_zone.yml:6 Wednesday 19 January 2022 20:34:59 +0000 (0:00:01.030) 0:00:01.086 ***** [DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks instead. This feature will be removed in version 2.16. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. statically imported: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 19 January 2022 20:34:59 +0000 (0:00:00.027) 0:00:01.113 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: ipset-7.15-1.fc35.x86_64", "Installed: iptables-nft-1.8.7-13.fc35.x86_64", "Installed: ipset-libs-7.15-1.fc35.x86_64", "Installed: firewalld-1.0.1-2.fc35.noarch", "Installed: firewalld-filesystem-1.0.1-2.fc35.noarch", "Installed: python3-gobject-base-3.42.0-1.fc35.x86_64", "Installed: python3-nftables-1:1.0.0-1.fc35.x86_64", "Installed: python3-firewall-1.0.1-2.fc35.noarch", "Installed: gobject-introspection-1.70.0-1.fc35.x86_64", "Installed: libcap-ng-python3-0.8.2-8.fc35.x86_64", "Installed: jansson-2.13.1-3.fc35.x86_64", "Installed: libnftnl-1.2.0-2.fc35.x86_64", "Installed: nftables-1:1.0.0-1.fc35.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:7 Wednesday 19 January 2022 20:36:08 +0000 (0:01:09.119) 0:01:10.233 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 19 January 2022 20:36:08 +0000 (0:00:00.025) 0:01:10.258 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 19 January 2022 20:36:10 +0000 (0:00:01.631) 0:01:11.890 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice dbus.socket dbus-broker.service basic.target polkit.service sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service shutdown.target iptables.service ip6tables.service ipset.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7731", "LimitNPROCSoft": "7731", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7731", "LimitSIGPENDINGSoft": "7731", "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": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 19 January 2022 20:36:11 +0000 (0:00:00.959) 0:01:12.849 ***** META: role_complete for /cache/fedora-35.qcow2 TASK [Verify used firewalld zones] ********************************************* task path: /tmp/tmprpo0h1c6/tests/tests_zone.yml:14 Wednesday 19 January 2022 20:36:11 +0000 (0:00:00.022) 0:01:12.871 ***** statically imported: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 19 January 2022 20:36:11 +0000 (0:00:00.044) 0:01:12.916 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:7 Wednesday 19 January 2022 20:36:13 +0000 (0:00:01.699) 0:01:14.615 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 19 January 2022 20:36:13 +0000 (0:00:00.035) 0:01:14.651 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 19 January 2022 20:36:14 +0000 (0:00:01.627) 0:01:16.278 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-01-19 20:36:10 UTC", "ActiveEnterTimestampMonotonic": "82755420", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.socket dbus-broker.service basic.target polkit.service sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-01-19 20:36:10 UTC", "AssertTimestampMonotonic": "82607777", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "276602000", "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": "Wed 2022-01-19 20:36:10 UTC", "ConditionTimestampMonotonic": "82607775", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service shutdown.target iptables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7549", "ExecMainStartTimestamp": "Wed 2022-01-19 20:36:10 UTC", "ExecMainStartTimestampMonotonic": "82609444", "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=[Wed 2022-01-19 20:36:10 UTC] ; stop_time=[n/a] ; pid=7549 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Wed 2022-01-19 20:36:10 UTC] ; stop_time=[n/a] ; pid=7549 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "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": "Wed 2022-01-19 20:36:10 UTC", "InactiveExitTimestampMonotonic": "82609689", "InvocationID": "6b7d3967355143fb900c0435ea5e0015", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7731", "LimitNPROCSoft": "7731", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7731", "LimitSIGPENDINGSoft": "7731", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7549", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "23166976", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-01-19 20:36:10 UTC", "StateChangeTimestampMonotonic": "82755420", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 19 January 2022 20:36:15 +0000 (0:00:00.536) 0:01:16.815 ***** ok: [/cache/fedora-35.qcow2] => (item={'zone': 'internal', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "internal" } } ok: [/cache/fedora-35.qcow2] => (item={'zone': 'external', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "external" } } ok: [/cache/fedora-35.qcow2] => (item={'zone': 'trusted', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "trusted" } } META: role_complete for /cache/fedora-35.qcow2 TASK [Fail on missing zones] *************************************************** task path: /tmp/tmprpo0h1c6/tests/tests_zone.yml:26 Wednesday 19 January 2022 20:36:17 +0000 (0:00:01.651) 0:01:18.467 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld] ********************************************************* task path: /tmp/tmprpo0h1c6/tests/tests_zone.yml:32 Wednesday 19 January 2022 20:36:17 +0000 (0:00:00.032) 0:01:18.499 ***** statically imported: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 19 January 2022 20:36:17 +0000 (0:00:00.045) 0:01:18.544 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:7 Wednesday 19 January 2022 20:36:18 +0000 (0:00:01.561) 0:01:20.106 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 19 January 2022 20:36:18 +0000 (0:00:00.033) 0:01:20.139 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 19 January 2022 20:36:20 +0000 (0:00:01.569) 0:01:21.709 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-01-19 20:36:10 UTC", "ActiveEnterTimestampMonotonic": "82755420", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.socket dbus-broker.service basic.target polkit.service sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-01-19 20:36:10 UTC", "AssertTimestampMonotonic": "82607777", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "512220000", "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": "Wed 2022-01-19 20:36:10 UTC", "ConditionTimestampMonotonic": "82607775", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service shutdown.target iptables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7549", "ExecMainStartTimestamp": "Wed 2022-01-19 20:36:10 UTC", "ExecMainStartTimestampMonotonic": "82609444", "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=[Wed 2022-01-19 20:36:10 UTC] ; stop_time=[n/a] ; pid=7549 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Wed 2022-01-19 20:36:10 UTC] ; stop_time=[n/a] ; pid=7549 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "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": "Wed 2022-01-19 20:36:10 UTC", "InactiveExitTimestampMonotonic": "82609689", "InvocationID": "6b7d3967355143fb900c0435ea5e0015", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7731", "LimitNPROCSoft": "7731", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7731", "LimitSIGPENDINGSoft": "7731", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7549", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "24625152", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-01-19 20:36:10 UTC", "StateChangeTimestampMonotonic": "82755420", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 19 January 2022 20:36:20 +0000 (0:00:00.531) 0:01:22.240 ***** changed: [/cache/fedora-35.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "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" } } META: role_complete for /cache/fedora-35.qcow2 TASK [Fail if no changes are done] ********************************************* task path: /tmp/tmprpo0h1c6/tests/tests_zone.yml:45 Wednesday 19 January 2022 20:36:21 +0000 (0:00:00.565) 0:01:22.806 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld again] *************************************************** task path: /tmp/tmprpo0h1c6/tests/tests_zone.yml:51 Wednesday 19 January 2022 20:36:21 +0000 (0:00:00.032) 0:01:22.838 ***** TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 19 January 2022 20:36:21 +0000 (0:00:00.045) 0:01:22.883 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:7 Wednesday 19 January 2022 20:36:23 +0000 (0:00:01.535) 0:01:24.419 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 19 January 2022 20:36:23 +0000 (0:00:00.035) 0:01:24.455 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 19 January 2022 20:36:24 +0000 (0:00:01.573) 0:01:26.029 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-01-19 20:36:10 UTC", "ActiveEnterTimestampMonotonic": "82755420", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.socket dbus-broker.service basic.target polkit.service sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-01-19 20:36:10 UTC", "AssertTimestampMonotonic": "82607777", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "597879000", "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": "Wed 2022-01-19 20:36:10 UTC", "ConditionTimestampMonotonic": "82607775", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ebtables.service shutdown.target iptables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7549", "ExecMainStartTimestamp": "Wed 2022-01-19 20:36:10 UTC", "ExecMainStartTimestampMonotonic": "82609444", "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=[Wed 2022-01-19 20:36:10 UTC] ; stop_time=[n/a] ; pid=7549 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Wed 2022-01-19 20:36:10 UTC] ; stop_time=[n/a] ; pid=7549 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "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": "Wed 2022-01-19 20:36:10 UTC", "InactiveExitTimestampMonotonic": "82609689", "InvocationID": "6b7d3967355143fb900c0435ea5e0015", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7731", "LimitNPROCSoft": "7731", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7731", "LimitSIGPENDINGSoft": "7731", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7549", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "24649728", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-01-19 20:36:10 UTC", "StateChangeTimestampMonotonic": "82755420", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 19 January 2022 20:36:25 +0000 (0:00:00.520) 0:01:26.550 ***** ok: [/cache/fedora-35.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "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" } } META: role_complete for /cache/fedora-35.qcow2 TASK [Fail on newly changes] *************************************************** task path: /tmp/tmprpo0h1c6/tests/tests_zone.yml:64 Wednesday 19 January 2022 20:36:25 +0000 (0:00:00.532) 0:01:27.082 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify firewalld zone internal services] ********************************* task path: /tmp/tmprpo0h1c6/tests/tests_zone.yml:70 Wednesday 19 January 2022 20:36:25 +0000 (0:00:00.030) 0:01:27.112 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-services" ], "delta": "0:00:00.209398", "end": "2022-01-19 20:36:25.675533", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:36:25.466135" } STDOUT: dhcpv6-client ftp mdns samba-client ssh tftp TASK [Verify firewalld zone internal ports] ************************************ task path: /tmp/tmprpo0h1c6/tests/tests_zone.yml:77 Wednesday 19 January 2022 20:36:26 +0000 (0:00:00.722) 0:01:27.835 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-ports" ], "delta": "0:00:00.214745", "end": "2022-01-19 20:36:26.282437", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:36:26.067692" } STDOUT: 443/tcp 443/udp TASK [Verify firewalld zone internal forward ports] **************************** task path: /tmp/tmprpo0h1c6/tests/tests_zone.yml:84 Wednesday 19 January 2022 20:36:27 +0000 (0:00:00.603) 0:01:28.439 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-forward-ports" ], "delta": "0:00:00.205876", "end": "2022-01-19 20:36:26.872129", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:36:26.666253" } STDOUT: port=447:proto=tcp:toport=:toaddr=1.2.3.4 port=448:proto=tcp:toport=:toaddr=1.2.3.5 TASK [Reset to zone defaults] ************************************************** task path: /tmp/tmprpo0h1c6/tests/tests_zone.yml:97 Wednesday 19 January 2022 20:36:27 +0000 (0:00:00.589) 0:01:29.028 ***** changed: [/cache/fedora-35.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.967275", "end": "2022-01-19 20:36:28.235479", "rc": 0, "start": "2022-01-19 20:36:27.268204" } STDOUT: success success success success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2 : ok=21 changed=7 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 Wednesday 19 January 2022 20:36:29 +0000 (0:00:01.369) 0:01:30.397 ***** =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------ 69.12s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Install firewalld ------------------------- 1.70s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Configure firewall ------------------------ 1.65s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Install python3-firewall ------------------ 1.63s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install python3-firewall ------------------ 1.63s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install python3-firewall ------------------ 1.57s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install firewalld ------------------------- 1.54s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Reset to zone defaults -------------------------------------------------- 1.37s /tmp/tmprpo0h1c6/tests/tests_zone.yml:97 -------------------------------------- Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmprpo0h1c6/tests/tests_zone.yml:1 --------------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.96s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Verify firewalld zone internal services --------------------------------- 0.72s /tmp/tmprpo0h1c6/tests/tests_zone.yml:70 -------------------------------------- Verify firewalld zone internal ports ------------------------------------ 0.60s /tmp/tmprpo0h1c6/tests/tests_zone.yml:77 -------------------------------------- Verify firewalld zone internal forward ports ---------------------------- 0.59s /tmp/tmprpo0h1c6/tests/tests_zone.yml:84 -------------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.54s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Configure firewall ------------------------ 0.53s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Enable and start firewalld service -------- 0.52s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Setup firewalld --------------------------------------------------------- 0.05s /tmp/tmprpo0h1c6/tests/tests_zone.yml:32 -------------------------------------- Setup firewalld again --------------------------------------------------- 0.05s /tmp/tmprpo0h1c6/tests/tests_zone.yml:51 -------------------------------------- Verify used firewalld zones --------------------------------------------- 0.04s /tmp/tmprpo0h1c6/tests/tests_zone.yml:14 -------------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.04s /tmp/tmprpo0h1c6/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:7 + cd /tmp/tmpkfop51qu/tests/firewall; TEST_SUBJECTS=/cache/fedora-35.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_firewall-64-5b978e8-fedora-35-9narco09/artifacts ANSIBLE_COLLECTIONS_PATHS=/tmp/tmpulxamnhf:~/.ansible/collections:/usr/share/ansible/collections ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 --skip-tags=tests::cleanup,tests::nvme /tmp/tmprpo0h1c6/_setup.yml /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml ansible-playbook [core 2.12.1rc1.post0] config file = None configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.8/site-packages/ansible ansible collection location = /tmp/tmpulxamnhf:/home/runner/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible-playbook python version = 3.8.8 (default, Aug 25 2021, 16:13:02) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)] jinja version = 2.10.3 libyaml = True No config file found; using defaults Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _setup.yml *********************************************************** 1 plays in /tmp/tmprpo0h1c6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmprpo0h1c6/_setup.yml:5 Wednesday 19 January 2022 20:36:42 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [/cache/fedora-35.qcow2] => { "groups": { "all": [ "/cache/fedora-35.qcow2" ], "localhost": [ "/cache/fedora-35.qcow2" ], "subjects": [ "/cache/fedora-35.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmprpo0h1c6/_setup.yml:6 Wednesday 19 January 2022 20:36:42 +0000 (0:00:00.017) 0:00:00.028 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 Wednesday 19 January 2022 20:36:42 +0000 (0:00:00.017) 0:00:00.045 ***** =============================================================================== debug ------------------------------------------------------------------- 0.02s /tmp/tmprpo0h1c6/_setup.yml:5 ------------------------------------------------- fail -------------------------------------------------------------------- 0.02s /tmp/tmprpo0h1c6/_setup.yml:6 ------------------------------------------------- [DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks instead. This feature will be removed in version 2.16. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. statically imported: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:1 Wednesday 19 January 2022 20:36:42 +0000 (0:00:00.044) 0:00:00.090 ***** ok: [/cache/fedora-35.qcow2] META: ran handlers TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 19 January 2022 20:36:43 +0000 (0:00:01.033) 0:00:01.124 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: ipset-7.15-1.fc35.x86_64", "Installed: iptables-nft-1.8.7-13.fc35.x86_64", "Installed: ipset-libs-7.15-1.fc35.x86_64", "Installed: firewalld-1.0.1-2.fc35.noarch", "Installed: firewalld-filesystem-1.0.1-2.fc35.noarch", "Installed: python3-gobject-base-3.42.0-1.fc35.x86_64", "Installed: python3-nftables-1:1.0.0-1.fc35.x86_64", "Installed: python3-firewall-1.0.1-2.fc35.noarch", "Installed: gobject-introspection-1.70.0-1.fc35.x86_64", "Installed: libcap-ng-python3-0.8.2-8.fc35.x86_64", "Installed: jansson-2.13.1-3.fc35.x86_64", "Installed: libnftnl-1.2.0-2.fc35.x86_64", "Installed: nftables-1:1.0.0-1.fc35.x86_64" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 19 January 2022 20:37:20 +0000 (0:00:36.696) 0:00:37.820 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:13 Wednesday 19 January 2022 20:37:20 +0000 (0:00:00.021) 0:00:37.842 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Wednesday 19 January 2022 20:37:22 +0000 (0:00:01.689) 0:00:39.532 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target dbus-broker.service polkit.service dbus.socket system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[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": "ip6tables.service nftables.service iptables.service ipset.service shutdown.target 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 }", "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": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7731", "LimitNPROCSoft": "7731", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7731", "LimitSIGPENDINGSoft": "7731", "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": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 19 January 2022 20:37:22 +0000 (0:00:00.931) 0:00:40.463 ***** META: role_complete for /cache/fedora-35.qcow2 TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:14 Wednesday 19 January 2022 20:37:22 +0000 (0:00:00.024) 0:00:40.488 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.224727", "end": "2022-01-19 20:37:23.252762", "failed_when_result": false, "rc": 112, "start": "2022-01-19 20:37:23.028035" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:19 Wednesday 19 January 2022 20:37:23 +0000 (0:00:00.762) 0:00:41.250 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.215503", "end": "2022-01-19 20:37:23.858942", "failed_when_result": false, "rc": 22, "start": "2022-01-19 20:37:23.643439" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:24 Wednesday 19 January 2022 20:37:24 +0000 (0:00:00.596) 0:00:41.847 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.215031", "end": "2022-01-19 20:37:24.448018", "failed_when_result": false, "rc": 22, "start": "2022-01-19 20:37:24.232987" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:29 Wednesday 19 January 2022 20:37:24 +0000 (0:00:00.588) 0:00:42.436 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.226627", "end": "2022-01-19 20:37:25.050279", "failed_when_result": false, "rc": 22, "start": "2022-01-19 20:37:24.823652" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:34 Wednesday 19 January 2022 20:37:25 +0000 (0:00:00.603) 0:00:43.039 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.221737", "end": "2022-01-19 20:37:25.664942", "failed_when_result": false, "rc": 22, "start": "2022-01-19 20:37:25.443205" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:39 Wednesday 19 January 2022 20:37:26 +0000 (0:00:00.613) 0:00:43.652 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.219131", "end": "2022-01-19 20:37:26.265300", "failed_when_result": false, "rc": 22, "start": "2022-01-19 20:37:26.046169" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:44 Wednesday 19 January 2022 20:37:26 +0000 (0:00:00.601) 0:00:44.254 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.427894", "end": "2022-01-19 20:37:27.071971", "failed_when_result": false, "rc": 22, "start": "2022-01-19 20:37:26.644077" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:52 Wednesday 19 January 2022 20:37:27 +0000 (0:00:00.805) 0:00:45.059 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.206210", "end": "2022-01-19 20:37:27.657129", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:37:27.450919" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:57 Wednesday 19 January 2022 20:37:28 +0000 (0:00:00.585) 0:00:45.645 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.327219", "end": "2022-01-19 20:37:28.364819", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:37:28.037600" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:64 Wednesday 19 January 2022 20:37:28 +0000 (0:00:00.708) 0:00:46.353 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:72 Wednesday 19 January 2022 20:37:29 +0000 (0:00:00.640) 0:00:46.993 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:80 Wednesday 19 January 2022 20:37:29 +0000 (0:00:00.501) 0:00:47.495 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:88 Wednesday 19 January 2022 20:37:30 +0000 (0:00:00.494) 0:00:47.990 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:96 Wednesday 19 January 2022 20:37:31 +0000 (0:00:00.516) 0:00:48.506 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:104 Wednesday 19 January 2022 20:37:31 +0000 (0:00:00.507) 0:00:49.014 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:112 Wednesday 19 January 2022 20:37:32 +0000 (0:00:00.497) 0:00:49.512 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:120 Wednesday 19 January 2022 20:37:32 +0000 (0:00:00.501) 0:00:50.014 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:128 Wednesday 19 January 2022 20:37:33 +0000 (0:00:00.496) 0:00:50.510 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:137 Wednesday 19 January 2022 20:37:33 +0000 (0:00:00.496) 0:00:51.007 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:146 Wednesday 19 January 2022 20:37:34 +0000 (0:00:00.508) 0:00:51.515 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:154 Wednesday 19 January 2022 20:37:34 +0000 (0:00:00.498) 0:00:52.013 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:162 Wednesday 19 January 2022 20:37:35 +0000 (0:00:00.493) 0:00:52.507 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:171 Wednesday 19 January 2022 20:37:35 +0000 (0:00:00.512) 0:00:53.019 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:180 Wednesday 19 January 2022 20:37:36 +0000 (0:00:00.489) 0:00:53.509 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:189 Wednesday 19 January 2022 20:37:36 +0000 (0:00:00.500) 0:00:54.009 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:198 Wednesday 19 January 2022 20:37:37 +0000 (0:00:00.510) 0:00:54.520 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:207 Wednesday 19 January 2022 20:37:37 +0000 (0:00:00.496) 0:00:55.016 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:216 Wednesday 19 January 2022 20:37:38 +0000 (0:00:00.494) 0:00:55.510 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:224 Wednesday 19 January 2022 20:37:38 +0000 (0:00:00.493) 0:00:56.004 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:233 Wednesday 19 January 2022 20:37:39 +0000 (0:00:00.503) 0:00:56.508 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:242 Wednesday 19 January 2022 20:37:39 +0000 (0:00:00.497) 0:00:57.005 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:251 Wednesday 19 January 2022 20:37:39 +0000 (0:00:00.495) 0:00:57.500 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:260 Wednesday 19 January 2022 20:37:40 +0000 (0:00:00.530) 0:00:58.031 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:269 Wednesday 19 January 2022 20:37:41 +0000 (0:00:00.495) 0:00:58.527 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:278 Wednesday 19 January 2022 20:37:41 +0000 (0:00:00.508) 0:00:59.035 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:287 Wednesday 19 January 2022 20:37:42 +0000 (0:00:00.512) 0:00:59.547 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:296 Wednesday 19 January 2022 20:37:42 +0000 (0:00:00.515) 0:01:00.063 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:305 Wednesday 19 January 2022 20:37:43 +0000 (0:00:00.498) 0:01:00.562 ***** [DEPRECATION WARNING]: Alias 'immediate' is deprecated. See the module docs for more information. This feature will be removed from ansible.posix in a release after 2021-09-23. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. changed: [/cache/fedora-35.qcow2] => { "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/tmpkfop51qu/tests/firewall/tests_ansible.yml:315 Wednesday 19 January 2022 20:37:43 +0000 (0:00:00.545) 0:01:01.108 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:325 Wednesday 19 January 2022 20:37:44 +0000 (0:00:00.512) 0:01:01.621 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:332 Wednesday 19 January 2022 20:37:44 +0000 (0:00:00.506) 0:01:02.127 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false } MSG: All assertions passed TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:341 Wednesday 19 January 2022 20:37:44 +0000 (0:00:00.023) 0:01:02.151 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.230416", "end": "2022-01-19 20:37:44.770797", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:37:44.540381" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:346 Wednesday 19 January 2022 20:37:45 +0000 (0:00:00.608) 0:01:02.759 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.217828", "end": "2022-01-19 20:37:45.369088", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:37:45.151260" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:351 Wednesday 19 January 2022 20:37:45 +0000 (0:00:00.598) 0:01:03.358 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.231396", "end": "2022-01-19 20:37:45.981284", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:37:45.749888" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:356 Wednesday 19 January 2022 20:37:46 +0000 (0:00:00.615) 0:01:03.974 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.218375", "end": "2022-01-19 20:37:46.574941", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:37:46.356566" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:361 Wednesday 19 January 2022 20:37:47 +0000 (0:00:00.592) 0:01:04.566 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.222168", "end": "2022-01-19 20:37:47.178727", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:37:46.956559" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:366 Wednesday 19 January 2022 20:37:47 +0000 (0:00:00.601) 0:01:05.167 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.210740", "end": "2022-01-19 20:37:47.765882", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:37:47.555142" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:371 Wednesday 19 January 2022 20:37:48 +0000 (0:00:00.588) 0:01:05.756 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.432994", "end": "2022-01-19 20:37:48.585283", "failed_when_result": false, "rc": 22, "start": "2022-01-19 20:37:48.152289" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:379 Wednesday 19 January 2022 20:37:49 +0000 (0:00:00.820) 0:01:06.576 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.297711", "end": "2022-01-19 20:37:49.260170", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:37:48.962459" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2 : ok=54 changed=34 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Wednesday 19 January 2022 20:37:49 +0000 (0:00:00.679) 0:01:07.255 ***** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ----------------- 36.70s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.69s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:13 Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:1 --------------------------- fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.93s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Reset default zone to defaults ------------------------------------------ 0.82s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:371 ------------------------- Reset default zone to defaults ------------------------------------------ 0.81s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:44 -------------------------- Remove custom zone ------------------------------------------------------ 0.76s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:14 -------------------------- Reload firewalld -------------------------------------------------------- 0.71s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:57 -------------------------- Reload firewalld -------------------------------------------------------- 0.68s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:379 ------------------------- Permit traffic in default zone for https service ------------------------ 0.64s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:64 -------------------------- Reset trusted zone to defaults ------------------------------------------ 0.62s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:351 ------------------------- Reset drop zone to defaults --------------------------------------------- 0.61s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:34 -------------------------- Remove custom zone ------------------------------------------------------ 0.61s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:341 ------------------------- Reset dmz zone to defaults ---------------------------------------------- 0.60s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:29 -------------------------- Reset public zone to defaults ------------------------------------------- 0.60s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:39 -------------------------- Reset drop zone to defaults --------------------------------------------- 0.60s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:361 ------------------------- Reset internal zone to defaults ----------------------------------------- 0.60s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:346 ------------------------- Reset internal zone to defaults ----------------------------------------- 0.60s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:19 -------------------------- Reset dmz zone to defaults ---------------------------------------------- 0.59s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:356 ------------------------- Reset trusted zone to defaults ------------------------------------------ 0.59s /tmp/tmpkfop51qu/tests/firewall/tests_ansible.yml:24 -------------------------- + cd /tmp/tmpkfop51qu/tests/firewall; TEST_SUBJECTS=/cache/fedora-35.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_firewall-64-5b978e8-fedora-35-9narco09/artifacts ANSIBLE_COLLECTIONS_PATHS=/tmp/tmpulxamnhf:~/.ansible/collections:/usr/share/ansible/collections ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 --skip-tags=tests::cleanup,tests::nvme /tmp/tmprpo0h1c6/_setup.yml /tmp/tmpkfop51qu/tests/firewall/tests_default.yml ansible-playbook [core 2.12.1rc1.post0] config file = None configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.8/site-packages/ansible ansible collection location = /tmp/tmpulxamnhf:/home/runner/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible-playbook python version = 3.8.8 (default, Aug 25 2021, 16:13:02) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)] jinja version = 2.10.3 libyaml = True No config file found; using defaults Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _setup.yml *********************************************************** 1 plays in /tmp/tmprpo0h1c6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmprpo0h1c6/_setup.yml:5 Wednesday 19 January 2022 20:38:03 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [/cache/fedora-35.qcow2] => { "groups": { "all": [ "/cache/fedora-35.qcow2" ], "localhost": [ "/cache/fedora-35.qcow2" ], "subjects": [ "/cache/fedora-35.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmprpo0h1c6/_setup.yml:6 Wednesday 19 January 2022 20:38:03 +0000 (0:00:00.017) 0:00:00.028 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 Wednesday 19 January 2022 20:38:03 +0000 (0:00:00.017) 0:00:00.046 ***** =============================================================================== fail -------------------------------------------------------------------- 0.02s /tmp/tmprpo0h1c6/_setup.yml:6 ------------------------------------------------- debug ------------------------------------------------------------------- 0.02s /tmp/tmprpo0h1c6/_setup.yml:5 ------------------------------------------------- [DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks instead. This feature will be removed in version 2.16. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. statically imported: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpkfop51qu/tests/firewall/tests_default.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_default.yml:1 Wednesday 19 January 2022 20:38:03 +0000 (0:00:00.016) 0:00:00.063 ***** ok: [/cache/fedora-35.qcow2] META: ran handlers TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 19 January 2022 20:38:04 +0000 (0:00:01.025) 0:00:01.088 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: ipset-7.15-1.fc35.x86_64", "Installed: iptables-nft-1.8.7-13.fc35.x86_64", "Installed: ipset-libs-7.15-1.fc35.x86_64", "Installed: firewalld-1.0.1-2.fc35.noarch", "Installed: firewalld-filesystem-1.0.1-2.fc35.noarch", "Installed: python3-gobject-base-3.42.0-1.fc35.x86_64", "Installed: python3-nftables-1:1.0.0-1.fc35.x86_64", "Installed: python3-firewall-1.0.1-2.fc35.noarch", "Installed: gobject-introspection-1.70.0-1.fc35.x86_64", "Installed: libcap-ng-python3-0.8.2-8.fc35.x86_64", "Installed: jansson-2.13.1-3.fc35.x86_64", "Installed: libnftnl-1.2.0-2.fc35.x86_64", "Installed: nftables-1:1.0.0-1.fc35.x86_64" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 19 January 2022 20:39:03 +0000 (0:00:59.491) 0:01:00.579 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:13 Wednesday 19 January 2022 20:39:03 +0000 (0:00:00.025) 0:01:00.605 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Wednesday 19 January 2022 20:39:05 +0000 (0:00:01.672) 0:01:02.278 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus-broker.service polkit.service dbus.socket sysinit.target basic.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[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": "ebtables.service iptables.service ipset.service nftables.service ip6tables.service shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7731", "LimitNPROCSoft": "7731", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7731", "LimitSIGPENDINGSoft": "7731", "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": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 19 January 2022 20:39:06 +0000 (0:00:00.912) 0:01:03.190 ***** META: role_complete for /cache/fedora-35.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2 : ok=5 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Wednesday 19 January 2022 20:39:06 +0000 (0:00:00.026) 0:01:03.217 ***** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ----------------- 59.49s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.67s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:13 Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpkfop51qu/tests/firewall/tests_default.yml:1 --------------------------- fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.91s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.03s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Install python-firewall ------------ 0.03s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fail -------------------------------------------------------------------- 0.02s /tmp/tmprpo0h1c6/_setup.yml:6 ------------------------------------------------- debug ------------------------------------------------------------------- 0.02s /tmp/tmprpo0h1c6/_setup.yml:5 ------------------------------------------------- + cd /tmp/tmpkfop51qu/tests/firewall; TEST_SUBJECTS=/cache/fedora-35.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_firewall-64-5b978e8-fedora-35-9narco09/artifacts ANSIBLE_COLLECTIONS_PATHS=/tmp/tmpulxamnhf:~/.ansible/collections:/usr/share/ansible/collections ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 --skip-tags=tests::cleanup,tests::nvme /tmp/tmprpo0h1c6/_setup.yml /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml ansible-playbook [core 2.12.1rc1.post0] config file = None configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.8/site-packages/ansible ansible collection location = /tmp/tmpulxamnhf:/home/runner/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible-playbook python version = 3.8.8 (default, Aug 25 2021, 16:13:02) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)] jinja version = 2.10.3 libyaml = True No config file found; using defaults Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _setup.yml *********************************************************** 1 plays in /tmp/tmprpo0h1c6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmprpo0h1c6/_setup.yml:5 Wednesday 19 January 2022 20:39:19 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [/cache/fedora-35.qcow2] => { "groups": { "all": [ "/cache/fedora-35.qcow2" ], "localhost": [ "/cache/fedora-35.qcow2" ], "subjects": [ "/cache/fedora-35.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmprpo0h1c6/_setup.yml:6 Wednesday 19 January 2022 20:39:19 +0000 (0:00:00.017) 0:00:00.028 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 Wednesday 19 January 2022 20:39:19 +0000 (0:00:00.017) 0:00:00.045 ***** =============================================================================== debug ------------------------------------------------------------------- 0.02s /tmp/tmprpo0h1c6/_setup.yml:5 ------------------------------------------------- fail -------------------------------------------------------------------- 0.02s /tmp/tmprpo0h1c6/_setup.yml:6 ------------------------------------------------- PLAYBOOK: tests_zone.yml ******************************************************* 1 plays in /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:1 Wednesday 19 January 2022 20:39:19 +0000 (0:00:00.010) 0:00:00.056 ***** ok: [/cache/fedora-35.qcow2] META: ran handlers TASK [include_role : fedora.linux_system_roles.firewall] *********************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:6 Wednesday 19 January 2022 20:39:20 +0000 (0:00:01.015) 0:00:01.071 ***** [DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks instead. This feature will be removed in version 2.16. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. statically imported: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 19 January 2022 20:39:20 +0000 (0:00:00.028) 0:00:01.099 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: ipset-7.15-1.fc35.x86_64", "Installed: iptables-nft-1.8.7-13.fc35.x86_64", "Installed: ipset-libs-7.15-1.fc35.x86_64", "Installed: firewalld-1.0.1-2.fc35.noarch", "Installed: firewalld-filesystem-1.0.1-2.fc35.noarch", "Installed: python3-gobject-base-3.42.0-1.fc35.x86_64", "Installed: python3-nftables-1:1.0.0-1.fc35.x86_64", "Installed: python3-firewall-1.0.1-2.fc35.noarch", "Installed: gobject-introspection-1.70.0-1.fc35.x86_64", "Installed: libcap-ng-python3-0.8.2-8.fc35.x86_64", "Installed: jansson-2.13.1-3.fc35.x86_64", "Installed: libnftnl-1.2.0-2.fc35.x86_64", "Installed: nftables-1:1.0.0-1.fc35.x86_64" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 19 January 2022 20:40:00 +0000 (0:00:40.169) 0:00:41.269 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:13 Wednesday 19 January 2022 20:40:00 +0000 (0:00:00.020) 0:00:41.290 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Wednesday 19 January 2022 20:40:02 +0000 (0:00:01.695) 0:00:42.985 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target dbus.socket dbus-broker.service sysinit.target polkit.service system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[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 nftables.service ip6tables.service ebtables.service ipset.service iptables.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7731", "LimitNPROCSoft": "7731", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7731", "LimitSIGPENDINGSoft": "7731", "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 sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 19 January 2022 20:40:03 +0000 (0:00:00.920) 0:00:43.906 ***** META: role_complete for /cache/fedora-35.qcow2 TASK [Verify used firewalld zones] ********************************************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:14 Wednesday 19 January 2022 20:40:03 +0000 (0:00:00.021) 0:00:43.928 ***** statically imported: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 19 January 2022 20:40:03 +0000 (0:00:00.046) 0:00:43.974 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 19 January 2022 20:40:04 +0000 (0:00:01.611) 0:00:45.586 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:13 Wednesday 19 January 2022 20:40:05 +0000 (0:00:00.041) 0:00:45.627 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Wednesday 19 January 2022 20:40:06 +0000 (0:00:01.589) 0:00:47.217 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-01-19 20:40:02 UTC", "ActiveEnterTimestampMonotonic": "53718379", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.socket dbus-broker.service sysinit.target polkit.service system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-01-19 20:40:02 UTC", "AssertTimestampMonotonic": "53584298", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "262909000", "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": "Wed 2022-01-19 20:40:02 UTC", "ConditionTimestampMonotonic": "53584290", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target nftables.service ip6tables.service ebtables.service ipset.service iptables.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": "7550", "ExecMainStartTimestamp": "Wed 2022-01-19 20:40:02 UTC", "ExecMainStartTimestampMonotonic": "53585873", "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=[Wed 2022-01-19 20:40:02 UTC] ; stop_time=[n/a] ; pid=7550 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Wed 2022-01-19 20:40:02 UTC] ; stop_time=[n/a] ; pid=7550 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "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": "Wed 2022-01-19 20:40:02 UTC", "InactiveExitTimestampMonotonic": "53586125", "InvocationID": "126a58a5824b4ed881e84fd2769c475f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7731", "LimitNPROCSoft": "7731", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7731", "LimitSIGPENDINGSoft": "7731", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7550", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "23166976", "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 sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-01-19 20:40:02 UTC", "StateChangeTimestampMonotonic": "53718379", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 19 January 2022 20:40:07 +0000 (0:00:00.526) 0:00:47.744 ***** ok: [/cache/fedora-35.qcow2] => (item={'zone': 'internal', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "internal" } } ok: [/cache/fedora-35.qcow2] => (item={'zone': 'external', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "external" } } ok: [/cache/fedora-35.qcow2] => (item={'zone': 'trusted', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "trusted" } } META: role_complete for /cache/fedora-35.qcow2 TASK [Fail on missing zones] *************************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:26 Wednesday 19 January 2022 20:40:08 +0000 (0:00:01.661) 0:00:49.405 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld] ********************************************************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:32 Wednesday 19 January 2022 20:40:08 +0000 (0:00:00.032) 0:00:49.437 ***** statically imported: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 19 January 2022 20:40:08 +0000 (0:00:00.045) 0:00:49.482 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 19 January 2022 20:40:10 +0000 (0:00:01.568) 0:00:51.051 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:13 Wednesday 19 January 2022 20:40:10 +0000 (0:00:00.035) 0:00:51.086 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Wednesday 19 January 2022 20:40:12 +0000 (0:00:01.567) 0:00:52.654 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-01-19 20:40:02 UTC", "ActiveEnterTimestampMonotonic": "53718379", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.socket dbus-broker.service sysinit.target polkit.service system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-01-19 20:40:02 UTC", "AssertTimestampMonotonic": "53584298", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "496909000", "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": "Wed 2022-01-19 20:40:02 UTC", "ConditionTimestampMonotonic": "53584290", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target nftables.service ip6tables.service ebtables.service ipset.service iptables.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": "7550", "ExecMainStartTimestamp": "Wed 2022-01-19 20:40:02 UTC", "ExecMainStartTimestampMonotonic": "53585873", "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=[Wed 2022-01-19 20:40:02 UTC] ; stop_time=[n/a] ; pid=7550 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Wed 2022-01-19 20:40:02 UTC] ; stop_time=[n/a] ; pid=7550 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "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": "Wed 2022-01-19 20:40:02 UTC", "InactiveExitTimestampMonotonic": "53586125", "InvocationID": "126a58a5824b4ed881e84fd2769c475f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7731", "LimitNPROCSoft": "7731", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7731", "LimitSIGPENDINGSoft": "7731", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7550", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "24625152", "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 sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-01-19 20:40:02 UTC", "StateChangeTimestampMonotonic": "53718379", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 19 January 2022 20:40:12 +0000 (0:00:00.530) 0:00:53.184 ***** changed: [/cache/fedora-35.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "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" } } META: role_complete for /cache/fedora-35.qcow2 TASK [Fail if no changes are done] ********************************************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:44 Wednesday 19 January 2022 20:40:13 +0000 (0:00:00.547) 0:00:53.732 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld again] *************************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:50 Wednesday 19 January 2022 20:40:13 +0000 (0:00:00.067) 0:00:53.800 ***** TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 19 January 2022 20:40:13 +0000 (0:00:00.045) 0:00:53.845 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 19 January 2022 20:40:14 +0000 (0:00:01.531) 0:00:55.377 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:13 Wednesday 19 January 2022 20:40:14 +0000 (0:00:00.035) 0:00:55.413 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Wednesday 19 January 2022 20:40:16 +0000 (0:00:01.531) 0:00:56.944 ***** ok: [/cache/fedora-35.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-01-19 20:40:02 UTC", "ActiveEnterTimestampMonotonic": "53718379", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.socket dbus-broker.service sysinit.target polkit.service system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-01-19 20:40:02 UTC", "AssertTimestampMonotonic": "53584298", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "582900000", "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": "Wed 2022-01-19 20:40:02 UTC", "ConditionTimestampMonotonic": "53584290", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target nftables.service ip6tables.service ebtables.service ipset.service iptables.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": "7550", "ExecMainStartTimestamp": "Wed 2022-01-19 20:40:02 UTC", "ExecMainStartTimestampMonotonic": "53585873", "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=[Wed 2022-01-19 20:40:02 UTC] ; stop_time=[n/a] ; pid=7550 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[Wed 2022-01-19 20:40:02 UTC] ; stop_time=[n/a] ; pid=7550 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "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": "Wed 2022-01-19 20:40:02 UTC", "InactiveExitTimestampMonotonic": "53586125", "InvocationID": "126a58a5824b4ed881e84fd2769c475f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7731", "LimitNPROCSoft": "7731", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7731", "LimitSIGPENDINGSoft": "7731", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7550", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "24633344", "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 sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-01-19 20:40:02 UTC", "StateChangeTimestampMonotonic": "53718379", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 19 January 2022 20:40:16 +0000 (0:00:00.516) 0:00:57.461 ***** ok: [/cache/fedora-35.qcow2] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "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" } } META: role_complete for /cache/fedora-35.qcow2 TASK [Fail on newly changes] *************************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:62 Wednesday 19 January 2022 20:40:17 +0000 (0:00:00.544) 0:00:58.005 ***** skipping: [/cache/fedora-35.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify firewalld zone internal services] ********************************* task path: /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:68 Wednesday 19 January 2022 20:40:17 +0000 (0:00:00.032) 0:00:58.038 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-services" ], "delta": "0:00:00.203908", "end": "2022-01-19 20:40:17.507643", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:40:17.303735" } STDOUT: dhcpv6-client ftp mdns samba-client ssh tftp TASK [Verify firewalld zone internal ports] ************************************ task path: /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:73 Wednesday 19 January 2022 20:40:18 +0000 (0:00:00.715) 0:00:58.753 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-ports" ], "delta": "0:00:00.232473", "end": "2022-01-19 20:40:18.135444", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:40:17.902971" } STDOUT: 443/tcp 443/udp TASK [Verify firewalld zone internal forward ports] **************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:78 Wednesday 19 January 2022 20:40:18 +0000 (0:00:00.635) 0:00:59.389 ***** changed: [/cache/fedora-35.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-forward-ports" ], "delta": "0:00:00.262669", "end": "2022-01-19 20:40:18.812297", "failed_when_result": false, "rc": 0, "start": "2022-01-19 20:40:18.549628" } STDOUT: port=447:proto=tcp:toport=:toaddr=1.2.3.4 port=448:proto=tcp:toport=:toaddr=1.2.3.5 TASK [Reset to zone defaults] ************************************************** task path: /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:87 Wednesday 19 January 2022 20:40:19 +0000 (0:00:00.679) 0:01:00.069 ***** changed: [/cache/fedora-35.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.983345", "end": "2022-01-19 20:40:20.210591", "rc": 0, "start": "2022-01-19 20:40:19.227246" } STDOUT: success success success success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2 : ok=21 changed=7 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 Wednesday 19 January 2022 20:40:20 +0000 (0:00:01.392) 0:01:01.462 ***** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ----------------- 40.17s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.70s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:13 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.66s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.61s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.59s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:13 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.53s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.53s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:13 Reset to zone defaults -------------------------------------------------- 1.39s /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:87 ----------------------------- Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:1 ------------------------------ fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.92s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Verify firewalld zone internal services --------------------------------- 0.72s /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:68 ----------------------------- Verify firewalld zone internal forward ports ---------------------------- 0.68s /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:78 ----------------------------- Verify firewalld zone internal ports ------------------------------------ 0.64s /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:73 ----------------------------- fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.54s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.53s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.52s /tmp/tmpulxamnhf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Fail if no changes are done --------------------------------------------- 0.07s /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:44 ----------------------------- Verify used firewalld zones --------------------------------------------- 0.05s /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:14 ----------------------------- Setup firewalld again --------------------------------------------------- 0.05s /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:50 ----------------------------- Setup firewalld --------------------------------------------------------- 0.05s /tmp/tmpkfop51qu/tests/firewall/tests_zone.yml:32 -----------------------------