# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_forward_port.yml *********************************************** 1 plays in /WORKDIR/git-use-cs9-container51wpnohp/tests/tests_forward_port.yml PLAY [Test forward port] ******************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/tests_forward_port.yml:2 Friday 14 June 2024 11:46:57 +0000 (0:00:00.013) 0:00:00.013 *********** ok: [sut] META: ran handlers TASK [Clean slate] ************************************************************* task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/tests_forward_port.yml:7 Friday 14 June 2024 11:46:57 +0000 (0:00:00.575) 0:00:00.588 *********** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Friday 14 June 2024 11:46:57 +0000 (0:00:00.029) 0:00:00.618 *********** included: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 14 June 2024 11:46:57 +0000 (0:00:00.013) 0:00:00.631 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Friday 14 June 2024 11:46:57 +0000 (0:00:00.018) 0:00:00.650 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Friday 14 June 2024 11:46:58 +0000 (0:00:00.204) 0:00:00.855 *********** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Friday 14 June 2024 11:46:58 +0000 (0:00:00.021) 0:00:00.876 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Friday 14 June 2024 11:46:58 +0000 (0:00:00.465) 0:00:01.342 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 14 June 2024 11:46:58 +0000 (0:00:00.019) 0:00:01.361 *********** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Friday 14 June 2024 11:46:58 +0000 (0:00:00.023) 0:00:01.385 *********** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-06-14 11:46:43 UTC", "ActiveEnterTimestampMonotonic": "1204249318", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-06-14 11:46:42 UTC", "AssertTimestampMonotonic": "1203667798", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-06-14 11:46:42 UTC", "ConditionTimestampMonotonic": "1203667797", "Conflicts": "shutdown.target iptables.service ipset.service ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11845", "ExecMainStartTimestamp": "Fri 2024-06-14 11:46:42 UTC", "ExecMainStartTimestampMonotonic": "1203671040", "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 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2024-06-14 11:46:42 UTC] ; stop_time=[n/a] ; pid=11845 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-06-14 11:46:42 UTC", "InactiveExitTimestampMonotonic": "1203671104", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11845", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-06-14 11:46:43 UTC", "WatchdogTimestampMonotonic": "1204249263", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Friday 14 June 2024 11:46:58 +0000 (0:00:00.323) 0:00:01.709 *********** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-06-14 11:46:43 UTC", "ActiveEnterTimestampMonotonic": "1204249318", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-06-14 11:46:42 UTC", "AssertTimestampMonotonic": "1203667798", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-06-14 11:46:42 UTC", "ConditionTimestampMonotonic": "1203667797", "Conflicts": "shutdown.target iptables.service ipset.service ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11845", "ExecMainStartTimestamp": "Fri 2024-06-14 11:46:42 UTC", "ExecMainStartTimestampMonotonic": "1203671040", "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 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2024-06-14 11:46:42 UTC] ; stop_time=[n/a] ; pid=11845 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-06-14 11:46:42 UTC", "InactiveExitTimestampMonotonic": "1203671104", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11845", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-06-14 11:46:43 UTC", "WatchdogTimestampMonotonic": "1204249263", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Friday 14 June 2024 11:46:59 +0000 (0:00:00.197) 0:00:01.906 *********** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Friday 14 June 2024 11:46:59 +0000 (0:00:00.022) 0:00:01.928 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Friday 14 June 2024 11:46:59 +0000 (0:00:00.017) 0:00:01.946 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 14 June 2024 11:46:59 +0000 (0:00:00.017) 0:00:01.963 *********** TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Friday 14 June 2024 11:46:59 +0000 (0:00:00.017) 0:00:01.981 *********** TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Friday 14 June 2024 11:46:59 +0000 (0:00:00.018) 0:00:01.999 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Friday 14 June 2024 11:46:59 +0000 (0:00:00.019) 0:00:02.018 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Friday 14 June 2024 11:46:59 +0000 (0:00:00.017) 0:00:02.036 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Friday 14 June 2024 11:46:59 +0000 (0:00:00.017) 0:00:02.053 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Friday 14 June 2024 11:46:59 +0000 (0:00:00.016) 0:00:02.069 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Friday 14 June 2024 11:46:59 +0000 (0:00:00.016) 0:00:02.085 *********** skipping: [sut] => {} TASK [Test forward_port and undo (string)] ************************************* task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/tests_forward_port.yml:16 Friday 14 June 2024 11:46:59 +0000 (0:00:00.017) 0:00:02.102 *********** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Friday 14 June 2024 11:46:59 +0000 (0:00:00.021) 0:00:02.124 *********** included: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 14 June 2024 11:46:59 +0000 (0:00:00.010) 0:00:02.135 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Friday 14 June 2024 11:46:59 +0000 (0:00:00.018) 0:00:02.153 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Friday 14 June 2024 11:46:59 +0000 (0:00:00.017) 0:00:02.171 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Friday 14 June 2024 11:46:59 +0000 (0:00:00.016) 0:00:02.188 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Friday 14 June 2024 11:46:59 +0000 (0:00:00.381) 0:00:02.569 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 14 June 2024 11:46:59 +0000 (0:00:00.020) 0:00:02.590 *********** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Friday 14 June 2024 11:46:59 +0000 (0:00:00.031) 0:00:02.622 *********** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-06-14 11:46:43 UTC", "ActiveEnterTimestampMonotonic": "1204249318", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-06-14 11:46:42 UTC", "AssertTimestampMonotonic": "1203667798", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-06-14 11:46:42 UTC", "ConditionTimestampMonotonic": "1203667797", "Conflicts": "shutdown.target iptables.service ipset.service ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11845", "ExecMainStartTimestamp": "Fri 2024-06-14 11:46:42 UTC", "ExecMainStartTimestampMonotonic": "1203671040", "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 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2024-06-14 11:46:42 UTC] ; stop_time=[n/a] ; pid=11845 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-06-14 11:46:42 UTC", "InactiveExitTimestampMonotonic": "1203671104", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11845", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-06-14 11:46:43 UTC", "WatchdogTimestampMonotonic": "1204249263", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Friday 14 June 2024 11:47:00 +0000 (0:00:00.205) 0:00:02.827 *********** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-06-14 11:46:43 UTC", "ActiveEnterTimestampMonotonic": "1204249318", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-06-14 11:46:42 UTC", "AssertTimestampMonotonic": "1203667798", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-06-14 11:46:42 UTC", "ConditionTimestampMonotonic": "1203667797", "Conflicts": "shutdown.target iptables.service ipset.service ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11845", "ExecMainStartTimestamp": "Fri 2024-06-14 11:46:42 UTC", "ExecMainStartTimestampMonotonic": "1203671040", "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 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2024-06-14 11:46:42 UTC] ; stop_time=[n/a] ; pid=11845 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-06-14 11:46:42 UTC", "InactiveExitTimestampMonotonic": "1203671104", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11845", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-06-14 11:46:43 UTC", "WatchdogTimestampMonotonic": "1204249263", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Friday 14 June 2024 11:47:00 +0000 (0:00:00.202) 0:00:03.029 *********** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Friday 14 June 2024 11:47:00 +0000 (0:00:00.019) 0:00:03.049 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Friday 14 June 2024 11:47:00 +0000 (0:00:00.017) 0:00:03.067 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 14 June 2024 11:47:00 +0000 (0:00:00.017) 0:00:03.084 *********** changed: [sut] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "enabled" } } changed: [sut] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'disabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "disabled" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Friday 14 June 2024 11:47:01 +0000 (0:00:00.877) 0:00:03.962 *********** skipping: [sut] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'disabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "disabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Friday 14 June 2024 11:47:01 +0000 (0:00:00.046) 0:00:04.008 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Friday 14 June 2024 11:47:01 +0000 (0:00:00.020) 0:00:04.029 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Friday 14 June 2024 11:47:01 +0000 (0:00:00.024) 0:00:04.054 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Friday 14 June 2024 11:47:01 +0000 (0:00:00.018) 0:00:04.072 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Friday 14 June 2024 11:47:01 +0000 (0:00:00.021) 0:00:04.094 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Friday 14 June 2024 11:47:01 +0000 (0:00:00.025) 0:00:04.119 *********** skipping: [sut] => {} TASK [Test forward_port (dict) and undo] *************************************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/tests_forward_port.yml:26 Friday 14 June 2024 11:47:01 +0000 (0:00:00.025) 0:00:04.144 *********** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Friday 14 June 2024 11:47:01 +0000 (0:00:00.044) 0:00:04.188 *********** included: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 14 June 2024 11:47:01 +0000 (0:00:00.012) 0:00:04.201 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Friday 14 June 2024 11:47:01 +0000 (0:00:00.019) 0:00:04.221 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Friday 14 June 2024 11:47:01 +0000 (0:00:00.017) 0:00:04.238 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Friday 14 June 2024 11:47:01 +0000 (0:00:00.020) 0:00:04.259 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Friday 14 June 2024 11:47:01 +0000 (0:00:00.379) 0:00:04.638 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 14 June 2024 11:47:01 +0000 (0:00:00.020) 0:00:04.658 *********** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Unmask firewalld service] ****************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Friday 14 June 2024 11:47:01 +0000 (0:00:00.025) 0:00:04.683 *********** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-06-14 11:46:43 UTC", "ActiveEnterTimestampMonotonic": "1204249318", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-06-14 11:46:42 UTC", "AssertTimestampMonotonic": "1203667798", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-06-14 11:46:42 UTC", "ConditionTimestampMonotonic": "1203667797", "Conflicts": "shutdown.target iptables.service ipset.service ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11845", "ExecMainStartTimestamp": "Fri 2024-06-14 11:46:42 UTC", "ExecMainStartTimestampMonotonic": "1203671040", "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 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2024-06-14 11:46:42 UTC] ; stop_time=[n/a] ; pid=11845 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-06-14 11:46:42 UTC", "InactiveExitTimestampMonotonic": "1203671104", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11845", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-06-14 11:46:43 UTC", "WatchdogTimestampMonotonic": "1204249263", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Friday 14 June 2024 11:47:02 +0000 (0:00:00.203) 0:00:04.887 *********** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-06-14 11:46:43 UTC", "ActiveEnterTimestampMonotonic": "1204249318", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-06-14 11:46:42 UTC", "AssertTimestampMonotonic": "1203667798", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-06-14 11:46:42 UTC", "ConditionTimestampMonotonic": "1203667797", "Conflicts": "shutdown.target iptables.service ipset.service ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11845", "ExecMainStartTimestamp": "Fri 2024-06-14 11:46:42 UTC", "ExecMainStartTimestampMonotonic": "1203671040", "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 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2024-06-14 11:46:42 UTC] ; stop_time=[n/a] ; pid=11845 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-06-14 11:46:42 UTC", "InactiveExitTimestampMonotonic": "1203671104", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11845", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-06-14 11:46:43 UTC", "WatchdogTimestampMonotonic": "1204249263", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Friday 14 June 2024 11:47:02 +0000 (0:00:00.203) 0:00:05.090 *********** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Friday 14 June 2024 11:47:02 +0000 (0:00:00.026) 0:00:05.116 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Friday 14 June 2024 11:47:02 +0000 (0:00:00.017) 0:00:05.134 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 14 June 2024 11:47:02 +0000 (0:00:00.017) 0:00:05.151 *********** changed: [sut] => (item={'forward_port': {'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}, 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 }, "state": "enabled" } } changed: [sut] => (item={'forward_port': [{'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}], 'state': 'disabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 } ], "state": "disabled" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Friday 14 June 2024 11:47:03 +0000 (0:00:00.792) 0:00:05.944 *********** skipping: [sut] => (item={'forward_port': {'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}, 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 }, "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'forward_port': [{'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}], 'state': 'disabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 } ], "state": "disabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Friday 14 June 2024 11:47:03 +0000 (0:00:00.028) 0:00:05.972 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Friday 14 June 2024 11:47:03 +0000 (0:00:00.018) 0:00:05.991 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Friday 14 June 2024 11:47:03 +0000 (0:00:00.017) 0:00:06.008 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Friday 14 June 2024 11:47:03 +0000 (0:00:00.017) 0:00:06.025 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Friday 14 June 2024 11:47:03 +0000 (0:00:00.018) 0:00:06.043 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Friday 14 June 2024 11:47:03 +0000 (0:00:00.019) 0:00:06.063 *********** skipping: [sut] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=20 changed=2 unreachable=0 failed=0 skipped=41 rescued=0 ignored=0 Friday 14 June 2024 11:47:03 +0000 (0:00:00.028) 0:00:06.091 *********** =============================================================================== linux-system-roles.firewall : Configure firewall ------------------------ 0.88s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 linux-system-roles.firewall : Configure firewall ------------------------ 0.79s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Gathering Facts --------------------------------------------------------- 0.58s /WORKDIR/git-use-cs9-container51wpnohp/tests/tests_forward_port.yml:2 --------- linux-system-roles.firewall : Install firewalld ------------------------- 0.47s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 linux-system-roles.firewall : Install firewalld ------------------------- 0.38s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 linux-system-roles.firewall : Install firewalld ------------------------- 0.38s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 linux-system-roles.firewall : Unmask firewalld service ------------------ 0.32s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 linux-system-roles.firewall : Unmask firewalld service ------------------ 0.21s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 linux-system-roles.firewall : Check if system is ostree ----------------- 0.21s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 linux-system-roles.firewall : Unmask firewalld service ------------------ 0.20s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 linux-system-roles.firewall : Enable and start firewalld service -------- 0.20s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 linux-system-roles.firewall : Enable and start firewalld service -------- 0.20s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 linux-system-roles.firewall : Enable and start firewalld service -------- 0.20s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 linux-system-roles.firewall : Gather firewall config information -------- 0.05s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Test forward_port (dict) and undo --------------------------------------- 0.04s /WORKDIR/git-use-cs9-container51wpnohp/tests/tests_forward_port.yml:26 -------- linux-system-roles.firewall : Attempt to stop and disable conflicting services --- 0.03s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Clean slate ------------------------------------------------------------- 0.03s /WORKDIR/git-use-cs9-container51wpnohp/tests/tests_forward_port.yml:7 --------- linux-system-roles.firewall : Show diffs -------------------------------- 0.03s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 linux-system-roles.firewall : Gather firewall config information -------- 0.03s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 linux-system-roles.firewall : Check if previous replaced is defined ----- 0.03s /WORKDIR/git-use-cs9-container51wpnohp/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---