# 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_target.yml ***************************************************** 1 plays in /WORKDIR/git-weekly-cizl27ihxm/tests/tests_target.yml PLAY [Target tests] ************************************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cizl27ihxm/tests/tests_target.yml:2 Saturday 23 December 2023 05:40:11 +0000 (0:00:00.013) 0:00:00.013 ***** ok: [sut] META: ran handlers TASK [Call role to change target settings] ************************************* task path: /WORKDIR/git-weekly-cizl27ihxm/tests/tests_target.yml:7 Saturday 23 December 2023 05:40:12 +0000 (0:00:00.534) 0:00:00.548 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 23 December 2023 05:40:12 +0000 (0:00:00.031) 0:00:00.579 ***** included: /WORKDIR/git-weekly-cizl27ihxm/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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 23 December 2023 05:40:12 +0000 (0:00:00.011) 0:00:00.591 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 23 December 2023 05:40:12 +0000 (0:00:00.018) 0:00:00.609 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 23 December 2023 05:40:12 +0000 (0:00:00.188) 0:00:00.797 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 23 December 2023 05:40:12 +0000 (0:00:00.021) 0:00:00.819 ***** 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 : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 23 December 2023 05:40:12 +0000 (0:00:00.501) 0:00:01.320 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 23 December 2023 05:40:12 +0000 (0:00:00.025) 0:00:01.346 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 23 December 2023 05:40:12 +0000 (0:00:00.025) 0:00:01.371 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-23 05:39:07 UTC", "ActiveEnterTimestampMonotonic": "416731729", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-23 05:39:07 UTC", "AssertTimestampMonotonic": "416321293", "Before": "shutdown.target multi-user.target network-pre.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 2023-12-23 05:39:07 UTC", "ConditionTimestampMonotonic": "416321291", "Conflicts": "ipset.service iptables.service ip6tables.service ebtables.service shutdown.target", "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": "4837", "ExecMainStartTimestamp": "Sat 2023-12-23 05:39:07 UTC", "ExecMainStartTimestampMonotonic": "416329295", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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 2023-12-23 05:39:07 UTC", "InactiveExitTimestampMonotonic": "416329333", "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": "4837", "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 2023-12-23 05:39:07 UTC", "WatchdogTimestampMonotonic": "416731520", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 23 December 2023 05:40:13 +0000 (0:00:00.360) 0:00:01.732 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-23 05:39:07 UTC", "ActiveEnterTimestampMonotonic": "416731729", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-23 05:39:07 UTC", "AssertTimestampMonotonic": "416321293", "Before": "shutdown.target multi-user.target network-pre.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 2023-12-23 05:39:07 UTC", "ConditionTimestampMonotonic": "416321291", "Conflicts": "ipset.service iptables.service ip6tables.service ebtables.service shutdown.target", "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": "4837", "ExecMainStartTimestamp": "Sat 2023-12-23 05:39:07 UTC", "ExecMainStartTimestampMonotonic": "416329295", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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 2023-12-23 05:39:07 UTC", "InactiveExitTimestampMonotonic": "416329333", "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": "4837", "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 2023-12-23 05:39:07 UTC", "WatchdogTimestampMonotonic": "416731520", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 23 December 2023 05:40:13 +0000 (0:00:00.205) 0:00:01.937 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 23 December 2023 05:40:13 +0000 (0:00:00.021) 0:00:01.958 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 23 December 2023 05:40:13 +0000 (0:00:00.027) 0:00:01.986 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 23 December 2023 05:40:13 +0000 (0:00:00.019) 0:00:02.005 ***** ok: [sut] => (item={'set_default_zone': 'public', 'permanent': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "set_default_zone": "public" } } changed: [sut] => (item={'target': 'DROP', 'state': 'enabled', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "enabled", "target": "DROP" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 23 December 2023 05:40:14 +0000 (0:00:01.081) 0:00:03.087 ***** skipping: [sut] => (item={'set_default_zone': 'public', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "set_default_zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'target': 'DROP', 'state': 'enabled', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "enabled", "target": "DROP" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 23 December 2023 05:40:14 +0000 (0:00:00.085) 0:00:03.172 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 23 December 2023 05:40:14 +0000 (0:00:00.068) 0:00:03.240 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 23 December 2023 05:40:14 +0000 (0:00:00.083) 0:00:03.324 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 23 December 2023 05:40:15 +0000 (0:00:00.060) 0:00:03.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 23 December 2023 05:40:15 +0000 (0:00:00.072) 0:00:03.457 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 23 December 2023 05:40:15 +0000 (0:00:00.035) 0:00:03.493 ***** skipping: [sut] => {} TASK [Get target setting] ****************************************************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/tests_target.yml:18 Saturday 23 December 2023 05:40:15 +0000 (0:00:00.043) 0:00:03.537 ***** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.287693", "end": "2023-12-23 05:40:15.653622", "rc": 0, "start": "2023-12-23 05:40:15.365929" } STDOUT: public (active) target: DROP icmp-block-inversion: no interfaces: eth0 sources: services: dhcpv6-client ssh ports: protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting] *************************************************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/tests_target.yml:23 Saturday 23 December 2023 05:40:15 +0000 (0:00:00.498) 0:00:04.035 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Call role to reset target settings] ************************************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/tests_target.yml:29 Saturday 23 December 2023 05:40:15 +0000 (0:00:00.019) 0:00:04.055 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 23 December 2023 05:40:15 +0000 (0:00:00.021) 0:00:04.077 ***** included: /WORKDIR/git-weekly-cizl27ihxm/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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 23 December 2023 05:40:15 +0000 (0:00:00.012) 0:00:04.089 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 23 December 2023 05:40:15 +0000 (0:00:00.019) 0:00:04.109 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 23 December 2023 05:40:15 +0000 (0:00:00.020) 0:00:04.129 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 23 December 2023 05:40:15 +0000 (0:00:00.018) 0:00:04.147 ***** 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 : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 23 December 2023 05:40:16 +0000 (0:00:00.386) 0:00:04.534 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 23 December 2023 05:40:16 +0000 (0:00:00.019) 0:00:04.554 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 23 December 2023 05:40:16 +0000 (0:00:00.026) 0:00:04.580 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-23 05:39:07 UTC", "ActiveEnterTimestampMonotonic": "416731729", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-23 05:39:07 UTC", "AssertTimestampMonotonic": "416321293", "Before": "shutdown.target multi-user.target network-pre.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 2023-12-23 05:39:07 UTC", "ConditionTimestampMonotonic": "416321291", "Conflicts": "ipset.service iptables.service ip6tables.service ebtables.service shutdown.target", "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": "4837", "ExecMainStartTimestamp": "Sat 2023-12-23 05:39:07 UTC", "ExecMainStartTimestampMonotonic": "416329295", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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 2023-12-23 05:39:07 UTC", "InactiveExitTimestampMonotonic": "416329333", "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": "4837", "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 2023-12-23 05:39:07 UTC", "WatchdogTimestampMonotonic": "416731520", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 23 December 2023 05:40:16 +0000 (0:00:00.220) 0:00:04.801 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-23 05:39:07 UTC", "ActiveEnterTimestampMonotonic": "416731729", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-23 05:39:07 UTC", "AssertTimestampMonotonic": "416321293", "Before": "shutdown.target multi-user.target network-pre.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 2023-12-23 05:39:07 UTC", "ConditionTimestampMonotonic": "416321291", "Conflicts": "ipset.service iptables.service ip6tables.service ebtables.service shutdown.target", "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": "4837", "ExecMainStartTimestamp": "Sat 2023-12-23 05:39:07 UTC", "ExecMainStartTimestampMonotonic": "416329295", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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 2023-12-23 05:39:07 UTC", "InactiveExitTimestampMonotonic": "416329333", "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": "4837", "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 2023-12-23 05:39:07 UTC", "WatchdogTimestampMonotonic": "416731520", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 23 December 2023 05:40:16 +0000 (0:00:00.224) 0:00:05.025 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 23 December 2023 05:40:16 +0000 (0:00:00.023) 0:00:05.049 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 23 December 2023 05:40:16 +0000 (0:00:00.020) 0:00:05.069 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 23 December 2023 05:40:16 +0000 (0:00:00.030) 0:00:05.100 ***** changed: [sut] => (item={'target': 'DROP', 'state': 'absent', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "absent", "target": "DROP" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 23 December 2023 05:40:17 +0000 (0:00:00.670) 0:00:05.770 ***** skipping: [sut] => (item={'target': 'DROP', 'state': 'absent', 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "absent", "target": "DROP" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 23 December 2023 05:40:17 +0000 (0:00:00.092) 0:00:05.863 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 23 December 2023 05:40:17 +0000 (0:00:00.060) 0:00:05.924 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 23 December 2023 05:40:17 +0000 (0:00:00.064) 0:00:05.988 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 23 December 2023 05:40:17 +0000 (0:00:00.042) 0:00:06.031 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 23 December 2023 05:40:17 +0000 (0:00:00.016) 0:00:06.048 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 23 December 2023 05:40:17 +0000 (0:00:00.023) 0:00:06.071 ***** skipping: [sut] => {} TASK [Get target setting] ****************************************************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/tests_target.yml:38 Saturday 23 December 2023 05:40:17 +0000 (0:00:00.018) 0:00:06.090 ***** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.291514", "end": "2023-12-23 05:40:18.125392", "rc": 0, "start": "2023-12-23 05:40:17.833878" } STDOUT: public (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: dhcpv6-client ssh ports: protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting was reset] ***************************************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/tests_target.yml:43 Saturday 23 December 2023 05:40:18 +0000 (0:00:00.417) 0:00:06.508 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/tests_target.yml:49 Saturday 23 December 2023 05:40:18 +0000 (0:00:00.035) 0:00:06.543 ***** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 23 December 2023 05:40:18 +0000 (0:00:00.038) 0:00:06.581 ***** included: /WORKDIR/git-weekly-cizl27ihxm/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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 23 December 2023 05:40:18 +0000 (0:00:00.011) 0:00:06.593 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 23 December 2023 05:40:18 +0000 (0:00:00.020) 0:00:06.614 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 23 December 2023 05:40:18 +0000 (0:00:00.019) 0:00:06.633 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Saturday 23 December 2023 05:40:18 +0000 (0:00:00.020) 0:00:06.654 ***** 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 : Collect service facts] ********************* task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 23 December 2023 05:40:18 +0000 (0:00:00.384) 0:00:07.039 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 23 December 2023 05:40:18 +0000 (0:00:00.019) 0:00:07.058 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 23 December 2023 05:40:18 +0000 (0:00:00.024) 0:00:07.082 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-23 05:39:07 UTC", "ActiveEnterTimestampMonotonic": "416731729", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-23 05:39:07 UTC", "AssertTimestampMonotonic": "416321293", "Before": "shutdown.target multi-user.target network-pre.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 2023-12-23 05:39:07 UTC", "ConditionTimestampMonotonic": "416321291", "Conflicts": "ipset.service iptables.service ip6tables.service ebtables.service shutdown.target", "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": "4837", "ExecMainStartTimestamp": "Sat 2023-12-23 05:39:07 UTC", "ExecMainStartTimestampMonotonic": "416329295", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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 2023-12-23 05:39:07 UTC", "InactiveExitTimestampMonotonic": "416329333", "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": "4837", "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 2023-12-23 05:39:07 UTC", "WatchdogTimestampMonotonic": "416731520", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 23 December 2023 05:40:18 +0000 (0:00:00.203) 0:00:07.286 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-23 05:39:07 UTC", "ActiveEnterTimestampMonotonic": "416731729", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-23 05:39:07 UTC", "AssertTimestampMonotonic": "416321293", "Before": "shutdown.target multi-user.target network-pre.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 2023-12-23 05:39:07 UTC", "ConditionTimestampMonotonic": "416321291", "Conflicts": "ipset.service iptables.service ip6tables.service ebtables.service shutdown.target", "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": "4837", "ExecMainStartTimestamp": "Sat 2023-12-23 05:39:07 UTC", "ExecMainStartTimestampMonotonic": "416329295", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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 2023-12-23 05:39:07 UTC", "InactiveExitTimestampMonotonic": "416329333", "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": "4837", "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 2023-12-23 05:39:07 UTC", "WatchdogTimestampMonotonic": "416731520", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 23 December 2023 05:40:19 +0000 (0:00:00.212) 0:00:07.498 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 23 December 2023 05:40:19 +0000 (0:00:00.019) 0:00:07.518 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.44.51 closed. TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 23 December 2023 05:40:19 +0000 (0:00:00.270) 0:00:07.789 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 23 December 2023 05:40:19 +0000 (0:00:00.029) 0:00:07.818 ***** TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 23 December 2023 05:40:19 +0000 (0:00:00.036) 0:00:07.854 ***** TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 23 December 2023 05:40:19 +0000 (0:00:00.030) 0:00:07.885 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 23 December 2023 05:40:19 +0000 (0:00:00.021) 0:00:07.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 23 December 2023 05:40:19 +0000 (0:00:00.026) 0:00:07.933 ***** 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-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 23 December 2023 05:40:19 +0000 (0:00:00.018) 0:00:07.951 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.44.51 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 23 December 2023 05:40:19 +0000 (0:00:00.262) 0:00:08.214 ***** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 23 December 2023 05:40:19 +0000 (0:00:00.022) 0:00:08.236 ***** skipping: [sut] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=28 changed=2 unreachable=0 failed=0 skipped=37 rescued=0 ignored=0 Saturday 23 December 2023 05:40:19 +0000 (0:00:00.017) 0:00:08.253 ***** =============================================================================== linux-system-roles.firewall : Configure firewall ------------------------ 1.08s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 linux-system-roles.firewall : Configure firewall ------------------------ 0.67s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Gathering Facts --------------------------------------------------------- 0.53s /WORKDIR/git-weekly-cizl27ihxm/tests/tests_target.yml:2 ----------------------- linux-system-roles.firewall : Install firewalld ------------------------- 0.50s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 Get target setting ------------------------------------------------------ 0.50s /WORKDIR/git-weekly-cizl27ihxm/tests/tests_target.yml:18 ---------------------- Get target setting ------------------------------------------------------ 0.42s /WORKDIR/git-weekly-cizl27ihxm/tests/tests_target.yml:38 ---------------------- linux-system-roles.firewall : Install firewalld ------------------------- 0.39s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 linux-system-roles.firewall : Install firewalld ------------------------- 0.38s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:20 linux-system-roles.firewall : Unmask firewalld service ------------------ 0.36s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 linux-system-roles.firewall : Get config files, checksums before and remove --- 0.27s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 linux-system-roles.firewall : Get config files, checksums after --------- 0.26s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 linux-system-roles.firewall : Enable and start firewalld service -------- 0.22s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 linux-system-roles.firewall : Unmask firewalld service ------------------ 0.22s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 linux-system-roles.firewall : Enable and start firewalld service -------- 0.21s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 linux-system-roles.firewall : Enable and start firewalld service -------- 0.21s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 linux-system-roles.firewall : Unmask firewalld service ------------------ 0.20s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 linux-system-roles.firewall : Check if system is ostree ----------------- 0.19s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 linux-system-roles.firewall : Gather firewall config information -------- 0.09s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 linux-system-roles.firewall : Gather firewall config information -------- 0.09s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 linux-system-roles.firewall : Gather firewall config if no arguments ---- 0.08s /WORKDIR/git-weekly-cizl27ihxm/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---