# 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_ipsets.yml ***************************************************** 1 plays in /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml PLAY [Test firewall user defined ipsets] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:2 Saturday 03 August 2024 05:39:10 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [Start from clean slate] ************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:11 Saturday 03 August 2024 05:39:10 +0000 (0:00:00.584) 0:00:00.598 ******* TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 03 August 2024 05:39:10 +0000 (0:00:00.034) 0:00:00.633 ******* included: /WORKDIR/git-weekly-ciu9bqsj6s/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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 05:39:10 +0000 (0:00:00.015) 0:00:00.648 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 03 August 2024 05:39:10 +0000 (0:00:00.021) 0:00:00.670 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 03 August 2024 05:39:11 +0000 (0:00:00.230) 0:00:00.901 ******* ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [linux-system-roles.firewall : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 03 August 2024 05:39:11 +0000 (0:00:00.022) 0:00:00.924 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.firewall : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 03 August 2024 05:39:11 +0000 (0:00:00.134) 0:00:01.058 ******* ok: [sut] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 03 August 2024 05:39:11 +0000 (0:00:00.030) 0:00:01.089 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 03 August 2024 05:39:11 +0000 (0:00:00.547) 0:00:01.636 ******* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 03 August 2024 05:39:11 +0000 (0:00:00.020) 0:00:01.657 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Fail if reboot is needed and not set] ****** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 03 August 2024 05:39:11 +0000 (0:00:00.019) 0:00:01.677 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 03 August 2024 05:39:12 +0000 (0:00:00.019) 0:00:01.696 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 03 August 2024 05:39:12 +0000 (0:00:00.020) 0:00:01.716 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 03 August 2024 05:39:12 +0000 (0:00:00.035) 0:00:01.752 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 03 August 2024 05:39:12 +0000 (0:00:00.363) 0:00:02.115 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 03 August 2024 05:39:12 +0000 (0:00:00.204) 0:00:02.320 ******* ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 03 August 2024 05:39:12 +0000 (0:00:00.022) 0:00:02.343 ******* ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 490e604682bd0e5e6459d3d88f87ebacadb454f72a1f45802424bfc1d0310893 /etc/firewalld/services/customservice.xml 8697e89439a0fde2df034ef3bfeb3a9558529194c459826162be809a2f08e773 /etc/firewalld/lockdown-whitelist.xml 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.15.250 closed. TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 03 August 2024 05:39:14 +0000 (0:00:01.473) 0:00:03.816 ******* ok: [sut] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 03 August 2024 05:39:14 +0000 (0:00:00.032) 0:00:03.849 ******* TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 03 August 2024 05:39:14 +0000 (0:00:00.036) 0:00:03.885 ******* TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 03 August 2024 05:39:14 +0000 (0:00:00.039) 0:00:03.925 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 03 August 2024 05:39:14 +0000 (0:00:00.027) 0:00:03.952 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 03 August 2024 05:39:14 +0000 (0:00:00.051) 0:00:04.003 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 03 August 2024 05:39:14 +0000 (0:00:00.085) 0:00:04.089 ******* ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.15.250 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 03 August 2024 05:39:14 +0000 (0:00:00.395) 0:00:04.485 ******* changed: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 03 August 2024 05:39:14 +0000 (0:00:00.027) 0:00:04.512 ******* skipping: [sut] => {} TASK [Get all ipsets] ********************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:19 Saturday 03 August 2024 05:39:14 +0000 (0:00:00.021) 0:00:04.533 ******* ok: [sut] => { "changed": false, "cmd": "set -o pipefail\nfirewall-cmd --permanent --get-ipsets | grep customipset\n", "delta": "0:00:00.303636", "end": "2024-08-03 05:39:15.331832", "failed_when_result": false, "rc": 1, "start": "2024-08-03 05:39:15.028196" } MSG: non-zero return code TASK [Define new ipset] ******************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:30 Saturday 03 August 2024 05:39:15 +0000 (0:00:00.514) 0:00:05.048 ******* TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 03 August 2024 05:39:15 +0000 (0:00:00.026) 0:00:05.075 ******* included: /WORKDIR/git-weekly-ciu9bqsj6s/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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 05:39:15 +0000 (0:00:00.015) 0:00:05.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 03 August 2024 05:39:15 +0000 (0:00:00.021) 0:00:05.112 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 03 August 2024 05:39:15 +0000 (0:00:00.019) 0:00:05.131 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 03 August 2024 05:39:15 +0000 (0:00:00.020) 0:00:05.152 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 03 August 2024 05:39:15 +0000 (0:00:00.020) 0:00:05.172 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 03 August 2024 05:39:15 +0000 (0:00:00.022) 0:00:05.194 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 03 August 2024 05:39:15 +0000 (0:00:00.405) 0:00:05.599 ******* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 03 August 2024 05:39:15 +0000 (0:00:00.019) 0:00:05.619 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Fail if reboot is needed and not set] ****** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 03 August 2024 05:39:15 +0000 (0:00:00.038) 0:00:05.657 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 03 August 2024 05:39:16 +0000 (0:00:00.043) 0:00:05.701 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 03 August 2024 05:39:16 +0000 (0:00:00.029) 0:00:05.730 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 03 August 2024 05:39:16 +0000 (0:00:00.029) 0:00:05.760 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 03 August 2024 05:39:16 +0000 (0:00:00.210) 0:00:05.970 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 03 August 2024 05:39:16 +0000 (0:00:00.211) 0:00:06.181 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 03 August 2024 05:39:16 +0000 (0:00:00.022) 0:00:06.204 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 03 August 2024 05:39:16 +0000 (0:00:00.019) 0:00:06.223 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 03 August 2024 05:39:16 +0000 (0:00:00.019) 0:00:06.242 ******* changed: [sut] => (item={'ipset': 'customipset', 'ipset_type': 'hash:ip', 'ipset_entries': ['127.0.0.1', '8.8.8.8'], 'short': 'Custom', 'desciption': 'Custom IPSet for testing purposes', 'state': 'present', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "desciption": "Custom IPSet for testing purposes", "ipset": "customipset", "ipset_entries": [ "127.0.0.1", "8.8.8.8" ], "ipset_type": "hash:ip", "permanent": true, "short": "Custom", "state": "present" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 03 August 2024 05:39:17 +0000 (0:00:00.777) 0:00:07.019 ******* skipping: [sut] => (item={'ipset': 'customipset', 'ipset_type': 'hash:ip', 'ipset_entries': ['127.0.0.1', '8.8.8.8'], 'short': 'Custom', 'desciption': 'Custom IPSet for testing purposes', 'state': 'present', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "desciption": "Custom IPSet for testing purposes", "ipset": "customipset", "ipset_entries": [ "127.0.0.1", "8.8.8.8" ], "ipset_type": "hash:ip", "permanent": true, "short": "Custom", "state": "present" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 03 August 2024 05:39:17 +0000 (0:00:00.026) 0:00:07.046 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 03 August 2024 05:39:17 +0000 (0:00:00.022) 0:00:07.068 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 03 August 2024 05:39:17 +0000 (0:00:00.019) 0:00:07.087 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 03 August 2024 05:39:17 +0000 (0:00:00.020) 0:00:07.108 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 03 August 2024 05:39:17 +0000 (0:00:00.020) 0:00:07.128 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 03 August 2024 05:39:17 +0000 (0:00:00.018) 0:00:07.147 ******* skipping: [sut] => {} TASK [Fail if ipset not added] ************************************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:45 Saturday 03 August 2024 05:39:17 +0000 (0:00:00.020) 0:00:07.167 ******* ok: [sut] => { "changed": false, "cmd": "set -o pipefail\nfirewall-cmd --permanent --get-ipsets | grep \"customipset\"\n", "delta": "0:00:00.291841", "end": "2024-08-03 05:39:17.873234", "failed_when_result": false, "rc": 0, "start": "2024-08-03 05:39:17.581393" } STDOUT: customipset TASK [Fail if entry not added to ipset] **************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:54 Saturday 03 August 2024 05:39:17 +0000 (0:00:00.423) 0:00:07.591 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--ipset", "customipset", "--query-entry", "8.8.8.8" ], "delta": "0:00:00.303688", "end": "2024-08-03 05:39:18.308391", "rc": 0, "start": "2024-08-03 05:39:18.004703" } STDOUT: yes TASK [Redefine new ipset] ****************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:59 Saturday 03 August 2024 05:39:18 +0000 (0:00:00.427) 0:00:08.018 ******* TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 03 August 2024 05:39:18 +0000 (0:00:00.041) 0:00:08.059 ******* included: /WORKDIR/git-weekly-ciu9bqsj6s/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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 05:39:18 +0000 (0:00:00.031) 0:00:08.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 03 August 2024 05:39:18 +0000 (0:00:00.020) 0:00:08.111 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 03 August 2024 05:39:18 +0000 (0:00:00.019) 0:00:08.130 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 03 August 2024 05:39:18 +0000 (0:00:00.019) 0:00:08.150 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 03 August 2024 05:39:18 +0000 (0:00:00.019) 0:00:08.169 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 03 August 2024 05:39:18 +0000 (0:00:00.019) 0:00:08.189 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 03 August 2024 05:39:18 +0000 (0:00:00.385) 0:00:08.574 ******* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 03 August 2024 05:39:18 +0000 (0:00:00.019) 0:00:08.594 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Fail if reboot is needed and not set] ****** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 03 August 2024 05:39:18 +0000 (0:00:00.060) 0:00:08.654 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 03 August 2024 05:39:18 +0000 (0:00:00.020) 0:00:08.675 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 03 August 2024 05:39:19 +0000 (0:00:00.019) 0:00:08.694 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 03 August 2024 05:39:19 +0000 (0:00:00.024) 0:00:08.718 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 03 August 2024 05:39:19 +0000 (0:00:00.216) 0:00:08.935 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 03 August 2024 05:39:19 +0000 (0:00:00.202) 0:00:09.138 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 03 August 2024 05:39:19 +0000 (0:00:00.023) 0:00:09.162 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 03 August 2024 05:39:19 +0000 (0:00:00.020) 0:00:09.182 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 03 August 2024 05:39:19 +0000 (0:00:00.019) 0:00:09.201 ******* ok: [sut] => (item={'ipset': 'customipset', 'short': 'Custom', 'desciption': 'Custom IPSet for testing purposes', 'state': 'present', 'permanent': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "desciption": "Custom IPSet for testing purposes", "ipset": "customipset", "permanent": true, "short": "Custom", "state": "present" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 03 August 2024 05:39:19 +0000 (0:00:00.411) 0:00:09.613 ******* skipping: [sut] => (item={'ipset': 'customipset', 'short': 'Custom', 'desciption': 'Custom IPSet for testing purposes', 'state': 'present', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "desciption": "Custom IPSet for testing purposes", "ipset": "customipset", "permanent": true, "short": "Custom", "state": "present" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 03 August 2024 05:39:19 +0000 (0:00:00.027) 0:00:09.641 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 03 August 2024 05:39:19 +0000 (0:00:00.023) 0:00:09.664 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 03 August 2024 05:39:19 +0000 (0:00:00.021) 0:00:09.686 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.026) 0:00:09.712 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.019) 0:00:09.732 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.030) 0:00:09.762 ******* skipping: [sut] => {} TASK [Fail if defining ipset not idempotent] *********************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:71 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.026) 0:00:09.789 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove entries from ipset] *********************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:76 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.026) 0:00:09.815 ******* TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.039) 0:00:09.854 ******* included: /WORKDIR/git-weekly-ciu9bqsj6s/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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.021) 0:00:09.876 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.035) 0:00:09.912 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.025) 0:00:09.938 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.029) 0:00:09.967 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.022) 0:00:09.989 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.024) 0:00:10.014 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.397) 0:00:10.411 ******* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.019) 0:00:10.431 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Fail if reboot is needed and not set] ****** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.019) 0:00:10.450 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.019) 0:00:10.469 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.018) 0:00:10.488 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 03 August 2024 05:39:20 +0000 (0:00:00.026) 0:00:10.514 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 03 August 2024 05:39:21 +0000 (0:00:00.210) 0:00:10.725 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 03 August 2024 05:39:21 +0000 (0:00:00.217) 0:00:10.943 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 03 August 2024 05:39:21 +0000 (0:00:00.022) 0:00:10.965 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 03 August 2024 05:39:21 +0000 (0:00:00.020) 0:00:10.986 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 03 August 2024 05:39:21 +0000 (0:00:00.020) 0:00:11.006 ******* changed: [sut] => (item={'ipset': 'customipset', 'ipset_entries': ['8.8.8.8', '127.0.0.1'], 'state': 'absent', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "ipset": "customipset", "ipset_entries": [ "8.8.8.8", "127.0.0.1" ], "permanent": true, "state": "absent" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 03 August 2024 05:39:22 +0000 (0:00:00.686) 0:00:11.693 ******* skipping: [sut] => (item={'ipset': 'customipset', 'ipset_entries': ['8.8.8.8', '127.0.0.1'], 'state': 'absent', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "ipset": "customipset", "ipset_entries": [ "8.8.8.8", "127.0.0.1" ], "permanent": true, "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 03 August 2024 05:39:22 +0000 (0:00:00.025) 0:00:11.718 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 03 August 2024 05:39:22 +0000 (0:00:00.021) 0:00:11.740 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 03 August 2024 05:39:22 +0000 (0:00:00.019) 0:00:11.759 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 03 August 2024 05:39:22 +0000 (0:00:00.020) 0:00:11.780 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 03 August 2024 05:39:22 +0000 (0:00:00.022) 0:00:11.802 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 03 August 2024 05:39:22 +0000 (0:00:00.022) 0:00:11.825 ******* skipping: [sut] => {} TASK [Check that custom ipset not removed] ************************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:88 Saturday 03 August 2024 05:39:22 +0000 (0:00:00.019) 0:00:11.844 ******* ok: [sut] => { "changed": false, "cmd": "set -o pipefail\nfirewall-cmd --permanent --get-ipsets | grep customipset\n", "delta": "0:00:00.293248", "end": "2024-08-03 05:39:22.554695", "failed_when_result": false, "rc": 0, "start": "2024-08-03 05:39:22.261447" } STDOUT: customipset TASK [Check that entry has been removed] *************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:97 Saturday 03 August 2024 05:39:22 +0000 (0:00:00.428) 0:00:12.273 ******* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--ipset", "customipset", "--query-entry", "8.8.8.8" ], "delta": "0:00:00.303559", "end": "2024-08-03 05:39:22.991926", "failed_when_result": false, "rc": 1, "start": "2024-08-03 05:39:22.688367" } STDOUT: no MSG: non-zero return code TASK [Test update short and description] *************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:104 Saturday 03 August 2024 05:39:23 +0000 (0:00:00.468) 0:00:12.741 ******* TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 03 August 2024 05:39:23 +0000 (0:00:00.082) 0:00:12.824 ******* included: /WORKDIR/git-weekly-ciu9bqsj6s/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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 05:39:23 +0000 (0:00:00.027) 0:00:12.852 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 03 August 2024 05:39:23 +0000 (0:00:00.128) 0:00:12.980 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 03 August 2024 05:39:23 +0000 (0:00:00.024) 0:00:13.005 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 03 August 2024 05:39:23 +0000 (0:00:00.023) 0:00:13.029 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 03 August 2024 05:39:23 +0000 (0:00:00.023) 0:00:13.052 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 03 August 2024 05:39:23 +0000 (0:00:00.023) 0:00:13.076 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 03 August 2024 05:39:23 +0000 (0:00:00.390) 0:00:13.466 ******* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 03 August 2024 05:39:23 +0000 (0:00:00.018) 0:00:13.484 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Fail if reboot is needed and not set] ****** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 03 August 2024 05:39:23 +0000 (0:00:00.020) 0:00:13.505 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 03 August 2024 05:39:23 +0000 (0:00:00.025) 0:00:13.530 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 03 August 2024 05:39:23 +0000 (0:00:00.033) 0:00:13.564 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 03 August 2024 05:39:23 +0000 (0:00:00.032) 0:00:13.596 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 03 August 2024 05:39:24 +0000 (0:00:00.245) 0:00:13.842 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 03 August 2024 05:39:24 +0000 (0:00:00.202) 0:00:14.045 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 03 August 2024 05:39:24 +0000 (0:00:00.023) 0:00:14.068 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 03 August 2024 05:39:24 +0000 (0:00:00.019) 0:00:14.088 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 03 August 2024 05:39:24 +0000 (0:00:00.022) 0:00:14.110 ******* changed: [sut] => (item={'ipset': 'customipset', 'short': 'CustomChanged', 'description': 'Custom IPSet for testing purposes (changed)', 'state': 'present', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "description": "Custom IPSet for testing purposes (changed)", "ipset": "customipset", "permanent": true, "short": "CustomChanged", "state": "present" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 03 August 2024 05:39:25 +0000 (0:00:00.667) 0:00:14.778 ******* skipping: [sut] => (item={'ipset': 'customipset', 'short': 'CustomChanged', 'description': 'Custom IPSet for testing purposes (changed)', 'state': 'present', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "description": "Custom IPSet for testing purposes (changed)", "ipset": "customipset", "permanent": true, "short": "CustomChanged", "state": "present" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 03 August 2024 05:39:25 +0000 (0:00:00.025) 0:00:14.803 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 03 August 2024 05:39:25 +0000 (0:00:00.022) 0:00:14.826 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 03 August 2024 05:39:25 +0000 (0:00:00.018) 0:00:14.844 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 03 August 2024 05:39:25 +0000 (0:00:00.020) 0:00:14.865 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 03 August 2024 05:39:25 +0000 (0:00:00.018) 0:00:14.884 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 03 August 2024 05:39:25 +0000 (0:00:00.019) 0:00:14.903 ******* skipping: [sut] => {} TASK [Verify changes] ********************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:115 Saturday 03 August 2024 05:39:25 +0000 (0:00:00.018) 0:00:14.922 ******* ok: [sut] => (item={'command': 'firewall-cmd --permanent --ipset customipset --get-description\n', 'expected': 'Custom IPSet for testing purposes (changed)'}) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--ipset", "customipset", "--get-description" ], "delta": "0:00:00.318904", "end": "2024-08-03 05:39:25.671065", "failed_when_result": false, "item": { "command": "firewall-cmd --permanent --ipset customipset --get-description\n", "expected": "Custom IPSet for testing purposes (changed)" }, "rc": 0, "start": "2024-08-03 05:39:25.352161" } STDOUT: Custom IPSet for testing purposes (changed) ok: [sut] => (item={'command': 'firewall-cmd --permanent --ipset customipset --get-short\n', 'expected': 'CustomChanged'}) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--ipset", "customipset", "--get-short" ], "delta": "0:00:00.300818", "end": "2024-08-03 05:39:26.088683", "failed_when_result": false, "item": { "command": "firewall-cmd --permanent --ipset customipset --get-short\n", "expected": "CustomChanged" }, "rc": 0, "start": "2024-08-03 05:39:25.787865" } STDOUT: CustomChanged TASK [Add ipset to default zone] *********************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:129 Saturday 03 August 2024 05:39:26 +0000 (0:00:00.877) 0:00:15.800 ******* TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 03 August 2024 05:39:26 +0000 (0:00:00.044) 0:00:15.844 ******* included: /WORKDIR/git-weekly-ciu9bqsj6s/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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 05:39:26 +0000 (0:00:00.014) 0:00:15.858 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 03 August 2024 05:39:26 +0000 (0:00:00.022) 0:00:15.881 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 03 August 2024 05:39:26 +0000 (0:00:00.023) 0:00:15.905 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 03 August 2024 05:39:26 +0000 (0:00:00.024) 0:00:15.930 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 03 August 2024 05:39:26 +0000 (0:00:00.033) 0:00:15.963 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 03 August 2024 05:39:26 +0000 (0:00:00.022) 0:00:15.986 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 03 August 2024 05:39:26 +0000 (0:00:00.389) 0:00:16.375 ******* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 03 August 2024 05:39:26 +0000 (0:00:00.018) 0:00:16.394 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Fail if reboot is needed and not set] ****** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 03 August 2024 05:39:26 +0000 (0:00:00.018) 0:00:16.412 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 03 August 2024 05:39:26 +0000 (0:00:00.017) 0:00:16.430 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 03 August 2024 05:39:26 +0000 (0:00:00.017) 0:00:16.448 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 03 August 2024 05:39:26 +0000 (0:00:00.024) 0:00:16.472 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 03 August 2024 05:39:26 +0000 (0:00:00.216) 0:00:16.688 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.211) 0:00:16.900 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.026) 0:00:16.926 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.021) 0:00:16.948 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.022) 0:00:16.970 ******* changed: [sut] => (item={'source': 'ipset:customipset', 'state': 'enabled', 'runtime': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.416) 0:00:17.387 ******* skipping: [sut] => (item={'source': 'ipset:customipset', 'state': 'enabled', 'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.034) 0:00:17.422 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.021) 0:00:17.444 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.020) 0:00:17.464 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.020) 0:00:17.484 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.018) 0:00:17.503 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.017) 0:00:17.521 ******* skipping: [sut] => {} TASK [Add ipset to default zone again] ***************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:138 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.017) 0:00:17.538 ******* TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.044) 0:00:17.583 ******* included: /WORKDIR/git-weekly-ciu9bqsj6s/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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.014) 0:00:17.597 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.045) 0:00:17.643 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.019) 0:00:17.662 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 03 August 2024 05:39:27 +0000 (0:00:00.023) 0:00:17.686 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 03 August 2024 05:39:28 +0000 (0:00:00.025) 0:00:17.711 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 03 August 2024 05:39:28 +0000 (0:00:00.018) 0:00:17.730 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 03 August 2024 05:39:28 +0000 (0:00:00.391) 0:00:18.121 ******* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 03 August 2024 05:39:28 +0000 (0:00:00.019) 0:00:18.140 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Fail if reboot is needed and not set] ****** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 03 August 2024 05:39:28 +0000 (0:00:00.019) 0:00:18.159 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 03 August 2024 05:39:28 +0000 (0:00:00.019) 0:00:18.179 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 03 August 2024 05:39:28 +0000 (0:00:00.019) 0:00:18.198 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 03 August 2024 05:39:28 +0000 (0:00:00.028) 0:00:18.226 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 03 August 2024 05:39:28 +0000 (0:00:00.250) 0:00:18.477 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 03 August 2024 05:39:28 +0000 (0:00:00.207) 0:00:18.684 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.023) 0:00:18.708 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.019) 0:00:18.727 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.023) 0:00:18.751 ******* ok: [sut] => (item={'source': 'ipset:customipset', 'state': 'enabled', 'runtime': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.406) 0:00:19.158 ******* skipping: [sut] => (item={'source': 'ipset:customipset', 'state': 'enabled', 'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.026) 0:00:19.184 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.021) 0:00:19.205 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.018) 0:00:19.224 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.018) 0:00:19.243 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.018) 0:00:19.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.019) 0:00:19.281 ******* skipping: [sut] => {} TASK [Fail if adding ipset is not idempotent (runtime)] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:148 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.022) 0:00:19.303 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add ipset to default zone (permanent)] *********************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:153 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.019) 0:00:19.323 ******* TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.058) 0:00:19.382 ******* included: /WORKDIR/git-weekly-ciu9bqsj6s/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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.013) 0:00:19.395 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.036) 0:00:19.432 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.034) 0:00:19.466 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.031) 0:00:19.498 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.021) 0:00:19.519 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 03 August 2024 05:39:29 +0000 (0:00:00.018) 0:00:19.538 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 03 August 2024 05:39:30 +0000 (0:00:00.405) 0:00:19.944 ******* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 03 August 2024 05:39:30 +0000 (0:00:00.021) 0:00:19.965 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Fail if reboot is needed and not set] ****** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 03 August 2024 05:39:30 +0000 (0:00:00.038) 0:00:20.004 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 03 August 2024 05:39:30 +0000 (0:00:00.026) 0:00:20.030 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 03 August 2024 05:39:30 +0000 (0:00:00.057) 0:00:20.088 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 03 August 2024 05:39:30 +0000 (0:00:00.064) 0:00:20.153 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 03 August 2024 05:39:30 +0000 (0:00:00.218) 0:00:20.371 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 03 August 2024 05:39:30 +0000 (0:00:00.203) 0:00:20.574 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 03 August 2024 05:39:30 +0000 (0:00:00.023) 0:00:20.597 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 03 August 2024 05:39:30 +0000 (0:00:00.019) 0:00:20.617 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 03 August 2024 05:39:30 +0000 (0:00:00.029) 0:00:20.646 ******* ok: [sut] => (item={'source': 'ipset:customipset', 'state': 'enabled', 'runtime': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 03 August 2024 05:39:31 +0000 (0:00:00.418) 0:00:21.065 ******* skipping: [sut] => (item={'source': 'ipset:customipset', 'state': 'enabled', 'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 03 August 2024 05:39:31 +0000 (0:00:00.026) 0:00:21.091 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 03 August 2024 05:39:31 +0000 (0:00:00.021) 0:00:21.113 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 03 August 2024 05:39:31 +0000 (0:00:00.028) 0:00:21.142 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 03 August 2024 05:39:31 +0000 (0:00:00.034) 0:00:21.176 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 03 August 2024 05:39:31 +0000 (0:00:00.020) 0:00:21.197 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 03 August 2024 05:39:31 +0000 (0:00:00.030) 0:00:21.228 ******* skipping: [sut] => {} TASK [Add ipset to default zone again (permanent)] ***************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:162 Saturday 03 August 2024 05:39:31 +0000 (0:00:00.018) 0:00:21.246 ******* TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 03 August 2024 05:39:31 +0000 (0:00:00.087) 0:00:21.333 ******* included: /WORKDIR/git-weekly-ciu9bqsj6s/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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 05:39:31 +0000 (0:00:00.014) 0:00:21.348 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 03 August 2024 05:39:31 +0000 (0:00:00.028) 0:00:21.377 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 03 August 2024 05:39:31 +0000 (0:00:00.022) 0:00:21.399 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 03 August 2024 05:39:31 +0000 (0:00:00.021) 0:00:21.420 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 03 August 2024 05:39:31 +0000 (0:00:00.019) 0:00:21.440 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 03 August 2024 05:39:31 +0000 (0:00:00.018) 0:00:21.458 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 03 August 2024 05:39:32 +0000 (0:00:00.388) 0:00:21.847 ******* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 03 August 2024 05:39:32 +0000 (0:00:00.019) 0:00:21.867 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Fail if reboot is needed and not set] ****** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 03 August 2024 05:39:32 +0000 (0:00:00.019) 0:00:21.886 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 03 August 2024 05:39:32 +0000 (0:00:00.019) 0:00:21.905 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 03 August 2024 05:39:32 +0000 (0:00:00.019) 0:00:21.924 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 03 August 2024 05:39:32 +0000 (0:00:00.026) 0:00:21.950 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 03 August 2024 05:39:32 +0000 (0:00:00.209) 0:00:22.160 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 03 August 2024 05:39:32 +0000 (0:00:00.209) 0:00:22.370 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 03 August 2024 05:39:32 +0000 (0:00:00.038) 0:00:22.408 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 03 August 2024 05:39:32 +0000 (0:00:00.024) 0:00:22.432 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 03 August 2024 05:39:32 +0000 (0:00:00.024) 0:00:22.457 ******* ok: [sut] => (item={'source': 'ipset:customipset', 'state': 'enabled', 'runtime': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.445) 0:00:22.902 ******* skipping: [sut] => (item={'source': 'ipset:customipset', 'state': 'enabled', 'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "runtime": true, "source": "ipset:customipset", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.036) 0:00:22.939 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.021) 0:00:22.961 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.019) 0:00:22.980 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.017) 0:00:22.998 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.018) 0:00:23.016 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.017) 0:00:23.034 ******* skipping: [sut] => {} TASK [Fail if adding ipset is not idempotent (permanent)] ********************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:172 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.024) 0:00:23.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add ipset to default zone] *********************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:177 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.021) 0:00:23.080 ******* TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.069) 0:00:23.149 ******* included: /WORKDIR/git-weekly-ciu9bqsj6s/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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.015) 0:00:23.165 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.021) 0:00:23.187 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.019) 0:00:23.206 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.018) 0:00:23.225 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.018) 0:00:23.243 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.020) 0:00:23.264 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.396) 0:00:23.660 ******* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 03 August 2024 05:39:33 +0000 (0:00:00.024) 0:00:23.685 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Fail if reboot is needed and not set] ****** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 03 August 2024 05:39:34 +0000 (0:00:00.018) 0:00:23.703 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 03 August 2024 05:39:34 +0000 (0:00:00.018) 0:00:23.722 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 03 August 2024 05:39:34 +0000 (0:00:00.018) 0:00:23.741 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 03 August 2024 05:39:34 +0000 (0:00:00.026) 0:00:23.767 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 03 August 2024 05:39:34 +0000 (0:00:00.212) 0:00:23.979 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 03 August 2024 05:39:34 +0000 (0:00:00.207) 0:00:24.186 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 03 August 2024 05:39:34 +0000 (0:00:00.022) 0:00:24.208 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 03 August 2024 05:39:34 +0000 (0:00:00.019) 0:00:24.228 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 03 August 2024 05:39:34 +0000 (0:00:00.018) 0:00:24.246 ******* changed: [sut] => (item={'source': 'ipset:customipset', 'state': 'disabled', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "source": "ipset:customipset", "state": "disabled" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 03 August 2024 05:39:34 +0000 (0:00:00.423) 0:00:24.670 ******* skipping: [sut] => (item={'source': 'ipset:customipset', 'state': 'disabled', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "source": "ipset:customipset", "state": "disabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.036) 0:00:24.707 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.031) 0:00:24.738 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.025) 0:00:24.764 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.019) 0:00:24.784 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.023) 0:00:24.807 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.022) 0:00:24.830 ******* skipping: [sut] => {} TASK [Remove custom ipset] ***************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:186 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.018) 0:00:24.848 ******* TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.071) 0:00:24.920 ******* included: /WORKDIR/git-weekly-ciu9bqsj6s/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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.014) 0:00:24.935 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.023) 0:00:24.958 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.021) 0:00:24.980 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.020) 0:00:25.001 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.032) 0:00:25.033 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.021) 0:00:25.055 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.387) 0:00:25.442 ******* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.019) 0:00:25.461 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Fail if reboot is needed and not set] ****** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.019) 0:00:25.481 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.038) 0:00:25.519 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.031) 0:00:25.551 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 03 August 2024 05:39:35 +0000 (0:00:00.025) 0:00:25.576 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 03 August 2024 05:39:36 +0000 (0:00:00.204) 0:00:25.781 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 03 August 2024 05:39:36 +0000 (0:00:00.207) 0:00:25.989 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 03 August 2024 05:39:36 +0000 (0:00:00.023) 0:00:26.012 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 03 August 2024 05:39:36 +0000 (0:00:00.018) 0:00:26.031 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 03 August 2024 05:39:36 +0000 (0:00:00.022) 0:00:26.054 ******* changed: [sut] => (item={'ipset': 'customipset', 'state': 'absent', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "ipset": "customipset", "permanent": true, "state": "absent" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 03 August 2024 05:39:37 +0000 (0:00:00.652) 0:00:26.706 ******* skipping: [sut] => (item={'ipset': 'customipset', 'state': 'absent', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "ipset": "customipset", "permanent": true, "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 03 August 2024 05:39:37 +0000 (0:00:00.026) 0:00:26.732 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 03 August 2024 05:39:37 +0000 (0:00:00.026) 0:00:26.759 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 03 August 2024 05:39:37 +0000 (0:00:00.023) 0:00:26.782 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 03 August 2024 05:39:37 +0000 (0:00:00.022) 0:00:26.805 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 03 August 2024 05:39:37 +0000 (0:00:00.026) 0:00:26.831 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 03 August 2024 05:39:37 +0000 (0:00:00.026) 0:00:26.857 ******* skipping: [sut] => {} TASK [Fail if ipset not removed] *********************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:195 Saturday 03 August 2024 05:39:37 +0000 (0:00:00.018) 0:00:26.875 ******* ok: [sut] => { "changed": false, "cmd": "set -o pipefail\nfirewall-cmd --permanent --get-ipsets | grep \"customipset\"\n", "delta": "0:00:00.307783", "end": "2024-08-03 05:39:37.607570", "failed_when_result": false, "rc": 1, "start": "2024-08-03 05:39:37.299787" } MSG: non-zero return code TASK [Remove custom ipset again] *********************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:204 Saturday 03 August 2024 05:39:37 +0000 (0:00:00.458) 0:00:27.334 ******* TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 03 August 2024 05:39:37 +0000 (0:00:00.097) 0:00:27.431 ******* included: /WORKDIR/git-weekly-ciu9bqsj6s/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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 05:39:37 +0000 (0:00:00.061) 0:00:27.493 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 03 August 2024 05:39:37 +0000 (0:00:00.061) 0:00:27.554 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 03 August 2024 05:39:37 +0000 (0:00:00.035) 0:00:27.590 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 03 August 2024 05:39:37 +0000 (0:00:00.019) 0:00:27.609 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 03 August 2024 05:39:38 +0000 (0:00:00.099) 0:00:27.708 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 03 August 2024 05:39:38 +0000 (0:00:00.019) 0:00:27.728 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 03 August 2024 05:39:38 +0000 (0:00:00.385) 0:00:28.113 ******* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 03 August 2024 05:39:38 +0000 (0:00:00.018) 0:00:28.132 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Fail if reboot is needed and not set] ****** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 03 August 2024 05:39:38 +0000 (0:00:00.017) 0:00:28.150 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 03 August 2024 05:39:38 +0000 (0:00:00.018) 0:00:28.169 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 03 August 2024 05:39:38 +0000 (0:00:00.018) 0:00:28.187 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 03 August 2024 05:39:38 +0000 (0:00:00.031) 0:00:28.218 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 03 August 2024 05:39:38 +0000 (0:00:00.232) 0:00:28.451 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 03 August 2024 05:39:38 +0000 (0:00:00.213) 0:00:28.664 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 03 August 2024 05:39:38 +0000 (0:00:00.021) 0:00:28.685 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.020) 0:00:28.705 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.019) 0:00:28.725 ******* ok: [sut] => (item={'ipset': 'customipset', 'state': 'absent', 'permanent': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "ipset": "customipset", "permanent": true, "state": "absent" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.394) 0:00:29.119 ******* skipping: [sut] => (item={'ipset': 'customipset', 'state': 'absent', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "ipset": "customipset", "permanent": true, "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.026) 0:00:29.146 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.022) 0:00:29.168 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.019) 0:00:29.188 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.019) 0:00:29.207 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.024) 0:00:29.232 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.019) 0:00:29.251 ******* skipping: [sut] => {} TASK [Fail if not idempotent] ************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:214 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.040) 0:00:29.291 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:221 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.035) 0:00:29.326 ******* TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.125) 0:00:29.451 ******* included: /WORKDIR/git-weekly-ciu9bqsj6s/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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.015) 0:00:29.467 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.039) 0:00:29.507 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.023) 0:00:29.530 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.035) 0:00:29.566 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.026) 0:00:29.592 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 03 August 2024 05:39:39 +0000 (0:00:00.027) 0:00:29.620 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [linux-system-roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 03 August 2024 05:39:40 +0000 (0:00:00.389) 0:00:30.009 ******* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 03 August 2024 05:39:40 +0000 (0:00:00.020) 0:00:30.029 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Fail if reboot is needed and not set] ****** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 03 August 2024 05:39:40 +0000 (0:00:00.021) 0:00:30.051 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 03 August 2024 05:39:40 +0000 (0:00:00.031) 0:00:30.083 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 03 August 2024 05:39:40 +0000 (0:00:00.019) 0:00:30.102 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 03 August 2024 05:39:40 +0000 (0:00:00.029) 0:00:30.132 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 03 August 2024 05:39:40 +0000 (0:00:00.212) 0:00:30.345 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ActiveEnterTimestampMonotonic": "1274815802", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 05:38:27 UTC", "AssertTimestampMonotonic": "1274130222", "Before": "network-pre.target multi-user.target shutdown.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": "Sat 2024-08-03 05:38:27 UTC", "ConditionTimestampMonotonic": "1274130220", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.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": "11821", "ExecMainStartTimestamp": "Sat 2024-08-03 05:38:27 UTC", "ExecMainStartTimestampMonotonic": "1274134858", "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=[Sat 2024-08-03 05:38:27 UTC] ; stop_time=[n/a] ; pid=11821 ; 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": "Sat 2024-08-03 05:38:27 UTC", "InactiveExitTimestampMonotonic": "1274134897", "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": "11821", "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": "Sat 2024-08-03 05:38:27 UTC", "WatchdogTimestampMonotonic": "1274815747", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 03 August 2024 05:39:40 +0000 (0:00:00.227) 0:00:30.572 ******* ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 03 August 2024 05:39:40 +0000 (0:00:00.021) 0:00:30.593 ******* ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.15.250 closed. TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 03 August 2024 05:39:41 +0000 (0:00:00.956) 0:00:31.550 ******* ok: [sut] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 03 August 2024 05:39:41 +0000 (0:00:00.024) 0:00:31.575 ******* TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 03 August 2024 05:39:41 +0000 (0:00:00.032) 0:00:31.607 ******* TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 03 August 2024 05:39:41 +0000 (0:00:00.026) 0:00:31.634 ******* 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-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 03 August 2024 05:39:41 +0000 (0:00:00.023) 0:00:31.658 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 03 August 2024 05:39:41 +0000 (0:00:00.021) 0:00:31.679 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 03 August 2024 05:39:42 +0000 (0:00:00.035) 0:00:31.715 ******* ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.15.250 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 03 August 2024 05:39:42 +0000 (0:00:00.343) 0:00:32.058 ******* ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 03 August 2024 05:39:42 +0000 (0:00:00.134) 0:00:32.193 ******* skipping: [sut] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=96 changed=7 unreachable=0 failed=0 skipped=241 rescued=0 ignored=0 Saturday 03 August 2024 05:39:42 +0000 (0:00:00.077) 0:00:32.270 ******* =============================================================================== linux-system-roles.firewall : Get config files, checksums before and remove --- 2.43s /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 linux-system-roles.firewall : Configure firewall ------------------------ 1.69s /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 linux-system-roles.firewall : Configure firewall ------------------------ 1.05s /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 linux-system-roles.firewall : Unmask firewalld service ------------------ 0.90s /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Verify changes ---------------------------------------------------------- 0.88s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:115 --------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.83s /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 linux-system-roles.firewall : Configure firewall ------------------------ 0.78s /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 linux-system-roles.firewall : Get config files, checksums after --------- 0.74s /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 linux-system-roles.firewall : Configure firewall ------------------------ 0.69s /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 linux-system-roles.firewall : Configure firewall ------------------------ 0.67s /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Gathering Facts --------------------------------------------------------- 0.58s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:2 ----------------------- linux-system-roles.firewall : Unmask firewalld service ------------------ 0.58s /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 linux-system-roles.firewall : Install firewalld ------------------------- 0.55s /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Get all ipsets ---------------------------------------------------------- 0.51s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:19 ---------------------- Check that entry has been removed --------------------------------------- 0.47s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:97 ---------------------- Fail if ipset not removed ----------------------------------------------- 0.46s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:195 --------------------- linux-system-roles.firewall : Unmask firewalld service ------------------ 0.44s /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 linux-system-roles.firewall : Enable and start firewalld service -------- 0.43s /WORKDIR/git-weekly-ciu9bqsj6s/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Check that custom ipset not removed ------------------------------------- 0.43s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:88 ---------------------- Fail if entry not added to ipset ---------------------------------------- 0.43s /WORKDIR/git-weekly-ciu9bqsj6s/tests/tests_ipsets.yml:54 ---------------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---