# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-storage-selinux4fa7ltoe/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_tcp_firewall_2022.yml ****************************************** 2 plays in /WORKDIR/git-storage-selinux4fa7ltoe/tests/tests_tcp_firewall_2022.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tests_tcp_firewall_2022.yml:4 Saturday 09 December 2023 14:34:18 +0000 (0:00:00.020) 0:00:00.020 ***** 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-selinux4fa7ltoe/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Verify the use of the firewall role to configure SQL Server TCP ports] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tests_tcp_firewall_2022.yml:9 Saturday 09 December 2023 14:34:18 +0000 (0:00:00.013) 0:00:00.033 ***** ok: [sut] TASK [Run tests_tcp_firewall with SQL Server 2022] ***************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tests_tcp_firewall_2022.yml:22 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.655) 0:00:00.689 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/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-selinux4fa7ltoe/tests/tasks/tests_tcp_firewall.yml:2 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.012) 0:00:00.701 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.011) 0:00:00.712 ***** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.220) 0:00:00.933 ***** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.093) 0:00:01.027 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.024) 0:00:01.051 ***** skipping: [sut] => { "changed": false, "false_condition": "__mssql_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.021) 0:00:01.072 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/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, "false_condition": "__mssql_vars_file is file", "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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/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, "false_condition": "__mssql_vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.039) 0:00:01.112 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.020) 0:00:01.133 ***** skipping: [sut] => { "false_condition": "mssql_input_sql_file is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.019) 0:00:01.152 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_input_sql_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.020) 0:00:01.173 ***** skipping: [sut] => { "false_condition": "mssql_ha_listener_port is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.020) 0:00:01.193 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_listener_port is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.019) 0:00:01.213 ***** skipping: [sut] => { "false_condition": "mssql_ad_sql_user_name is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.019) 0:00:01.232 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ad_sql_user_name is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.019) 0:00:01.252 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:67 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.022) 0:00:01.275 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.018) 0:00:01.293 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.019) 0:00:01.313 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:93 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.019) 0:00:01.332 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_ha_ag_cluster_type | lower == 'none'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:103 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.019) 0:00:01.352 ***** skipping: [sut] => { "changed": false, "false_condition": "(mssql_manage_selinux | bool) or (mssql_run_selinux_confined | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Saturday 09 December 2023 14:34:19 +0000 (0:00:00.021) 0:00:01.373 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 Saturday 09 December 2023 14:34:20 +0000 (0:00:01.116) 0:00:02.489 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Saturday 09 December 2023 14:34:20 +0000 (0:00:00.046) 0:00:02.536 ***** skipping: [sut] => { "changed": false, "false_condition": "mssql_version is none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:131 Saturday 09 December 2023 14:34:20 +0000 (0:00:00.027) 0:00:02.564 ***** 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-selinux4fa7ltoe/tests/tasks/assert_fail_on_unsupported_ver.yml:26 Saturday 09 December 2023 14:34:20 +0000 (0:00:00.030) 0:00:02.594 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/assert_fail_on_unsupported_ver.yml:32 Saturday 09 December 2023 14:34:21 +0000 (0:00:00.027) 0:00:02.622 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:2 Saturday 09 December 2023 14:34:21 +0000 (0:00:00.079) 0:00:02.701 ***** 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-selinux4fa7ltoe/tests/tasks/cleanup.yml:6 Saturday 09 December 2023 14:34:22 +0000 (0:00:01.003) 0:00:03.704 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts.packages.pcs is defined", "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:14 Saturday 09 December 2023 14:34:22 +0000 (0:00:00.031) 0:00:03.736 ***** ok: [sut] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:18 Saturday 09 December 2023 14:34:22 +0000 (0:00:00.028) 0:00:03.764 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 09 December 2023 14:34:22 +0000 (0:00:00.054) 0:00:03.819 ***** included: /WORKDIR/git-storage-selinux4fa7ltoe/.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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 09 December 2023 14:34:22 +0000 (0:00:00.040) 0:00:03.860 ***** skipping: [sut] => { "changed": false, "false_condition": "__firewall_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 09 December 2023 14:34:22 +0000 (0:00:00.031) 0:00:03.891 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 09 December 2023 14:34:22 +0000 (0:00:00.231) 0:00:04.122 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Saturday 09 December 2023 14:34:22 +0000 (0:00:00.033) 0:00:04.155 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 09 December 2023 14:34:22 +0000 (0:00:00.439) 0:00:04.595 ***** skipping: [sut] => { "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 09 December 2023 14:34:23 +0000 (0:00:00.030) 0:00:04.625 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 09 December 2023 14:34:23 +0000 (0:00:00.035) 0:00:04.661 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:27:30 UTC", "ActiveEnterTimestampMonotonic": "1410108043", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:27:29 UTC", "AssertTimestampMonotonic": "1409663184", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:27:29 UTC", "ConditionTimestampMonotonic": "1409663182", "Conflicts": "shutdown.target ebtables.service ipset.service ip6tables.service 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": "13393", "ExecMainStartTimestamp": "Sat 2023-12-09 14:27:29 UTC", "ExecMainStartTimestampMonotonic": "1409664438", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 14:27:29 UTC", "InactiveExitTimestampMonotonic": "1409664884", "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": "13393", "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": "Sat 2023-12-09 14:27:30 UTC", "WatchdogTimestampMonotonic": "1410107706", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 09 December 2023 14:34:23 +0000 (0:00:00.387) 0:00:05.048 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 14:27:30 UTC", "ActiveEnterTimestampMonotonic": "1410108043", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 14:27:29 UTC", "AssertTimestampMonotonic": "1409663184", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 14:27:29 UTC", "ConditionTimestampMonotonic": "1409663182", "Conflicts": "shutdown.target ebtables.service ipset.service ip6tables.service 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": "13393", "ExecMainStartTimestamp": "Sat 2023-12-09 14:27:29 UTC", "ExecMainStartTimestampMonotonic": "1409664438", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 14:27:29 UTC", "InactiveExitTimestampMonotonic": "1409664884", "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": "13393", "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": "Sat 2023-12-09 14:27:30 UTC", "WatchdogTimestampMonotonic": "1410107706", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 09 December 2023 14:34:23 +0000 (0:00:00.225) 0:00:05.274 ***** 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-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 09 December 2023 14:34:23 +0000 (0:00:00.036) 0:00:05.310 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.41.7 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 09 December 2023 14:34:23 +0000 (0:00:00.278) 0:00:05.588 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 09 December 2023 14:34:24 +0000 (0:00:00.032) 0:00:05.621 ***** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 09 December 2023 14:34:24 +0000 (0:00:00.026) 0:00:05.647 ***** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 09 December 2023 14:34:24 +0000 (0:00:00.027) 0:00:05.675 ***** skipping: [sut] => { "changed": false, "false_condition": "'detailed' in fw[0]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 09 December 2023 14:34:24 +0000 (0:00:00.029) 0:00:05.704 ***** skipping: [sut] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 09 December 2023 14:34:24 +0000 (0:00:00.051) 0:00:05.756 ***** skipping: [sut] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 09 December 2023 14:34:24 +0000 (0:00:00.029) 0:00:05.785 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.41.7 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 09 December 2023 14:34:24 +0000 (0:00:00.278) 0:00:06.063 ***** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 09 December 2023 14:34:24 +0000 (0:00:00.033) 0:00:06.097 ***** skipping: [sut] => { "false_condition": "__firewall_debug | d(false)" } TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:27 Saturday 09 December 2023 14:34:24 +0000 (0:00:00.036) 0:00:06.134 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts.packages.realmd is defined", "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:35 Saturday 09 December 2023 14:34:24 +0000 (0:00:00.029) 0:00:06.164 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts.packages[\"krb5-workstation\"] is defined", "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:39 Saturday 09 December 2023 14:34:24 +0000 (0:00:00.030) 0:00:06.194 ***** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:45 Saturday 09 December 2023 14:34:24 +0000 (0:00:00.210) 0:00:06.404 ***** 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-selinux4fa7ltoe/tests/tasks/cleanup.yml:58 Saturday 09 December 2023 14:34:25 +0000 (0:00:00.664) 0:00:07.068 ***** 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.004388", "end": "2023-12-09 14:34:25.671451", "rc": 0, "start": "2023-12-09 14:34:25.667063" } TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:72 Saturday 09 December 2023 14:34:25 +0000 (0:00:00.239) 0:00:07.308 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.006561", "end": "2023-12-09 14:34:25.821735", "rc": 0, "start": "2023-12-09 14:34:25.815174" } STDERR: Failed to stop mssql-server.service: Unit mssql-server.service not loaded. TASK [End unsupported host] **************************************************** task path: /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/assert_fail_on_unsupported_ver.yml:36 Saturday 09 December 2023 14:34:25 +0000 (0:00:00.149) 0:00:07.458 ***** META: ending play for sut PLAY RECAP ********************************************************************* sut : ok=29 changed=0 unreachable=0 failed=0 skipped=26 rescued=1 ignored=0 Saturday 09 December 2023 14:34:25 +0000 (0:00:00.020) 0:00:07.478 ***** =============================================================================== fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.12s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:112 Gather package facts ---------------------------------------------------- 1.00s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:2 ---------------- Remove related packages ------------------------------------------------- 0.66s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:45 --------------- Gathering Facts --------------------------------------------------------- 0.66s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tests_tcp_firewall_2022.yml:9 ------ fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.44s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.39s /WORKDIR/git-storage-selinux4fa7ltoe/.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.28s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 fedora.linux_system_roles.firewall : Get config files, checksums after --- 0.28s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Remove related files ---------------------------------------------------- 0.24s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:58 --------------- fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.23s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.23s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Ensure ansible_facts to get ansible_distribution ------------------------ 0.22s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Ensure that yum and dnf caching is enabled ------------------------------ 0.21s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:39 --------------- Stop the mssql-server service ------------------------------------------- 0.15s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:72 --------------- Run the role ------------------------------------------------------------ 0.09s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Clean up after the role invocation -------------------------------------- 0.08s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/assert_fail_on_unsupported_ver.yml:32 Purge firewall configuration -------------------------------------------- 0.05s /WORKDIR/git-storage-selinux4fa7ltoe/tests/tasks/cleanup.yml:18 --------------- fedora.linux_system_roles.firewall : Gather firewall config if no arguments --- 0.05s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any --- 0.05s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:116 fedora.linux_system_roles.firewall : Setup firewalld -------------------- 0.04s /WORKDIR/git-storage-selinux4fa7ltoe/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---