# 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.6/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.6.8 (default, Oct 26 2022, 09:13:21) [GCC 8.5.0 20210514 (Red Hat 8.5.0-17)] 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_upgrade.yml **************************************************** 2 plays in /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_upgrade.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_upgrade.yml:4 Tuesday 31 January 2023 17:40:08 +0000 (0:00:00.030) 0:00:00.030 ******* ok: [sut] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_upgrade.yml:9 Tuesday 31 January 2023 17:40:08 +0000 (0:00:00.051) 0:00:00.082 ******* ok: [sut] META: ran handlers TASK [Run the role with incorrect mssql_version] ******************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_upgrade.yml:18 Tuesday 31 January 2023 17:40:09 +0000 (0:00:01.042) 0:00:01.124 ******* TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 31 January 2023 17:40:09 +0000 (0:00:00.340) 0:00:01.464 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 31 January 2023 17:40:09 +0000 (0:00:00.033) 0:00:01.498 ******* ok: [sut] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Tuesday 31 January 2023 17:40:10 +0000 (0:00:00.527) 0:00:02.025 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 31 January 2023 17:40:10 +0000 (0:00:00.143) 0:00:02.169 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 31 January 2023 17:40:10 +0000 (0:00:00.048) 0:00:02.217 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 31 January 2023 17:40:10 +0000 (0:00:00.057) 0:00:02.275 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 31 January 2023 17:40:10 +0000 (0:00:00.087) 0:00:02.362 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 31 January 2023 17:40:10 +0000 (0:00:00.075) 0:00:02.438 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:41 Tuesday 31 January 2023 17:40:10 +0000 (0:00:00.073) 0:00:02.512 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:53 Tuesday 31 January 2023 17:40:10 +0000 (0:00:00.131) 0:00:02.644 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:61 Tuesday 31 January 2023 17:40:10 +0000 (0:00:00.073) 0:00:02.717 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:70 Tuesday 31 January 2023 17:40:10 +0000 (0:00:00.078) 0:00:02.796 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 Tuesday 31 January 2023 17:40:10 +0000 (0:00:00.089) 0:00:02.886 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:88 Tuesday 31 January 2023 17:40:13 +0000 (0:00:02.041) 0:00:04.928 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 31 January 2023 17:40:13 +0000 (0:00:00.160) 0:00:05.089 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:104 Tuesday 31 January 2023 17:40:13 +0000 (0:00:00.113) 0:00:05.202 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_upgrade.yml:30 Tuesday 31 January 2023 17:40:13 +0000 (0:00:00.122) 0:00:05.324 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Run the role with incorrect mssql_version] ******************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_upgrade.yml:39 Tuesday 31 January 2023 17:40:13 +0000 (0:00:00.098) 0:00:05.423 ******* TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 31 January 2023 17:40:13 +0000 (0:00:00.251) 0:00:05.675 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 31 January 2023 17:40:13 +0000 (0:00:00.125) 0:00:05.801 ******* ok: [sut] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Tuesday 31 January 2023 17:40:14 +0000 (0:00:00.519) 0:00:06.320 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 31 January 2023 17:40:14 +0000 (0:00:00.155) 0:00:06.476 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 31 January 2023 17:40:14 +0000 (0:00:00.065) 0:00:06.542 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 31 January 2023 17:40:14 +0000 (0:00:00.089) 0:00:06.631 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 31 January 2023 17:40:14 +0000 (0:00:00.091) 0:00:06.723 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 31 January 2023 17:40:14 +0000 (0:00:00.085) 0:00:06.808 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:41 Tuesday 31 January 2023 17:40:15 +0000 (0:00:00.103) 0:00:06.912 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:53 Tuesday 31 January 2023 17:40:15 +0000 (0:00:00.136) 0:00:07.048 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:61 Tuesday 31 January 2023 17:40:15 +0000 (0:00:00.083) 0:00:07.132 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:70 Tuesday 31 January 2023 17:40:15 +0000 (0:00:00.091) 0:00:07.223 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 Tuesday 31 January 2023 17:40:15 +0000 (0:00:00.086) 0:00:07.310 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:88 Tuesday 31 January 2023 17:40:17 +0000 (0:00:01.706) 0:00:09.017 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 31 January 2023 17:40:17 +0000 (0:00:00.137) 0:00:09.155 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:104 Tuesday 31 January 2023 17:40:17 +0000 (0:00:00.086) 0:00:09.241 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_upgrade.yml:49 Tuesday 31 January 2023 17:40:17 +0000 (0:00:00.087) 0:00:09.329 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set up MSSQL 2017] ******************************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_upgrade.yml:56 Tuesday 31 January 2023 17:40:17 +0000 (0:00:00.085) 0:00:09.414 ******* TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 31 January 2023 17:40:17 +0000 (0:00:00.254) 0:00:09.669 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 31 January 2023 17:40:17 +0000 (0:00:00.100) 0:00:09.769 ******* ok: [sut] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Tuesday 31 January 2023 17:40:18 +0000 (0:00:00.522) 0:00:10.292 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 31 January 2023 17:40:18 +0000 (0:00:00.114) 0:00:10.406 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 31 January 2023 17:40:18 +0000 (0:00:00.060) 0:00:10.466 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 31 January 2023 17:40:18 +0000 (0:00:00.082) 0:00:10.549 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 31 January 2023 17:40:18 +0000 (0:00:00.087) 0:00:10.637 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 31 January 2023 17:40:18 +0000 (0:00:00.093) 0:00:10.730 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:41 Tuesday 31 January 2023 17:40:18 +0000 (0:00:00.083) 0:00:10.814 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:53 Tuesday 31 January 2023 17:40:18 +0000 (0:00:00.088) 0:00:10.903 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:61 Tuesday 31 January 2023 17:40:19 +0000 (0:00:00.081) 0:00:10.984 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:70 Tuesday 31 January 2023 17:40:19 +0000 (0:00:00.085) 0:00:11.070 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 Tuesday 31 January 2023 17:40:19 +0000 (0:00:00.082) 0:00:11.153 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:88 Tuesday 31 January 2023 17:40:21 +0000 (0:00:01.758) 0:00:12.912 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 31 January 2023 17:40:21 +0000 (0:00:00.137) 0:00:13.050 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:104 Tuesday 31 January 2023 17:40:21 +0000 (0:00:00.081) 0:00:13.131 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that version 2022 is not used with RHEL 7] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 31 January 2023 17:40:21 +0000 (0:00:00.087) 0:00:13.219 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:120 Tuesday 31 January 2023 17:40:21 +0000 (0:00:00.083) 0:00:13.302 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Tuesday 31 January 2023 17:40:21 +0000 (0:00:00.116) 0:00:13.419 ******* changed: [sut] => { "changed": true } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Tuesday 31 January 2023 17:40:22 +0000 (0:00:00.766) 0:00:14.186 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:154 Tuesday 31 January 2023 17:40:22 +0000 (0:00:00.067) 0:00:14.254 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:163 Tuesday 31 January 2023 17:40:22 +0000 (0:00:00.102) 0:00:14.356 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:171 Tuesday 31 January 2023 17:40:22 +0000 (0:00:00.064) 0:00:14.421 ******* changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:181 Tuesday 31 January 2023 17:40:22 +0000 (0:00:00.432) 0:00:14.854 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: gdb-8.2-19.el8.x86_64", "Installed: python2-setuptools-39.0.1-13.module+el8.4.0+9442+27d0e81c.noarch", "Installed: python2-setuptools-wheel-39.0.1-13.module+el8.4.0+9442+27d0e81c.noarch", "Installed: gc-7.6.4-3.el8.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: mssql-server-14.0.3456.2-3.x86_64", "Installed: gdb-headless-8.2-19.el8.x86_64", "Installed: gcc-gdb-plugin-8.5.0-18.el8.x86_64", "Installed: python2-libs-2.7.18-12.module+el8.8.0+17629+2cfc9d03.x86_64", "Installed: guile-5:2.0.14-7.el8.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: python2-pip-9.0.3-19.module+el8.6.0+13001+ad200bd9.noarch", "Installed: python2-pip-wheel-9.0.3-19.module+el8.6.0+13001+ad200bd9.noarch", "Installed: python2-2.7.18-12.module+el8.8.0+17629+2cfc9d03.x86_64", "Installed: libatomic-8.5.0-18.el8.x86_64", "Installed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Installed: libipt-1.6.1-8.el8.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" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Tuesday 31 January 2023 17:41:13 +0000 (0:00:50.664) 0:01:05.518 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Tuesday 31 January 2023 17:41:14 +0000 (0:00:00.741) 0:01:06.260 ******* 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.010677", "end": "2023-01-31 17:41:16.427506", "rc": 0, "start": "2023-01-31 17:41:16.416829" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:212 Tuesday 31 January 2023 17:41:16 +0000 (0:00:02.467) 0:01:08.727 ******* 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 : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Tuesday 31 January 2023 17:41:21 +0000 (0:00:05.137) 0:01:13.865 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Tuesday 31 January 2023 17:41:23 +0000 (0:00:01.281) 0:01:15.147 ******* 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 that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Tuesday 31 January 2023 17:41:32 +0000 (0:00:08.867) 0:01:24.014 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: tuned-profiles-mssql-2.19.0-1.el8.noarch" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:254 Tuesday 31 January 2023 17:41:37 +0000 (0:00:05.700) 0:01:29.715 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 17:26:18 UTC", "ActiveEnterTimestampMonotonic": "13807692", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-sysctl.service systemd-journald.socket dbus.service system.slice basic.target sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 17:26:17 UTC", "AssertTimestampMonotonic": "12490657", "Before": "shutdown.target multi-user.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": "Tue 2023-01-31 17:26:17 UTC", "ConditionTimestampMonotonic": "12490655", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service cpupower.service tlp.service power-profiles-daemon.service shutdown.target", "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": "658", "ExecMainStartTimestamp": "Tue 2023-01-31 17:26:17 UTC", "ExecMainStartTimestampMonotonic": "12496525", "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": "Tue 2023-01-31 17:26:17 UTC", "InactiveExitTimestampMonotonic": "12496653", "InvocationID": "c5a38dfc6131497795de7c31676853f9", "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": "14014", "LimitNPROCSoft": "14014", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "658", "MemoryAccounting": "yes", "MemoryCurrent": "21397504", "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": "dbus.service polkit.service system.slice 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": "Tue 2023-01-31 17:26:18 UTC", "StateChangeTimestampMonotonic": "13807692", "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": "22423", "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": "Tue 2023-01-31 17:26:18 UTC", "WatchdogTimestampMonotonic": "13807686", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:260 Tuesday 31 January 2023 17:41:41 +0000 (0:00:04.039) 0:01:33.754 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.177231", "end": "2023-01-31 17:41:42.762986", "rc": 0, "start": "2023-01-31 17:41:42.585755" } STDOUT: Current active profile: virtual-guest TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Tuesday 31 January 2023 17:41:43 +0000 (0:00:02.029) 0:01:35.783 ******* changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.213821", "end": "2023-01-31 17:41:46.192475", "failed_when_result": false, "rc": 0, "start": "2023-01-31 17:41:44.978654" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:283 Tuesday 31 January 2023 17:41:46 +0000 (0:00:02.742) 0:01:38.526 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:292 Tuesday 31 January 2023 17:41:47 +0000 (0:00:00.733) 0:01:39.260 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Tuesday 31 January 2023 17:41:47 +0000 (0:00:00.596) 0:01:39.856 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:309 Tuesday 31 January 2023 17:41:49 +0000 (0:00:01.872) 0:01:41.728 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: msodbcsql17-17.10.2.1-1.x86_64", "Installed: unixODBC-2.3.7-1.rh.x86_64", "Installed: unixODBC-devel-2.3.7-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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:321 Tuesday 31 January 2023 17:41:57 +0000 (0:00:07.992) 0:01:49.721 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:325 Tuesday 31 January 2023 17:41:58 +0000 (0:00:01.086) 0:01:50.808 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:332 Tuesday 31 January 2023 17:42:00 +0000 (0:00:01.143) 0:01:51.951 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:339 Tuesday 31 January 2023 17:42:00 +0000 (0:00:00.925) 0:01:52.877 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:346 Tuesday 31 January 2023 17:42:01 +0000 (0:00:00.965) 0:01:53.842 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Tuesday 31 January 2023 17:42:02 +0000 (0:00:00.821) 0:01:54.684 ******* 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 scripts to SQL Server] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:375 Tuesday 31 January 2023 17:42:03 +0000 (0:00:00.813) 0:01:55.497 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:390 Tuesday 31 January 2023 17:42:04 +0000 (0:00:00.586) 0:01:56.084 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Tuesday 31 January 2023 17:42:04 +0000 (0:00:00.689) 0:01:56.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:410 Tuesday 31 January 2023 17:42:05 +0000 (0:00:00.918) 0:01:57.692 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:417 Tuesday 31 January 2023 17:42:06 +0000 (0:00:00.499) 0:01:58.192 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:436 Tuesday 31 January 2023 17:42:06 +0000 (0:00:00.617) 0:01:58.809 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:443 Tuesday 31 January 2023 17:42:07 +0000 (0:00:00.767) 0:01:59.577 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:450 Tuesday 31 January 2023 17:42:08 +0000 (0:00:00.965) 0:02:00.542 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:461 Tuesday 31 January 2023 17:42:10 +0000 (0:00:01.449) 0:02:01.992 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 17:42:11 +0000 (0:00:01.702) 0:02:03.695 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005472", "end": "2023-01-31 17:42:12.594499", "failed_when_result": false, "rc": 1, "start": "2023-01-31 17:42:12.589027" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 17:42:13 +0000 (0:00:01.374) 0:02:05.069 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.067680", "end": "2023-01-31 17:42:13.838512", "failed_when_result": false, "rc": 0, "start": "2023-01-31 17:42:13.770832" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 17:42:14 +0000 (0:00:01.568) 0:02:06.638 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:467 Tuesday 31 January 2023 17:42:15 +0000 (0:00:00.762) 0:02:07.401 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Tuesday 31 January 2023 17:42:16 +0000 (0:00:01.137) 0:02:08.538 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Tuesday 31 January 2023 17:42:17 +0000 (0:00:00.822) 0:02:09.361 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:499 Tuesday 31 January 2023 17:42:18 +0000 (0:00:00.809) 0:02:10.170 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:508 Tuesday 31 January 2023 17:42:18 +0000 (0:00:00.488) 0:02:10.659 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Tuesday 31 January 2023 17:42:19 +0000 (0:00:00.505) 0:02:11.164 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:523 Tuesday 31 January 2023 17:42:19 +0000 (0:00:00.751) 0:02:11.915 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:529 Tuesday 31 January 2023 17:42:20 +0000 (0:00:00.622) 0:02:12.538 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:535 Tuesday 31 January 2023 17:42:21 +0000 (0:00:00.658) 0:02:13.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:542 Tuesday 31 January 2023 17:42:21 +0000 (0:00:00.676) 0:02:13.873 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:548 Tuesday 31 January 2023 17:42:22 +0000 (0:00:00.580) 0:02:14.454 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:566 Tuesday 31 January 2023 17:42:23 +0000 (0:00:00.587) 0:02:15.042 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:580 Tuesday 31 January 2023 17:42:23 +0000 (0:00:00.625) 0:02:15.668 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Tuesday 31 January 2023 17:42:24 +0000 (0:00:01.148) 0:02:16.816 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:603 Tuesday 31 January 2023 17:42:25 +0000 (0:00:01.081) 0:02:17.898 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Tuesday 31 January 2023 17:42:26 +0000 (0:00:00.867) 0:02:18.765 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:621 Tuesday 31 January 2023 17:42:28 +0000 (0:00:01.293) 0:02:20.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Tuesday 31 January 2023 17:42:28 +0000 (0:00:00.800) 0:02:20.860 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:640 Tuesday 31 January 2023 17:42:29 +0000 (0:00:00.618) 0:02:21.478 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the adutil package] ******************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:644 Tuesday 31 January 2023 17:42:30 +0000 (0:00:00.697) 0:02:22.175 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Tuesday 31 January 2023 17:42:31 +0000 (0:00:00.773) 0:02:22.949 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print the status of credential cache for {{ __mssql_kinit_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:656 Tuesday 31 January 2023 17:42:31 +0000 (0:00:00.711) 0:02:23.660 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket of the AD user {{ ad_integration_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:664 Tuesday 31 January 2023 17:42:32 +0000 (0:00:00.653) 0:02:24.313 ******* 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 SQL user exists] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:677 Tuesday 31 January 2023 17:42:33 +0000 (0:00:00.936) 0:02:25.249 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify password provided for user] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:686 Tuesday 31 January 2023 17:42:34 +0000 (0:00:00.667) 0:02:25.917 ******* 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 : Update password for the SQL user] ************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:698 Tuesday 31 January 2023 17:42:34 +0000 (0:00:00.931) 0:02:26.849 ******* 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 : In AD server create user] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Tuesday 31 January 2023 17:42:35 +0000 (0:00:00.873) 0:02:27.722 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:720 Tuesday 31 January 2023 17:42:36 +0000 (0:00:00.801) 0:02:28.524 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:725 Tuesday 31 January 2023 17:42:37 +0000 (0:00:00.572) 0:02:29.096 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:742 Tuesday 31 January 2023 17:42:38 +0000 (0:00:01.289) 0:02:30.386 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Tuesday 31 January 2023 17:42:39 +0000 (0:00:00.739) 0:02:31.126 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Tuesday 31 January 2023 17:42:40 +0000 (0:00:00.843) 0:02:31.969 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:758 Tuesday 31 January 2023 17:42:40 +0000 (0:00:00.648) 0:02:32.618 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Tuesday 31 January 2023 17:42:41 +0000 (0:00:00.666) 0:02:33.285 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:803 Tuesday 31 January 2023 17:42:42 +0000 (0:00:00.742) 0:02:34.028 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:811 Tuesday 31 January 2023 17:42:43 +0000 (0:00:00.990) 0:02:35.019 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Tuesday 31 January 2023 17:42:43 +0000 (0:00:00.895) 0:02:35.914 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the privileged account login] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:823 Tuesday 31 January 2023 17:42:44 +0000 (0:00:00.801) 0:02:36.716 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:835 Tuesday 31 January 2023 17:42:45 +0000 (0:00:00.651) 0:02:37.367 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:850 Tuesday 31 January 2023 17:42:46 +0000 (0:00:00.829) 0:02:38.197 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:869 Tuesday 31 January 2023 17:42:47 +0000 (0:00:00.778) 0:02:38.976 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:923 Tuesday 31 January 2023 17:42:47 +0000 (0:00:00.443) 0:02:39.420 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Tuesday 31 January 2023 17:42:48 +0000 (0:00:00.581) 0:02:40.002 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Tuesday 31 January 2023 17:42:48 +0000 (0:00:00.554) 0:02:40.577 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:947 Tuesday 31 January 2023 17:42:49 +0000 (0:00:00.614) 0:02:41.192 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:953 Tuesday 31 January 2023 17:42:50 +0000 (0:00:01.407) 0:02:42.599 ******* 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 : Get mssql-server ver to see if WRITE_LEASE_VALIDITY is available] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Tuesday 31 January 2023 17:42:51 +0000 (0:00:00.763) 0:02:43.362 ******* 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 SQL entities on the primary replica] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:968 Tuesday 31 January 2023 17:42:52 +0000 (0:00:00.971) 0:02:44.334 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:979 Tuesday 31 January 2023 17:42:53 +0000 (0:00:00.599) 0:02:44.934 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:994 Tuesday 31 January 2023 17:42:53 +0000 (0:00:00.677) 0:02:45.611 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1001 Tuesday 31 January 2023 17:42:54 +0000 (0:00:00.680) 0:02:46.291 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag, grant permissions to login, replicate DBs] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1026 Tuesday 31 January 2023 17:42:54 +0000 (0:00:00.538) 0:02:46.830 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to ha login] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Tuesday 31 January 2023 17:42:55 +0000 (0:00:00.703) 0:02:47.533 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Tuesday 31 January 2023 17:42:56 +0000 (0:00:00.887) 0:02:48.420 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1064 Tuesday 31 January 2023 17:42:57 +0000 (0:00:00.843) 0:02:49.264 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1070 Tuesday 31 January 2023 17:42:58 +0000 (0:00:01.189) 0:02:50.453 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1077 Tuesday 31 January 2023 17:42:59 +0000 (0:00:01.193) 0:02:51.646 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Tuesday 31 January 2023 17:43:00 +0000 (0:00:00.930) 0:02:52.577 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1092 Tuesday 31 January 2023 17:43:01 +0000 (0:00:01.125) 0:02:53.702 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1104 Tuesday 31 January 2023 17:43:03 +0000 (0:00:01.353) 0:02:55.056 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1117 Tuesday 31 January 2023 17:43:04 +0000 (0:00:01.049) 0:02:56.105 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1130 Tuesday 31 January 2023 17:43:05 +0000 (0:00:01.807) 0:02:57.913 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1142 Tuesday 31 January 2023 17:43:06 +0000 (0:00:00.980) 0:02:58.893 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Tuesday 31 January 2023 17:43:07 +0000 (0:00:00.940) 0:02:59.833 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1157 Tuesday 31 January 2023 17:43:08 +0000 (0:00:01.065) 0:03:00.899 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1170 Tuesday 31 January 2023 17:43:13 +0000 (0:00:04.923) 0:03:05.822 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Upgrade to 2019 and assert expected results] ***************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_upgrade.yml:64 Tuesday 31 January 2023 17:43:14 +0000 (0:00:00.608) 0:03:06.430 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/upgrade_and_assert.yml for sut TASK [Upgrade to 2019] ********************************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/upgrade_and_assert.yml:9 Tuesday 31 January 2023 17:43:15 +0000 (0:00:01.475) 0:03:07.905 ******* TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 31 January 2023 17:43:17 +0000 (0:00:01.240) 0:03:09.146 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 31 January 2023 17:43:18 +0000 (0:00:00.900) 0:03:10.046 ******* ok: [sut] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Tuesday 31 January 2023 17:43:20 +0000 (0:00:02.185) 0:03:12.231 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 31 January 2023 17:43:21 +0000 (0:00:01.335) 0:03:13.567 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 31 January 2023 17:43:22 +0000 (0:00:01.194) 0:03:14.762 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 31 January 2023 17:43:23 +0000 (0:00:00.617) 0:03:15.379 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 31 January 2023 17:43:23 +0000 (0:00:00.532) 0:03:15.911 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 31 January 2023 17:43:24 +0000 (0:00:00.815) 0:03:16.727 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:41 Tuesday 31 January 2023 17:43:25 +0000 (0:00:00.643) 0:03:17.370 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:53 Tuesday 31 January 2023 17:43:26 +0000 (0:00:01.048) 0:03:18.418 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:61 Tuesday 31 January 2023 17:43:27 +0000 (0:00:00.942) 0:03:19.361 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:70 Tuesday 31 January 2023 17:43:28 +0000 (0:00:00.758) 0:03:20.119 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 Tuesday 31 January 2023 17:43:29 +0000 (0:00:00.800) 0:03:20.920 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:88 Tuesday 31 January 2023 17:43:33 +0000 (0:00:04.612) 0:03:25.533 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 31 January 2023 17:43:35 +0000 (0:00:01.419) 0:03:26.952 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:104 Tuesday 31 January 2023 17:43:35 +0000 (0:00:00.519) 0:03:27.472 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that version 2022 is not used with RHEL 7] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 31 January 2023 17:43:36 +0000 (0:00:01.129) 0:03:28.618 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:120 Tuesday 31 January 2023 17:43:37 +0000 (0:00:00.699) 0:03:29.317 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Tuesday 31 January 2023 17:43:38 +0000 (0:00:01.298) 0:03:30.616 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Tuesday 31 January 2023 17:43:40 +0000 (0:00:01.473) 0:03:32.089 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:154 Tuesday 31 January 2023 17:43:42 +0000 (0:00:01.928) 0:03:34.017 ******* ok: [sut] => { "changed": false, "cmd": "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.636694", "end": "2023-01-31 17:43:43.446845", "rc": 0, "start": "2023-01-31 17:43:42.810151" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:163 Tuesday 31 January 2023 17:43:43 +0000 (0:00:01.817) 0:03:35.835 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:171 Tuesday 31 January 2023 17:43:45 +0000 (0:00:01.355) 0:03:37.190 ******* changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:181 Tuesday 31 January 2023 17:43:46 +0000 (0:00:01.042) 0:03:38.233 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-15.0.4261.1-2.x86_64", "Removed: mssql-server-14.0.3456.2-3.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Tuesday 31 January 2023 17:44:34 +0000 (0:00:48.206) 0:04:26.439 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Tuesday 31 January 2023 17:44:35 +0000 (0:00:00.686) 0:04:27.126 ******* 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.015503", "end": "2023-01-31 17:44:36.116223", "rc": 0, "start": "2023-01-31 17:44:36.100720" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:212 Tuesday 31 January 2023 17:44:36 +0000 (0:00:01.699) 0:04:28.825 ******* 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 : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Tuesday 31 January 2023 17:44:42 +0000 (0:00:05.637) 0:04:34.463 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Tuesday 31 January 2023 17:44:43 +0000 (0:00:00.772) 0:04:35.235 ******* 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 tuned-profiles-mssql package is installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Tuesday 31 January 2023 17:44:44 +0000 (0:00:00.881) 0:04:36.116 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:254 Tuesday 31 January 2023 17:44:47 +0000 (0:00:03.540) 0:04:39.656 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 17:26:18 UTC", "ActiveEnterTimestampMonotonic": "13807692", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service dbus.socket systemd-journald.socket dbus.service system.slice sysinit.target network.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 17:26:17 UTC", "AssertTimestampMonotonic": "12490657", "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": "Tue 2023-01-31 17:26:17 UTC", "ConditionTimestampMonotonic": "12490655", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service power-profiles-daemon.service cpupower.service tlp.service shutdown.target", "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": "658", "ExecMainStartTimestamp": "Tue 2023-01-31 17:26:17 UTC", "ExecMainStartTimestampMonotonic": "12496525", "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": "Tue 2023-01-31 17:26:17 UTC", "InactiveExitTimestampMonotonic": "12496653", "InvocationID": "c5a38dfc6131497795de7c31676853f9", "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": "14014", "LimitNPROCSoft": "14014", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "658", "MemoryAccounting": "yes", "MemoryCurrent": "22179840", "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 polkit.service sysinit.target dbus.service dbus.socket", "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": "Tue 2023-01-31 17:26:18 UTC", "StateChangeTimestampMonotonic": "13807692", "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": "22423", "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": "Tue 2023-01-31 17:26:18 UTC", "WatchdogTimestampMonotonic": "13807686", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:260 Tuesday 31 January 2023 17:44:49 +0000 (0:00:01.921) 0:04:41.578 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.278486", "end": "2023-01-31 17:44:50.556589", "rc": 0, "start": "2023-01-31 17:44:50.278103" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Tuesday 31 January 2023 17:44:51 +0000 (0:00:01.537) 0:04:43.115 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:283 Tuesday 31 January 2023 17:44:51 +0000 (0:00:00.669) 0:04:43.784 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:292 Tuesday 31 January 2023 17:44:52 +0000 (0:00:00.792) 0:04:44.576 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Tuesday 31 January 2023 17:44:53 +0000 (0:00:00.563) 0:04:45.140 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:309 Tuesday 31 January 2023 17:44:54 +0000 (0:00:01.067) 0:04:46.207 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:321 Tuesday 31 January 2023 17:44:58 +0000 (0:00:03.838) 0:04:50.045 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Tuesday 31 January 2023 17:44:59 +0000 (0:00:01.044) 0:04:51.090 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 17:44:31 UTC", "ActiveEnterTimestampMonotonic": "1107070850", "ActiveExitTimestamp": "Tue 2023-01-31 17:44:01 UTC", "ActiveExitTimestampMonotonic": "1076312073", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target -.mount auditd.service system.slice network.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 17:44:31 UTC", "AssertTimestampMonotonic": "1107068903", "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": "Tue 2023-01-31 17:44:31 UTC", "ConditionTimestampMonotonic": "1107068901", "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": "7824", "ExecMainStartTimestamp": "Tue 2023-01-31 17:44:31 UTC", "ExecMainStartTimestampMonotonic": "1107070722", "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": "Tue 2023-01-31 17:44:01 UTC", "InactiveEnterTimestampMonotonic": "1076611388", "InactiveExitTimestamp": "Tue 2023-01-31 17:44:31 UTC", "InactiveExitTimestampMonotonic": "1107070850", "InvocationID": "cd4b471cc60b409280a1b721f8327880", "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": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7824", "MemoryAccounting": "yes", "MemoryCurrent": "776503296", "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": "sysinit.target system.slice -.mount", "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": "Tue 2023-01-31 17:44:31 UTC", "StateChangeTimestampMonotonic": "1107070850", "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": "138", "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": "Tue 2023-01-31 17:44:31 UTC", "WatchdogTimestampMonotonic": "1107070846", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Tuesday 31 January 2023 17:45:01 +0000 (0:00:01.850) 0:04:52.941 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.007226", "end": "2023-01-31 17:45:01.692851", "failed_when_result": false, "rc": 1, "start": "2023-01-31 17:45:01.685625" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Tuesday 31 January 2023 17:45:02 +0000 (0:00:01.291) 0:04:54.232 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.006114", "end": "2023-01-31 17:45:03.044703", "failed_when_result": false, "rc": 1, "start": "2023-01-31 17:45:03.038589" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Tuesday 31 January 2023 17:45:03 +0000 (0:00:01.332) 0:04:55.565 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:325 Tuesday 31 January 2023 17:45:04 +0000 (0:00:00.890) 0:04:56.456 ******* ok: [sut] => { "changed": false, "elapsed": 9, "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": 209640, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:332 Tuesday 31 January 2023 17:45:15 +0000 (0:00:11.249) 0:05:07.705 ******* 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 : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:339 Tuesday 31 January 2023 17:45:16 +0000 (0:00:00.397) 0:05:08.102 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:346 Tuesday 31 January 2023 17:45:16 +0000 (0:00:00.077) 0:05:08.180 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Tuesday 31 January 2023 17:45:18 +0000 (0:00:01.850) 0:05:10.030 ******* 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 scripts to SQL Server] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:375 Tuesday 31 January 2023 17:45:18 +0000 (0:00:00.137) 0:05:10.167 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:390 Tuesday 31 January 2023 17:45:18 +0000 (0:00:00.072) 0:05:10.239 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Tuesday 31 January 2023 17:45:18 +0000 (0:00:00.081) 0:05:10.321 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:410 Tuesday 31 January 2023 17:45:18 +0000 (0:00:00.075) 0:05:10.397 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:417 Tuesday 31 January 2023 17:45:18 +0000 (0:00:00.074) 0:05:10.471 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:436 Tuesday 31 January 2023 17:45:18 +0000 (0:00:00.074) 0:05:10.546 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:443 Tuesday 31 January 2023 17:45:18 +0000 (0:00:00.072) 0:05:10.618 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:450 Tuesday 31 January 2023 17:45:18 +0000 (0:00:00.072) 0:05:10.691 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:461 Tuesday 31 January 2023 17:45:18 +0000 (0:00:00.074) 0:05:10.766 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 17:45:18 +0000 (0:00:00.124) 0:05:10.891 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.006146", "end": "2023-01-31 17:45:19.234304", "failed_when_result": false, "rc": 1, "start": "2023-01-31 17:45:19.228158" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 17:45:19 +0000 (0:00:00.324) 0:05:11.215 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.202022", "end": "2023-01-31 17:45:19.774752", "failed_when_result": false, "rc": 0, "start": "2023-01-31 17:45:19.572730" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 17:45:19 +0000 (0:00:00.549) 0:05:11.764 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:467 Tuesday 31 January 2023 17:45:19 +0000 (0:00:00.071) 0:05:11.836 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Tuesday 31 January 2023 17:45:20 +0000 (0:00:00.128) 0:05:11.965 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Tuesday 31 January 2023 17:45:20 +0000 (0:00:00.073) 0:05:12.038 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:499 Tuesday 31 January 2023 17:45:20 +0000 (0:00:00.075) 0:05:12.114 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:508 Tuesday 31 January 2023 17:45:20 +0000 (0:00:00.076) 0:05:12.191 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Tuesday 31 January 2023 17:45:20 +0000 (0:00:00.071) 0:05:12.262 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:523 Tuesday 31 January 2023 17:45:20 +0000 (0:00:00.073) 0:05:12.336 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:529 Tuesday 31 January 2023 17:45:20 +0000 (0:00:00.074) 0:05:12.411 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:535 Tuesday 31 January 2023 17:45:20 +0000 (0:00:00.071) 0:05:12.482 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:542 Tuesday 31 January 2023 17:45:20 +0000 (0:00:00.070) 0:05:12.553 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:548 Tuesday 31 January 2023 17:45:20 +0000 (0:00:00.073) 0:05:12.627 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:566 Tuesday 31 January 2023 17:45:20 +0000 (0:00:00.071) 0:05:12.699 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:580 Tuesday 31 January 2023 17:45:20 +0000 (0:00:00.073) 0:05:12.772 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Tuesday 31 January 2023 17:45:20 +0000 (0:00:00.074) 0:05:12.847 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:603 Tuesday 31 January 2023 17:45:21 +0000 (0:00:00.078) 0:05:12.926 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Tuesday 31 January 2023 17:45:21 +0000 (0:00:00.072) 0:05:12.999 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:621 Tuesday 31 January 2023 17:45:21 +0000 (0:00:00.074) 0:05:13.073 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Tuesday 31 January 2023 17:45:21 +0000 (0:00:00.070) 0:05:13.144 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:640 Tuesday 31 January 2023 17:45:21 +0000 (0:00:00.121) 0:05:13.265 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the adutil package] ******************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:644 Tuesday 31 January 2023 17:45:21 +0000 (0:00:00.073) 0:05:13.338 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Tuesday 31 January 2023 17:45:21 +0000 (0:00:00.073) 0:05:13.411 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print the status of credential cache for {{ __mssql_kinit_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:656 Tuesday 31 January 2023 17:45:21 +0000 (0:00:00.074) 0:05:13.486 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket of the AD user {{ ad_integration_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:664 Tuesday 31 January 2023 17:45:21 +0000 (0:00:00.074) 0:05:13.560 ******* 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 SQL user exists] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:677 Tuesday 31 January 2023 17:45:21 +0000 (0:00:00.075) 0:05:13.635 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify password provided for user] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:686 Tuesday 31 January 2023 17:45:21 +0000 (0:00:00.072) 0:05:13.708 ******* 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 : Update password for the SQL user] ************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:698 Tuesday 31 January 2023 17:45:21 +0000 (0:00:00.075) 0:05:13.784 ******* 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 : In AD server create user] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Tuesday 31 January 2023 17:45:21 +0000 (0:00:00.075) 0:05:13.859 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:720 Tuesday 31 January 2023 17:45:22 +0000 (0:00:00.073) 0:05:13.933 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:725 Tuesday 31 January 2023 17:45:22 +0000 (0:00:00.075) 0:05:14.009 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:742 Tuesday 31 January 2023 17:45:22 +0000 (0:00:00.072) 0:05:14.081 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Tuesday 31 January 2023 17:45:22 +0000 (0:00:00.070) 0:05:14.152 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Tuesday 31 January 2023 17:45:22 +0000 (0:00:00.072) 0:05:14.224 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:758 Tuesday 31 January 2023 17:45:22 +0000 (0:00:00.090) 0:05:14.315 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Tuesday 31 January 2023 17:45:22 +0000 (0:00:00.072) 0:05:14.387 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:803 Tuesday 31 January 2023 17:45:22 +0000 (0:00:00.137) 0:05:14.525 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:811 Tuesday 31 January 2023 17:45:22 +0000 (0:00:00.073) 0:05:14.598 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Tuesday 31 January 2023 17:45:22 +0000 (0:00:00.073) 0:05:14.671 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the privileged account login] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:823 Tuesday 31 January 2023 17:45:22 +0000 (0:00:00.072) 0:05:14.744 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:835 Tuesday 31 January 2023 17:45:22 +0000 (0:00:00.085) 0:05:14.830 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:850 Tuesday 31 January 2023 17:45:23 +0000 (0:00:00.076) 0:05:14.906 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:869 Tuesday 31 January 2023 17:45:23 +0000 (0:00:00.072) 0:05:14.979 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:923 Tuesday 31 January 2023 17:45:23 +0000 (0:00:00.076) 0:05:15.055 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Tuesday 31 January 2023 17:45:23 +0000 (0:00:00.072) 0:05:15.127 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Tuesday 31 January 2023 17:45:23 +0000 (0:00:00.072) 0:05:15.200 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:947 Tuesday 31 January 2023 17:45:23 +0000 (0:00:00.072) 0:05:15.272 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:953 Tuesday 31 January 2023 17:45:23 +0000 (0:00:00.073) 0:05:15.346 ******* 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 : Get mssql-server ver to see if WRITE_LEASE_VALIDITY is available] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Tuesday 31 January 2023 17:45:23 +0000 (0:00:00.083) 0:05:15.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 : Configure SQL entities on the primary replica] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:968 Tuesday 31 January 2023 17:45:23 +0000 (0:00:00.071) 0:05:15.501 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:979 Tuesday 31 January 2023 17:45:23 +0000 (0:00:00.071) 0:05:15.572 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:994 Tuesday 31 January 2023 17:45:23 +0000 (0:00:00.087) 0:05:15.660 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1001 Tuesday 31 January 2023 17:45:23 +0000 (0:00:00.125) 0:05:15.785 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag, grant permissions to login, replicate DBs] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1026 Tuesday 31 January 2023 17:45:23 +0000 (0:00:00.072) 0:05:15.858 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to ha login] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Tuesday 31 January 2023 17:45:24 +0000 (0:00:00.077) 0:05:15.935 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Tuesday 31 January 2023 17:45:24 +0000 (0:00:00.072) 0:05:16.007 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1064 Tuesday 31 January 2023 17:45:24 +0000 (0:00:00.076) 0:05:16.084 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1070 Tuesday 31 January 2023 17:45:24 +0000 (0:00:00.075) 0:05:16.159 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1077 Tuesday 31 January 2023 17:45:24 +0000 (0:00:00.072) 0:05:16.231 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Tuesday 31 January 2023 17:45:24 +0000 (0:00:00.073) 0:05:16.304 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1092 Tuesday 31 January 2023 17:45:24 +0000 (0:00:00.073) 0:05:16.378 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1104 Tuesday 31 January 2023 17:45:24 +0000 (0:00:00.089) 0:05:16.467 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1117 Tuesday 31 January 2023 17:45:24 +0000 (0:00:00.080) 0:05:16.548 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1130 Tuesday 31 January 2023 17:45:24 +0000 (0:00:00.083) 0:05:16.631 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1142 Tuesday 31 January 2023 17:45:24 +0000 (0:00:00.074) 0:05:16.706 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Tuesday 31 January 2023 17:45:24 +0000 (0:00:00.085) 0:05:16.792 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1157 Tuesday 31 January 2023 17:45:24 +0000 (0:00:00.077) 0:05:16.870 ******* ok: [sut] => { "changed": false } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1170 Tuesday 31 January 2023 17:45:25 +0000 (0:00:00.487) 0:05:17.357 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Upgrade again to test idempotency - should report not changed] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/upgrade_and_assert.yml:13 Tuesday 31 January 2023 17:45:25 +0000 (0:00:00.072) 0:05:17.429 ******* TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 31 January 2023 17:45:25 +0000 (0:00:00.306) 0:05:17.736 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 31 January 2023 17:45:25 +0000 (0:00:00.119) 0:05:17.855 ******* ok: [sut] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Tuesday 31 January 2023 17:45:26 +0000 (0:00:00.506) 0:05:18.362 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 31 January 2023 17:45:26 +0000 (0:00:00.110) 0:05:18.472 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 31 January 2023 17:45:26 +0000 (0:00:00.072) 0:05:18.545 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 31 January 2023 17:45:26 +0000 (0:00:00.073) 0:05:18.619 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 31 January 2023 17:45:26 +0000 (0:00:00.074) 0:05:18.693 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 31 January 2023 17:45:26 +0000 (0:00:00.072) 0:05:18.766 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:41 Tuesday 31 January 2023 17:45:26 +0000 (0:00:00.123) 0:05:18.889 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:53 Tuesday 31 January 2023 17:45:27 +0000 (0:00:00.082) 0:05:18.972 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:61 Tuesday 31 January 2023 17:45:27 +0000 (0:00:00.073) 0:05:19.046 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:70 Tuesday 31 January 2023 17:45:27 +0000 (0:00:00.082) 0:05:19.129 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 Tuesday 31 January 2023 17:45:27 +0000 (0:00:00.073) 0:05:19.202 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:88 Tuesday 31 January 2023 17:45:29 +0000 (0:00:01.755) 0:05:20.958 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 31 January 2023 17:45:29 +0000 (0:00:00.186) 0:05:21.145 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:104 Tuesday 31 January 2023 17:45:29 +0000 (0:00:00.070) 0:05:21.216 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that version 2022 is not used with RHEL 7] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 31 January 2023 17:45:29 +0000 (0:00:00.127) 0:05:21.344 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:120 Tuesday 31 January 2023 17:45:29 +0000 (0:00:00.071) 0:05:21.415 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Tuesday 31 January 2023 17:45:29 +0000 (0:00:00.126) 0:05:21.541 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Tuesday 31 January 2023 17:45:30 +0000 (0:00:00.513) 0:05:22.055 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:154 Tuesday 31 January 2023 17:45:31 +0000 (0:00:01.226) 0:05:23.282 ******* ok: [sut] => { "changed": false, "cmd": "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.653653", "end": "2023-01-31 17:45:32.285346", "rc": 0, "start": "2023-01-31 17:45:31.631693" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:163 Tuesday 31 January 2023 17:45:32 +0000 (0:00:00.985) 0:05:24.268 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:171 Tuesday 31 January 2023 17:45:32 +0000 (0:00:00.074) 0:05:24.342 ******* ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:181 Tuesday 31 January 2023 17:45:32 +0000 (0:00:00.346) 0:05:24.688 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Tuesday 31 January 2023 17:45:34 +0000 (0:00:01.846) 0:05:26.535 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Tuesday 31 January 2023 17:45:34 +0000 (0:00:00.070) 0:05:26.606 ******* 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.010000", "end": "2023-01-31 17:45:34.948476", "rc": 0, "start": "2023-01-31 17:45:34.938476" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:212 Tuesday 31 January 2023 17:45:35 +0000 (0:00:00.321) 0:05:26.927 ******* 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 : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Tuesday 31 January 2023 17:45:38 +0000 (0:00:03.591) 0:05:30.519 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Tuesday 31 January 2023 17:45:38 +0000 (0:00:00.091) 0:05:30.610 ******* 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 tuned-profiles-mssql package is installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Tuesday 31 January 2023 17:45:38 +0000 (0:00:00.090) 0:05:30.700 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:254 Tuesday 31 January 2023 17:45:40 +0000 (0:00:01.957) 0:05:32.658 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 17:26:18 UTC", "ActiveEnterTimestampMonotonic": "13807692", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service dbus.socket systemd-journald.socket dbus.service system.slice sysinit.target network.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 17:26:17 UTC", "AssertTimestampMonotonic": "12490657", "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": "Tue 2023-01-31 17:26:17 UTC", "ConditionTimestampMonotonic": "12490655", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service power-profiles-daemon.service cpupower.service tlp.service shutdown.target", "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": "658", "ExecMainStartTimestamp": "Tue 2023-01-31 17:26:17 UTC", "ExecMainStartTimestampMonotonic": "12496525", "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": "Tue 2023-01-31 17:26:17 UTC", "InactiveExitTimestampMonotonic": "12496653", "InvocationID": "c5a38dfc6131497795de7c31676853f9", "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": "14014", "LimitNPROCSoft": "14014", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "658", "MemoryAccounting": "yes", "MemoryCurrent": "22224896", "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 polkit.service sysinit.target dbus.service dbus.socket", "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": "Tue 2023-01-31 17:26:18 UTC", "StateChangeTimestampMonotonic": "13807692", "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": "22423", "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": "Tue 2023-01-31 17:26:18 UTC", "WatchdogTimestampMonotonic": "13807686", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:260 Tuesday 31 January 2023 17:45:41 +0000 (0:00:00.527) 0:05:33.185 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.176647", "end": "2023-01-31 17:45:41.702717", "rc": 0, "start": "2023-01-31 17:45:41.526070" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Tuesday 31 January 2023 17:45:41 +0000 (0:00:00.568) 0:05:33.753 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:283 Tuesday 31 January 2023 17:45:42 +0000 (0:00:00.170) 0:05:33.923 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:292 Tuesday 31 January 2023 17:45:42 +0000 (0:00:00.154) 0:05:34.077 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Tuesday 31 January 2023 17:45:42 +0000 (0:00:00.141) 0:05:34.219 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:309 Tuesday 31 January 2023 17:45:42 +0000 (0:00:00.398) 0:05:34.618 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:321 Tuesday 31 January 2023 17:45:44 +0000 (0:00:02.015) 0:05:36.634 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Tuesday 31 January 2023 17:45:44 +0000 (0:00:00.239) 0:05:36.873 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 17:44:31 UTC", "ActiveEnterTimestampMonotonic": "1107070850", "ActiveExitTimestamp": "Tue 2023-01-31 17:44:01 UTC", "ActiveExitTimestampMonotonic": "1076312073", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target -.mount auditd.service system.slice network.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 17:44:31 UTC", "AssertTimestampMonotonic": "1107068903", "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": "Tue 2023-01-31 17:44:31 UTC", "ConditionTimestampMonotonic": "1107068901", "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": "7824", "ExecMainStartTimestamp": "Tue 2023-01-31 17:44:31 UTC", "ExecMainStartTimestampMonotonic": "1107070722", "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": "Tue 2023-01-31 17:44:01 UTC", "InactiveEnterTimestampMonotonic": "1076611388", "InactiveExitTimestamp": "Tue 2023-01-31 17:44:31 UTC", "InactiveExitTimestampMonotonic": "1107070850", "InvocationID": "cd4b471cc60b409280a1b721f8327880", "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": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7824", "MemoryAccounting": "yes", "MemoryCurrent": "854016000", "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": "sysinit.target system.slice -.mount", "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": "Tue 2023-01-31 17:44:31 UTC", "StateChangeTimestampMonotonic": "1107070850", "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": "140", "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": "Tue 2023-01-31 17:44:31 UTC", "WatchdogTimestampMonotonic": "1107070846", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Tuesday 31 January 2023 17:45:45 +0000 (0:00:00.549) 0:05:37.422 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005273", "end": "2023-01-31 17:45:45.791857", "failed_when_result": false, "rc": 1, "start": "2023-01-31 17:45:45.786584" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Tuesday 31 January 2023 17:45:45 +0000 (0:00:00.376) 0:05:37.798 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005131", "end": "2023-01-31 17:45:46.165945", "failed_when_result": false, "rc": 1, "start": "2023-01-31 17:45:46.160814" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Tuesday 31 January 2023 17:45:46 +0000 (0:00:00.394) 0:05:38.192 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:325 Tuesday 31 January 2023 17:45:46 +0000 (0:00:00.233) 0:05:38.426 ******* ok: [sut] => { "changed": false, "elapsed": 3, "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": 209640, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:332 Tuesday 31 January 2023 17:45:50 +0000 (0:00:03.656) 0:05:42.083 ******* 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 : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:339 Tuesday 31 January 2023 17:45:50 +0000 (0:00:00.789) 0:05:42.872 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:346 Tuesday 31 January 2023 17:45:51 +0000 (0:00:00.393) 0:05:43.266 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Tuesday 31 January 2023 17:45:54 +0000 (0:00:03.189) 0:05:46.455 ******* 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 scripts to SQL Server] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:375 Tuesday 31 January 2023 17:45:55 +0000 (0:00:00.477) 0:05:46.932 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:390 Tuesday 31 January 2023 17:45:55 +0000 (0:00:00.340) 0:05:47.273 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Tuesday 31 January 2023 17:45:55 +0000 (0:00:00.412) 0:05:47.686 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:410 Tuesday 31 January 2023 17:45:56 +0000 (0:00:00.410) 0:05:48.096 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:417 Tuesday 31 January 2023 17:45:56 +0000 (0:00:00.416) 0:05:48.512 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:436 Tuesday 31 January 2023 17:45:57 +0000 (0:00:00.422) 0:05:48.935 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:443 Tuesday 31 January 2023 17:45:57 +0000 (0:00:00.752) 0:05:49.687 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:450 Tuesday 31 January 2023 17:45:58 +0000 (0:00:00.454) 0:05:50.141 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:461 Tuesday 31 January 2023 17:45:58 +0000 (0:00:00.469) 0:05:50.611 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 17:45:59 +0000 (0:00:00.718) 0:05:51.329 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005391", "end": "2023-01-31 17:45:59.781198", "failed_when_result": false, "rc": 1, "start": "2023-01-31 17:45:59.775807" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 17:46:00 +0000 (0:00:00.719) 0:05:52.049 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.158446", "end": "2023-01-31 17:46:00.741941", "failed_when_result": false, "rc": 0, "start": "2023-01-31 17:46:00.583495" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 17:46:01 +0000 (0:00:00.984) 0:05:53.033 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:467 Tuesday 31 January 2023 17:46:01 +0000 (0:00:00.542) 0:05:53.576 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Tuesday 31 January 2023 17:46:02 +0000 (0:00:00.477) 0:05:54.054 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Tuesday 31 January 2023 17:46:02 +0000 (0:00:00.437) 0:05:54.491 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:499 Tuesday 31 January 2023 17:46:03 +0000 (0:00:00.478) 0:05:54.969 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:508 Tuesday 31 January 2023 17:46:03 +0000 (0:00:00.474) 0:05:55.444 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Tuesday 31 January 2023 17:46:04 +0000 (0:00:00.861) 0:05:56.305 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:523 Tuesday 31 January 2023 17:46:04 +0000 (0:00:00.509) 0:05:56.814 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:529 Tuesday 31 January 2023 17:46:05 +0000 (0:00:00.398) 0:05:57.212 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:535 Tuesday 31 January 2023 17:46:05 +0000 (0:00:00.395) 0:05:57.608 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:542 Tuesday 31 January 2023 17:46:06 +0000 (0:00:00.422) 0:05:58.031 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:548 Tuesday 31 January 2023 17:46:06 +0000 (0:00:00.391) 0:05:58.422 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:566 Tuesday 31 January 2023 17:46:06 +0000 (0:00:00.406) 0:05:58.829 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:580 Tuesday 31 January 2023 17:46:07 +0000 (0:00:00.467) 0:05:59.297 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Tuesday 31 January 2023 17:46:07 +0000 (0:00:00.450) 0:05:59.747 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:603 Tuesday 31 January 2023 17:46:08 +0000 (0:00:00.446) 0:06:00.194 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Tuesday 31 January 2023 17:46:08 +0000 (0:00:00.365) 0:06:00.559 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:621 Tuesday 31 January 2023 17:46:09 +0000 (0:00:00.403) 0:06:00.963 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Tuesday 31 January 2023 17:46:09 +0000 (0:00:00.373) 0:06:01.337 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:640 Tuesday 31 January 2023 17:46:09 +0000 (0:00:00.384) 0:06:01.721 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the adutil package] ******************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:644 Tuesday 31 January 2023 17:46:10 +0000 (0:00:00.364) 0:06:02.085 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Tuesday 31 January 2023 17:46:10 +0000 (0:00:00.732) 0:06:02.818 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print the status of credential cache for {{ __mssql_kinit_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:656 Tuesday 31 January 2023 17:46:11 +0000 (0:00:00.455) 0:06:03.274 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket of the AD user {{ ad_integration_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:664 Tuesday 31 January 2023 17:46:11 +0000 (0:00:00.400) 0:06:03.675 ******* 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 SQL user exists] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:677 Tuesday 31 January 2023 17:46:12 +0000 (0:00:00.402) 0:06:04.077 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify password provided for user] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:686 Tuesday 31 January 2023 17:46:12 +0000 (0:00:00.459) 0:06:04.536 ******* 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 : Update password for the SQL user] ************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:698 Tuesday 31 January 2023 17:46:13 +0000 (0:00:00.391) 0:06:04.928 ******* 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 : In AD server create user] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Tuesday 31 January 2023 17:46:13 +0000 (0:00:00.486) 0:06:05.415 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:720 Tuesday 31 January 2023 17:46:13 +0000 (0:00:00.407) 0:06:05.822 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:725 Tuesday 31 January 2023 17:46:14 +0000 (0:00:00.418) 0:06:06.241 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:742 Tuesday 31 January 2023 17:46:14 +0000 (0:00:00.401) 0:06:06.643 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Tuesday 31 January 2023 17:46:15 +0000 (0:00:00.407) 0:06:07.051 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Tuesday 31 January 2023 17:46:15 +0000 (0:00:00.379) 0:06:07.430 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:758 Tuesday 31 January 2023 17:46:15 +0000 (0:00:00.405) 0:06:07.836 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Tuesday 31 January 2023 17:46:16 +0000 (0:00:00.387) 0:06:08.224 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:803 Tuesday 31 January 2023 17:46:17 +0000 (0:00:00.737) 0:06:08.962 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:811 Tuesday 31 January 2023 17:46:17 +0000 (0:00:00.351) 0:06:09.313 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Tuesday 31 January 2023 17:46:17 +0000 (0:00:00.349) 0:06:09.663 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the privileged account login] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:823 Tuesday 31 January 2023 17:46:18 +0000 (0:00:00.373) 0:06:10.036 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:835 Tuesday 31 January 2023 17:46:18 +0000 (0:00:00.359) 0:06:10.395 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:850 Tuesday 31 January 2023 17:46:18 +0000 (0:00:00.417) 0:06:10.813 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:869 Tuesday 31 January 2023 17:46:19 +0000 (0:00:00.366) 0:06:11.179 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:923 Tuesday 31 January 2023 17:46:19 +0000 (0:00:00.364) 0:06:11.544 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Tuesday 31 January 2023 17:46:20 +0000 (0:00:00.365) 0:06:11.909 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Tuesday 31 January 2023 17:46:20 +0000 (0:00:00.409) 0:06:12.318 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:947 Tuesday 31 January 2023 17:46:20 +0000 (0:00:00.398) 0:06:12.716 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:953 Tuesday 31 January 2023 17:46:21 +0000 (0:00:00.405) 0:06:13.122 ******* 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 : Get mssql-server ver to see if WRITE_LEASE_VALIDITY is available] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Tuesday 31 January 2023 17:46:21 +0000 (0:00:00.456) 0:06:13.578 ******* 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 SQL entities on the primary replica] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:968 Tuesday 31 January 2023 17:46:22 +0000 (0:00:00.406) 0:06:13.984 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:979 Tuesday 31 January 2023 17:46:22 +0000 (0:00:00.750) 0:06:14.735 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:994 Tuesday 31 January 2023 17:46:23 +0000 (0:00:00.542) 0:06:15.278 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1001 Tuesday 31 January 2023 17:46:23 +0000 (0:00:00.439) 0:06:15.717 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag, grant permissions to login, replicate DBs] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1026 Tuesday 31 January 2023 17:46:24 +0000 (0:00:00.418) 0:06:16.135 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to ha login] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Tuesday 31 January 2023 17:46:24 +0000 (0:00:00.455) 0:06:16.591 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Tuesday 31 January 2023 17:46:25 +0000 (0:00:00.399) 0:06:16.991 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1064 Tuesday 31 January 2023 17:46:25 +0000 (0:00:00.420) 0:06:17.412 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1070 Tuesday 31 January 2023 17:46:25 +0000 (0:00:00.410) 0:06:17.822 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1077 Tuesday 31 January 2023 17:46:26 +0000 (0:00:00.414) 0:06:18.237 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Tuesday 31 January 2023 17:46:26 +0000 (0:00:00.428) 0:06:18.666 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1092 Tuesday 31 January 2023 17:46:27 +0000 (0:00:00.399) 0:06:19.065 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1104 Tuesday 31 January 2023 17:46:27 +0000 (0:00:00.464) 0:06:19.530 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1117 Tuesday 31 January 2023 17:46:28 +0000 (0:00:00.402) 0:06:19.932 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1130 Tuesday 31 January 2023 17:46:28 +0000 (0:00:00.427) 0:06:20.360 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1142 Tuesday 31 January 2023 17:46:29 +0000 (0:00:00.770) 0:06:21.131 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Tuesday 31 January 2023 17:46:29 +0000 (0:00:00.487) 0:06:21.619 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1157 Tuesday 31 January 2023 17:46:30 +0000 (0:00:00.448) 0:06:22.067 ******* ok: [sut] => { "changed": false } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1170 Tuesday 31 January 2023 17:46:31 +0000 (0:00:01.386) 0:06:23.454 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Upgrade to new version on mssql new version 2017] ************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/upgrade_and_assert.yml:20 Tuesday 31 January 2023 17:46:32 +0000 (0:00:00.483) 0:06:23.937 ******* TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 31 January 2023 17:46:33 +0000 (0:00:01.479) 0:06:25.416 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 31 January 2023 17:46:34 +0000 (0:00:00.688) 0:06:26.105 ******* ok: [sut] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Tuesday 31 January 2023 17:46:35 +0000 (0:00:01.086) 0:06:27.192 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 31 January 2023 17:46:36 +0000 (0:00:01.125) 0:06:28.317 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 31 January 2023 17:46:36 +0000 (0:00:00.414) 0:06:28.731 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 31 January 2023 17:46:37 +0000 (0:00:00.399) 0:06:29.131 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 31 January 2023 17:46:37 +0000 (0:00:00.455) 0:06:29.586 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 31 January 2023 17:46:38 +0000 (0:00:00.413) 0:06:29.999 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:41 Tuesday 31 January 2023 17:46:38 +0000 (0:00:00.409) 0:06:30.409 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:53 Tuesday 31 January 2023 17:46:38 +0000 (0:00:00.505) 0:06:30.915 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:61 Tuesday 31 January 2023 17:46:39 +0000 (0:00:00.439) 0:06:31.354 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:70 Tuesday 31 January 2023 17:46:39 +0000 (0:00:00.422) 0:06:31.777 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 Tuesday 31 January 2023 17:46:40 +0000 (0:00:00.469) 0:06:32.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 fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:88 Tuesday 31 January 2023 17:46:43 +0000 (0:00:03.252) 0:06:35.500 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 31 January 2023 17:46:44 +0000 (0:00:01.219) 0:06:36.719 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:104 Tuesday 31 January 2023 17:46:45 +0000 (0:00:00.438) 0:06:37.178 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that version 2022 is not used with RHEL 7] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 31 January 2023 17:46:45 +0000 (0:00:00.464) 0:06:37.642 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:120 Tuesday 31 January 2023 17:46:46 +0000 (0:00:00.429) 0:06:38.071 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/upgrade_and_assert.yml:34 Tuesday 31 January 2023 17:46:46 +0000 (0:00:00.775) 0:06:38.867 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Run the role] ************************************************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_upgrade.yml:75 Tuesday 31 January 2023 17:46:47 +0000 (0:00:00.506) 0:06:39.374 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_upgrade.yml:81 Tuesday 31 January 2023 17:46:47 +0000 (0:00:00.470) 0:06:39.844 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [Upgrade to 2022 and assert expected results] ***************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_upgrade.yml:95 Tuesday 31 January 2023 17:46:48 +0000 (0:00:00.790) 0:06:40.634 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/upgrade_and_assert.yml for sut TASK [Upgrade to 2022] ********************************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/upgrade_and_assert.yml:9 Tuesday 31 January 2023 17:46:49 +0000 (0:00:00.711) 0:06:41.346 ******* TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 31 January 2023 17:46:50 +0000 (0:00:01.338) 0:06:42.684 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 31 January 2023 17:46:51 +0000 (0:00:00.716) 0:06:43.401 ******* ok: [sut] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Tuesday 31 January 2023 17:46:52 +0000 (0:00:01.214) 0:06:44.615 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 31 January 2023 17:46:53 +0000 (0:00:00.700) 0:06:45.316 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 31 January 2023 17:46:53 +0000 (0:00:00.436) 0:06:45.753 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 31 January 2023 17:46:54 +0000 (0:00:00.486) 0:06:46.239 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 31 January 2023 17:46:54 +0000 (0:00:00.440) 0:06:46.679 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 31 January 2023 17:46:55 +0000 (0:00:00.403) 0:06:47.083 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:41 Tuesday 31 January 2023 17:46:55 +0000 (0:00:00.469) 0:06:47.553 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:53 Tuesday 31 January 2023 17:46:56 +0000 (0:00:00.491) 0:06:48.044 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:61 Tuesday 31 January 2023 17:46:56 +0000 (0:00:00.448) 0:06:48.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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:70 Tuesday 31 January 2023 17:46:57 +0000 (0:00:00.797) 0:06:49.290 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 Tuesday 31 January 2023 17:46:58 +0000 (0:00:00.657) 0:06:49.948 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:88 Tuesday 31 January 2023 17:47:00 +0000 (0:00:02.916) 0:06:52.865 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 31 January 2023 17:47:02 +0000 (0:00:01.170) 0:06:54.035 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:104 Tuesday 31 January 2023 17:47:02 +0000 (0:00:00.428) 0:06:54.464 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that version 2022 is not used with RHEL 7] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 31 January 2023 17:47:03 +0000 (0:00:00.473) 0:06:54.937 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:120 Tuesday 31 January 2023 17:47:03 +0000 (0:00:00.486) 0:06:55.424 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Tuesday 31 January 2023 17:47:04 +0000 (0:00:00.790) 0:06:56.214 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Tuesday 31 January 2023 17:47:05 +0000 (0:00:00.985) 0:06:57.199 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:154 Tuesday 31 January 2023 17:47:07 +0000 (0:00:01.789) 0:06:58.989 ******* ok: [sut] => { "changed": false, "cmd": "yum repolist --enabled | grep packages-microsoft-com-mssql-server- | grep -v packages-microsoft-com-mssql-server-2022 | cut -d\" \" -f 1 || true", "delta": "0:00:00.675777", "end": "2023-01-31 17:47:08.185681", "rc": 0, "start": "2023-01-31 17:47:07.509904" } STDOUT: packages-microsoft-com-mssql-server-2019 TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:163 Tuesday 31 January 2023 17:47:08 +0000 (0:00:01.451) 0:07:00.441 ******* changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "absent" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:171 Tuesday 31 January 2023 17:47:09 +0000 (0:00:00.851) 0:07:01.292 ******* changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2022", "state": "present" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:181 Tuesday 31 January 2023 17:47:10 +0000 (0:00:00.937) 0:07:02.230 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-16.0.1000.6-26.x86_64", "Removed: mssql-server-15.0.4261.1-2.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Tuesday 31 January 2023 17:48:01 +0000 (0:00:50.965) 0:07:53.196 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Tuesday 31 January 2023 17:48:01 +0000 (0:00:00.464) 0:07:53.660 ******* 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.016248", "end": "2023-01-31 17:48:02.556197", "rc": 0, "start": "2023-01-31 17:48:02.539949" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:212 Tuesday 31 January 2023 17:48:02 +0000 (0:00:01.225) 0:07:54.886 ******* 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 : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Tuesday 31 January 2023 17:48:08 +0000 (0:00:05.395) 0:08:00.281 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Tuesday 31 January 2023 17:48:09 +0000 (0:00:00.643) 0:08:00.925 ******* 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 tuned-profiles-mssql package is installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Tuesday 31 January 2023 17:48:09 +0000 (0:00:00.602) 0:08:01.527 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:254 Tuesday 31 January 2023 17:48:13 +0000 (0:00:03.586) 0:08:05.114 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 17:26:18 UTC", "ActiveEnterTimestampMonotonic": "13807692", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-sysctl.service dbus.socket system.slice dbus.service basic.target sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 17:26:17 UTC", "AssertTimestampMonotonic": "12490657", "Before": "shutdown.target multi-user.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": "Tue 2023-01-31 17:26:17 UTC", "ConditionTimestampMonotonic": "12490655", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service shutdown.target tlp.service cpupower.service power-profiles-daemon.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": "658", "ExecMainStartTimestamp": "Tue 2023-01-31 17:26:17 UTC", "ExecMainStartTimestampMonotonic": "12496525", "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": "Tue 2023-01-31 17:26:17 UTC", "InactiveExitTimestampMonotonic": "12496653", "InvocationID": "c5a38dfc6131497795de7c31676853f9", "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": "14014", "LimitNPROCSoft": "14014", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "658", "MemoryAccounting": "yes", "MemoryCurrent": "22216704", "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": "polkit.service 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": "Tue 2023-01-31 17:26:18 UTC", "StateChangeTimestampMonotonic": "13807692", "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": "22423", "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": "Tue 2023-01-31 17:26:18 UTC", "WatchdogTimestampMonotonic": "13807686", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:260 Tuesday 31 January 2023 17:48:14 +0000 (0:00:01.254) 0:08:06.369 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.248347", "end": "2023-01-31 17:48:15.220893", "rc": 0, "start": "2023-01-31 17:48:14.972546" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Tuesday 31 January 2023 17:48:15 +0000 (0:00:01.147) 0:08:07.516 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:283 Tuesday 31 January 2023 17:48:16 +0000 (0:00:00.427) 0:08:07.944 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:292 Tuesday 31 January 2023 17:48:16 +0000 (0:00:00.417) 0:08:08.362 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Tuesday 31 January 2023 17:48:16 +0000 (0:00:00.444) 0:08:08.806 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:309 Tuesday 31 January 2023 17:48:17 +0000 (0:00:00.964) 0:08:09.771 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:321 Tuesday 31 January 2023 17:48:21 +0000 (0:00:03.785) 0:08:13.556 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Tuesday 31 January 2023 17:48:22 +0000 (0:00:00.791) 0:08:14.348 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 17:47:58 UTC", "ActiveEnterTimestampMonotonic": "1313822323", "ActiveExitTimestamp": "Tue 2023-01-31 17:47:23 UTC", "ActiveExitTimestampMonotonic": "1279282549", "ActiveState": "active", "After": "network.target system.slice -.mount basic.target systemd-journald.socket auditd.service sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 17:47:58 UTC", "AssertTimestampMonotonic": "1313820390", "Before": "shutdown.target multi-user.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": "Tue 2023-01-31 17:47:58 UTC", "ConditionTimestampMonotonic": "1313820387", "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": "9563", "ExecMainStartTimestamp": "Tue 2023-01-31 17:47:58 UTC", "ExecMainStartTimestampMonotonic": "1313822170", "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": "Tue 2023-01-31 17:47:24 UTC", "InactiveEnterTimestampMonotonic": "1279598463", "InactiveExitTimestamp": "Tue 2023-01-31 17:47:58 UTC", "InactiveExitTimestampMonotonic": "1313822323", "InvocationID": "da40e2bb1fa54f7e8b77293334cc12b1", "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": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9563", "MemoryAccounting": "yes", "MemoryCurrent": "719970304", "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": "sysinit.target -.mount 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": "Tue 2023-01-31 17:47:58 UTC", "StateChangeTimestampMonotonic": "1313822323", "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": "152", "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": "Tue 2023-01-31 17:47:58 UTC", "WatchdogTimestampMonotonic": "1313822306", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Tuesday 31 January 2023 17:48:23 +0000 (0:00:01.292) 0:08:15.640 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.008773", "end": "2023-01-31 17:48:24.441791", "failed_when_result": false, "rc": 1, "start": "2023-01-31 17:48:24.433018" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Tuesday 31 January 2023 17:48:24 +0000 (0:00:01.090) 0:08:16.731 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.011691", "end": "2023-01-31 17:48:25.563922", "failed_when_result": false, "rc": 1, "start": "2023-01-31 17:48:25.552231" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Tuesday 31 January 2023 17:48:25 +0000 (0:00:01.155) 0:08:17.886 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:325 Tuesday 31 January 2023 17:48:26 +0000 (0:00:00.748) 0:08:18.634 ******* ok: [sut] => { "changed": false, "elapsed": 29, "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": 253286, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:332 Tuesday 31 January 2023 17:48:57 +0000 (0:00:30.301) 0:08:48.936 ******* 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 : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:339 Tuesday 31 January 2023 17:48:57 +0000 (0:00:00.809) 0:08:49.746 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:346 Tuesday 31 January 2023 17:48:58 +0000 (0:00:00.416) 0:08:50.162 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Tuesday 31 January 2023 17:49:00 +0000 (0:00:02.743) 0:08:52.905 ******* 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 scripts to SQL Server] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:375 Tuesday 31 January 2023 17:49:01 +0000 (0:00:00.437) 0:08:53.343 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:390 Tuesday 31 January 2023 17:49:02 +0000 (0:00:00.649) 0:08:53.993 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Tuesday 31 January 2023 17:49:02 +0000 (0:00:00.375) 0:08:54.368 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:410 Tuesday 31 January 2023 17:49:02 +0000 (0:00:00.388) 0:08:54.757 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:417 Tuesday 31 January 2023 17:49:03 +0000 (0:00:00.404) 0:08:55.161 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:436 Tuesday 31 January 2023 17:49:03 +0000 (0:00:00.418) 0:08:55.580 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:443 Tuesday 31 January 2023 17:49:04 +0000 (0:00:00.413) 0:08:55.994 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:450 Tuesday 31 January 2023 17:49:04 +0000 (0:00:00.387) 0:08:56.381 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:461 Tuesday 31 January 2023 17:49:04 +0000 (0:00:00.407) 0:08:56.788 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 17:49:05 +0000 (0:00:00.719) 0:08:57.508 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005763", "end": "2023-01-31 17:49:06.038931", "failed_when_result": false, "rc": 1, "start": "2023-01-31 17:49:06.033168" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 17:49:06 +0000 (0:00:00.805) 0:08:58.313 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.253876", "end": "2023-01-31 17:49:07.179987", "failed_when_result": false, "rc": 0, "start": "2023-01-31 17:49:06.926111" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 17:49:07 +0000 (0:00:01.183) 0:08:59.497 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:467 Tuesday 31 January 2023 17:49:08 +0000 (0:00:00.728) 0:09:00.226 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Tuesday 31 January 2023 17:49:08 +0000 (0:00:00.444) 0:09:00.670 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Tuesday 31 January 2023 17:49:09 +0000 (0:00:00.396) 0:09:01.066 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:499 Tuesday 31 January 2023 17:49:09 +0000 (0:00:00.417) 0:09:01.483 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:508 Tuesday 31 January 2023 17:49:09 +0000 (0:00:00.407) 0:09:01.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Tuesday 31 January 2023 17:49:10 +0000 (0:00:00.385) 0:09:02.277 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:523 Tuesday 31 January 2023 17:49:10 +0000 (0:00:00.422) 0:09:02.699 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:529 Tuesday 31 January 2023 17:49:11 +0000 (0:00:00.368) 0:09:03.067 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:535 Tuesday 31 January 2023 17:49:11 +0000 (0:00:00.413) 0:09:03.480 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:542 Tuesday 31 January 2023 17:49:11 +0000 (0:00:00.423) 0:09:03.904 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:548 Tuesday 31 January 2023 17:49:12 +0000 (0:00:00.393) 0:09:04.297 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:566 Tuesday 31 January 2023 17:49:12 +0000 (0:00:00.364) 0:09:04.662 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:580 Tuesday 31 January 2023 17:49:13 +0000 (0:00:00.380) 0:09:05.042 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Tuesday 31 January 2023 17:49:13 +0000 (0:00:00.439) 0:09:05.482 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:603 Tuesday 31 January 2023 17:49:14 +0000 (0:00:00.787) 0:09:06.269 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Tuesday 31 January 2023 17:49:14 +0000 (0:00:00.424) 0:09:06.694 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:621 Tuesday 31 January 2023 17:49:15 +0000 (0:00:00.336) 0:09:07.031 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Tuesday 31 January 2023 17:49:15 +0000 (0:00:00.430) 0:09:07.461 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:640 Tuesday 31 January 2023 17:49:15 +0000 (0:00:00.416) 0:09:07.878 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the adutil package] ******************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:644 Tuesday 31 January 2023 17:49:16 +0000 (0:00:00.414) 0:09:08.293 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Tuesday 31 January 2023 17:49:16 +0000 (0:00:00.431) 0:09:08.725 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print the status of credential cache for {{ __mssql_kinit_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:656 Tuesday 31 January 2023 17:49:17 +0000 (0:00:00.415) 0:09:09.140 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket of the AD user {{ ad_integration_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:664 Tuesday 31 January 2023 17:49:17 +0000 (0:00:00.406) 0:09:09.546 ******* 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 SQL user exists] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:677 Tuesday 31 January 2023 17:49:18 +0000 (0:00:00.388) 0:09:09.935 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify password provided for user] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:686 Tuesday 31 January 2023 17:49:18 +0000 (0:00:00.403) 0:09:10.339 ******* 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 : Update password for the SQL user] ************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:698 Tuesday 31 January 2023 17:49:18 +0000 (0:00:00.405) 0:09:10.744 ******* 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 : In AD server create user] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Tuesday 31 January 2023 17:49:19 +0000 (0:00:00.394) 0:09:11.138 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:720 Tuesday 31 January 2023 17:49:19 +0000 (0:00:00.383) 0:09:11.522 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:725 Tuesday 31 January 2023 17:49:20 +0000 (0:00:00.436) 0:09:11.958 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:742 Tuesday 31 January 2023 17:49:20 +0000 (0:00:00.772) 0:09:12.730 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Tuesday 31 January 2023 17:49:21 +0000 (0:00:00.468) 0:09:13.199 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Tuesday 31 January 2023 17:49:21 +0000 (0:00:00.469) 0:09:13.669 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:758 Tuesday 31 January 2023 17:49:22 +0000 (0:00:00.412) 0:09:14.081 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Tuesday 31 January 2023 17:49:22 +0000 (0:00:00.472) 0:09:14.553 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:803 Tuesday 31 January 2023 17:49:23 +0000 (0:00:00.451) 0:09:15.005 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:811 Tuesday 31 January 2023 17:49:23 +0000 (0:00:00.463) 0:09:15.469 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Tuesday 31 January 2023 17:49:23 +0000 (0:00:00.393) 0:09:15.862 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the privileged account login] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:823 Tuesday 31 January 2023 17:49:24 +0000 (0:00:00.472) 0:09:16.334 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:835 Tuesday 31 January 2023 17:49:24 +0000 (0:00:00.414) 0:09:16.748 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:850 Tuesday 31 January 2023 17:49:25 +0000 (0:00:00.451) 0:09:17.200 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:869 Tuesday 31 January 2023 17:49:25 +0000 (0:00:00.426) 0:09:17.626 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:923 Tuesday 31 January 2023 17:49:26 +0000 (0:00:00.531) 0:09:18.158 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Tuesday 31 January 2023 17:49:26 +0000 (0:00:00.467) 0:09:18.625 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Tuesday 31 January 2023 17:49:27 +0000 (0:00:00.927) 0:09:19.553 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:947 Tuesday 31 January 2023 17:49:28 +0000 (0:00:00.520) 0:09:20.073 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:953 Tuesday 31 January 2023 17:49:28 +0000 (0:00:00.467) 0:09:20.541 ******* 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 : Get mssql-server ver to see if WRITE_LEASE_VALIDITY is available] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Tuesday 31 January 2023 17:49:29 +0000 (0:00:00.550) 0:09:21.091 ******* 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 SQL entities on the primary replica] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:968 Tuesday 31 January 2023 17:49:29 +0000 (0:00:00.428) 0:09:21.520 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:979 Tuesday 31 January 2023 17:49:30 +0000 (0:00:00.452) 0:09:21.972 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:994 Tuesday 31 January 2023 17:49:30 +0000 (0:00:00.748) 0:09:22.721 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1001 Tuesday 31 January 2023 17:49:31 +0000 (0:00:00.484) 0:09:23.206 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag, grant permissions to login, replicate DBs] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1026 Tuesday 31 January 2023 17:49:31 +0000 (0:00:00.441) 0:09:23.648 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to ha login] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Tuesday 31 January 2023 17:49:32 +0000 (0:00:00.510) 0:09:24.158 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Tuesday 31 January 2023 17:49:32 +0000 (0:00:00.497) 0:09:24.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1064 Tuesday 31 January 2023 17:49:33 +0000 (0:00:00.454) 0:09:25.110 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1070 Tuesday 31 January 2023 17:49:33 +0000 (0:00:00.457) 0:09:25.567 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1077 Tuesday 31 January 2023 17:49:34 +0000 (0:00:00.573) 0:09:26.141 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Tuesday 31 January 2023 17:49:34 +0000 (0:00:00.514) 0:09:26.655 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1092 Tuesday 31 January 2023 17:49:35 +0000 (0:00:00.488) 0:09:27.144 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1104 Tuesday 31 January 2023 17:49:36 +0000 (0:00:00.947) 0:09:28.092 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1117 Tuesday 31 January 2023 17:49:36 +0000 (0:00:00.473) 0:09:28.565 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1130 Tuesday 31 January 2023 17:49:37 +0000 (0:00:00.537) 0:09:29.103 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1142 Tuesday 31 January 2023 17:49:37 +0000 (0:00:00.563) 0:09:29.682 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Tuesday 31 January 2023 17:49:38 +0000 (0:00:00.579) 0:09:30.262 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1157 Tuesday 31 January 2023 17:49:39 +0000 (0:00:00.735) 0:09:30.998 ******* ok: [sut] => { "changed": false } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1170 Tuesday 31 January 2023 17:49:40 +0000 (0:00:01.461) 0:09:32.459 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Upgrade again to test idempotency - should report not changed] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/upgrade_and_assert.yml:13 Tuesday 31 January 2023 17:49:41 +0000 (0:00:00.501) 0:09:32.961 ******* TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 31 January 2023 17:49:42 +0000 (0:00:01.824) 0:09:34.785 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 31 January 2023 17:49:44 +0000 (0:00:01.130) 0:09:35.915 ******* ok: [sut] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Tuesday 31 January 2023 17:49:45 +0000 (0:00:01.159) 0:09:37.075 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 31 January 2023 17:49:45 +0000 (0:00:00.707) 0:09:37.782 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 31 January 2023 17:49:46 +0000 (0:00:00.429) 0:09:38.211 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 31 January 2023 17:49:46 +0000 (0:00:00.414) 0:09:38.626 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 31 January 2023 17:49:47 +0000 (0:00:00.482) 0:09:39.108 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 31 January 2023 17:49:47 +0000 (0:00:00.431) 0:09:39.539 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:41 Tuesday 31 January 2023 17:49:48 +0000 (0:00:00.432) 0:09:39.972 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:53 Tuesday 31 January 2023 17:49:48 +0000 (0:00:00.544) 0:09:40.517 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:61 Tuesday 31 January 2023 17:49:49 +0000 (0:00:00.513) 0:09:41.030 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:70 Tuesday 31 January 2023 17:49:49 +0000 (0:00:00.495) 0:09:41.525 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 Tuesday 31 January 2023 17:49:50 +0000 (0:00:00.479) 0:09:42.004 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:88 Tuesday 31 January 2023 17:49:53 +0000 (0:00:03.508) 0:09:45.513 ******* 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" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 31 January 2023 17:49:54 +0000 (0:00:01.217) 0:09:46.730 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:104 Tuesday 31 January 2023 17:49:55 +0000 (0:00:00.465) 0:09:47.196 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that version 2022 is not used with RHEL 7] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 31 January 2023 17:49:55 +0000 (0:00:00.467) 0:09:47.663 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:120 Tuesday 31 January 2023 17:49:56 +0000 (0:00:00.447) 0:09:48.111 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Tuesday 31 January 2023 17:49:57 +0000 (0:00:00.809) 0:09:48.921 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Tuesday 31 January 2023 17:49:57 +0000 (0:00:00.970) 0:09:49.891 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:154 Tuesday 31 January 2023 17:49:59 +0000 (0:00:01.868) 0:09:51.759 ******* ok: [sut] => { "changed": false, "cmd": "yum repolist --enabled | grep packages-microsoft-com-mssql-server- | grep -v packages-microsoft-com-mssql-server-2022 | cut -d\" \" -f 1 || true", "delta": "0:00:00.707395", "end": "2023-01-31 17:50:01.002402", "rc": 0, "start": "2023-01-31 17:50:00.295007" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:163 Tuesday 31 January 2023 17:50:01 +0000 (0:00:01.527) 0:09:53.287 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:171 Tuesday 31 January 2023 17:50:01 +0000 (0:00:00.494) 0:09:53.782 ******* ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-mssql-server-2022", "state": "present" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:181 Tuesday 31 January 2023 17:50:02 +0000 (0:00:01.012) 0:09:54.794 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Tuesday 31 January 2023 17:50:05 +0000 (0:00:02.445) 0:09:57.239 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Tuesday 31 January 2023 17:50:05 +0000 (0:00:00.394) 0:09:57.634 ******* 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.011398", "end": "2023-01-31 17:50:06.170667", "rc": 0, "start": "2023-01-31 17:50:06.159269" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:212 Tuesday 31 January 2023 17:50:06 +0000 (0:00:00.774) 0:09:58.408 ******* 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 : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Tuesday 31 January 2023 17:50:10 +0000 (0:00:03.952) 0:10:02.361 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Tuesday 31 January 2023 17:50:10 +0000 (0:00:00.094) 0:10:02.455 ******* 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 tuned-profiles-mssql package is installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Tuesday 31 January 2023 17:50:10 +0000 (0:00:00.093) 0:10:02.549 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:254 Tuesday 31 January 2023 17:50:12 +0000 (0:00:01.891) 0:10:04.441 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 17:26:18 UTC", "ActiveEnterTimestampMonotonic": "13807692", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-sysctl.service dbus.socket system.slice dbus.service basic.target sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 17:26:17 UTC", "AssertTimestampMonotonic": "12490657", "Before": "shutdown.target multi-user.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": "Tue 2023-01-31 17:26:17 UTC", "ConditionTimestampMonotonic": "12490655", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service shutdown.target tlp.service cpupower.service power-profiles-daemon.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": "658", "ExecMainStartTimestamp": "Tue 2023-01-31 17:26:17 UTC", "ExecMainStartTimestampMonotonic": "12496525", "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": "Tue 2023-01-31 17:26:17 UTC", "InactiveExitTimestampMonotonic": "12496653", "InvocationID": "c5a38dfc6131497795de7c31676853f9", "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": "14014", "LimitNPROCSoft": "14014", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "658", "MemoryAccounting": "yes", "MemoryCurrent": "22171648", "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": "polkit.service 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": "Tue 2023-01-31 17:26:18 UTC", "StateChangeTimestampMonotonic": "13807692", "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": "22423", "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": "Tue 2023-01-31 17:26:18 UTC", "WatchdogTimestampMonotonic": "13807686", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:260 Tuesday 31 January 2023 17:50:13 +0000 (0:00:00.519) 0:10:04.960 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.171752", "end": "2023-01-31 17:50:13.477452", "rc": 0, "start": "2023-01-31 17:50:13.305700" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Tuesday 31 January 2023 17:50:13 +0000 (0:00:00.498) 0:10:05.459 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:283 Tuesday 31 January 2023 17:50:13 +0000 (0:00:00.074) 0:10:05.533 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:292 Tuesday 31 January 2023 17:50:13 +0000 (0:00:00.130) 0:10:05.664 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Tuesday 31 January 2023 17:50:13 +0000 (0:00:00.074) 0:10:05.738 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:309 Tuesday 31 January 2023 17:50:14 +0000 (0:00:00.348) 0:10:06.086 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:321 Tuesday 31 January 2023 17:50:16 +0000 (0:00:01.873) 0:10:07.960 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Tuesday 31 January 2023 17:50:16 +0000 (0:00:00.132) 0:10:08.092 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 17:47:58 UTC", "ActiveEnterTimestampMonotonic": "1313822323", "ActiveExitTimestamp": "Tue 2023-01-31 17:47:23 UTC", "ActiveExitTimestampMonotonic": "1279282549", "ActiveState": "active", "After": "network.target system.slice -.mount basic.target systemd-journald.socket auditd.service sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 17:47:58 UTC", "AssertTimestampMonotonic": "1313820390", "Before": "shutdown.target multi-user.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": "Tue 2023-01-31 17:47:58 UTC", "ConditionTimestampMonotonic": "1313820387", "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": "9563", "ExecMainStartTimestamp": "Tue 2023-01-31 17:47:58 UTC", "ExecMainStartTimestampMonotonic": "1313822170", "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": "Tue 2023-01-31 17:47:24 UTC", "InactiveEnterTimestampMonotonic": "1279598463", "InactiveExitTimestamp": "Tue 2023-01-31 17:47:58 UTC", "InactiveExitTimestampMonotonic": "1313822323", "InvocationID": "da40e2bb1fa54f7e8b77293334cc12b1", "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": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9563", "MemoryAccounting": "yes", "MemoryCurrent": "919592960", "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": "sysinit.target -.mount 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": "Tue 2023-01-31 17:47:58 UTC", "StateChangeTimestampMonotonic": "1313822323", "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": "Tue 2023-01-31 17:47:58 UTC", "WatchdogTimestampMonotonic": "1313822306", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Tuesday 31 January 2023 17:50:16 +0000 (0:00:00.519) 0:10:08.612 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005839", "end": "2023-01-31 17:50:16.969156", "failed_when_result": false, "rc": 1, "start": "2023-01-31 17:50:16.963317" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Tuesday 31 January 2023 17:50:17 +0000 (0:00:00.336) 0:10:08.948 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005849", "end": "2023-01-31 17:50:17.306257", "failed_when_result": false, "rc": 1, "start": "2023-01-31 17:50:17.300408" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Tuesday 31 January 2023 17:50:17 +0000 (0:00:00.336) 0:10:09.285 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:325 Tuesday 31 January 2023 17:50:17 +0000 (0:00:00.172) 0:10:09.457 ******* ok: [sut] => { "changed": false, "elapsed": 3, "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": 253286, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:332 Tuesday 31 January 2023 17:50:20 +0000 (0:00:03.346) 0:10:12.803 ******* 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 : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:339 Tuesday 31 January 2023 17:50:21 +0000 (0:00:00.379) 0:10:13.183 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:346 Tuesday 31 January 2023 17:50:21 +0000 (0:00:00.077) 0:10:13.260 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Tuesday 31 January 2023 17:50:23 +0000 (0:00:01.921) 0:10:15.182 ******* 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 scripts to SQL Server] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:375 Tuesday 31 January 2023 17:50:23 +0000 (0:00:00.082) 0:10:15.264 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:390 Tuesday 31 January 2023 17:50:23 +0000 (0:00:00.072) 0:10:15.337 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Tuesday 31 January 2023 17:50:23 +0000 (0:00:00.075) 0:10:15.413 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:410 Tuesday 31 January 2023 17:50:23 +0000 (0:00:00.072) 0:10:15.485 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:417 Tuesday 31 January 2023 17:50:23 +0000 (0:00:00.072) 0:10:15.558 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:436 Tuesday 31 January 2023 17:50:23 +0000 (0:00:00.073) 0:10:15.632 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:443 Tuesday 31 January 2023 17:50:23 +0000 (0:00:00.070) 0:10:15.703 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:450 Tuesday 31 January 2023 17:50:23 +0000 (0:00:00.073) 0:10:15.777 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:461 Tuesday 31 January 2023 17:50:23 +0000 (0:00:00.074) 0:10:15.851 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 17:50:24 +0000 (0:00:00.122) 0:10:15.974 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005796", "end": "2023-01-31 17:50:24.323262", "failed_when_result": false, "rc": 1, "start": "2023-01-31 17:50:24.317466" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 17:50:24 +0000 (0:00:00.330) 0:10:16.305 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.183023", "end": "2023-01-31 17:50:24.841987", "failed_when_result": false, "rc": 0, "start": "2023-01-31 17:50:24.658964" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 17:50:24 +0000 (0:00:00.528) 0:10:16.834 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:467 Tuesday 31 January 2023 17:50:25 +0000 (0:00:00.134) 0:10:16.968 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Tuesday 31 January 2023 17:50:25 +0000 (0:00:00.072) 0:10:17.040 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Tuesday 31 January 2023 17:50:25 +0000 (0:00:00.073) 0:10:17.113 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:499 Tuesday 31 January 2023 17:50:25 +0000 (0:00:00.074) 0:10:17.187 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:508 Tuesday 31 January 2023 17:50:25 +0000 (0:00:00.074) 0:10:17.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Tuesday 31 January 2023 17:50:25 +0000 (0:00:00.070) 0:10:17.333 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:523 Tuesday 31 January 2023 17:50:25 +0000 (0:00:00.072) 0:10:17.405 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:529 Tuesday 31 January 2023 17:50:25 +0000 (0:00:00.071) 0:10:17.477 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:535 Tuesday 31 January 2023 17:50:25 +0000 (0:00:00.070) 0:10:17.547 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:542 Tuesday 31 January 2023 17:50:25 +0000 (0:00:00.071) 0:10:17.619 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:548 Tuesday 31 January 2023 17:50:25 +0000 (0:00:00.072) 0:10:17.691 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:566 Tuesday 31 January 2023 17:50:25 +0000 (0:00:00.071) 0:10:17.762 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:580 Tuesday 31 January 2023 17:50:25 +0000 (0:00:00.071) 0:10:17.834 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Tuesday 31 January 2023 17:50:26 +0000 (0:00:00.071) 0:10:17.905 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:603 Tuesday 31 January 2023 17:50:26 +0000 (0:00:00.078) 0:10:17.984 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Tuesday 31 January 2023 17:50:26 +0000 (0:00:00.072) 0:10:18.056 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:621 Tuesday 31 January 2023 17:50:26 +0000 (0:00:00.136) 0:10:18.193 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Tuesday 31 January 2023 17:50:26 +0000 (0:00:00.071) 0:10:18.264 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:640 Tuesday 31 January 2023 17:50:26 +0000 (0:00:00.076) 0:10:18.341 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the adutil package] ******************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:644 Tuesday 31 January 2023 17:50:26 +0000 (0:00:00.072) 0:10:18.414 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Tuesday 31 January 2023 17:50:26 +0000 (0:00:00.071) 0:10:18.485 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print the status of credential cache for {{ __mssql_kinit_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:656 Tuesday 31 January 2023 17:50:26 +0000 (0:00:00.076) 0:10:18.562 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket of the AD user {{ ad_integration_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:664 Tuesday 31 January 2023 17:50:26 +0000 (0:00:00.076) 0:10:18.638 ******* 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 SQL user exists] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:677 Tuesday 31 January 2023 17:50:26 +0000 (0:00:00.074) 0:10:18.713 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify password provided for user] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:686 Tuesday 31 January 2023 17:50:26 +0000 (0:00:00.073) 0:10:18.786 ******* 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 : Update password for the SQL user] ************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:698 Tuesday 31 January 2023 17:50:26 +0000 (0:00:00.074) 0:10:18.860 ******* 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 : In AD server create user] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Tuesday 31 January 2023 17:50:27 +0000 (0:00:00.082) 0:10:18.943 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:720 Tuesday 31 January 2023 17:50:27 +0000 (0:00:00.072) 0:10:19.015 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:725 Tuesday 31 January 2023 17:50:27 +0000 (0:00:00.073) 0:10:19.089 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:742 Tuesday 31 January 2023 17:50:27 +0000 (0:00:00.071) 0:10:19.160 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Tuesday 31 January 2023 17:50:27 +0000 (0:00:00.070) 0:10:19.230 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Tuesday 31 January 2023 17:50:27 +0000 (0:00:00.071) 0:10:19.301 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:758 Tuesday 31 January 2023 17:50:27 +0000 (0:00:00.136) 0:10:19.437 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Tuesday 31 January 2023 17:50:27 +0000 (0:00:00.072) 0:10:19.509 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:803 Tuesday 31 January 2023 17:50:27 +0000 (0:00:00.073) 0:10:19.583 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:811 Tuesday 31 January 2023 17:50:27 +0000 (0:00:00.076) 0:10:19.660 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Tuesday 31 January 2023 17:50:27 +0000 (0:00:00.072) 0:10:19.732 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the privileged account login] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:823 Tuesday 31 January 2023 17:50:27 +0000 (0:00:00.075) 0:10:19.807 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:835 Tuesday 31 January 2023 17:50:27 +0000 (0:00:00.074) 0:10:19.882 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:850 Tuesday 31 January 2023 17:50:28 +0000 (0:00:00.076) 0:10:19.958 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:869 Tuesday 31 January 2023 17:50:28 +0000 (0:00:00.073) 0:10:20.031 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:923 Tuesday 31 January 2023 17:50:28 +0000 (0:00:00.076) 0:10:20.108 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Tuesday 31 January 2023 17:50:28 +0000 (0:00:00.082) 0:10:20.190 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Tuesday 31 January 2023 17:50:28 +0000 (0:00:00.092) 0:10:20.283 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:947 Tuesday 31 January 2023 17:50:28 +0000 (0:00:00.077) 0:10:20.360 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:953 Tuesday 31 January 2023 17:50:28 +0000 (0:00:00.078) 0:10:20.439 ******* 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 : Get mssql-server ver to see if WRITE_LEASE_VALIDITY is available] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Tuesday 31 January 2023 17:50:28 +0000 (0:00:00.094) 0:10:20.533 ******* 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 SQL entities on the primary replica] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:968 Tuesday 31 January 2023 17:50:28 +0000 (0:00:00.076) 0:10:20.610 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:979 Tuesday 31 January 2023 17:50:28 +0000 (0:00:00.147) 0:10:20.757 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:994 Tuesday 31 January 2023 17:50:28 +0000 (0:00:00.097) 0:10:20.855 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1001 Tuesday 31 January 2023 17:50:29 +0000 (0:00:00.077) 0:10:20.933 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag, grant permissions to login, replicate DBs] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1026 Tuesday 31 January 2023 17:50:29 +0000 (0:00:00.082) 0:10:21.016 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to ha login] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Tuesday 31 January 2023 17:50:29 +0000 (0:00:00.076) 0:10:21.092 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Tuesday 31 January 2023 17:50:29 +0000 (0:00:00.075) 0:10:21.168 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1064 Tuesday 31 January 2023 17:50:29 +0000 (0:00:00.084) 0:10:21.253 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1070 Tuesday 31 January 2023 17:50:29 +0000 (0:00:00.080) 0:10:21.333 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1077 Tuesday 31 January 2023 17:50:29 +0000 (0:00:00.072) 0:10:21.406 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Tuesday 31 January 2023 17:50:29 +0000 (0:00:00.080) 0:10:21.486 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1092 Tuesday 31 January 2023 17:50:29 +0000 (0:00:00.076) 0:10:21.562 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1104 Tuesday 31 January 2023 17:50:29 +0000 (0:00:00.094) 0:10:21.657 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1117 Tuesday 31 January 2023 17:50:29 +0000 (0:00:00.075) 0:10:21.733 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1130 Tuesday 31 January 2023 17:50:29 +0000 (0:00:00.093) 0:10:21.826 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1142 Tuesday 31 January 2023 17:50:29 +0000 (0:00:00.077) 0:10:21.904 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Tuesday 31 January 2023 17:50:30 +0000 (0:00:00.078) 0:10:21.982 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1157 Tuesday 31 January 2023 17:50:30 +0000 (0:00:00.148) 0:10:22.131 ******* ok: [sut] => { "changed": false } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1170 Tuesday 31 January 2023 17:50:30 +0000 (0:00:00.443) 0:10:22.574 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Upgrade to new version on mssql new version 2019] ************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/upgrade_and_assert.yml:20 Tuesday 31 January 2023 17:50:30 +0000 (0:00:00.074) 0:10:22.649 ******* TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 31 January 2023 17:50:30 +0000 (0:00:00.166) 0:10:22.816 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 31 January 2023 17:50:31 +0000 (0:00:00.120) 0:10:22.937 ******* ok: [sut] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Tuesday 31 January 2023 17:50:31 +0000 (0:00:00.530) 0:10:23.467 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 31 January 2023 17:50:31 +0000 (0:00:00.107) 0:10:23.574 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 31 January 2023 17:50:31 +0000 (0:00:00.071) 0:10:23.645 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 31 January 2023 17:50:31 +0000 (0:00:00.078) 0:10:23.723 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 31 January 2023 17:50:31 +0000 (0:00:00.077) 0:10:23.800 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 31 January 2023 17:50:31 +0000 (0:00:00.071) 0:10:23.872 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:41 Tuesday 31 January 2023 17:50:32 +0000 (0:00:00.135) 0:10:24.007 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:53 Tuesday 31 January 2023 17:50:32 +0000 (0:00:00.081) 0:10:24.089 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:61 Tuesday 31 January 2023 17:50:32 +0000 (0:00:00.070) 0:10:24.160 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:70 Tuesday 31 January 2023 17:50:32 +0000 (0:00:00.072) 0:10:24.232 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 Tuesday 31 January 2023 17:50:32 +0000 (0:00:00.071) 0:10:24.303 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:88 Tuesday 31 January 2023 17:50:34 +0000 (0:00:01.793) 0:10:26.097 ******* 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" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 31 January 2023 17:50:34 +0000 (0:00:00.190) 0:10:26.287 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:104 Tuesday 31 January 2023 17:50:34 +0000 (0:00:00.077) 0:10:26.365 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that version 2022 is not used with RHEL 7] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 31 January 2023 17:50:34 +0000 (0:00:00.157) 0:10:26.522 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:120 Tuesday 31 January 2023 17:50:34 +0000 (0:00:00.076) 0:10:26.599 ******* skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } failed: [sut] (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } MSG: ['"You set mssql_version to 2019, but your SQL Server is of higher version"', 'The role does not support downgrading SQL Server'] 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/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/upgrade_and_assert.yml:34 Tuesday 31 January 2023 17:50:34 +0000 (0:00:00.132) 0:10:26.731 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the ansible_managed header in the configuration file] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_upgrade.yml:101 Tuesday 31 January 2023 17:50:34 +0000 (0:00:00.083) 0:10:26.815 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/check_header.yml:4 Tuesday 31 January 2023 17:50:35 +0000 (0:00:00.132) 0:10:26.947 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005854", "end": "2023-01-31 17:50:35.400359", "rc": 0, "start": "2023-01-31 17:50:35.394505" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = false [EULA] accepteula = Y META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=192 changed=15 unreachable=0 failed=0 skipped=505 rescued=4 ignored=0 Tuesday 31 January 2023 17:50:35 +0000 (0:00:00.384) 0:10:27.332 ******* =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------ 103.46s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:181 linux-system-roles.mssql : Ensure the package mssql-server ------------- 50.66s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:181 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections -- 48.55s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:325 linux-system-roles.mssql : Gather system services facts ---------------- 18.58s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:212 linux-system-roles.mssql : Gather package facts ------------------------ 14.50s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 linux-system-roles.mssql : Ensure that SQL Server client tools are installed -- 11.51s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:309 linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed -- 10.98s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 linux-system-roles.mssql : Gather package facts ------------------------- 9.70s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:346 linux-system-roles.mssql : Set up MSSQL --------------------------------- 8.87s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 7.99s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:309 linux-system-roles.mssql : Update all packages from SQL Server repo version 2017 --- 6.81s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 linux-system-roles.mssql : Get yum repositories ------------------------- 5.78s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:154 linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 5.70s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 linux-system-roles.mssql : Gather system services facts ----------------- 5.14s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:212 linux-system-roles.mssql : Gather package facts ------------------------- 5.05s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf --- 4.92s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1157 linux-system-roles.mssql : Ensure that the tuned service is started and enabled --- 4.22s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:254 linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any --- 4.13s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:88 linux-system-roles.mssql : Ensure that the tuned service is started and enabled --- 4.04s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:254 linux-system-roles.mssql : Check if the errorlog file exists and its location --- 4.02s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.exceptions import InvalidSignature [WARNING]: Consider using the yum module rather than running 'yum'. If you need to use command because yum is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---