# 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_2019_upgrade.yml *********************************************** 2 plays in /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_2019_upgrade.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_2019_upgrade.yml:4 Wednesday 06 December 2023 13:36:15 +0000 (0:00:00.012) 0:00:00.012 **** 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-selinuxil2rcgwq/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Ensure that the role installs version 2017 and upgrades to 2019] ********* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_2019_upgrade.yml:9 Wednesday 06 December 2023 13:36:15 +0000 (0:00:00.010) 0:00:00.023 **** ok: [sut] META: ran handlers TASK [Assert fail on EL 7 with version=2022 and EL 9 with version!=2022] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_2019_upgrade.yml:16 Wednesday 06 December 2023 13:36:15 +0000 (0:00:00.636) 0:00:00.660 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Wednesday 06 December 2023 13:36:15 +0000 (0:00:00.022) 0:00:00.682 **** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.346) 0:00:01.029 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.025) 0:00:01.054 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role with incorrect mssql_version] ******************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_2019_upgrade.yml:25 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.018) 0:00:01.073 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.138) 0:00:01.212 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.011) 0:00:01.224 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.022) 0:00:01.246 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.037) 0:00:01.283 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.009) 0:00:01.292 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.020) 0:00:01.313 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.021) 0:00:01.334 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.017) 0:00:01.352 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.018) 0:00:01.371 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.017) 0:00:01.388 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.018) 0:00:01.407 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.033) 0:00:01.441 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.017) 0:00:01.458 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.018) 0:00:01.477 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.018) 0:00:01.495 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.018) 0:00:01.514 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:36:16 +0000 (0:00:00.023) 0:00:01.538 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:36:18 +0000 (0:00:01.376) 0:00:02.915 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.049) 0:00:02.964 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.027) 0:00:02.991 **** 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, 2022 TASK [Assert that the role failed with the correct message] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_2019_upgrade.yml:37 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.046) 0:00:03.038 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Run the role with incorrect mssql_version] ******************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_2019_upgrade.yml:46 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.029) 0:00:03.067 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.081) 0:00:03.149 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.034) 0:00:03.183 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.046) 0:00:03.229 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.049) 0:00:03.279 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.018) 0:00:03.297 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.027) 0:00:03.325 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.031) 0:00:03.357 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.042) 0:00:03.399 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.034) 0:00:03.434 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.029) 0:00:03.464 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.030) 0:00:03.494 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.034) 0:00:03.529 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.051) 0:00:03.580 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.027) 0:00:03.608 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.028) 0:00:03.636 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.027) 0:00:03.664 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:36:18 +0000 (0:00:00.027) 0:00:03.691 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:36:20 +0000 (0:00:01.216) 0:00:04.908 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.046) 0:00:04.954 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.028) 0:00:04.983 **** 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, 2022 TASK [Assert that the role failed with the correct message] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_2019_upgrade.yml:56 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.031) 0:00:05.014 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set up MSSQL 2017] ******************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_2019_upgrade.yml:63 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.030) 0:00:05.045 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.103) 0:00:05.149 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.029) 0:00:05.178 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.032) 0:00:05.211 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.043) 0:00:05.254 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.017) 0:00:05.272 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.027) 0:00:05.299 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.026) 0:00:05.326 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.027) 0:00:05.353 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.026) 0:00:05.379 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.028) 0:00:05.408 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.027) 0:00:05.435 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.030) 0:00:05.466 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.027) 0:00:05.493 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.026) 0:00:05.520 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.055) 0:00:05.575 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.028) 0:00:05.604 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:36:20 +0000 (0:00:00.029) 0:00:05.633 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:36:22 +0000 (0:00:01.230) 0:00:06.863 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:36:22 +0000 (0:00:00.083) 0:00:06.947 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:36:22 +0000 (0:00:00.055) 0:00:07.002 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:36:22 +0000 (0:00:00.055) 0:00:07.058 **** 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 : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Wednesday 06 December 2023 13:36:22 +0000 (0:00:00.047) 0:00:07.106 **** changed: [sut] => { "attempts": 1, "changed": true } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Wednesday 06 December 2023 13:36:22 +0000 (0:00:00.616) 0:00:07.723 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Wednesday 06 December 2023 13:36:22 +0000 (0:00:00.022) 0:00:07.745 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Wednesday 06 December 2023 13:36:22 +0000 (0:00:00.022) 0:00:07.767 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Wednesday 06 December 2023 13:36:22 +0000 (0:00:00.021) 0:00:07.788 **** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:36:23 +0000 (0:00:00.280) 0:00:08.069 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Wednesday 06 December 2023 13:36:23 +0000 (0:00:00.020) 0:00:08.089 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Wednesday 06 December 2023 13:36:23 +0000 (0:00:00.020) 0:00:08.109 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 06 December 2023 13:36:23 +0000 (0:00:00.018) 0:00:08.128 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Wednesday 06 December 2023 13:36:23 +0000 (0:00:00.019) 0:00:08.148 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:36:23 +0000 (0:00:00.019) 0:00:08.167 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: libipt-1.6.1-8.el8.x86_64", "Installed: mssql-server-14.0.3465.1-1.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: python2-pip-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Installed: python2-pip-wheel-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Installed: python2-setuptools-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Installed: python2-setuptools-wheel-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Installed: python2-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Installed: gc-7.6.4-3.el8.x86_64", "Installed: gdb-8.2-20.el8.x86_64", "Installed: libatomic-8.5.0-20.el8.x86_64", "Installed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Installed: gcc-gdb-plugin-8.5.0-20.el8.x86_64", "Installed: gdb-headless-8.2-20.el8.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: python2-libs-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Installed: libtool-ltdl-2.4.6-25.el8.x86_64", "Installed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Installed: libbabeltrace-1.5.4-4.el8.x86_64", "Installed: guile-5:2.0.14-7.el8.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:37:07 +0000 (0:00:43.786) 0:00:51.954 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Wednesday 06 December 2023 13:37:07 +0000 (0:00:00.018) 0:00:51.972 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005737", "end": "2023-12-06 13:37:07.371339", "rc": 0, "start": "2023-12-06 13:37:07.365602" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 06 December 2023 13:37:07 +0000 (0:00:00.275) 0:00:52.247 **** 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 the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Wednesday 06 December 2023 13:37:19 +0000 (0:00:11.677) 0:01:03.925 **** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Wednesday 06 December 2023 13:37:19 +0000 (0:00:00.047) 0:01:03.972 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Wednesday 06 December 2023 13:37:19 +0000 (0:00:00.025) 0:01:03.998 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Wednesday 06 December 2023 13:37:27 +0000 (0:00:08.603) 0:01:12.601 **** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Wednesday 06 December 2023 13:37:27 +0000 (0:00:00.026) 0:01:12.627 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Wednesday 06 December 2023 13:37:27 +0000 (0:00:00.021) 0:01:12.649 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: tuned-profiles-mssql-2.21.0-1.el8_9.noarch" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Wednesday 06 December 2023 13:37:29 +0000 (0:00:02.125) 0:01:14.775 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:29:45 UTC", "ActiveEnterTimestampMonotonic": "13686444", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service sysinit.target dbus.service system.slice systemd-journald.socket polkit.service dbus.socket basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:29:44 UTC", "AssertTimestampMonotonic": "12770140", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:29:44 UTC", "ConditionTimestampMonotonic": "12770138", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service power-profiles-daemon.service tlp.service shutdown.target auto-cpufreq.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "700", "ExecMainStartTimestamp": "Wed 2023-12-06 13:29:44 UTC", "ExecMainStartTimestampMonotonic": "12771484", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; 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/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:29:44 UTC", "InactiveExitTimestampMonotonic": "12771541", "InvocationID": "eb1c6a6affd14abab16febbbce76eab2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "700", "MemoryAccounting": "yes", "MemoryCurrent": "19509248", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.service dbus.socket sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:29:45 UTC", "StateChangeTimestampMonotonic": "13686444", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:29:45 UTC", "WatchdogTimestampMonotonic": "13686441", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Wednesday 06 December 2023 13:37:30 +0000 (0:00:00.539) 0:01:15.314 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.205069", "end": "2023-12-06 13:37:30.870183", "rc": 0, "start": "2023-12-06 13:37:30.665114" } STDOUT: Current active profile: virtual-guest TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Wednesday 06 December 2023 13:37:30 +0000 (0:00:00.435) 0:01:15.750 **** changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.266602", "end": "2023-12-06 13:37:32.355370", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:37:31.088768" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 06 December 2023 13:37:32 +0000 (0:00:01.485) 0:01:17.236 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Wednesday 06 December 2023 13:37:32 +0000 (0:00:00.023) 0:01:17.259 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Wednesday 06 December 2023 13:37:32 +0000 (0:00:00.022) 0:01:17.281 **** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 06 December 2023 13:37:32 +0000 (0:00:00.256) 0:01:17.538 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: msodbcsql17-17.10.5.1-1.x86_64", "Installed: unixODBC-devel-2.3.11-1.rh.x86_64", "Installed: unixODBC-2.3.11-1.rh.x86_64", "Installed: mssql-tools-17.10.1.1-1.x86_64" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 06 December 2023 13:37:38 +0000 (0:00:06.057) 0:01:23.596 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Wednesday 06 December 2023 13:37:38 +0000 (0:00:00.021) 0:01:23.618 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 06 December 2023 13:37:38 +0000 (0:00:00.021) 0:01:23.640 **** skipping: [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 : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Wednesday 06 December 2023 13:37:38 +0000 (0:00:00.020) 0:01:23.660 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:37:38 +0000 (0:00:00.019) 0:01:23.680 **** skipping: [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 : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Wednesday 06 December 2023 13:37:38 +0000 (0:00:00.021) 0:01:23.701 **** skipping: [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 : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Wednesday 06 December 2023 13:37:38 +0000 (0:00:00.045) 0:01:23.747 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Wednesday 06 December 2023 13:37:38 +0000 (0:00:00.024) 0:01:23.771 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Wednesday 06 December 2023 13:37:38 +0000 (0:00:00.021) 0:01:23.792 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Wednesday 06 December 2023 13:37:38 +0000 (0:00:00.020) 0:01:23.812 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Wednesday 06 December 2023 13:37:38 +0000 (0:00:00.019) 0:01:23.832 **** skipping: [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 : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.020) 0:01:23.852 **** skipping: [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 : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.021) 0:01:23.874 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.019) 0:01:23.894 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.020) 0:01:23.914 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.021) 0:01:23.936 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.035) 0:01:23.971 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003166", "end": "2023-12-06 13:37:39.291141", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:37:39.287975" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.198) 0:01:24.170 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.048973", "end": "2023-12-06 13:37:39.538178", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:37:39.489205" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.252) 0:01:24.422 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.022) 0:01:24.445 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.051) 0:01:24.497 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.022) 0:01:24.519 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.028) 0:01:24.548 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.022) 0:01:24.571 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.022) 0:01:24.593 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.022) 0:01:24.615 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.020) 0:01:24.636 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.019) 0:01:24.656 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.020) 0:01:24.676 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.020) 0:01:24.697 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.020) 0:01:24.717 **** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.024) 0:01:24.741 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.022) 0:01:24.763 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.023) 0:01:24.787 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.023) 0:01:24.811 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 06 December 2023 13:37:39 +0000 (0:00:00.022) 0:01:24.833 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.023) 0:01:24.856 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.055) 0:01:24.912 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.022) 0:01:24.935 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.023) 0:01:24.959 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.025) 0:01:24.984 **** skipping: [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 : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.023) 0:01:25.008 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.023) 0:01:25.031 **** skipping: [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 : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.024) 0:01:25.055 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.023) 0:01:25.078 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.019) 0:01:25.098 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.020) 0:01:25.118 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.020) 0:01:25.138 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.019) 0:01:25.158 **** skipping: [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 : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.020) 0:01:25.179 **** skipping: [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 : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.021) 0:01:25.200 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.019) 0:01:25.220 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.021) 0:01:25.241 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.048) 0:01:25.289 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.021) 0:01:25.311 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.021) 0:01:25.332 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.020) 0:01:25.353 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.020) 0:01:25.374 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.020) 0:01:25.395 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.021) 0:01:25.416 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.022) 0:01:25.439 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.023) 0:01:25.463 **** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.027) 0:01:25.491 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.021) 0:01:25.512 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.022) 0:01:25.535 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.028) 0:01:25.563 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.034) 0:01:25.598 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.022) 0:01:25.621 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.021) 0:01:25.643 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.020) 0:01:25.663 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.052) 0:01:25.715 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.021) 0:01:25.737 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.021) 0:01:25.758 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.020) 0:01:25.779 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.020) 0:01:25.799 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.022) 0:01:25.822 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Wednesday 06 December 2023 13:37:40 +0000 (0:00:00.023) 0:01:25.846 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.029) 0:01:25.875 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.021) 0:01:25.897 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.020) 0:01:25.917 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.020) 0:01:25.937 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.023) 0:01:25.960 **** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.026) 0:01:25.987 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.022) 0:01:26.009 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.023) 0:01:26.032 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.023) 0:01:26.056 **** changed: [sut] => { "changed": true } MSG: Block inserted META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.339) 0:01:26.396 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.021) 0:01:26.417 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Upgrade to 2019 and assert expected results] ***************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_2019_upgrade.yml:71 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.020) 0:01:26.438 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/upgrade_and_assert.yml for sut TASK [Upgrade to 2019] ********************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/upgrade_and_assert.yml:9 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.058) 0:01:26.497 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.053) 0:01:26.551 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.032) 0:01:26.583 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.026) 0:01:26.610 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.036) 0:01:26.646 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.020) 0:01:26.666 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.019) 0:01:26.686 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.021) 0:01:26.707 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.050) 0:01:26.758 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.022) 0:01:26.781 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.021) 0:01:26.802 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:37:41 +0000 (0:00:00.020) 0:01:26.823 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:37:42 +0000 (0:00:00.025) 0:01:26.848 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:37:42 +0000 (0:00:00.021) 0:01:26.869 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:37:42 +0000 (0:00:00.021) 0:01:26.891 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:37:42 +0000 (0:00:00.020) 0:01:26.911 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:37:42 +0000 (0:00:00.020) 0:01:26.932 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:37:42 +0000 (0:00:00.023) 0:01:26.956 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:37:43 +0000 (0:00:01.268) 0:01:28.224 **** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:37:43 +0000 (0:00:00.093) 0:01:28.318 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:37:43 +0000 (0:00:00.025) 0:01:28.343 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:37:43 +0000 (0:00:00.025) 0:01:28.369 **** 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 : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Wednesday 06 December 2023 13:37:43 +0000 (0:00:00.042) 0:01:28.412 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Wednesday 06 December 2023 13:37:44 +0000 (0:00:01.369) 0:01:29.782 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Wednesday 06 December 2023 13:37:45 +0000 (0:00:00.733) 0:01:30.515 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; yum repolist enabled | grep packages-microsoft-com-mssql-server- | grep -v packages-microsoft-com-mssql-server-2019 | cut -d\" \" -f 1 || true", "delta": "0:00:00.401200", "end": "2023-12-06 13:37:46.236814", "rc": 0, "start": "2023-12-06 13:37:45.835614" } STDOUT: packages-microsoft-com-mssql-server-2017 TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Wednesday 06 December 2023 13:37:46 +0000 (0:00:00.601) 0:01:31.117 **** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "absent" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Wednesday 06 December 2023 13:37:46 +0000 (0:00:00.213) 0:01:31.330 **** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:37:46 +0000 (0:00:00.219) 0:01:31.549 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Wednesday 06 December 2023 13:37:46 +0000 (0:00:00.022) 0:01:31.571 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Wednesday 06 December 2023 13:37:46 +0000 (0:00:00.022) 0:01:31.594 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 06 December 2023 13:37:46 +0000 (0:00:00.021) 0:01:31.616 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Wednesday 06 December 2023 13:37:46 +0000 (0:00:00.022) 0:01:31.638 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:37:46 +0000 (0:00:00.024) 0:01:31.663 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-15.0.4335.1-6.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Removed: mssql-server-14.0.3465.1-1.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:38:27 +0000 (0:00:40.348) 0:02:12.011 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Wednesday 06 December 2023 13:38:27 +0000 (0:00:00.023) 0:02:12.035 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.007686", "end": "2023-12-06 13:38:27.374072", "rc": 0, "start": "2023-12-06 13:38:27.366386" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 06 December 2023 13:38:27 +0000 (0:00:00.220) 0:02:12.256 **** 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 the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Wednesday 06 December 2023 13:38:35 +0000 (0:00:08.008) 0:02:20.264 **** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Wednesday 06 December 2023 13:38:35 +0000 (0:00:00.029) 0:02:20.294 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Wednesday 06 December 2023 13:38:35 +0000 (0:00:00.053) 0:02:20.348 **** skipping: [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 : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Wednesday 06 December 2023 13:38:35 +0000 (0:00:00.023) 0:02:20.371 **** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Wednesday 06 December 2023 13:38:35 +0000 (0:00:00.039) 0:02:20.411 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Wednesday 06 December 2023 13:38:35 +0000 (0:00:00.023) 0:02:20.434 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Wednesday 06 December 2023 13:38:36 +0000 (0:00:01.368) 0:02:21.803 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:29:45 UTC", "ActiveEnterTimestampMonotonic": "13686444", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.socket dbus.service polkit.service system.slice basic.target systemd-journald.socket systemd-sysctl.service sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:29:44 UTC", "AssertTimestampMonotonic": "12770140", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:29:44 UTC", "ConditionTimestampMonotonic": "12770138", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service tlp.service shutdown.target power-profiles-daemon.service auto-cpufreq.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "700", "ExecMainStartTimestamp": "Wed 2023-12-06 13:29:44 UTC", "ExecMainStartTimestampMonotonic": "12771484", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; 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/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:29:44 UTC", "InactiveExitTimestampMonotonic": "12771541", "InvocationID": "eb1c6a6affd14abab16febbbce76eab2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "700", "MemoryAccounting": "yes", "MemoryCurrent": "20459520", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:29:45 UTC", "StateChangeTimestampMonotonic": "13686444", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:29:45 UTC", "WatchdogTimestampMonotonic": "13686441", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Wednesday 06 December 2023 13:38:38 +0000 (0:00:01.379) 0:02:23.182 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.129579", "end": "2023-12-06 13:38:38.671448", "rc": 0, "start": "2023-12-06 13:38:38.541869" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Wednesday 06 December 2023 13:38:38 +0000 (0:00:00.398) 0:02:23.581 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 06 December 2023 13:38:38 +0000 (0:00:00.022) 0:02:23.603 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Wednesday 06 December 2023 13:38:38 +0000 (0:00:00.022) 0:02:23.625 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Wednesday 06 December 2023 13:38:38 +0000 (0:00:00.022) 0:02:23.647 **** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 06 December 2023 13:38:39 +0000 (0:00:00.230) 0:02:23.878 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 06 December 2023 13:38:40 +0000 (0:00:01.350) 0:02:25.229 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:38:40 +0000 (0:00:00.042) 0:02:25.271 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:38:26 UTC", "ActiveEnterTimestampMonotonic": "534674499", "ActiveExitTimestamp": "Wed 2023-12-06 13:37:59 UTC", "ActiveExitTimestampMonotonic": "508276806", "ActiveState": "active", "After": "basic.target network.target sysinit.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:38:26 UTC", "AssertTimestampMonotonic": "534673301", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:38:26 UTC", "ConditionTimestampMonotonic": "534673300", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7931", "ExecMainStartTimestamp": "Wed 2023-12-06 13:38:26 UTC", "ExecMainStartTimestampMonotonic": "534674441", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; 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/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:38:00 UTC", "InactiveEnterTimestampMonotonic": "508531884", "InactiveExitTimestamp": "Wed 2023-12-06 13:38:26 UTC", "InactiveExitTimestampMonotonic": "534674499", "InvocationID": "fc9f44fa65284f1b8d98dbfe18b4e8f0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7931", "MemoryAccounting": "yes", "MemoryCurrent": "822546432", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:38:26 UTC", "StateChangeTimestampMonotonic": "534674499", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "153", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:38:26 UTC", "WatchdogTimestampMonotonic": "534674496", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:38:40 +0000 (0:00:00.401) 0:02:25.673 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003850", "end": "2023-12-06 13:38:41.018473", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:38:41.014623" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:38:41 +0000 (0:00:00.268) 0:02:25.941 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003334", "end": "2023-12-06 13:38:41.296389", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:38:41.293055" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:38:41 +0000 (0:00:00.241) 0:02:26.183 **** 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 : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Wednesday 06 December 2023 13:38:41 +0000 (0:00:00.039) 0:02:26.223 **** ok: [sut] => { "changed": false, "elapsed": 11, "gid": 988, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 209264, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 06 December 2023 13:38:52 +0000 (0:00:11.289) 0:02:37.512 **** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Wednesday 06 December 2023 13:38:52 +0000 (0:00:00.260) 0:02:37.773 **** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:38:26 UTC", "ActiveEnterTimestampMonotonic": "534674499", "ActiveExitTimestamp": "Wed 2023-12-06 13:37:59 UTC", "ActiveExitTimestampMonotonic": "508276806", "ActiveState": "active", "After": "basic.target network.target sysinit.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:38:26 UTC", "AssertTimestampMonotonic": "534673301", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:38:26 UTC", "ConditionTimestampMonotonic": "534673300", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7931", "ExecMainStartTimestamp": "Wed 2023-12-06 13:38:26 UTC", "ExecMainStartTimestampMonotonic": "534674441", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; 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/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:38:00 UTC", "InactiveEnterTimestampMonotonic": "508531884", "InactiveExitTimestamp": "Wed 2023-12-06 13:38:26 UTC", "InactiveExitTimestampMonotonic": "534674499", "InvocationID": "fc9f44fa65284f1b8d98dbfe18b4e8f0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7931", "MemoryAccounting": "yes", "MemoryCurrent": "904667136", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:38:26 UTC", "StateChangeTimestampMonotonic": "534674499", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "151", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:38:26 UTC", "WatchdogTimestampMonotonic": "534674496", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:38:53 +0000 (0:00:00.597) 0:02:38.370 **** 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 : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Wednesday 06 December 2023 13:38:54 +0000 (0:00:01.277) 0:02:39.648 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Wednesday 06 December 2023 13:38:58 +0000 (0:00:04.114) 0:02:43.762 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Wednesday 06 December 2023 13:38:58 +0000 (0:00:00.022) 0:02:43.785 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Wednesday 06 December 2023 13:38:58 +0000 (0:00:00.020) 0:02:43.805 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Wednesday 06 December 2023 13:38:58 +0000 (0:00:00.022) 0:02:43.828 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.051) 0:02:43.879 **** skipping: [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 : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.023) 0:02:43.902 **** skipping: [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 : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.023) 0:02:43.926 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.022) 0:02:43.948 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.022) 0:02:43.971 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.024) 0:02:43.995 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.039) 0:02:44.035 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003299", "end": "2023-12-06 13:38:59.363046", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:38:59.359747" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.207) 0:02:44.242 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.118607", "end": "2023-12-06 13:38:59.688268", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:38:59.569661" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.329) 0:02:44.572 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.022) 0:02:44.595 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.021) 0:02:44.617 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.023) 0:02:44.640 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.023) 0:02:44.663 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.021) 0:02:44.685 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.063) 0:02:44.748 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.024) 0:02:44.773 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.022) 0:02:44.796 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.022) 0:02:44.819 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Wednesday 06 December 2023 13:38:59 +0000 (0:00:00.022) 0:02:44.841 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.021) 0:02:44.863 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.022) 0:02:44.885 **** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.024) 0:02:44.910 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.021) 0:02:44.932 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.022) 0:02:44.954 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.023) 0:02:44.978 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.036) 0:02:45.014 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.032) 0:02:45.046 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.024) 0:02:45.071 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.021) 0:02:45.092 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.041) 0:02:45.134 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.075) 0:02:45.209 **** skipping: [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 : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.024) 0:02:45.234 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.030) 0:02:45.265 **** skipping: [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 : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.031) 0:02:45.297 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.034) 0:02:45.331 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.023) 0:02:45.355 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.024) 0:02:45.380 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.024) 0:02:45.404 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.024) 0:02:45.429 **** skipping: [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 : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.029) 0:02:45.459 **** skipping: [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 : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.052) 0:02:45.512 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.024) 0:02:45.536 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.046) 0:02:45.583 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.046) 0:02:45.630 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.028) 0:02:45.658 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.024) 0:02:45.682 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.022) 0:02:45.705 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.058) 0:02:45.764 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.022) 0:02:45.787 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.022) 0:02:45.809 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:39:00 +0000 (0:00:00.036) 0:02:45.845 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.031) 0:02:45.876 **** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.033) 0:02:45.909 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.042) 0:02:45.952 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.044) 0:02:45.997 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.047) 0:02:46.044 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.022) 0:02:46.067 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.022) 0:02:46.089 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.021) 0:02:46.111 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.021) 0:02:46.132 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.021) 0:02:46.153 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.022) 0:02:46.176 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.028) 0:02:46.205 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.072) 0:02:46.277 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.022) 0:02:46.300 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.029) 0:02:46.330 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.023) 0:02:46.353 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.028) 0:02:46.382 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.022) 0:02:46.405 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.023) 0:02:46.428 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.022) 0:02:46.450 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.024) 0:02:46.475 **** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.025) 0:02:46.501 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.020) 0:02:46.521 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.021) 0:02:46.543 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.022) 0:02:46.566 **** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 06 December 2023 13:39:01 +0000 (0:00:00.227) 0:02:46.794 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:38:26 UTC", "ActiveEnterTimestampMonotonic": "534674499", "ActiveExitTimestamp": "Wed 2023-12-06 13:38:53 UTC", "ActiveExitTimestampMonotonic": "561750759", "ActiveState": "inactive", "After": "basic.target network.target sysinit.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:38:26 UTC", "AssertTimestampMonotonic": "534673301", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:38:26 UTC", "ConditionTimestampMonotonic": "534673300", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2023-12-06 13:38:53 UTC", "ExecMainExitTimestampMonotonic": "562011560", "ExecMainPID": "7931", "ExecMainStartTimestamp": "Wed 2023-12-06 13:38:26 UTC", "ExecMainStartTimestampMonotonic": "534674441", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:38:26 UTC] ; stop_time=[Wed 2023-12-06 13:38:53 UTC] ; pid=7931 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:38:53 UTC", "InactiveEnterTimestampMonotonic": "562011661", "InactiveExitTimestamp": "Wed 2023-12-06 13:38:26 UTC", "InactiveExitTimestampMonotonic": "534674499", "InvocationID": "fc9f44fa65284f1b8d98dbfe18b4e8f0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:38:53 UTC", "StateChangeTimestampMonotonic": "562011661", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.398) 0:02:47.192 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.023) 0:02:47.215 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Upgrade again to test idempotency - should report not changed] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/upgrade_and_assert.yml:13 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.025) 0:02:47.241 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.124) 0:02:47.365 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.051) 0:02:47.417 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.028) 0:02:47.445 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.039) 0:02:47.485 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.021) 0:02:47.506 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.020) 0:02:47.527 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.024) 0:02:47.551 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.023) 0:02:47.575 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.032) 0:02:47.607 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.090) 0:02:47.697 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.023) 0:02:47.721 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.027) 0:02:47.748 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.023) 0:02:47.771 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.022) 0:02:47.794 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.021) 0:02:47.816 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:39:02 +0000 (0:00:00.029) 0:02:47.845 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:39:03 +0000 (0:00:00.023) 0:02:47.869 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:39:04 +0000 (0:00:01.576) 0:02:49.445 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:39:04 +0000 (0:00:00.061) 0:02:49.507 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:39:04 +0000 (0:00:00.022) 0:02:49.530 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:39:04 +0000 (0:00:00.023) 0:02:49.553 **** 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 : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Wednesday 06 December 2023 13:39:04 +0000 (0:00:00.044) 0:02:49.597 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Wednesday 06 December 2023 13:39:05 +0000 (0:00:00.531) 0:02:50.129 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Wednesday 06 December 2023 13:39:06 +0000 (0:00:01.070) 0:02:51.199 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; yum repolist enabled | grep packages-microsoft-com-mssql-server- | grep -v packages-microsoft-com-mssql-server-2019 | cut -d\" \" -f 1 || true", "delta": "0:00:00.386659", "end": "2023-12-06 13:39:06.905623", "rc": 0, "start": "2023-12-06 13:39:06.518964" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Wednesday 06 December 2023 13:39:06 +0000 (0:00:00.587) 0:02:51.786 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Wednesday 06 December 2023 13:39:07 +0000 (0:00:00.063) 0:02:51.850 **** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:39:07 +0000 (0:00:00.221) 0:02:52.071 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Wednesday 06 December 2023 13:39:07 +0000 (0:00:00.022) 0:02:52.094 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Wednesday 06 December 2023 13:39:07 +0000 (0:00:00.023) 0:02:52.117 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 06 December 2023 13:39:07 +0000 (0:00:00.023) 0:02:52.140 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Wednesday 06 December 2023 13:39:07 +0000 (0:00:00.026) 0:02:52.166 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:39:07 +0000 (0:00:00.024) 0:02:52.191 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:39:08 +0000 (0:00:01.216) 0:02:53.407 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Wednesday 06 December 2023 13:39:08 +0000 (0:00:00.022) 0:02:53.429 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005876", "end": "2023-12-06 13:39:08.750410", "rc": 0, "start": "2023-12-06 13:39:08.744534" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 06 December 2023 13:39:08 +0000 (0:00:00.202) 0:02:53.631 **** 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 the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Wednesday 06 December 2023 13:39:16 +0000 (0:00:07.600) 0:03:01.232 **** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Wednesday 06 December 2023 13:39:16 +0000 (0:00:00.029) 0:03:01.261 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Wednesday 06 December 2023 13:39:16 +0000 (0:00:00.021) 0:03:01.283 **** skipping: [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 : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Wednesday 06 December 2023 13:39:16 +0000 (0:00:00.020) 0:03:01.303 **** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Wednesday 06 December 2023 13:39:16 +0000 (0:00:00.027) 0:03:01.331 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Wednesday 06 December 2023 13:39:16 +0000 (0:00:00.023) 0:03:01.354 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Wednesday 06 December 2023 13:39:17 +0000 (0:00:01.283) 0:03:02.637 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:29:45 UTC", "ActiveEnterTimestampMonotonic": "13686444", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.socket dbus.service polkit.service system.slice basic.target systemd-journald.socket systemd-sysctl.service sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:29:44 UTC", "AssertTimestampMonotonic": "12770140", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:29:44 UTC", "ConditionTimestampMonotonic": "12770138", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service tlp.service shutdown.target power-profiles-daemon.service auto-cpufreq.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "700", "ExecMainStartTimestamp": "Wed 2023-12-06 13:29:44 UTC", "ExecMainStartTimestampMonotonic": "12771484", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; 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/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:29:44 UTC", "InactiveExitTimestampMonotonic": "12771541", "InvocationID": "eb1c6a6affd14abab16febbbce76eab2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "700", "MemoryAccounting": "yes", "MemoryCurrent": "20467712", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:29:45 UTC", "StateChangeTimestampMonotonic": "13686444", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:29:45 UTC", "WatchdogTimestampMonotonic": "13686441", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Wednesday 06 December 2023 13:39:18 +0000 (0:00:00.329) 0:03:02.967 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.116428", "end": "2023-12-06 13:39:18.398341", "rc": 0, "start": "2023-12-06 13:39:18.281913" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Wednesday 06 December 2023 13:39:18 +0000 (0:00:00.313) 0:03:03.280 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 06 December 2023 13:39:18 +0000 (0:00:00.026) 0:03:03.307 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Wednesday 06 December 2023 13:39:18 +0000 (0:00:00.027) 0:03:03.335 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Wednesday 06 December 2023 13:39:18 +0000 (0:00:00.023) 0:03:03.358 **** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 06 December 2023 13:39:18 +0000 (0:00:00.202) 0:03:03.561 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 06 December 2023 13:39:19 +0000 (0:00:01.201) 0:03:04.763 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:39:19 +0000 (0:00:00.042) 0:03:04.805 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:39:02 UTC", "ActiveEnterTimestampMonotonic": "570785913", "ActiveExitTimestamp": "Wed 2023-12-06 13:38:53 UTC", "ActiveExitTimestampMonotonic": "561750759", "ActiveState": "active", "After": "basic.target network.target sysinit.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:39:02 UTC", "AssertTimestampMonotonic": "570784747", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:39:02 UTC", "ConditionTimestampMonotonic": "570784746", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9140", "ExecMainStartTimestamp": "Wed 2023-12-06 13:39:02 UTC", "ExecMainStartTimestampMonotonic": "570785857", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:39:02 UTC] ; stop_time=[n/a] ; pid=9140 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:38:53 UTC", "InactiveEnterTimestampMonotonic": "562011661", "InactiveExitTimestamp": "Wed 2023-12-06 13:39:02 UTC", "InactiveExitTimestampMonotonic": "570785913", "InvocationID": "791c54fc59604f6db99dbaef007c5c36", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9140", "MemoryAccounting": "yes", "MemoryCurrent": "692129792", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:39:02 UTC", "StateChangeTimestampMonotonic": "570785913", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "147", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:39:02 UTC", "WatchdogTimestampMonotonic": "570785910", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:39:21 +0000 (0:00:01.320) 0:03:06.126 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002990", "end": "2023-12-06 13:39:21.445655", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:39:21.442665" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:39:21 +0000 (0:00:00.198) 0:03:06.324 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003004", "end": "2023-12-06 13:39:21.645745", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:39:21.642741" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:39:21 +0000 (0:00:00.199) 0:03:06.524 **** 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 : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Wednesday 06 December 2023 13:39:21 +0000 (0:00:00.076) 0:03:06.600 **** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 988, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 8349, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 06 December 2023 13:39:22 +0000 (0:00:01.209) 0:03:07.809 **** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Wednesday 06 December 2023 13:39:23 +0000 (0:00:00.234) 0:03:08.044 **** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:39:02 UTC", "ActiveEnterTimestampMonotonic": "570785913", "ActiveExitTimestamp": "Wed 2023-12-06 13:38:53 UTC", "ActiveExitTimestampMonotonic": "561750759", "ActiveState": "active", "After": "basic.target network.target sysinit.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:39:02 UTC", "AssertTimestampMonotonic": "570784747", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:39:02 UTC", "ConditionTimestampMonotonic": "570784746", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9140", "ExecMainStartTimestamp": "Wed 2023-12-06 13:39:02 UTC", "ExecMainStartTimestampMonotonic": "570785857", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:39:02 UTC] ; stop_time=[n/a] ; pid=9140 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:38:53 UTC", "InactiveEnterTimestampMonotonic": "562011661", "InactiveExitTimestamp": "Wed 2023-12-06 13:39:02 UTC", "InactiveExitTimestampMonotonic": "570785913", "InvocationID": "791c54fc59604f6db99dbaef007c5c36", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9140", "MemoryAccounting": "yes", "MemoryCurrent": "697569280", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:39:02 UTC", "StateChangeTimestampMonotonic": "570785913", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "147", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:39:02 UTC", "WatchdogTimestampMonotonic": "570785910", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:39:23 +0000 (0:00:00.572) 0:03:08.617 **** 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 : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Wednesday 06 December 2023 13:39:25 +0000 (0:00:01.280) 0:03:09.898 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Wednesday 06 December 2023 13:39:29 +0000 (0:00:04.092) 0:03:13.990 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.025) 0:03:14.016 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.023) 0:03:14.039 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.023) 0:03:14.063 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.023) 0:03:14.086 **** skipping: [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 : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.021) 0:03:14.108 **** skipping: [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 : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.022) 0:03:14.131 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.021) 0:03:14.152 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.067) 0:03:14.219 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.023) 0:03:14.243 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.038) 0:03:14.282 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002886", "end": "2023-12-06 13:39:29.606648", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:39:29.603762" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.205) 0:03:14.487 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.027) 0:03:14.515 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.023) 0:03:14.539 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.022) 0:03:14.562 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.022) 0:03:14.584 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.022) 0:03:14.606 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.021) 0:03:14.627 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.021) 0:03:14.649 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.021) 0:03:14.671 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.021) 0:03:14.692 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.020) 0:03:14.712 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.020) 0:03:14.733 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.061) 0:03:14.795 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.022) 0:03:14.818 **** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:39:29 +0000 (0:00:00.026) 0:03:14.844 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.024) 0:03:14.868 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.022) 0:03:14.891 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.021) 0:03:14.912 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.021) 0:03:14.934 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.023) 0:03:14.957 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.024) 0:03:14.981 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.021) 0:03:15.003 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.023) 0:03:15.026 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.026) 0:03:15.053 **** skipping: [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 : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.028) 0:03:15.082 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.023) 0:03:15.106 **** skipping: [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 : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.023) 0:03:15.129 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.021) 0:03:15.151 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.020) 0:03:15.171 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.056) 0:03:15.227 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.022) 0:03:15.250 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.022) 0:03:15.272 **** skipping: [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 : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.022) 0:03:15.295 **** skipping: [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 : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.023) 0:03:15.318 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.022) 0:03:15.341 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.023) 0:03:15.365 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.023) 0:03:15.388 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.022) 0:03:15.410 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.023) 0:03:15.434 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.024) 0:03:15.458 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.022) 0:03:15.481 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.023) 0:03:15.505 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.023) 0:03:15.528 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.022) 0:03:15.551 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.022) 0:03:15.573 **** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.073) 0:03:15.646 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.022) 0:03:15.669 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.022) 0:03:15.691 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.028) 0:03:15.720 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.020) 0:03:15.741 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.021) 0:03:15.762 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.021) 0:03:15.783 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.020) 0:03:15.804 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.020) 0:03:15.824 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 06 December 2023 13:39:30 +0000 (0:00:00.022) 0:03:15.847 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Wednesday 06 December 2023 13:39:31 +0000 (0:00:00.024) 0:03:15.871 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Wednesday 06 December 2023 13:39:31 +0000 (0:00:00.024) 0:03:15.896 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Wednesday 06 December 2023 13:39:31 +0000 (0:00:00.021) 0:03:15.917 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Wednesday 06 December 2023 13:39:31 +0000 (0:00:00.021) 0:03:15.939 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Wednesday 06 December 2023 13:39:31 +0000 (0:00:00.022) 0:03:15.961 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Wednesday 06 December 2023 13:39:31 +0000 (0:00:00.027) 0:03:15.989 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Wednesday 06 December 2023 13:39:31 +0000 (0:00:00.020) 0:03:16.009 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Wednesday 06 December 2023 13:39:31 +0000 (0:00:00.063) 0:03:16.073 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 06 December 2023 13:39:31 +0000 (0:00:00.023) 0:03:16.097 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Wednesday 06 December 2023 13:39:31 +0000 (0:00:00.023) 0:03:16.120 **** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 06 December 2023 13:39:31 +0000 (0:00:00.027) 0:03:16.148 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Wednesday 06 December 2023 13:39:31 +0000 (0:00:00.023) 0:03:16.172 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:39:31 +0000 (0:00:00.024) 0:03:16.196 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Wednesday 06 December 2023 13:39:31 +0000 (0:00:00.022) 0:03:16.218 **** ok: [sut] => { "changed": false } RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 06 December 2023 13:39:31 +0000 (0:00:00.221) 0:03:16.440 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:39:02 UTC", "ActiveEnterTimestampMonotonic": "570785913", "ActiveExitTimestamp": "Wed 2023-12-06 13:39:23 UTC", "ActiveExitTimestampMonotonic": "592027728", "ActiveState": "inactive", "After": "basic.target network.target sysinit.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:39:02 UTC", "AssertTimestampMonotonic": "570784747", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:39:02 UTC", "ConditionTimestampMonotonic": "570784746", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2023-12-06 13:39:23 UTC", "ExecMainExitTimestampMonotonic": "592258551", "ExecMainPID": "9140", "ExecMainStartTimestamp": "Wed 2023-12-06 13:39:02 UTC", "ExecMainStartTimestampMonotonic": "570785857", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:39:02 UTC] ; stop_time=[Wed 2023-12-06 13:39:23 UTC] ; pid=9140 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:39:23 UTC", "InactiveEnterTimestampMonotonic": "592258676", "InactiveExitTimestamp": "Wed 2023-12-06 13:39:02 UTC", "InactiveExitTimestampMonotonic": "570785913", "InvocationID": "791c54fc59604f6db99dbaef007c5c36", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:39:23 UTC", "StateChangeTimestampMonotonic": "592258676", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Wednesday 06 December 2023 13:39:32 +0000 (0:00:01.346) 0:03:17.786 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Wednesday 06 December 2023 13:39:32 +0000 (0:00:00.022) 0:03:17.809 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up EL 7 after the role invocation] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/upgrade_and_assert.yml:27 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.072) 0:03:17.881 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [Upgrade to new version on mssql new version 2017] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/upgrade_and_assert.yml:45 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.048) 0:03:17.930 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.090) 0:03:18.021 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.044) 0:03:18.066 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.028) 0:03:18.094 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.047) 0:03:18.141 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.020) 0:03:18.162 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.022) 0:03:18.185 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.022) 0:03:18.208 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.024) 0:03:18.232 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.079) 0:03:18.312 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.022) 0:03:18.335 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.022) 0:03:18.358 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.025) 0:03:18.384 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.021) 0:03:18.405 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.021) 0:03:18.426 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.022) 0:03:18.448 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.021) 0:03:18.470 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:39:33 +0000 (0:00:00.023) 0:03:18.494 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:39:35 +0000 (0:00:01.495) 0:03:19.989 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:39:35 +0000 (0:00:00.063) 0:03:20.053 **** 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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:39:35 +0000 (0:00:00.022) 0:03:20.076 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:39:35 +0000 (0:00:00.024) 0:03:20.101 **** failed: [sut] (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } MSG: ['"You set mssql_version to 2017, but your SQL Server is of higher version"', 'The role does not support downgrading SQL Server'] 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 [Assert that the role failed with the correct message] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/upgrade_and_assert.yml:59 Wednesday 06 December 2023 13:39:35 +0000 (0:00:00.044) 0:03:20.145 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the ansible_managed header in the configuration file] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_2019_upgrade.yml:77 Wednesday 06 December 2023 13:39:35 +0000 (0:00:00.027) 0:03:20.172 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/check_header.yml:4 Wednesday 06 December 2023 13:39:35 +0000 (0:00:00.065) 0:03:20.238 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003704", "end": "2023-12-06 13:39:35.635847", "rc": 0, "start": "2023-12-06 13:39:35.632143" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = false [EULA] accepteula = Y [network] tcpport = 1433 TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_2019_upgrade.yml:80 Wednesday 06 December 2023 13:39:35 +0000 (0:00:00.281) 0:03:20.519 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:2 Wednesday 06 December 2023 13:39:35 +0000 (0:00:00.064) 0:03:20.584 **** 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-selinuxil2rcgwq/tests/tasks/cleanup.yml:6 Wednesday 06 December 2023 13:39:37 +0000 (0:00:01.674) 0:03:22.258 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:14 Wednesday 06 December 2023 13:39:37 +0000 (0:00:00.028) 0:03:22.286 **** ok: [sut] => { "ansible_python_version": "3.6.8" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:18 Wednesday 06 December 2023 13:39:37 +0000 (0:00:00.032) 0:03:22.319 **** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 06 December 2023 13:39:37 +0000 (0:00:00.086) 0:03:22.406 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/.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-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 06 December 2023 13:39:37 +0000 (0:00:00.041) 0:03:22.447 **** 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-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Wednesday 06 December 2023 13:39:37 +0000 (0:00:00.073) 0:03:22.521 **** 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-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Wednesday 06 December 2023 13:39:37 +0000 (0:00:00.247) 0:03:22.769 **** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Wednesday 06 December 2023 13:39:37 +0000 (0:00:00.027) 0:03:22.796 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 06 December 2023 13:39:39 +0000 (0:00:01.217) 0:03:24.014 **** 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-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 06 December 2023 13:39:39 +0000 (0:00:00.025) 0:03:24.040 **** 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-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 06 December 2023 13:39:39 +0000 (0:00:00.031) 0:03:24.071 **** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service dbus.socket system.slice dbus.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ebtables.service iptables.service shutdown.target nftables.service ip6tables.service ipset.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "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 }", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "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": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "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": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 06 December 2023 13:39:39 +0000 (0:00:00.341) 0:03:24.412 **** changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service dbus.socket system.slice basic.target dbus.service sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service iptables.service ip6tables.service ebtables.service shutdown.target ipset.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "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 }", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "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": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "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": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 06 December 2023 13:39:40 +0000 (0:00:01.186) 0:03:25.599 **** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python3", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 06 December 2023 13:39:40 +0000 (0:00:00.078) 0:03:25.678 **** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 01fd12090b256116f23dc2e9bb64a2e7b3c0af919a1dc686580df84563bbd9ef /etc/firewalld/lockdown-whitelist.xml STDERR: Shared connection to 10.31.41.22 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 06 December 2023 13:39:42 +0000 (0:00:01.727) 0:03:27.406 **** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 06 December 2023 13:39:42 +0000 (0:00:00.053) 0:03:27.459 **** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 06 December 2023 13:39:42 +0000 (0:00:00.025) 0:03:27.485 **** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 06 December 2023 13:39:42 +0000 (0:00:00.030) 0:03:27.515 **** 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-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 06 December 2023 13:39:42 +0000 (0:00:00.047) 0:03:27.562 **** 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-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 06 December 2023 13:39:42 +0000 (0:00:00.026) 0:03:27.589 **** 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-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 06 December 2023 13:39:42 +0000 (0:00:00.026) 0:03:27.616 **** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.41.22 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 06 December 2023 13:39:43 +0000 (0:00:00.387) 0:03:28.004 **** changed: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 06 December 2023 13:39:43 +0000 (0:00:00.027) 0:03:28.031 **** skipping: [sut] => {} TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:27 Wednesday 06 December 2023 13:39:43 +0000 (0:00:00.073) 0:03:28.105 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:35 Wednesday 06 December 2023 13:39:43 +0000 (0:00:00.030) 0:03:28.135 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:39 Wednesday 06 December 2023 13:39:43 +0000 (0:00:00.041) 0:03:28.177 **** changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:45 Wednesday 06 December 2023 13:39:43 +0000 (0:00:00.290) 0:03:28.467 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: guile-5:2.0.14-7.el8.x86_64", "Removed: bzip2-1.0.6-26.el8.x86_64", "Removed: libtool-ltdl-2.4.6-25.el8.x86_64", "Removed: python2-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Removed: python2-libs-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Removed: python2-pip-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Removed: python2-pip-wheel-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Removed: python2-setuptools-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Removed: python2-setuptools-wheel-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Removed: unixODBC-2.3.11-1.rh.x86_64", "Removed: unixODBC-devel-2.3.11-1.rh.x86_64", "Removed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Removed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Removed: lsof-4.93.2-1.el8.x86_64", "Removed: msodbcsql17-17.10.5.1-1.x86_64", "Removed: libatomic-8.5.0-20.el8.x86_64", "Removed: libatomic_ops-7.6.2-3.el8.x86_64", "Removed: mssql-server-15.0.4335.1-6.x86_64", "Removed: libbabeltrace-1.5.4-4.el8.x86_64", "Removed: mssql-tools-17.10.1.1-1.x86_64", "Removed: libipt-1.6.1-8.el8.x86_64", "Removed: gc-7.6.4-3.el8.x86_64", "Removed: gcc-gdb-plugin-8.5.0-20.el8.x86_64", "Removed: gdb-8.2-20.el8.x86_64", "Removed: gdb-headless-8.2-20.el8.x86_64" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:58 Wednesday 06 December 2023 13:39:48 +0000 (0:00:05.106) 0:03:33.574 **** changed: [sut] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.010858", "end": "2023-12-06 13:39:48.902287", "rc": 0, "start": "2023-12-06 13:39:48.891429" } STDOUT: removed '/var/opt/mssql/mssql.conf' removed directory '/var/opt/mssql/.system/system/Temp' removed '/var/opt/mssql/.system/system/licensing.hiv' removed '/var/opt/mssql/.system/system/lsasetup.log' removed '/var/opt/mssql/.system/system/debug/PASSWD.LOG' removed directory '/var/opt/mssql/.system/system/debug' removed '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/81120001-27e6-4c8c-ad57-bba1785c14db' removed '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect' removed directory '/var/opt/mssql/.system/system/system32/Microsoft' removed directory '/var/opt/mssql/.system/system/system32/LogFiles/Scm' removed directory '/var/opt/mssql/.system/system/system32/LogFiles' removed directory '/var/opt/mssql/.system/system/system32' removed '/var/opt/mssql/.system/system/security.hiv' removed '/var/opt/mssql/.system/system/lsa.hiv' removed directory '/var/opt/mssql/.system/system' removed directory '/var/opt/mssql/.system/profiles/Client/Desktop' removed directory '/var/opt/mssql/.system/profiles/Client/Documents' removed directory '/var/opt/mssql/.system/profiles/Client/Temp' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-3950184821-319400600-4202747462-500/42e7704ae40b0d75de00736cc66b813a_874b2552-7322-4a21-abc8-190192ca6434' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-3950184821-319400600-4202747462-500' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3950184821-319400600-4202747462-500/9093cebb-706f-4bf5-9d54-db216c32c3fe' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3950184821-319400600-4202747462-500/Preferred' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3950184821-319400600-4202747462-500' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/LocalLow' removed directory '/var/opt/mssql/.system/profiles/Client/AppData' removed directory '/var/opt/mssql/.system/profiles/Client' removed directory '/var/opt/mssql/.system/profiles' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed directory '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore' removed directory '/var/opt/mssql/.system/programdata/Microsoft/NetFramework' removed directory '/var/opt/mssql/.system/programdata/Microsoft' removed directory '/var/opt/mssql/.system/programdata' removed '/var/opt/mssql/.system/instance_id' removed directory '/var/opt/mssql/.system' removed '/var/opt/mssql/data/master.mdf' removed '/var/opt/mssql/data/mastlog.ldf' removed '/var/opt/mssql/data/model.mdf' removed '/var/opt/mssql/data/modellog.ldf' removed '/var/opt/mssql/data/msdbdata.mdf' removed '/var/opt/mssql/data/msdblog.ldf' removed '/var/opt/mssql/data/tempdb.mdf' removed '/var/opt/mssql/data/templog.ldf' removed '/var/opt/mssql/data/model_replicatedmaster.mdf' removed '/var/opt/mssql/data/model_replicatedmaster.ldf' removed '/var/opt/mssql/data/model_msdbdata.mdf' removed '/var/opt/mssql/data/model_msdblog.ldf' removed '/var/opt/mssql/data/Entropy.bin' removed '/var/opt/mssql/data/MS_AgentSigningCertificate.cer' removed directory '/var/opt/mssql/data' removed '/var/opt/mssql/log/sqlagentstartup.log' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463434424580000.xel' removed '/var/opt/mssql/log/system_health_0_133463434431080000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463434501950000.xel' removed '/var/opt/mssql/log/system_health_0_133463434506330000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463435089880000.xel' removed '/var/opt/mssql/log/system_health_0_133463435098790000.xel' removed '/var/opt/mssql/log/log_2.trc' removed '/var/opt/mssql/log/system_health_0_133463435115910000.xel' removed '/var/opt/mssql/log/system_health_0_133463435316890000.xel' removed '/var/opt/mssql/log/mssql-conf/mssql-conf.log' removed directory '/var/opt/mssql/log/mssql-conf' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463435376690000.xel' removed '/var/opt/mssql/log/system_health_0_133463435380410000.xel' removed '/var/opt/mssql/log/log_3.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463435449600000.xel' removed '/var/opt/mssql/log/system_health_0_133463435454030000.xel' removed '/var/opt/mssql/log/log_4.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463435678540000.xel' removed '/var/opt/mssql/log/system_health_0_133463435682840000.xel' removed '/var/opt/mssql/log/log_5.trc' removed '/var/opt/mssql/log/errorlog.7' removed '/var/opt/mssql/log/errorlog.6' removed '/var/opt/mssql/log/errorlog.5' removed '/var/opt/mssql/log/errorlog.4' removed '/var/opt/mssql/log/errorlog.3' removed '/var/opt/mssql/log/errorlog.2' removed '/var/opt/mssql/log/errorlog.1' removed '/var/opt/mssql/log/errorlog' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463435755670000.xel' removed '/var/opt/mssql/log/system_health_0_133463435760630000.xel' removed '/var/opt/mssql/log/log_6.trc' removed directory '/var/opt/mssql/log' removed '/var/opt/mssql/secrets/machine-key' removed directory '/var/opt/mssql/secrets' removed directory '/var/opt/mssql' removed directory '/opt/mssql' removed directory '/opt/mssql-tools' removed '/etc/yum.repos.d/packages-microsoft-com-mssql-server-2019.repo' removed '/etc/yum.repos.d/packages-microsoft-com-prod.repo' TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:72 Wednesday 06 December 2023 13:39:48 +0000 (0:00:00.209) 0:03:33.784 **** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.010881", "end": "2023-12-06 13:39:49.110276", "rc": 0, "start": "2023-12-06 13:39:49.099395" } STDERR: Failed to stop mssql-server.service: Unit mssql-server.service not loaded. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=139 changed=25 unreachable=0 failed=0 skipped=380 rescued=3 ignored=2 Wednesday 06 December 2023 13:39:49 +0000 (0:00:00.190) 0:03:33.974 **** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 43.79s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 linux-system-roles.mssql : Ensure the package mssql-server ------------- 41.56s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 linux-system-roles.mssql : Gather system services facts ---------------- 15.61s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections -- 12.50s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 linux-system-roles.mssql : Gather system services facts ---------------- 11.68s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Set up MSSQL --------------------------------- 8.60s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 linux-system-roles.mssql : Change the password of sa user --------------- 8.21s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 6.06s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Remove related packages ------------------------------------------------- 5.11s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:45 --------------- linux-system-roles.mssql : Gather package facts ------------------------- 4.06s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.65s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 linux-system-roles.mssql : Gather package facts ------------------------- 2.56s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 2.55s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.13s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories --- 1.90s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 linux-system-roles.mssql : Update all packages from SQL Server repo version 2017 --- 1.80s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 linux-system-roles.mssql : Restart the mssql-server service ------------- 1.74s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 1.73s /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 linux-system-roles.mssql : Ensure that the tuned service is started and enabled --- 1.71s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Gather package facts ---------------------------------------------------- 1.67s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:2 ---------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---