# 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_zone.yml ******************************************************* 1 plays in /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml PLAY [Test firewalld zones] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:2 Saturday 06 July 2024 00:20:04 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [sut] META: ran handlers TASK [Verify used firewalld zones] ********************************************* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:15 Saturday 06 July 2024 00:20:04 +0000 (0:00:00.579) 0:00:00.592 ********* TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 06 July 2024 00:20:04 +0000 (0:00:00.043) 0:00:00.635 ********* included: /WORKDIR/git-support_transactional_updateccyggapc/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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 06 July 2024 00:20:04 +0000 (0:00:00.025) 0:00:00.661 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 06 July 2024 00:20:04 +0000 (0:00:00.019) 0:00:00.680 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.firewall : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 06 July 2024 00:20:05 +0000 (0:00:00.206) 0:00:00.886 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 06 July 2024 00:20:05 +0000 (0:00:00.022) 0:00:00.908 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.firewall : Set flag if transactional-update exists] *** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 06 July 2024 00:20:05 +0000 (0:00:00.134) 0:00:01.042 ********* ok: [sut] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 06 July 2024 00:20:05 +0000 (0:00:00.023) 0:00:01.066 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 06 July 2024 00:20:05 +0000 (0:00:00.477) 0:00:01.543 ********* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 06 July 2024 00:20:05 +0000 (0:00:00.020) 0:00:01.564 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 06 July 2024 00:20:05 +0000 (0:00:00.020) 0:00:01.584 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 06 July 2024 00:20:05 +0000 (0:00:00.019) 0:00:01.604 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 06 July 2024 00:20:05 +0000 (0:00:00.018) 0:00:01.623 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 06 July 2024 00:20:05 +0000 (0:00:00.026) 0:00:01.650 ********* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-07-05 20:19:05 EDT", "ActiveEnterTimestampMonotonic": "734897892", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-05 20:19:04 EDT", "AssertTimestampMonotonic": "734213192", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-05 20:19:04 EDT", "ConditionTimestampMonotonic": "734213191", "Conflicts": "iptables.service shutdown.target ebtables.service ip6tables.service ipset.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": "8320", "ExecMainStartTimestamp": "Fri 2024-07-05 20:19:04 EDT", "ExecMainStartTimestampMonotonic": "734214460", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2024-07-05 20:19:04 EDT] ; stop_time=[n/a] ; pid=8320 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-07-05 20:19:04 EDT", "InactiveExitTimestampMonotonic": "734214505", "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": "8320", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-07-05 20:19:05 EDT", "WatchdogTimestampMonotonic": "734897654", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 06 July 2024 00:20:06 +0000 (0:00:00.332) 0:00:01.982 ********* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-05 20:19:05 EDT", "ActiveEnterTimestampMonotonic": "734897892", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-05 20:19:04 EDT", "AssertTimestampMonotonic": "734213192", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-05 20:19:04 EDT", "ConditionTimestampMonotonic": "734213191", "Conflicts": "iptables.service shutdown.target ebtables.service ip6tables.service ipset.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": "8320", "ExecMainStartTimestamp": "Fri 2024-07-05 20:19:04 EDT", "ExecMainStartTimestampMonotonic": "734214460", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2024-07-05 20:19:04 EDT] ; stop_time=[n/a] ; pid=8320 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-07-05 20:19:04 EDT", "InactiveExitTimestampMonotonic": "734214505", "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": "8320", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-07-05 20:19:05 EDT", "WatchdogTimestampMonotonic": "734897654", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 06 July 2024 00:20:06 +0000 (0:00:00.224) 0:00:02.207 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 06 July 2024 00:20:06 +0000 (0:00:00.025) 0:00:02.233 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 06 July 2024 00:20:06 +0000 (0:00:00.025) 0:00:02.258 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 06 July 2024 00:20:06 +0000 (0:00:00.022) 0:00:02.281 ********* ok: [sut] => (item={'zone': 'internal', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "internal" } } ok: [sut] => (item={'zone': 'external', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "external" } } ok: [sut] => (item={'zone': 'trusted', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "trusted" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 06 July 2024 00:20:07 +0000 (0:00:01.326) 0:00:03.608 ********* skipping: [sut] => (item={'zone': 'internal', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'zone': 'external', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "external" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'zone': 'trusted', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "trusted" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 06 July 2024 00:20:07 +0000 (0:00:00.034) 0:00:03.642 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 06 July 2024 00:20:07 +0000 (0:00:00.019) 0:00:03.662 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 06 July 2024 00:20:07 +0000 (0:00:00.024) 0:00:03.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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 06 July 2024 00:20:07 +0000 (0:00:00.022) 0:00:03.708 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 06 July 2024 00:20:07 +0000 (0:00:00.019) 0:00:03.728 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 06 July 2024 00:20:07 +0000 (0:00:00.019) 0:00:03.748 ********* skipping: [sut] => {} TASK [Fail on missing zones] *************************************************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:27 Saturday 06 July 2024 00:20:07 +0000 (0:00:00.019) 0:00:03.767 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld] ********************************************************* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:34 Saturday 06 July 2024 00:20:07 +0000 (0:00:00.019) 0:00:03.786 ********* TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 06 July 2024 00:20:07 +0000 (0:00:00.034) 0:00:03.821 ********* included: /WORKDIR/git-support_transactional_updateccyggapc/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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 06 July 2024 00:20:07 +0000 (0:00:00.025) 0:00:03.846 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 06 July 2024 00:20:07 +0000 (0:00:00.019) 0:00:03.866 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 06 July 2024 00:20:08 +0000 (0:00:00.018) 0:00:03.884 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 06 July 2024 00:20:08 +0000 (0:00:00.018) 0:00:03.902 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 06 July 2024 00:20:08 +0000 (0:00:00.018) 0:00:03.920 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 06 July 2024 00:20:08 +0000 (0:00:00.018) 0:00:03.938 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 06 July 2024 00:20:08 +0000 (0:00:00.422) 0:00:04.361 ********* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 06 July 2024 00:20:08 +0000 (0:00:00.041) 0:00:04.402 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 06 July 2024 00:20:08 +0000 (0:00:00.022) 0:00:04.425 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 06 July 2024 00:20:08 +0000 (0:00:00.030) 0:00:04.455 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 06 July 2024 00:20:08 +0000 (0:00:00.020) 0:00:04.476 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 06 July 2024 00:20:08 +0000 (0:00:00.028) 0:00:04.504 ********* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-07-05 20:19:05 EDT", "ActiveEnterTimestampMonotonic": "734897892", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-05 20:19:04 EDT", "AssertTimestampMonotonic": "734213192", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-05 20:19:04 EDT", "ConditionTimestampMonotonic": "734213191", "Conflicts": "iptables.service shutdown.target ebtables.service ip6tables.service ipset.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": "8320", "ExecMainStartTimestamp": "Fri 2024-07-05 20:19:04 EDT", "ExecMainStartTimestampMonotonic": "734214460", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2024-07-05 20:19:04 EDT] ; stop_time=[n/a] ; pid=8320 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-07-05 20:19:04 EDT", "InactiveExitTimestampMonotonic": "734214505", "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": "8320", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-07-05 20:19:05 EDT", "WatchdogTimestampMonotonic": "734897654", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 06 July 2024 00:20:08 +0000 (0:00:00.220) 0:00:04.725 ********* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-05 20:19:05 EDT", "ActiveEnterTimestampMonotonic": "734897892", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-05 20:19:04 EDT", "AssertTimestampMonotonic": "734213192", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-05 20:19:04 EDT", "ConditionTimestampMonotonic": "734213191", "Conflicts": "iptables.service shutdown.target ebtables.service ip6tables.service ipset.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": "8320", "ExecMainStartTimestamp": "Fri 2024-07-05 20:19:04 EDT", "ExecMainStartTimestampMonotonic": "734214460", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2024-07-05 20:19:04 EDT] ; stop_time=[n/a] ; pid=8320 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-07-05 20:19:04 EDT", "InactiveExitTimestampMonotonic": "734214505", "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": "8320", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-07-05 20:19:05 EDT", "WatchdogTimestampMonotonic": "734897654", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 06 July 2024 00:20:09 +0000 (0:00:00.219) 0:00:04.944 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 06 July 2024 00:20:09 +0000 (0:00:00.022) 0:00:04.967 ********* ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.42.90 closed. TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 06 July 2024 00:20:09 +0000 (0:00:00.318) 0:00:05.286 ********* ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 06 July 2024 00:20:09 +0000 (0:00:00.029) 0:00:05.315 ********* changed: [sut] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [sut] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } changed: [sut] => (item={'zone': 'customzone', 'permanent': True, 'state': 'present'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "present", "zone": "customzone" } } changed: [sut] => (item={'zone': 'customzone', 'permanent': True, 'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } changed: [sut] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "dmz", "state": "enabled" } } changed: [sut] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 06 July 2024 00:20:12 +0000 (0:00:02.907) 0:00:08.222 ********* skipping: [sut] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'zone': 'customzone', 'permanent': True, 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'zone': 'customzone', 'permanent': True, 'masquerade': True, 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 06 July 2024 00:20:12 +0000 (0:00:00.046) 0:00:08.269 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 06 July 2024 00:20:12 +0000 (0:00:00.019) 0:00:08.289 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 06 July 2024 00:20:12 +0000 (0:00:00.024) 0:00:08.313 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 06 July 2024 00:20:12 +0000 (0:00:00.022) 0:00:08.336 ********* ok: [sut] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml 958dce439fe299ce0b0fdb10c4c18412269fbab3f09660e4b210962728554953 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.90 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 06 July 2024 00:20:12 +0000 (0:00:00.380) 0:00:08.716 ********* changed: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 06 July 2024 00:20:12 +0000 (0:00:00.024) 0:00:08.740 ********* skipping: [sut] => {} TASK [Fail if no changes are done] ********************************************* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:64 Saturday 06 July 2024 00:20:12 +0000 (0:00:00.020) 0:00:08.760 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld again] *************************************************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:71 Saturday 06 July 2024 00:20:12 +0000 (0:00:00.017) 0:00:08.778 ********* TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 06 July 2024 00:20:12 +0000 (0:00:00.033) 0:00:08.812 ********* included: /WORKDIR/git-support_transactional_updateccyggapc/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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 06 July 2024 00:20:12 +0000 (0:00:00.025) 0:00:08.837 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Check if system is ostree] ***************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:11 Saturday 06 July 2024 00:20:12 +0000 (0:00:00.019) 0:00:08.856 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:16 Saturday 06 July 2024 00:20:12 +0000 (0:00:00.018) 0:00:08.875 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:23 Saturday 06 July 2024 00:20:13 +0000 (0:00:00.018) 0:00:08.893 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:28 Saturday 06 July 2024 00:20:13 +0000 (0:00:00.018) 0:00:08.911 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Saturday 06 July 2024 00:20:13 +0000 (0:00:00.018) 0:00:08.929 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:45 Saturday 06 July 2024 00:20:13 +0000 (0:00:00.393) 0:00:09.323 ********* skipping: [sut] => {} TASK [linux-system-roles.firewall : Reboot transactional update systems] ******* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:50 Saturday 06 July 2024 00:20:13 +0000 (0:00:00.019) 0:00:09.343 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:55 Saturday 06 July 2024 00:20:13 +0000 (0:00:00.019) 0:00:09.362 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Collect service facts] ********************* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 06 July 2024 00:20:13 +0000 (0:00:00.018) 0:00:09.381 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Saturday 06 July 2024 00:20:13 +0000 (0:00:00.018) 0:00:09.399 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 Saturday 06 July 2024 00:20:13 +0000 (0:00:00.027) 0:00:09.426 ********* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-07-05 20:19:05 EDT", "ActiveEnterTimestampMonotonic": "734897892", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-05 20:19:04 EDT", "AssertTimestampMonotonic": "734213192", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-05 20:19:04 EDT", "ConditionTimestampMonotonic": "734213191", "Conflicts": "iptables.service shutdown.target ebtables.service ip6tables.service ipset.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": "8320", "ExecMainStartTimestamp": "Fri 2024-07-05 20:19:04 EDT", "ExecMainStartTimestampMonotonic": "734214460", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2024-07-05 20:19:04 EDT] ; stop_time=[n/a] ; pid=8320 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-07-05 20:19:04 EDT", "InactiveExitTimestampMonotonic": "734214505", "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": "8320", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-07-05 20:19:05 EDT", "WatchdogTimestampMonotonic": "734897654", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 Saturday 06 July 2024 00:20:13 +0000 (0:00:00.211) 0:00:09.638 ********* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-05 20:19:05 EDT", "ActiveEnterTimestampMonotonic": "734897892", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-05 20:19:04 EDT", "AssertTimestampMonotonic": "734213192", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-05 20:19:04 EDT", "ConditionTimestampMonotonic": "734213191", "Conflicts": "iptables.service shutdown.target ebtables.service ip6tables.service ipset.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": "8320", "ExecMainStartTimestamp": "Fri 2024-07-05 20:19:04 EDT", "ExecMainStartTimestampMonotonic": "734214460", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2024-07-05 20:19:04 EDT] ; stop_time=[n/a] ; pid=8320 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-07-05 20:19:04 EDT", "InactiveExitTimestampMonotonic": "734214505", "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": "8320", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-07-05 20:19:05 EDT", "WatchdogTimestampMonotonic": "734897654", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:35 Saturday 06 July 2024 00:20:13 +0000 (0:00:00.213) 0:00:09.851 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 Saturday 06 July 2024 00:20:13 +0000 (0:00:00.022) 0:00:09.874 ********* ok: [sut] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml 958dce439fe299ce0b0fdb10c4c18412269fbab3f09660e4b210962728554953 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.90 closed. TASK [linux-system-roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:60 Saturday 06 July 2024 00:20:14 +0000 (0:00:00.941) 0:00:10.816 ********* ok: [sut] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Saturday 06 July 2024 00:20:14 +0000 (0:00:00.021) 0:00:10.838 ********* ok: [sut] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [sut] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [sut] => (item={'zone': 'customzone', 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" } } ok: [sut] => (item={'zone': 'customzone', 'permanent': True, 'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } ok: [sut] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } ok: [sut] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:129 Saturday 06 July 2024 00:20:17 +0000 (0:00:02.743) 0:00:13.582 ********* skipping: [sut] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'zone': 'customzone', 'permanent': True, 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'zone': 'customzone', 'permanent': True, 'masquerade': True, 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:140 Saturday 06 July 2024 00:20:17 +0000 (0:00:00.049) 0:00:13.631 ********* 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-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:149 Saturday 06 July 2024 00:20:17 +0000 (0:00:00.020) 0:00:13.652 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:154 Saturday 06 July 2024 00:20:17 +0000 (0:00:00.019) 0:00:13.671 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Saturday 06 July 2024 00:20:17 +0000 (0:00:00.019) 0:00:13.690 ********* ok: [sut] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml 958dce439fe299ce0b0fdb10c4c18412269fbab3f09660e4b210962728554953 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.42.90 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:173 Saturday 06 July 2024 00:20:18 +0000 (0:00:00.393) 0:00:14.084 ********* ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:182 Saturday 06 July 2024 00:20:18 +0000 (0:00:00.023) 0:00:14.108 ********* skipping: [sut] => {} TASK [Fail on newly changes] *************************************************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:101 Saturday 06 July 2024 00:20:18 +0000 (0:00:00.020) 0:00:14.128 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify firewalld zone internal services] ********************************* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:108 Saturday 06 July 2024 00:20:18 +0000 (0:00:00.018) 0:00:14.146 ********* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-services" ], "delta": "0:00:00.332612", "end": "2024-07-05 20:20:18.784322", "failed_when_result": false, "rc": 0, "start": "2024-07-05 20:20:18.451710" } STDOUT: dhcpv6-client ftp mdns samba-client ssh tftp TASK [Verify firewalld zone internal ports] ************************************ task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:116 Saturday 06 July 2024 00:20:18 +0000 (0:00:00.534) 0:00:14.681 ********* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-ports" ], "delta": "0:00:00.314676", "end": "2024-07-05 20:20:19.238236", "failed_when_result": false, "rc": 0, "start": "2024-07-05 20:20:18.923560" } STDOUT: 443/tcp 443/udp TASK [Verify firewalld zone internal forward ports] **************************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:124 Saturday 06 July 2024 00:20:19 +0000 (0:00:00.454) 0:00:15.135 ********* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-forward-ports" ], "delta": "0:00:00.320617", "end": "2024-07-05 20:20:19.696834", "failed_when_result": false, "rc": 0, "start": "2024-07-05 20:20:19.376217" } STDOUT: port=447:proto=tcp:toport=:toaddr=1.2.3.4 port=448:proto=tcp:toport=:toaddr=1.2.3.5 TASK [Verify custom zone has masquerade added to it] *************************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:134 Saturday 06 July 2024 00:20:19 +0000 (0:00:00.459) 0:00:15.594 ********* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--zone=customzone", "--query-masquerade" ], "delta": "0:00:00.320259", "end": "2024-07-05 20:20:20.157568", "failed_when_result": false, "rc": 0, "start": "2024-07-05 20:20:19.837309" } STDOUT: yes TASK [Verify custom zone has masquerade added to it] *************************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:141 Saturday 06 July 2024 00:20:20 +0000 (0:00:00.460) 0:00:16.055 ********* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.311922", "end": "2024-07-05 20:20:20.612877", "failed_when_result": false, "rc": 0, "start": "2024-07-05 20:20:20.300955" } STDOUT: dmz TASK [Verify that service http has been added to the default zone dmz] ********* task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:148 Saturday 06 July 2024 00:20:20 +0000 (0:00:00.454) 0:00:16.510 ********* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--zone=dmz", "--query-service=http" ], "delta": "0:00:00.302096", "end": "2024-07-05 20:20:21.055716", "failed_when_result": false, "rc": 0, "start": "2024-07-05 20:20:20.753620" } STDOUT: yes TASK [Remove customzone zone] ************************************************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:161 Saturday 06 July 2024 00:20:21 +0000 (0:00:00.442) 0:00:16.952 ********* ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.315052", "end": "2024-07-05 20:20:21.508763", "failed_when_result": false, "rc": 0, "start": "2024-07-05 20:20:21.193711" } STDOUT: success TASK [Reset to zone defaults] ************************************************** task path: /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:167 Saturday 06 July 2024 00:20:21 +0000 (0:00:00.453) 0:00:17.406 ********* ok: [sut] => { "changed": false, "cmd": "firewall-cmd --permanent --load-zone-defaults=internal\nfirewall-cmd --permanent --load-zone-defaults=external\nfirewall-cmd --permanent --load-zone-defaults=trusted\nfirewall-cmd --reload\n", "delta": "0:00:01.619344", "end": "2024-07-05 20:20:23.266530", "rc": 0, "start": "2024-07-05 20:20:21.647186" } STDOUT: success success STDERR: Error: NO_DEFAULTS: external Error: NO_DEFAULTS: trusted META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=39 changed=2 unreachable=0 failed=0 skipped=48 rescued=0 ignored=0 Saturday 06 July 2024 00:20:23 +0000 (0:00:01.754) 0:00:19.160 ********* =============================================================================== linux-system-roles.firewall : Configure firewall ------------------------ 5.65s /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Reset to zone defaults -------------------------------------------------- 1.75s /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:167 ---- linux-system-roles.firewall : Configure firewall ------------------------ 1.33s /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 linux-system-roles.firewall : Get config files, checksums before and remove --- 1.26s /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:48 linux-system-roles.firewall : Get config files, checksums after --------- 0.77s /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:163 Gathering Facts --------------------------------------------------------- 0.58s /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:2 ------ Verify firewalld zone internal services --------------------------------- 0.53s /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:108 ---- linux-system-roles.firewall : Install firewalld ------------------------- 0.48s /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 Verify custom zone has masquerade added to it --------------------------- 0.46s /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:134 ---- Verify firewalld zone internal forward ports ---------------------------- 0.46s /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:124 ---- Verify custom zone has masquerade added to it --------------------------- 0.45s /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:141 ---- Verify firewalld zone internal ports ------------------------------------ 0.45s /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:116 ---- Remove customzone zone -------------------------------------------------- 0.45s /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:161 ---- Verify that service http has been added to the default zone dmz --------- 0.44s /WORKDIR/git-support_transactional_updateccyggapc/tests/tests_zone.yml:148 ---- linux-system-roles.firewall : Enable and start firewalld service -------- 0.43s /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 linux-system-roles.firewall : Unmask firewalld service ------------------ 0.43s /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 linux-system-roles.firewall : Install firewalld ------------------------- 0.42s /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 linux-system-roles.firewall : Install firewalld ------------------------- 0.39s /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:32 linux-system-roles.firewall : Unmask firewalld service ------------------ 0.33s /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:23 linux-system-roles.firewall : Enable and start firewalld service -------- 0.22s /WORKDIR/git-support_transactional_updateccyggapc/tests/roles/linux-system-roles.firewall/tasks/main.yml:29 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---