# 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_previous_replaced.yml ****************************************** 1 plays in /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/tests_previous_replaced.yml PLAY [Test setting previous=replaced with postfix_conf] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/tests_previous_replaced.yml:2 Monday 10 June 2024 16:45:11 +0000 (0:00:00.012) 0:00:00.012 *********** ok: [sut] META: ran handlers TASK [Run the role with previous=replaced only] ******************************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/tests_previous_replaced.yml:5 Monday 10 June 2024 16:45:12 +0000 (0:00:00.733) 0:00:00.745 *********** TASK [linux-system-roles.postfix : Ensure ansible_facts required by role] ****** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:2 Monday 10 June 2024 16:45:12 +0000 (0:00:00.029) 0:00:00.775 *********** included: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml for sut TASK [linux-system-roles.postfix : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:3 Monday 10 June 2024 16:45:12 +0000 (0:00:00.013) 0:00:00.789 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Check if system is ostree] ****************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:12 Monday 10 June 2024 16:45:12 +0000 (0:00:00.019) 0:00:00.808 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.postfix : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:17 Monday 10 June 2024 16:45:12 +0000 (0:00:00.197) 0:00:01.006 *********** ok: [sut] => { "ansible_facts": { "__postfix_is_ostree": false }, "changed": false } TASK [linux-system-roles.postfix : Set platform/version specific variables] **** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:21 Monday 10 June 2024 16:45:12 +0000 (0:00:00.020) 0:00:01.026 *********** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "submission" ] }, "ansible_included_var_files": [ "/WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Get status of package(s) ['postfix']] ******* task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:16 Monday 10 June 2024 16:45:12 +0000 (0:00:00.039) 0:00:01.066 *********** ok: [sut] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "postfix" ], "delta": "0:00:00.977270", "end": "2024-06-10 16:45:13.828142", "failed_when_result": false, "item": "postfix", "rc": 0, "start": "2024-06-10 16:45:12.850872", "warnings": [ "Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message." ] } TASK [linux-system-roles.postfix : Remove package(s) to reset original confs ['postfix']] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:23 Monday 10 June 2024 16:45:13 +0000 (0:00:01.172) 0:00:02.238 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Get status of config files] ***************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:41 Monday 10 June 2024 16:45:13 +0000 (0:00:00.014) 0:00:02.252 *********** skipping: [sut] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "item": "postfix", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Remove config files - make empty] *********** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:48 Monday 10 June 2024 16:45:13 +0000 (0:00:00.012) 0:00:02.265 *********** TASK [linux-system-roles.postfix : Configure firewall] ************************* task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:60 Monday 10 June 2024 16:45:13 +0000 (0:00:00.010) 0:00:02.276 *********** included: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/firewall.yml for sut TASK [Ensure the postfix ports status with the firewall role] ****************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/firewall.yml:3 Monday 10 June 2024 16:45:13 +0000 (0:00:00.013) 0:00:02.289 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Monday 10 June 2024 16:45:13 +0000 (0:00:00.043) 0:00:02.332 *********** included: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 10 June 2024 16:45:13 +0000 (0:00:00.017) 0:00:02.350 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Monday 10 June 2024 16:45:13 +0000 (0:00:00.012) 0:00:02.362 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Monday 10 June 2024 16:45:14 +0000 (0:00:00.123) 0:00:02.485 *********** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Monday 10 June 2024 16:45:14 +0000 (0:00:00.013) 0:00:02.499 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Monday 10 June 2024 16:45:14 +0000 (0:00:00.662) 0:00:03.161 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 10 June 2024 16:45:14 +0000 (0:00:00.010) 0:00:03.172 *********** 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 [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Monday 10 June 2024 16:45:14 +0000 (0:00:00.016) 0:00:03.188 *********** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice basic.target dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "iptables.service ip6tables.service ipset.service shutdown.target ebtables.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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "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", "InactiveExitTimestampMonotonic": "0", "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": "0", "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": "system.slice basic.target", "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": "dead", "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": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Monday 10 June 2024 16:45:15 +0000 (0:00:00.349) 0:00:03.537 *********** changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice basic.target dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target ipset.service ebtables.service iptables.service ip6tables.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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "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", "InactiveExitTimestampMonotonic": "0", "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": "0", "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": "system.slice basic.target", "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": "dead", "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": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Monday 10 June 2024 16:45:16 +0000 (0:00:00.869) 0:00:04.407 *********** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Monday 10 June 2024 16:45:16 +0000 (0:00:00.013) 0:00:04.420 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Monday 10 June 2024 16:45:16 +0000 (0:00:00.009) 0:00:04.430 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Monday 10 June 2024 16:45:16 +0000 (0:00:00.009) 0:00:04.440 *********** changed: [sut] => (item={'service': 'smtp', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "smtp", "state": "enabled" } } changed: [sut] => (item={'service': 'smtps', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "smtps", "state": "enabled" } } changed: [sut] => (item={'service': 'smtp-submission', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "smtp-submission", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Monday 10 June 2024 16:45:17 +0000 (0:00:01.939) 0:00:06.380 *********** skipping: [sut] => (item={'service': 'smtp', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "smtp", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'service': 'smtps', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "smtps", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'service': 'smtp-submission', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "smtp-submission", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Monday 10 June 2024 16:45:18 +0000 (0:00:00.023) 0:00:06.403 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Monday 10 June 2024 16:45:18 +0000 (0:00:00.012) 0:00:06.416 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Monday 10 June 2024 16:45:18 +0000 (0:00:00.010) 0:00:06.426 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Monday 10 June 2024 16:45:18 +0000 (0:00:00.010) 0:00:06.436 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Monday 10 June 2024 16:45:18 +0000 (0:00:00.010) 0:00:06.446 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Monday 10 June 2024 16:45:18 +0000 (0:00:00.014) 0:00:06.461 *********** skipping: [sut] => {} TASK [linux-system-roles.postfix : Configure selinux] ************************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:63 Monday 10 June 2024 16:45:18 +0000 (0:00:00.010) 0:00:06.471 *********** included: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/selinux.yml for sut TASK [linux-system-roles.postfix : Get the smtp related tcp service ports] ***** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/selinux.yml:12 Monday 10 June 2024 16:45:18 +0000 (0:00:00.013) 0:00:06.485 *********** skipping: [sut] => (item=smtp) => { "ansible_loop_var": "item", "changed": false, "item": "smtp", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=smtps) => { "ansible_loop_var": "item", "changed": false, "item": "smtps", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=submission) => { "ansible_loop_var": "item", "changed": false, "item": "submission", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Initialize _postfix_selinux] **************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/selinux.yml:21 Monday 10 June 2024 16:45:18 +0000 (0:00:00.017) 0:00:06.503 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Add the smtp related service ports to _postfix_selinux] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/selinux.yml:25 Monday 10 June 2024 16:45:18 +0000 (0:00:00.011) 0:00:06.514 *********** skipping: [sut] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': 'smtp', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "smtp", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': 'smtps', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "smtps", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': 'submission', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "submission", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Set hardcoded ports to _postfix_selinux for no firewall or rhel-6 or not redhat] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/selinux.yml:36 Monday 10 June 2024 16:45:18 +0000 (0:00:00.017) 0:00:06.532 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the service and the ports status with the selinux role] *********** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/selinux.yml:51 Monday 10 June 2024 16:45:18 +0000 (0:00:00.011) 0:00:06.543 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Install Postfix] **************************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:66 Monday 10 June 2024 16:45:18 +0000 (0:00:00.009) 0:00:06.552 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "2:postfix-2.10.1-9.el7.x86_64 providing postfix is already installed" ] } TASK [linux-system-roles.postfix : Enable Postfix] ***************************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:73 Monday 10 June 2024 16:45:18 +0000 (0:00:00.365) 0:00:06.918 *********** ok: [sut] => { "changed": false, "enabled": true, "name": "postfix", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-06-10 16:24:25 UTC", "ActiveEnterTimestampMonotonic": "20158876", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target syslog.target basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-06-10 16:24:23 UTC", "AssertTimestampMonotonic": "18865096", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "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": "Mon 2024-06-10 16:24:23 UTC", "ConditionTimestampMonotonic": "18865095", "Conflicts": "sendmail.service exim.service shutdown.target", "ControlGroup": "/system.slice/postfix.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Postfix Mail Transport Agent", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/network (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1190", "ExecMainStartTimestamp": "Mon 2024-06-10 16:24:25 UTC", "ExecMainStartTimestampMonotonic": "20158832", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postfix/chroot-update ; argv[]=/usr/libexec/postfix/chroot-update ; ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/sbin/postfix ; argv[]=/usr/sbin/postfix stop ; 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/postfix.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "postfix.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2024-06-10 16:24:23 UTC", "InactiveExitTimestampMonotonic": "18865852", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "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": "1190", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "postfix.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/spool/postfix/pid/master.pid", "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": "inherit", "StandardInput": "null", "StandardOutput": "journal", "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": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-06-10 16:24:25 UTC", "WatchdogTimestampMonotonic": "20158851", "WatchdogUSec": "0" } } TASK [linux-system-roles.postfix : Get current config] ************************* task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:79 Monday 10 June 2024 16:45:18 +0000 (0:00:00.194) 0:00:07.112 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Check given config against current config] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:86 Monday 10 June 2024 16:45:18 +0000 (0:00:00.011) 0:00:07.124 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Backup configuration] *********************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:108 Monday 10 June 2024 16:45:18 +0000 (0:00:00.012) 0:00:07.136 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Ensure Last modified header is absent] ****** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:117 Monday 10 June 2024 16:45:18 +0000 (0:00:00.012) 0:00:07.149 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Ensure the outdated ansible managed header is absent] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:125 Monday 10 June 2024 16:45:18 +0000 (0:00:00.010) 0:00:07.159 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Ensure ansible_managed header in configuration file] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:131 Monday 10 June 2024 16:45:18 +0000 (0:00:00.009) 0:00:07.169 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Configure Postfix] ************************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:140 Monday 10 June 2024 16:45:18 +0000 (0:00:00.011) 0:00:07.180 *********** skipping: [sut] => (item={'key': 'previous', 'value': 'replaced'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "previous", "value": "replaced" }, "skip_reason": "Conditional result was False" } TASK [Check firewall and selinux status] *************************************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/tests_previous_replaced.yml:15 Monday 10 June 2024 16:45:18 +0000 (0:00:00.014) 0:00:07.194 *********** included: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/check_firewall_selinux.yml for sut TASK [Get the firewall services] *********************************************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/check_firewall_selinux.yml:10 Monday 10 June 2024 16:45:18 +0000 (0:00:00.014) 0:00:07.209 *********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nfirewall-cmd --list-services", "delta": "0:00:00.356673", "end": "2024-06-10 16:45:19.283063", "rc": 0, "start": "2024-06-10 16:45:18.926390" } STDOUT: dhcpv6-client smtp smtp-submission smtps ssh TASK [Assert the expected services are configured] ***************************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/check_firewall_selinux.yml:17 Monday 10 June 2024 16:45:19 +0000 (0:00:00.483) 0:00:07.692 *********** ok: [sut] => (item=smtp) => { "ansible_loop_var": "item", "changed": false, "item": "smtp" } MSG: All assertions passed ok: [sut] => (item=smtps) => { "ansible_loop_var": "item", "changed": false, "item": "smtps" } MSG: All assertions passed ok: [sut] => (item=smtp-submission) => { "ansible_loop_var": "item", "changed": false, "item": "smtp-submission" } MSG: All assertions passed TASK [Ensure smtp ports are retrieved] ***************************************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/check_firewall_selinux.yml:30 Monday 10 June 2024 16:45:19 +0000 (0:00:00.040) 0:00:07.733 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check associated selinux] ************************************************ task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/check_firewall_selinux.yml:34 Monday 10 June 2024 16:45:19 +0000 (0:00:00.009) 0:00:07.743 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role to configure relay_domains and relayhost] ******************* task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/tests_previous_replaced.yml:18 Monday 10 June 2024 16:45:19 +0000 (0:00:00.010) 0:00:07.754 *********** TASK [linux-system-roles.postfix : Ensure ansible_facts required by role] ****** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:2 Monday 10 June 2024 16:45:19 +0000 (0:00:00.023) 0:00:07.778 *********** included: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml for sut TASK [linux-system-roles.postfix : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:3 Monday 10 June 2024 16:45:19 +0000 (0:00:00.011) 0:00:07.789 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Check if system is ostree] ****************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:12 Monday 10 June 2024 16:45:19 +0000 (0:00:00.011) 0:00:07.800 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:17 Monday 10 June 2024 16:45:19 +0000 (0:00:00.009) 0:00:07.810 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Set platform/version specific variables] **** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:21 Monday 10 June 2024 16:45:19 +0000 (0:00:00.009) 0:00:07.820 *********** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "submission" ] }, "ansible_included_var_files": [ "/WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Get status of package(s) ['postfix']] ******* task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:16 Monday 10 June 2024 16:45:19 +0000 (0:00:00.023) 0:00:07.843 *********** skipping: [sut] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "item": "postfix", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Remove package(s) to reset original confs ['postfix']] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:23 Monday 10 June 2024 16:45:19 +0000 (0:00:00.013) 0:00:07.857 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Get status of config files] ***************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:41 Monday 10 June 2024 16:45:19 +0000 (0:00:00.009) 0:00:07.867 *********** skipping: [sut] => (item=postfix) => { "ansible_loop_var": "item", "changed": false, "item": "postfix", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.postfix : Remove config files - make empty] *********** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:48 Monday 10 June 2024 16:45:19 +0000 (0:00:00.012) 0:00:07.879 *********** TASK [linux-system-roles.postfix : Configure firewall] ************************* task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:60 Monday 10 June 2024 16:45:19 +0000 (0:00:00.011) 0:00:07.890 *********** included: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/firewall.yml for sut TASK [Ensure the postfix ports status with the firewall role] ****************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/firewall.yml:3 Monday 10 June 2024 16:45:19 +0000 (0:00:00.011) 0:00:07.902 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Monday 10 June 2024 16:45:19 +0000 (0:00:00.021) 0:00:07.923 *********** included: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 10 June 2024 16:45:19 +0000 (0:00:00.016) 0:00:07.940 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Monday 10 June 2024 16:45:19 +0000 (0:00:00.012) 0:00:07.953 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Monday 10 June 2024 16:45:19 +0000 (0:00:00.010) 0:00:07.963 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Monday 10 June 2024 16:45:19 +0000 (0:00:00.010) 0:00:07.973 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Monday 10 June 2024 16:45:19 +0000 (0:00:00.364) 0:00:08.337 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 10 June 2024 16:45:19 +0000 (0:00:00.011) 0:00:08.349 *********** 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 [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Monday 10 June 2024 16:45:19 +0000 (0:00:00.017) 0:00:08.366 *********** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Mon 2024-06-10 16:45:15 UTC", "ActiveEnterTimestampMonotonic": "1270958655", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice polkit.service dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-06-10 16:45:15 UTC", "AssertTimestampMonotonic": "1270455627", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-06-10 16:45:15 UTC", "ConditionTimestampMonotonic": "1270455625", "Conflicts": "ebtables.service ip6tables.service ipset.service shutdown.target iptables.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": "12307", "ExecMainStartTimestamp": "Mon 2024-06-10 16:45:15 UTC", "ExecMainStartTimestampMonotonic": "1270456893", "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=[Mon 2024-06-10 16:45:15 UTC] ; stop_time=[n/a] ; pid=12307 ; 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": "Mon 2024-06-10 16:45:15 UTC", "InactiveExitTimestampMonotonic": "1270457366", "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": "12307", "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": "Mon 2024-06-10 16:45:15 UTC", "WatchdogTimestampMonotonic": "1270958598", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Monday 10 June 2024 16:45:20 +0000 (0:00:00.195) 0:00:08.562 *********** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-06-10 16:45:15 UTC", "ActiveEnterTimestampMonotonic": "1270958655", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice polkit.service dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-06-10 16:45:15 UTC", "AssertTimestampMonotonic": "1270455627", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-06-10 16:45:15 UTC", "ConditionTimestampMonotonic": "1270455625", "Conflicts": "ebtables.service ip6tables.service ipset.service shutdown.target iptables.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": "12307", "ExecMainStartTimestamp": "Mon 2024-06-10 16:45:15 UTC", "ExecMainStartTimestampMonotonic": "1270456893", "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=[Mon 2024-06-10 16:45:15 UTC] ; stop_time=[n/a] ; pid=12307 ; 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": "Mon 2024-06-10 16:45:15 UTC", "InactiveExitTimestampMonotonic": "1270457366", "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": "12307", "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": "Mon 2024-06-10 16:45:15 UTC", "WatchdogTimestampMonotonic": "1270958598", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Monday 10 June 2024 16:45:20 +0000 (0:00:00.187) 0:00:08.750 *********** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Monday 10 June 2024 16:45:20 +0000 (0:00:00.013) 0:00:08.764 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Monday 10 June 2024 16:45:20 +0000 (0:00:00.010) 0:00:08.774 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Monday 10 June 2024 16:45:20 +0000 (0:00:00.009) 0:00:08.784 *********** ok: [sut] => (item={'service': 'smtp', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "smtp", "state": "enabled" } } ok: [sut] => (item={'service': 'smtps', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "smtps", "state": "enabled" } } ok: [sut] => (item={'service': 'smtp-submission', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "smtp-submission", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Monday 10 June 2024 16:45:21 +0000 (0:00:01.032) 0:00:09.817 *********** skipping: [sut] => (item={'service': 'smtp', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "smtp", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'service': 'smtps', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "smtps", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'service': 'smtp-submission', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "smtp-submission", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Monday 10 June 2024 16:45:21 +0000 (0:00:00.023) 0:00:09.840 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Monday 10 June 2024 16:45:21 +0000 (0:00:00.011) 0:00:09.852 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Monday 10 June 2024 16:45:21 +0000 (0:00:00.009) 0:00:09.862 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Monday 10 June 2024 16:45:21 +0000 (0:00:00.010) 0:00:09.872 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Monday 10 June 2024 16:45:21 +0000 (0:00:00.009) 0:00:09.882 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Monday 10 June 2024 16:45:21 +0000 (0:00:00.009) 0:00:09.891 *********** skipping: [sut] => {} TASK [linux-system-roles.postfix : Configure selinux] ************************** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:63 Monday 10 June 2024 16:45:21 +0000 (0:00:00.009) 0:00:09.901 *********** included: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/selinux.yml for sut TASK [linux-system-roles.postfix : Get the smtp related tcp service ports] ***** task path: /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/selinux.yml:12 Monday 10 June 2024 16:45:21 +0000 (0:00:00.012) 0:00:09.913 *********** ok: [sut] => (item=smtp) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nfirewall-cmd --info-service=\"smtp\" | grep -E \" +ports: +\" | sed -e \"s/ *ports: //\"", "delta": "0:00:00.254794", "end": "2024-06-10 16:45:21.887258", "item": "smtp", "rc": 0, "start": "2024-06-10 16:45:21.632464" } STDOUT: 25/tcp ok: [sut] => (item=smtps) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nfirewall-cmd --info-service=\"smtps\" | grep -E \" +ports: +\" | sed -e \"s/ *ports: //\"", "delta": "0:00:00.257687", "end": "2024-06-10 16:45:22.263952", "item": "smtps", "rc": 0, "start": "2024-06-10 16:45:22.006265" } STDOUT: 465/tcp failed: [sut] (item=submission) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nfirewall-cmd --info-service=\"submission\" | grep -E \" +ports: +\" | sed -e \"s/ *ports: //\"", "delta": "0:00:00.271628", "end": "2024-06-10 16:45:22.655084", "item": "submission", "rc": 1, "start": "2024-06-10 16:45:22.383456" } STDERR: Error: INVALID_SERVICE: submission MSG: non-zero return code to retry, use: --limit @/tmp/tests_previous_replaced.retry PLAY RECAP ********************************************************************* sut : ok=31 changed=2 unreachable=0 failed=1 skipped=51 rescued=0 ignored=0 Monday 10 June 2024 16:45:22 +0000 (0:00:01.147) 0:00:11.061 *********** =============================================================================== fedora.linux_system_roles.firewall : Configure firewall ----------------- 2.97s /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 linux-system-roles.postfix : Get status of package(s) ['postfix'] ------- 1.17s /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:16 linux-system-roles.postfix : Get the smtp related tcp service ports ----- 1.15s /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/selinux.yml:12 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 1.06s /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/tests_previous_replaced.yml:2 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.66s /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.55s /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Get the firewall services ----------------------------------------------- 0.48s /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/check_firewall_selinux.yml:10 linux-system-roles.postfix : Install Postfix ---------------------------- 0.37s /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:66 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.36s /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 linux-system-roles.postfix : Check if system is ostree ------------------ 0.20s /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:12 linux-system-roles.postfix : Enable Postfix ----------------------------- 0.19s /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/main.yml:73 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.12s /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 fedora.linux_system_roles.firewall : Gather firewall config information --- 0.05s /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Ensure the postfix ports status with the firewall role ------------------ 0.04s /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/firewall.yml:3 Assert the expected services are configured ----------------------------- 0.04s /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/check_firewall_selinux.yml:17 linux-system-roles.postfix : Set platform/version specific variables ---- 0.04s /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:21 fedora.linux_system_roles.firewall : Setup firewalld -------------------- 0.03s /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services --- 0.03s /WORKDIR/git-smtp-submission-renamedrxm1pef/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Run the role with previous=replaced only -------------------------------- 0.03s /WORKDIR/git-smtp-submission-renamedrxm1pef/tests/tests_previous_replaced.yml:5 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---