# 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_default.yml **************************************************** 1 plays in /WORKDIR/git-smtp-submission-renamed2fu9pkv/tests/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** META: ran handlers TASK [Run the postfix role] **************************************************** task path: /WORKDIR/git-smtp-submission-renamed2fu9pkv/tests/tests_default.yml:6 Monday 10 June 2024 16:41:09 +0000 (0:00:00.014) 0:00:00.014 *********** TASK [linux-system-roles.postfix : Ensure ansible_facts required by role] ****** task path: /WORKDIR/git-smtp-submission-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/main.yml:2 Monday 10 June 2024 16:41:09 +0000 (0:00:00.025) 0:00:00.040 *********** included: /WORKDIR/git-smtp-submission-renamed2fu9pkv/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-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:3 Monday 10 June 2024 16:41:09 +0000 (0:00:00.010) 0:00:00.051 *********** ok: [sut] TASK [linux-system-roles.postfix : Check if system is ostree] ****************** task path: /WORKDIR/git-smtp-submission-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:12 Monday 10 June 2024 16:41:10 +0000 (0:00:00.499) 0:00:00.550 *********** 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-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:17 Monday 10 June 2024 16:41:10 +0000 (0:00:00.247) 0:00:00.798 *********** 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-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:21 Monday 10 June 2024 16:41:10 +0000 (0:00:00.018) 0:00:00.816 *********** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__postfix_smtp_services": [ "smtp", "smtps", "submission" ] }, "ansible_included_var_files": [ "/WORKDIR/git-smtp-submission-renamed2fu9pkv/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_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_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-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/main.yml:16 Monday 10 June 2024 16:41:10 +0000 (0:00:00.036) 0:00:00.852 *********** 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-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/main.yml:23 Monday 10 June 2024 16:41:10 +0000 (0:00:00.010) 0:00:00.863 *********** 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-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/main.yml:41 Monday 10 June 2024 16:41:10 +0000 (0:00:00.007) 0:00:00.870 *********** 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-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/main.yml:48 Monday 10 June 2024 16:41:10 +0000 (0:00:00.009) 0:00:00.880 *********** TASK [linux-system-roles.postfix : Configure firewall] ************************* task path: /WORKDIR/git-smtp-submission-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/main.yml:60 Monday 10 June 2024 16:41:10 +0000 (0:00:00.008) 0:00:00.888 *********** included: /WORKDIR/git-smtp-submission-renamed2fu9pkv/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-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/firewall.yml:3 Monday 10 June 2024 16:41:10 +0000 (0:00:00.008) 0:00:00.897 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Monday 10 June 2024 16:41:10 +0000 (0:00:00.037) 0:00:00.934 *********** included: /WORKDIR/git-smtp-submission-renamed2fu9pkv/.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-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 10 June 2024 16:41:10 +0000 (0:00:00.012) 0:00:00.947 *********** ok: [sut] TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Monday 10 June 2024 16:41:11 +0000 (0:00:00.339) 0:00:01.287 *********** 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-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Monday 10 June 2024 16:41:11 +0000 (0:00:00.177) 0:00:01.465 *********** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Monday 10 June 2024 16:41:11 +0000 (0:00:00.010) 0:00:01.475 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Monday 10 June 2024 16:41:13 +0000 (0:00:02.415) 0:00:03.891 *********** 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-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 10 June 2024 16:41:13 +0000 (0:00:00.009) 0:00:03.900 *********** 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-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Monday 10 June 2024 16:41:13 +0000 (0:00:00.013) 0:00:03.913 *********** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.socket dbus-broker.service polkit.service sysinit.target basic.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service nftables.service ipset.service ebtables.service iptables.service", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13972", "LimitNPROCSoft": "13972", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13972", "LimitSIGPENDINGSoft": "13972", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22356", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Monday 10 June 2024 16:41:14 +0000 (0:00:00.438) 0:00:04.352 *********** changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus-broker.service basic.target polkit.service sysinit.target dbus.socket system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service iptables.service ebtables.service nftables.service ipset.service shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DynamicUser": "no", "EnvironmentFiles": "/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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13972", "LimitNPROCSoft": "13972", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13972", "LimitSIGPENDINGSoft": "13972", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22356", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Monday 10 June 2024 16:41:15 +0000 (0:00:01.072) 0:00:05.424 *********** 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-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Monday 10 June 2024 16:41:15 +0000 (0:00:00.011) 0:00:05.435 *********** 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-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Monday 10 June 2024 16:41:15 +0000 (0:00:00.007) 0:00:05.443 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Monday 10 June 2024 16:41:15 +0000 (0:00:00.007) 0:00:05.451 *********** 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-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Monday 10 June 2024 16:41:16 +0000 (0:00:01.723) 0:00:07.174 *********** 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-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Monday 10 June 2024 16:41:16 +0000 (0:00:00.020) 0:00:07.194 *********** 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-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Monday 10 June 2024 16:41:16 +0000 (0:00:00.008) 0:00:07.203 *********** 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-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Monday 10 June 2024 16:41:16 +0000 (0:00:00.007) 0:00:07.210 *********** 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-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Monday 10 June 2024 16:41:16 +0000 (0:00:00.008) 0:00:07.218 *********** 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-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Monday 10 June 2024 16:41:17 +0000 (0:00:00.007) 0:00:07.225 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Monday 10 June 2024 16:41:17 +0000 (0:00:00.007) 0:00:07.233 *********** skipping: [sut] => {} TASK [linux-system-roles.postfix : Configure selinux] ************************** task path: /WORKDIR/git-smtp-submission-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/main.yml:63 Monday 10 June 2024 16:41:17 +0000 (0:00:00.007) 0:00:07.240 *********** included: /WORKDIR/git-smtp-submission-renamed2fu9pkv/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-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/selinux.yml:12 Monday 10 June 2024 16:41:17 +0000 (0:00:00.010) 0:00:07.250 *********** 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.236797", "end": "2024-06-10 16:41:17.503592", "item": "smtp", "rc": 0, "start": "2024-06-10 16:41:17.266795" } 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.226490", "end": "2024-06-10 16:41:17.914106", "item": "smtps", "rc": 0, "start": "2024-06-10 16:41:17.687616" } 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.423636", "end": "2024-06-10 16:41:18.518247", "item": "submission", "rc": 1, "start": "2024-06-10 16:41:18.094611" } STDERR: Error: INVALID_SERVICE: submission MSG: non-zero return code to retry, use: --limit @/tmp/tests_default.retry PLAY RECAP ********************************************************************* sut : ok=16 changed=2 unreachable=0 failed=1 skipped=15 rescued=0 ignored=0 Monday 10 June 2024 16:41:18 +0000 (0:00:01.508) 0:00:08.759 *********** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 2.42s /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.72s /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 linux-system-roles.postfix : Get the smtp related tcp service ports ----- 1.51s /WORKDIR/git-smtp-submission-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/selinux.yml:12 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 1.07s /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 linux-system-roles.postfix : Ensure ansible_facts used by role are present --- 0.50s /WORKDIR/git-smtp-submission-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:3 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.44s /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.34s /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 linux-system-roles.postfix : Check if system is ostree ------------------ 0.25s /WORKDIR/git-smtp-submission-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:12 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.18s /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Ensure the postfix ports status with the firewall role ------------------ 0.04s /WORKDIR/git-smtp-submission-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/firewall.yml:3 linux-system-roles.postfix : Set platform/version specific variables ---- 0.04s /WORKDIR/git-smtp-submission-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:21 Run the postfix role ---------------------------------------------------- 0.03s /WORKDIR/git-smtp-submission-renamed2fu9pkv/tests/tests_default.yml:6 --------- fedora.linux_system_roles.firewall : Gather firewall config information --- 0.02s /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 linux-system-roles.postfix : Set flag to indicate system is ostree ------ 0.02s /WORKDIR/git-smtp-submission-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:17 fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services --- 0.01s /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 fedora.linux_system_roles.firewall : Setup firewalld -------------------- 0.01s /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.01s /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 linux-system-roles.postfix : Ensure ansible_facts required by role ------ 0.01s /WORKDIR/git-smtp-submission-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/main.yml:2 linux-system-roles.postfix : Get status of package(s) ['postfix'] ------- 0.01s /WORKDIR/git-smtp-submission-renamed2fu9pkv/tests/roles/linux-system-roles.postfix/tasks/main.yml:16 fedora.linux_system_roles.firewall : Set flag to indicate system is ostree --- 0.01s /WORKDIR/git-smtp-submission-renamed2fu9pkv/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---