# 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_tcp_firewall_2022.yml ****************************************** 2 plays in /WORKDIR/git-storage-selinux9vebnp43/tests/tests_tcp_firewall_2022.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tests_tcp_firewall_2022.yml:4 Thursday 07 December 2023 08:37:55 +0000 (0:00:00.014) 0:00:00.014 ***** ok: [sut] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux9vebnp43/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Verify the use of the firewall role to configure SQL Server TCP ports] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tests_tcp_firewall_2022.yml:9 Thursday 07 December 2023 08:37:55 +0000 (0:00:00.022) 0:00:00.037 ***** ok: [sut] META: ran handlers TASK [Run tests_tcp_firewall with SQL Server 2022] ***************************** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tests_tcp_firewall_2022.yml:25 Thursday 07 December 2023 08:37:55 +0000 (0:00:00.603) 0:00:00.640 ***** included: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/tests_tcp_firewall.yml for sut TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/tests_tcp_firewall.yml:2 Thursday 07 December 2023 08:37:55 +0000 (0:00:00.015) 0:00:00.655 ***** included: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Thursday 07 December 2023 08:37:55 +0000 (0:00:00.033) 0:00:00.689 ***** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.219) 0:00:00.909 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.225) 0:00:01.134 ***** included: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.019) 0:00:01.154 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.014) 0:00:01.168 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/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" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } 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.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.040) 0:00:01.208 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.022) 0:00:01.231 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.029) 0:00:01.260 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.032) 0:00:01.293 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.024) 0:00:01.317 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.014) 0:00:01.332 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.029) 0:00:01.361 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.021) 0:00:01.382 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.021) 0:00:01.403 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.011) 0:00:01.415 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.011) 0:00:01.427 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.010) 0:00:01.438 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.010) 0:00:01.449 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Thursday 07 December 2023 08:37:56 +0000 (0:00:00.014) 0:00:01.463 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Thursday 07 December 2023 08:37:57 +0000 (0:00:01.069) 0:00:02.533 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Thursday 07 December 2023 08:37:57 +0000 (0:00:00.061) 0:00:02.594 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Thursday 07 December 2023 08:37:57 +0000 (0:00:00.022) 0:00:02.617 ***** fatal: [sut]: FAILED! => { "assertion": "mssql_version | int in __mssql_supported_versions", "changed": false, "evaluated_to": false } MSG: You must set the mssql_version variable to one of 2017, 2019 TASK [Assert that the role failed with EL < 8 not supported] ******************* task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/assert_fail_on_unsupported_ver.yml:26 Thursday 07 December 2023 08:37:57 +0000 (0:00:00.024) 0:00:02.641 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/assert_fail_on_unsupported_ver.yml:32 Thursday 07 December 2023 08:37:57 +0000 (0:00:00.021) 0:00:02.663 ***** included: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml:2 Thursday 07 December 2023 08:37:58 +0000 (0:00:00.072) 0:00:02.735 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml:6 Thursday 07 December 2023 08:37:58 +0000 (0:00:00.946) 0:00:03.682 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml:14 Thursday 07 December 2023 08:37:59 +0000 (0:00:00.030) 0:00:03.712 ***** ok: [sut] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml:18 Thursday 07 December 2023 08:37:59 +0000 (0:00:00.023) 0:00:03.736 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 07 December 2023 08:37:59 +0000 (0:00:00.105) 0:00:03.841 ***** included: /WORKDIR/git-storage-selinux9vebnp43/.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-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 07 December 2023 08:37:59 +0000 (0:00:00.044) 0:00:03.886 ***** 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-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Thursday 07 December 2023 08:37:59 +0000 (0:00:00.073) 0:00:03.959 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Thursday 07 December 2023 08:37:59 +0000 (0:00:00.322) 0:00:04.282 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Thursday 07 December 2023 08:37:59 +0000 (0:00:00.074) 0:00:04.357 ***** 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-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 07 December 2023 08:38:00 +0000 (0:00:00.490) 0:00:04.848 ***** 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-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 07 December 2023 08:38:00 +0000 (0:00:00.021) 0:00:04.869 ***** 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-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Thursday 07 December 2023 08:38:00 +0000 (0:00:00.034) 0:00:04.904 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:27:48 UTC", "ActiveEnterTimestampMonotonic": "1247270698", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service system.slice basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:27:47 UTC", "AssertTimestampMonotonic": "1246765930", "Before": "multi-user.target 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": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:27:47 UTC", "ConditionTimestampMonotonic": "1246765930", "Conflicts": "iptables.service ebtables.service shutdown.target ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12492", "ExecMainStartTimestamp": "Thu 2023-12-07 08:27:47 UTC", "ExecMainStartTimestampMonotonic": "1246767377", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:27:47 UTC", "InactiveExitTimestampMonotonic": "1246767412", "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": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "12492", "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": "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": "Thu 2023-12-07 08:27:48 UTC", "WatchdogTimestampMonotonic": "1247270637", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Thursday 07 December 2023 08:38:00 +0000 (0:00:00.462) 0:00:05.366 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:27:48 UTC", "ActiveEnterTimestampMonotonic": "1247270698", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service system.slice basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:27:47 UTC", "AssertTimestampMonotonic": "1246765930", "Before": "multi-user.target 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": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:27:47 UTC", "ConditionTimestampMonotonic": "1246765930", "Conflicts": "iptables.service ebtables.service shutdown.target ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12492", "ExecMainStartTimestamp": "Thu 2023-12-07 08:27:47 UTC", "ExecMainStartTimestampMonotonic": "1246767377", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:27:47 UTC", "InactiveExitTimestampMonotonic": "1246767412", "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": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "12492", "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": "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": "Thu 2023-12-07 08:27:48 UTC", "WatchdogTimestampMonotonic": "1247270637", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Thursday 07 December 2023 08:38:00 +0000 (0:00:00.228) 0:00:05.595 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Thursday 07 December 2023 08:38:00 +0000 (0:00:00.030) 0:00:05.626 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.40.20 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Thursday 07 December 2023 08:38:01 +0000 (0:00:00.400) 0:00:06.026 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 07 December 2023 08:38:01 +0000 (0:00:00.040) 0:00:06.066 ***** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Thursday 07 December 2023 08:38:01 +0000 (0:00:00.025) 0:00:06.092 ***** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Thursday 07 December 2023 08:38:01 +0000 (0:00:00.021) 0:00:06.113 ***** 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-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Thursday 07 December 2023 08:38:01 +0000 (0:00:00.027) 0:00:06.140 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Thursday 07 December 2023 08:38:01 +0000 (0:00:00.033) 0:00:06.174 ***** 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-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Thursday 07 December 2023 08:38:01 +0000 (0:00:00.028) 0:00:06.202 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.40.20 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Thursday 07 December 2023 08:38:01 +0000 (0:00:00.338) 0:00:06.541 ***** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Thursday 07 December 2023 08:38:01 +0000 (0:00:00.038) 0:00:06.580 ***** skipping: [sut] => {} TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml:27 Thursday 07 December 2023 08:38:01 +0000 (0:00:00.080) 0:00:06.660 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml:35 Thursday 07 December 2023 08:38:02 +0000 (0:00:00.058) 0:00:06.719 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml:39 Thursday 07 December 2023 08:38:02 +0000 (0:00:00.026) 0:00:06.746 ***** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml:45 Thursday 07 December 2023 08:38:02 +0000 (0:00:00.300) 0:00:07.047 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "adutil is not installed", "mssql-server is not installed", "mssql-tools is not installed", "unixODBC-devel is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml:58 Thursday 07 December 2023 08:38:03 +0000 (0:00:00.703) 0:00:07.750 ***** ok: [sut] => { "changed": false, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.004090", "end": "2023-12-07 08:38:03.215786", "rc": 0, "start": "2023-12-07 08:38:03.211696" } TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml:72 Thursday 07 December 2023 08:38:03 +0000 (0:00:00.193) 0:00:07.943 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.007011", "end": "2023-12-07 08:38:03.358082", "rc": 0, "start": "2023-12-07 08:38:03.351071" } STDERR: Failed to stop mssql-server.service: Unit mssql-server.service not loaded. META: ending play for sut PLAY RECAP ********************************************************************* sut : ok=29 changed=0 unreachable=0 failed=0 skipped=26 rescued=1 ignored=0 Thursday 07 December 2023 08:38:03 +0000 (0:00:00.146) 0:00:08.089 ***** =============================================================================== linux-system-roles.mssql : Gather package facts ------------------------- 1.07s /WORKDIR/git-storage-selinux9vebnp43/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Gather package facts ---------------------------------------------------- 0.95s /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml:2 ---------------- Remove related packages ------------------------------------------------- 0.70s /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml:45 --------------- Gathering Facts --------------------------------------------------------- 0.60s /WORKDIR/git-storage-selinux9vebnp43/tests/tests_tcp_firewall_2022.yml:9 ------ fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.49s /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.46s /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 0.40s /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 fedora.linux_system_roles.firewall : Get config files, checksums after --- 0.34s /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.32s /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Ensure that yum and dnf caching is enabled ------------------------------ 0.30s /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml:39 --------------- fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.23s /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Run the role ------------------------------------------------------------ 0.23s /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Ensure ansible_facts to get ansible_distribution ------------------------ 0.22s /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Remove related files ---------------------------------------------------- 0.19s /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml:58 --------------- Stop the mssql-server service ------------------------------------------- 0.15s /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml:72 --------------- Purge firewall configuration -------------------------------------------- 0.11s /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/cleanup.yml:18 --------------- fedora.linux_system_roles.firewall : Show diffs ------------------------- 0.08s /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 fedora.linux_system_roles.firewall : Set flag to indicate system is ostree --- 0.07s /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.07s /WORKDIR/git-storage-selinux9vebnp43/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Clean up after the role invocation -------------------------------------- 0.07s /WORKDIR/git-storage-selinux9vebnp43/tests/tasks/assert_fail_on_unsupported_ver.yml:32 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file 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. ---^---^---^---^---^---