# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_configure_ha_cluster_external.yml ****************************** 2 plays in /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:4 Saturday 09 December 2023 18:54:58 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Verify HA functionality with external clusters and templates] ************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:9 Saturday 09 December 2023 18:54:58 +0000 (0:00:00.020) 0:00:00.033 ***** ok: [sut] META: ran handlers TASK [Run the role] ************************************************************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:110 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.649) 0:00:00.682 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:116 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.038) 0:00:00.720 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:126 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.028) 0:00:00.749 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [Run role with mssql_replica_type=primary not defined] ******************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:137 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.033) 0:00:00.782 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.155) 0:00:00.938 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.033) 0:00:00.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.027) 0:00:00.999 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.039) 0:00:01.039 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.011) 0:00:01.050 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.011) 0:00:01.062 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.025) 0:00:01.087 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.016) 0:00:01.104 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.027) 0:00:01.131 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.029) 0:00:01.161 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.018) 0:00:01.179 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.011) 0:00:01.191 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.010) 0:00:01.201 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.013) 0:00:01.214 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.011) 0:00:01.226 ***** fatal: [sut]: FAILED! => { "assertion": "mssql_ha_replica_type in __mssql_ha_replica_types_all", "changed": false, "evaluated_to": false } MSG: You must set the mssql_ha_replica_type variable to one of primary, synchronous, asynchronous, witness, absent TASK [Assert that the role failed with EL < 8 not supported] ******************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:145 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.013) 0:00:01.240 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set the mssql_ha_replica_type fact to appear in hostvars] **************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:152 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.010) 0:00:01.251 ***** ok: [sut] => { "ansible_facts": { "mssql_ha_replica_type": "primary" }, "changed": false } TASK [Set facts to create test DBs on primary as a pre task] ******************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:159 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.011) 0:00:01.262 ***** ok: [sut] => { "ansible_facts": { "mssql_pre_input_sql_file": [ "create_ExampleDB1.sql", "create_ExampleDB2.sql" ] }, "changed": false } TASK [Run on all hosts to configure read-scale cluster] ************************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:167 Saturday 09 December 2023 18:54:59 +0000 (0:00:00.009) 0:00:01.272 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.087) 0:00:01.360 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.011) 0:00:01.371 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.011) 0:00:01.382 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.025) 0:00:01.407 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.008) 0:00:01.416 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.008) 0:00:01.425 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.010) 0:00:01.435 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.010) 0:00:01.445 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.008) 0:00:01.454 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.014) 0:00:01.468 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.014) 0:00:01.483 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.021) 0:00:01.504 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.008) 0:00:01.513 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.012) 0:00:01.526 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.013) 0:00:01.540 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.012) 0:00:01.552 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.014) 0:00:01.567 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.012) 0:00:01.579 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Saturday 09 December 2023 18:55:00 +0000 (0:00:00.011) 0:00:01.590 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Saturday 09 December 2023 18:55:01 +0000 (0:00:01.409) 0:00:03.000 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Saturday 09 December 2023 18:55:01 +0000 (0:00:00.042) 0:00:03.042 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Saturday 09 December 2023 18:55:01 +0000 (0:00:00.020) 0:00:03.063 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Saturday 09 December 2023 18:55:01 +0000 (0:00:00.028) 0:00:03.091 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Saturday 09 December 2023 18:55:01 +0000 (0:00:00.044) 0:00:03.136 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Saturday 09 December 2023 18:55:02 +0000 (0:00:00.490) 0:00:03.626 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Saturday 09 December 2023 18:55:02 +0000 (0:00:00.029) 0:00:03.655 ***** 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 2022] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Saturday 09 December 2023 18:55:02 +0000 (0:00:00.031) 0:00:03.687 ***** 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/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Saturday 09 December 2023 18:55:02 +0000 (0:00:00.038) 0:00:03.725 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2022", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Saturday 09 December 2023 18:55:02 +0000 (0:00:00.313) 0:00:04.038 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Saturday 09 December 2023 18:55:02 +0000 (0:00:00.032) 0:00:04.071 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Saturday 09 December 2023 18:55:02 +0000 (0:00:00.022) 0:00:04.093 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Saturday 09 December 2023 18:55:02 +0000 (0:00:00.049) 0:00:04.143 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Saturday 09 December 2023 18:55:02 +0000 (0:00:00.021) 0:00:04.164 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Saturday 09 December 2023 18:55:02 +0000 (0:00:00.019) 0:00:04.183 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: mssql-server-16.0.4095.4-1.x86_64", "Installed: gc-7.6.4-3.el8.x86_64", "Installed: gdb-8.2-20.el8.x86_64", "Installed: libatomic-8.5.0-20.el8.x86_64", "Installed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Installed: gcc-gdb-plugin-8.5.0-20.el8.x86_64", "Installed: gdb-headless-8.2-20.el8.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: 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", "Installed: guile-5:2.0.14-7.el8.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Saturday 09 December 2023 18:55:48 +0000 (0:00:45.316) 0:00:49.499 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Saturday 09 December 2023 18:55:48 +0000 (0:00:00.020) 0:00:49.520 ***** 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.005728", "end": "2023-12-09 18:55:48.490141", "rc": 0, "start": "2023-12-09 18:55:48.484413" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Saturday 09 December 2023 18:55:48 +0000 (0:00:00.277) 0:00:49.797 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Saturday 09 December 2023 18:55:59 +0000 (0:00:10.693) 0:01:00.491 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Saturday 09 December 2023 18:55:59 +0000 (0:00:00.027) 0:01:00.519 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Saturday 09 December 2023 18:55:59 +0000 (0:00:00.024) 0:01:00.543 ***** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Saturday 09 December 2023 18:56:08 +0000 (0:00:08.995) 0:01:09.539 ***** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Saturday 09 December 2023 18:56:08 +0000 (0:00:00.027) 0:01:09.566 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Saturday 09 December 2023 18:56:08 +0000 (0:00:00.025) 0:01:09.592 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: tuned-profiles-mssql-2.21.0-1.el8_9.noarch" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Saturday 09 December 2023 18:56:10 +0000 (0:00:02.286) 0:01:11.878 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:47:21 UTC", "ActiveEnterTimestampMonotonic": "12484236", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target polkit.service network.target dbus.socket basic.target systemd-sysctl.service systemd-journald.socket dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:47:20 UTC", "AssertTimestampMonotonic": "11495073", "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": "Sat 2023-12-09 18:47:20 UTC", "ConditionTimestampMonotonic": "11495072", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service power-profiles-daemon.service shutdown.target cpupower.service tlp.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": "692", "ExecMainStartTimestamp": "Sat 2023-12-09 18:47:20 UTC", "ExecMainStartTimestampMonotonic": "11496581", "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": "Sat 2023-12-09 18:47:20 UTC", "InactiveExitTimestampMonotonic": "11496633", "InvocationID": "3a2c30f154734712b3ffc2a2b07fa91b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "692", "MemoryAccounting": "yes", "MemoryCurrent": "19460096", "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 sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "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": "Sat 2023-12-09 18:47:21 UTC", "StateChangeTimestampMonotonic": "12484236", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 18:47:21 UTC", "WatchdogTimestampMonotonic": "12484232", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Saturday 09 December 2023 18:56:11 +0000 (0:00:00.473) 0:01:12.352 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.134927", "end": "2023-12-09 18:56:11.382811", "rc": 0, "start": "2023-12-09 18:56:11.247884" } STDOUT: Current active profile: virtual-guest TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Saturday 09 December 2023 18:56:11 +0000 (0:00:00.341) 0:01:12.693 ***** changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.391817", "end": "2023-12-09 18:56:13.038748", "failed_when_result": false, "rc": 0, "start": "2023-12-09 18:56:11.646931" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Saturday 09 December 2023 18:56:13 +0000 (0:00:01.658) 0:01:14.352 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Saturday 09 December 2023 18:56:13 +0000 (0:00:00.062) 0:01:14.414 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Saturday 09 December 2023 18:56:13 +0000 (0:00:00.038) 0:01:14.453 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Saturday 09 December 2023 18:56:13 +0000 (0:00:00.240) 0:01:14.693 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: msodbcsql17-17.10.5.1-1.x86_64", "Installed: unixODBC-devel-2.3.11-1.rh.x86_64", "Installed: unixODBC-2.3.11-1.rh.x86_64", "Installed: mssql-tools-17.10.1.1-1.x86_64" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Saturday 09 December 2023 18:56:19 +0000 (0:00:05.665) 0:01:20.359 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Saturday 09 December 2023 18:56:19 +0000 (0:00:00.020) 0:01:20.379 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Saturday 09 December 2023 18:56:19 +0000 (0:00:00.021) 0:01:20.401 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Saturday 09 December 2023 18:56:19 +0000 (0:00:00.047) 0:01:20.448 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Saturday 09 December 2023 18:56:19 +0000 (0:00:00.021) 0:01:20.469 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Saturday 09 December 2023 18:56:19 +0000 (0:00:00.022) 0:01:20.492 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Saturday 09 December 2023 18:56:19 +0000 (0:00:00.021) 0:01:20.514 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml for sut TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:56:19 +0000 (0:00:00.035) 0:01:20.549 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:56:19 +0000 (0:00:00.020) 0:01:20.569 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:56:19 +0000 (0:00:00.022) 0:01:20.592 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:56:08 UTC", "ActiveEnterTimestampMonotonic": "538559658", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target auditd.service network.target systemd-journald.socket -.mount system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:56:08 UTC", "AssertTimestampMonotonic": "538558291", "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": "Sat 2023-12-09 18:56:08 UTC", "ConditionTimestampMonotonic": "538558290", "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": "8700", "ExecMainStartTimestamp": "Sat 2023-12-09 18:56:08 UTC", "ExecMainStartTimestampMonotonic": "538559599", "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": "990", "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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 18:56:08 UTC", "InactiveExitTimestampMonotonic": "538559658", "InvocationID": "217fa286373947aea37162e6893690fc", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8700", "MemoryAccounting": "yes", "MemoryCurrent": "724287488", "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": "system.slice -.mount sysinit.target", "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": "Sat 2023-12-09 18:56:08 UTC", "StateChangeTimestampMonotonic": "538559658", "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": "177", "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": "Sat 2023-12-09 18:56:08 UTC", "WatchdogTimestampMonotonic": "538559655", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:56:19 +0000 (0:00:00.326) 0:01:20.918 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 17171, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:56:20 +0000 (0:00:01.297) 0:01:22.216 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Saturday 09 December 2023 18:56:21 +0000 (0:00:00.062) 0:01:22.278 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:56:08 UTC", "ActiveEnterTimestampMonotonic": "538559658", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target auditd.service network.target systemd-journald.socket -.mount system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:56:08 UTC", "AssertTimestampMonotonic": "538558291", "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": "Sat 2023-12-09 18:56:08 UTC", "ConditionTimestampMonotonic": "538558290", "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": "8700", "ExecMainStartTimestamp": "Sat 2023-12-09 18:56:08 UTC", "ExecMainStartTimestampMonotonic": "538559599", "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": "990", "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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 18:56:08 UTC", "InactiveExitTimestampMonotonic": "538559658", "InvocationID": "217fa286373947aea37162e6893690fc", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8700", "MemoryAccounting": "yes", "MemoryCurrent": "724287488", "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": "system.slice -.mount sysinit.target", "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": "Sat 2023-12-09 18:56:08 UTC", "StateChangeTimestampMonotonic": "538559658", "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": "177", "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": "Sat 2023-12-09 18:56:08 UTC", "WatchdogTimestampMonotonic": "538559655", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Saturday 09 December 2023 18:56:21 +0000 (0:00:00.330) 0:01:22.609 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003187", "end": "2023-12-09 18:56:21.501327", "failed_when_result": false, "rc": 1, "start": "2023-12-09 18:56:21.498140" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Saturday 09 December 2023 18:56:21 +0000 (0:00:00.200) 0:01:22.809 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002933", "end": "2023-12-09 18:56:21.700891", "failed_when_result": false, "rc": 1, "start": "2023-12-09 18:56:21.697958" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Saturday 09 December 2023 18:56:21 +0000 (0:00:00.199) 0:01:23.009 ***** 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 : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:56:21 +0000 (0:00:00.035) 0:01:23.045 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for create_ExampleDB1.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:56:21 +0000 (0:00:00.047) 0:01:23.093 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ExampleDB1.sql_e_tf01tr.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_ExampleDB1.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:56:22 +0000 (0:00:00.287) 0:01:23.380 ***** ok: [sut] => { "changed": false, "checksum": "01e12e2023db8e40fe4ae7ef2965811c47e20292", "dest": "/tmp/create_ExampleDB1.sql_e_tf01tr.sql", "gid": 0, "group": "root", "md5sum": "7c0c7d727a2dd24b642249e3f26f11cb", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 891, "src": "/root/.ansible/tmp/ansible-tmp-1702148182.1389892-4446-139172901712476/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Generate the template on the host for create_ExampleDB1.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:56:22 +0000 (0:00:00.691) 0:01:24.071 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_ExampleDB1.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:56:22 +0000 (0:00:00.030) 0:01:24.101 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_ExampleDB1.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:56:23 +0000 (0:00:00.691) 0:01:24.793 ***** ok: [sut] => (item=/tmp/create_ExampleDB1.sql_e_tf01tr.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ExampleDB1.sql_e_tf01tr.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Creating the ExampleDB1 database', 'The ExampleDB1 database created successfully', "Changed database context to 'ExampleDB1'.", 'Adding the Inventory table to the ExampleDB1 database', '', '(1 rows affected)', '', '(1 rows affected)', '', '(1 rows affected)', '', '(1 rows affected)', 'The Inventory table created successfully']) => { "__mssql_sqlcmd_loop": [ "Creating the ExampleDB1 database", "The ExampleDB1 database created successfully", "Changed database context to 'ExampleDB1'.", "Adding the Inventory table to the ExampleDB1 database", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "The Inventory table created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_ExampleDB1.sql] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:56:23 +0000 (0:00:00.050) 0:01:24.843 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create a tempfile on the host for create_ExampleDB2.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:56:23 +0000 (0:00:00.023) 0:01:24.867 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ExampleDB2.sql_ekpzpunl.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_ExampleDB2.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:56:23 +0000 (0:00:00.210) 0:01:25.077 ***** ok: [sut] => { "changed": false, "checksum": "5624bc46f989692960b2c67c7923fbbe7db78185", "dest": "/tmp/create_ExampleDB2.sql_ekpzpunl.sql", "gid": 0, "group": "root", "md5sum": "de127d6c531edb5cab22ff2b9da3a57c", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 901, "src": "/root/.ansible/tmp/ansible-tmp-1702148183.8438976-4589-65461048741081/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Generate the template on the host for create_ExampleDB2.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:56:24 +0000 (0:00:00.595) 0:01:25.672 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_ExampleDB2.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:56:24 +0000 (0:00:00.023) 0:01:25.696 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_ExampleDB2.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:56:25 +0000 (0:00:00.651) 0:01:26.348 ***** ok: [sut] => (item=/tmp/create_ExampleDB2.sql_ekpzpunl.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ExampleDB2.sql_ekpzpunl.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Creating the ExampleDB2 database', 'The ExampleDB2 database created successfully', "Changed database context to 'ExampleDB2'.", 'Adding the Inventory table to the ExampleDB2 database', '', '(1 rows affected)', '', '(1 rows affected)', '', '(1 rows affected)', '', '(1 rows affected)', 'The Inventory table created successfully']) => { "__mssql_sqlcmd_loop": [ "Creating the ExampleDB2 database", "The ExampleDB2 database created successfully", "Changed database context to 'ExampleDB2'.", "Adding the Inventory table to the ExampleDB2 database", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "The Inventory table created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_ExampleDB2.sql] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:56:25 +0000 (0:00:00.040) 0:01:26.388 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:56:25 +0000 (0:00:00.021) 0:01:26.410 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Saturday 09 December 2023 18:56:25 +0000 (0:00:00.048) 0:01:26.458 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Saturday 09 December 2023 18:56:25 +0000 (0:00:00.021) 0:01:26.479 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Saturday 09 December 2023 18:56:25 +0000 (0:00:00.022) 0:01:26.502 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Saturday 09 December 2023 18:56:25 +0000 (0:00:00.021) 0:01:26.523 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Saturday 09 December 2023 18:56:25 +0000 (0:00:00.020) 0:01:26.544 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Saturday 09 December 2023 18:56:25 +0000 (0:00:00.022) 0:01:26.566 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Saturday 09 December 2023 18:56:25 +0000 (0:00:00.022) 0:01:26.589 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003056", "end": "2023-12-09 18:56:25.483302", "failed_when_result": false, "rc": 1, "start": "2023-12-09 18:56:25.480246" } MSG: non-zero return code TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Saturday 09 December 2023 18:56:25 +0000 (0:00:00.203) 0:01:26.792 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 09 December 2023 18:56:25 +0000 (0:00:00.061) 0:01:26.853 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 09 December 2023 18:56:25 +0000 (0:00:00.038) 0:01:26.892 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 09 December 2023 18:56:25 +0000 (0:00:00.025) 0:01:26.918 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 09 December 2023 18:56:25 +0000 (0:00:00.195) 0:01:27.113 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Saturday 09 December 2023 18:56:25 +0000 (0:00:00.053) 0:01:27.167 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 09 December 2023 18:56:27 +0000 (0:00:01.237) 0:01:28.404 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 09 December 2023 18:56:27 +0000 (0:00:00.022) 0:01:28.426 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 09 December 2023 18:56:27 +0000 (0:00:00.028) 0:01:28.455 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:54:46 UTC", "ActiveEnterTimestampMonotonic": "456712791", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service dbus.socket system.slice polkit.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:54:45 UTC", "AssertTimestampMonotonic": "456011711", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ConditionTimestampMonotonic": "456011710", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service shutdown.target ebtables.service iptables.service nftables.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6806", "ExecMainStartTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ExecMainStartTimestampMonotonic": "456092656", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 18:54:45 UTC", "InactiveExitTimestampMonotonic": "456092732", "InvocationID": "6989b6562e54472994a985b0ff9a11a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6806", "MemoryAccounting": "yes", "MemoryCurrent": "44879872", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2023-12-09 18:54:46 UTC", "StateChangeTimestampMonotonic": "456712791", "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": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-09 18:54:46 UTC", "WatchdogTimestampMonotonic": "456712787", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 09 December 2023 18:56:27 +0000 (0:00:00.338) 0:01:28.793 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:54:46 UTC", "ActiveEnterTimestampMonotonic": "456712791", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service dbus.socket system.slice polkit.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:54:45 UTC", "AssertTimestampMonotonic": "456011711", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ConditionTimestampMonotonic": "456011710", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service shutdown.target ebtables.service iptables.service nftables.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6806", "ExecMainStartTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ExecMainStartTimestampMonotonic": "456092656", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 18:54:45 UTC", "InactiveExitTimestampMonotonic": "456092732", "InvocationID": "6989b6562e54472994a985b0ff9a11a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6806", "MemoryAccounting": "yes", "MemoryCurrent": "44879872", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2023-12-09 18:54:46 UTC", "StateChangeTimestampMonotonic": "456712791", "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": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-09 18:54:46 UTC", "WatchdogTimestampMonotonic": "456712787", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 09 December 2023 18:56:27 +0000 (0:00:00.333) 0:01:29.127 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 09 December 2023 18:56:27 +0000 (0:00:00.027) 0:01:29.155 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 09 December 2023 18:56:27 +0000 (0:00:00.037) 0:01:29.193 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 09 December 2023 18:56:27 +0000 (0:00:00.022) 0:01:29.215 ***** changed: [sut] => (item={'port': '1433/tcp', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "port": "1433/tcp", "runtime": true, "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 09 December 2023 18:56:28 +0000 (0:00:00.546) 0:01:29.761 ***** skipping: [sut] => (item={'port': '1433/tcp', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "port": "1433/tcp", "runtime": true, "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 09 December 2023 18:56:28 +0000 (0:00:00.031) 0:01:29.793 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 09 December 2023 18:56:28 +0000 (0:00:00.025) 0:01:29.818 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 09 December 2023 18:56:28 +0000 (0:00:00.022) 0:01:29.841 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 09 December 2023 18:56:28 +0000 (0:00:00.023) 0:01:29.864 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 09 December 2023 18:56:28 +0000 (0:00:00.020) 0:01:29.885 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 09 December 2023 18:56:28 +0000 (0:00:00.019) 0:01:29.904 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Saturday 09 December 2023 18:56:28 +0000 (0:00:00.021) 0:01:29.925 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 18:56:28 +0000 (0:00:00.037) 0:01:29.963 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002867", "end": "2023-12-09 18:56:28.856763", "failed_when_result": false, "rc": 1, "start": "2023-12-09 18:56:28.853896" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 18:56:28 +0000 (0:00:00.201) 0:01:30.165 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.130799", "end": "2023-12-09 18:56:29.190560", "failed_when_result": false, "rc": 0, "start": "2023-12-09 18:56:29.059761" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.343) 0:01:30.509 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.056) 0:01:30.565 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.024) 0:01:30.589 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.024) 0:01:30.614 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.028) 0:01:30.642 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.022) 0:01:30.665 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.024) 0:01:30.690 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.023) 0:01:30.713 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.023) 0:01:30.736 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.024) 0:01:30.761 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.020) 0:01:30.782 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.021) 0:01:30.803 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.022) 0:01:30.825 ***** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.026) 0:01:30.852 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.040) 0:01:30.893 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.029) 0:01:30.922 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.024) 0:01:30.946 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.026) 0:01:30.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.053) 0:01:31.026 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.021) 0:01:31.047 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.027) 0:01:31.075 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.023) 0:01:31.099 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.023) 0:01:31.123 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.025) 0:01:31.148 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.022) 0:01:31.171 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.022) 0:01:31.193 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.023) 0:01:31.217 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Saturday 09 December 2023 18:56:29 +0000 (0:00:00.037) 0:01:31.255 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Saturday 09 December 2023 18:56:30 +0000 (0:00:00.023) 0:01:31.278 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Saturday 09 December 2023 18:56:30 +0000 (0:00:00.022) 0:01:31.301 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Saturday 09 December 2023 18:56:30 +0000 (0:00:00.026) 0:01:31.327 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Saturday 09 December 2023 18:56:30 +0000 (0:00:00.022) 0:01:31.350 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Saturday 09 December 2023 18:56:30 +0000 (0:00:00.030) 0:01:31.380 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Saturday 09 December 2023 18:56:30 +0000 (0:00:00.028) 0:01:31.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Saturday 09 December 2023 18:56:30 +0000 (0:00:00.022) 0:01:31.431 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Saturday 09 December 2023 18:56:30 +0000 (0:00:00.089) 0:01:31.520 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:962 Saturday 09 December 2023 18:56:30 +0000 (0:00:00.024) 0:01:31.545 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Saturday 09 December 2023 18:56:30 +0000 (0:00:00.045) 0:01:31.591 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 09 December 2023 18:56:30 +0000 (0:00:00.060) 0:01:31.651 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 09 December 2023 18:56:30 +0000 (0:00:00.041) 0:01:31.693 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 09 December 2023 18:56:30 +0000 (0:00:00.027) 0:01:31.720 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 09 December 2023 18:56:30 +0000 (0:00:00.021) 0:01:31.742 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Saturday 09 December 2023 18:56:30 +0000 (0:00:00.022) 0:01:31.765 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 09 December 2023 18:56:31 +0000 (0:00:01.253) 0:01:33.018 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 09 December 2023 18:56:31 +0000 (0:00:00.049) 0:01:33.067 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 09 December 2023 18:56:31 +0000 (0:00:00.030) 0:01:33.098 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:54:46 UTC", "ActiveEnterTimestampMonotonic": "456712791", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service dbus.socket system.slice polkit.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:54:45 UTC", "AssertTimestampMonotonic": "456011711", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ConditionTimestampMonotonic": "456011710", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service shutdown.target ebtables.service iptables.service nftables.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6806", "ExecMainStartTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ExecMainStartTimestampMonotonic": "456092656", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 18:54:45 UTC", "InactiveExitTimestampMonotonic": "456092732", "InvocationID": "6989b6562e54472994a985b0ff9a11a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6806", "MemoryAccounting": "yes", "MemoryCurrent": "44924928", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2023-12-09 18:54:46 UTC", "StateChangeTimestampMonotonic": "456712791", "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": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-09 18:54:46 UTC", "WatchdogTimestampMonotonic": "456712787", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 09 December 2023 18:56:32 +0000 (0:00:00.336) 0:01:33.434 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:54:46 UTC", "ActiveEnterTimestampMonotonic": "456712791", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service dbus.socket system.slice polkit.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:54:45 UTC", "AssertTimestampMonotonic": "456011711", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ConditionTimestampMonotonic": "456011710", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service shutdown.target ebtables.service iptables.service nftables.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6806", "ExecMainStartTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ExecMainStartTimestampMonotonic": "456092656", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 18:54:45 UTC", "InactiveExitTimestampMonotonic": "456092732", "InvocationID": "6989b6562e54472994a985b0ff9a11a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6806", "MemoryAccounting": "yes", "MemoryCurrent": "44924928", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2023-12-09 18:54:46 UTC", "StateChangeTimestampMonotonic": "456712791", "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": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-09 18:54:46 UTC", "WatchdogTimestampMonotonic": "456712787", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 09 December 2023 18:56:32 +0000 (0:00:00.346) 0:01:33.781 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 09 December 2023 18:56:32 +0000 (0:00:00.040) 0:01:33.821 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 09 December 2023 18:56:32 +0000 (0:00:00.030) 0:01:33.851 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 09 December 2023 18:56:32 +0000 (0:00:00.043) 0:01:33.895 ***** changed: [sut] => (item={'port': '5022/tcp', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "port": "5022/tcp", "runtime": true, "state": "enabled" } } changed: [sut] => (item={'service': 'high-availability', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "runtime": true, "service": "high-availability", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 09 December 2023 18:56:33 +0000 (0:00:00.878) 0:01:34.774 ***** skipping: [sut] => (item={'port': '5022/tcp', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "port": "5022/tcp", "runtime": true, "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'service': 'high-availability', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "runtime": true, "service": "high-availability", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 09 December 2023 18:56:33 +0000 (0:00:00.033) 0:01:34.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 09 December 2023 18:56:33 +0000 (0:00:00.031) 0:01:34.839 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 09 December 2023 18:56:33 +0000 (0:00:00.053) 0:01:34.892 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 09 December 2023 18:56:33 +0000 (0:00:00.024) 0:01:34.917 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 09 December 2023 18:56:33 +0000 (0:00:00.035) 0:01:34.952 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 09 December 2023 18:56:33 +0000 (0:00:00.027) 0:01:34.979 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Saturday 09 December 2023 18:56:33 +0000 (0:00:00.030) 0:01:35.010 ***** ok: [sut] => { "ansible_facts": { "__mssql_ha_availability_mode": "ASYNCHRONOUS_COMMIT", "__mssql_ha_failover_mode": "MANUAL", "__mssql_ha_seeding_mode": "AUTOMATIC" }, "changed": false } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Saturday 09 December 2023 18:56:33 +0000 (0:00:00.038) 0:01:35.048 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Saturday 09 December 2023 18:56:33 +0000 (0:00:00.029) 0:01:35.077 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting hadr hadrenabled] ************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 18:56:33 +0000 (0:00:00.045) 0:01:35.123 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003022", "end": "2023-12-09 18:56:34.020598", "failed_when_result": false, "rc": 1, "start": "2023-12-09 18:56:34.017576" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting hadr hadrenabled] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 18:56:34 +0000 (0:00:00.206) 0:01:35.330 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "hadr.hadrenabled", "1" ], "delta": "0:00:00.129128", "end": "2023-12-09 18:56:34.358810", "failed_when_result": false, "rc": 0, "start": "2023-12-09 18:56:34.229682" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting hadr hadrenabled] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 18:56:34 +0000 (0:00:00.366) 0:01:35.696 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Saturday 09 December 2023 18:56:34 +0000 (0:00:00.023) 0:01:35.719 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:56:08 UTC", "ActiveEnterTimestampMonotonic": "538559658", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target auditd.service network.target systemd-journald.socket -.mount system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:56:08 UTC", "AssertTimestampMonotonic": "538558291", "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": "Sat 2023-12-09 18:56:08 UTC", "ConditionTimestampMonotonic": "538558290", "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": "8700", "ExecMainStartTimestamp": "Sat 2023-12-09 18:56:08 UTC", "ExecMainStartTimestampMonotonic": "538559599", "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": "990", "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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 18:56:08 UTC", "InactiveExitTimestampMonotonic": "538559658", "InvocationID": "217fa286373947aea37162e6893690fc", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8700", "MemoryAccounting": "yes", "MemoryCurrent": "750108672", "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": "system.slice -.mount sysinit.target", "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": "Sat 2023-12-09 18:56:08 UTC", "StateChangeTimestampMonotonic": "538559658", "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": "176", "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": "Sat 2023-12-09 18:56:08 UTC", "WatchdogTimestampMonotonic": "538559655", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Saturday 09 December 2023 18:56:35 +0000 (0:00:00.588) 0:01:36.308 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Saturday 09 December 2023 18:56:35 +0000 (0:00:00.061) 0:01:36.369 ***** skipping: [sut] => (item=/var/opt/mssql/data/ExampleCert.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/ExampleCert.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/ExampleCert.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/ExampleCert.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Saturday 09 December 2023 18:56:35 +0000 (0:00:00.031) 0:01:36.401 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml for sut TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:56:35 +0000 (0:00:00.047) 0:01:36.448 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:56:35 +0000 (0:00:00.026) 0:01:36.474 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:56:35 +0000 (0:00:00.027) 0:01:36.502 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:56:34 UTC", "ActiveEnterTimestampMonotonic": "565522866", "ActiveExitTimestamp": "Sat 2023-12-09 18:56:34 UTC", "ActiveExitTimestampMonotonic": "565281632", "ActiveState": "active", "After": "basic.target auditd.service network.target systemd-journald.socket -.mount system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:56:34 UTC", "AssertTimestampMonotonic": "565521242", "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": "Sat 2023-12-09 18:56:34 UTC", "ConditionTimestampMonotonic": "565521240", "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": "10186", "ExecMainStartTimestamp": "Sat 2023-12-09 18:56:34 UTC", "ExecMainStartTimestampMonotonic": "565522798", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:56:34 UTC] ; stop_time=[n/a] ; pid=10186 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:56:34 UTC", "InactiveEnterTimestampMonotonic": "565519887", "InactiveExitTimestamp": "Sat 2023-12-09 18:56:34 UTC", "InactiveExitTimestampMonotonic": "565522866", "InvocationID": "613d39b236fc439ca32d7007c409f1a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10186", "MemoryAccounting": "yes", "MemoryCurrent": "46342144", "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": "system.slice -.mount sysinit.target", "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": "Sat 2023-12-09 18:56:34 UTC", "StateChangeTimestampMonotonic": "565522866", "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": "33", "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": "Sat 2023-12-09 18:56:34 UTC", "WatchdogTimestampMonotonic": "565522864", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:56:36 +0000 (0:00:01.358) 0:01:37.860 ***** ok: [sut] => { "changed": false, "elapsed": 3, "gid": 990, "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": 16375, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:56:39 +0000 (0:00:03.277) 0:01:41.138 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:56:39 +0000 (0:00:00.036) 0:01:41.174 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:56:39 +0000 (0:00:00.068) 0:01:41.242 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_1dss1v1q.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:56:40 +0000 (0:00:00.222) 0:01:41.464 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:56:40 +0000 (0:00:00.033) 0:01:41.498 ***** ok: [sut] => { "changed": false, "checksum": "05c862c74a8be17fed5c679d32e847c0e5dc8b65", "dest": "/tmp/create_master_key_encryption.j2_1dss1v1q.sql", "gid": 0, "group": "root", "md5sum": "65fb1fff4dc60651b5ec7369d1ebaa76", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 667, "src": "/root/.ansible/tmp/ansible-tmp-1702148200.2724178-4992-219245076001797/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:56:40 +0000 (0:00:00.599) 0:01:42.097 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:56:41 +0000 (0:00:00.268) 0:01:42.366 ***** ok: [sut] => (item=/tmp/create_master_key_encryption.j2_1dss1v1q.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_1dss1v1q.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Master key does not exist, creating', 'Master key created successfully']) => { "__mssql_sqlcmd_loop": [ "Master key does not exist, creating", "Master key created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:56:41 +0000 (0:00:00.048) 0:01:42.415 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create a tempfile on the host for create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:56:41 +0000 (0:00:00.033) 0:01:42.448 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_ihjugosw.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:56:41 +0000 (0:00:00.205) 0:01:42.653 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:56:41 +0000 (0:00:00.031) 0:01:42.685 ***** ok: [sut] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_ihjugosw.sql", "gid": 0, "group": "root", "md5sum": "1a14f5a31ade2ed9bd6854414376d638", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 2497, "src": "/root/.ansible/tmp/ansible-tmp-1702148201.4464333-5027-263197127146617/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:56:41 +0000 (0:00:00.571) 0:01:43.257 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:56:42 +0000 (0:00:00.526) 0:01:43.783 ***** ok: [sut] => (item=/tmp/create_and_back_up_cert.j2_ihjugosw.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_ihjugosw.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Certificate ExampleCert does not exist, creating', 'Certificate ExampleCert created successfully', 'Exporting a certificate and private key to /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk', 'Certificate and private key files /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk exported successfully']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert does not exist, creating", "Certificate ExampleCert created successfully", "Exporting a certificate and private key to /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk", "Certificate and private key files /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk exported successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:56:42 +0000 (0:00:00.078) 0:01:43.861 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create a tempfile on the host for enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:56:42 +0000 (0:00:00.025) 0:01:43.887 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/enable_alwayson.j2_f0n8pwn8.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:56:42 +0000 (0:00:00.200) 0:01:44.088 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:56:42 +0000 (0:00:00.025) 0:01:44.114 ***** ok: [sut] => { "changed": false, "checksum": "03ec6bf3183af4d6b2edb5c98049edf7e3bdfdf1", "dest": "/tmp/enable_alwayson.j2_f0n8pwn8.sql", "gid": 0, "group": "root", "md5sum": "ad8bcae6278918460562bd8f6269b51f", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 410, "src": "/root/.ansible/tmp/ansible-tmp-1702148202.873953-5055-260623292368476/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:56:43 +0000 (0:00:00.576) 0:01:44.690 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:56:43 +0000 (0:00:00.254) 0:01:44.944 ***** ok: [sut] => (item=/tmp/enable_alwayson.j2_f0n8pwn8.sql) => { "__mssql_sqlcmd_loop": "/tmp/enable_alwayson.j2_f0n8pwn8.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['AlwaysOn Health events are not enabled, enabling', 'AlwaysOn Health events enabled successfully']) => { "__mssql_sqlcmd_loop": [ "AlwaysOn Health events are not enabled, enabling", "AlwaysOn Health events enabled successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile enable_alwayson.j2] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:56:43 +0000 (0:00:00.049) 0:01:44.994 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create a tempfile on the host for configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:56:43 +0000 (0:00:00.027) 0:01:45.022 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_endpoint.j2_xge_9wuu.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:56:43 +0000 (0:00:00.202) 0:01:45.225 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:56:43 +0000 (0:00:00.025) 0:01:45.250 ***** ok: [sut] => { "changed": false, "checksum": "bb736eb4adb5d35d772b76e1c3bb19c6b040a59c", "dest": "/tmp/configure_endpoint.j2_xge_9wuu.sql", "gid": 0, "group": "root", "md5sum": "efa1eaf69cd98e51d145221d3699a214", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 3106, "src": "/root/.ansible/tmp/ansible-tmp-1702148204.0090752-5090-103653679973401/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:56:45 +0000 (0:00:01.550) 0:01:46.800 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:56:47 +0000 (0:00:02.320) 0:01:49.121 ***** ok: [sut] => (item=/tmp/configure_endpoint.j2_xge_9wuu.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_endpoint.j2_xge_9wuu.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Endpoint Example_Endpoint does not exist, creating', 'Endpoint Example_Endpoint created successfully']) => { "__mssql_sqlcmd_loop": [ "Endpoint Example_Endpoint does not exist, creating", "Endpoint Example_Endpoint created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile configure_endpoint.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:56:47 +0000 (0:00:00.055) 0:01:49.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:56:47 +0000 (0:00:00.027) 0:01:49.204 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Saturday 09 December 2023 18:56:47 +0000 (0:00:00.029) 0:01:49.233 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Saturday 09 December 2023 18:56:47 +0000 (0:00:00.029) 0:01:49.263 ***** ok: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/ExampleCert.cer'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "59e4116f880789c01c9ab2d571296cd282983e46", "dest": "/WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/cert", "item": { "key": "cert", "value": "/var/opt/mssql/data/ExampleCert.cer" }, "md5sum": "0d8adc90518f3ad29766834403d74358", "remote_checksum": "59e4116f880789c01c9ab2d571296cd282983e46", "remote_md5sum": null } ok: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/ExampleCert.pvk'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "13b39118ea5190c99115060e4f36798b2ce101d0", "dest": "/WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/key", "item": { "key": "key", "value": "/var/opt/mssql/data/ExampleCert.pvk" }, "md5sum": "d121b0f876c8277c14124ddde2900b7f", "remote_checksum": "13b39118ea5190c99115060e4f36798b2ce101d0", "remote_md5sum": null } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Saturday 09 December 2023 18:56:48 +0000 (0:00:00.557) 0:01:49.821 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml for sut TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:56:48 +0000 (0:00:00.110) 0:01:49.932 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:56:48 +0000 (0:00:00.030) 0:01:49.962 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:56:48 +0000 (0:00:00.027) 0:01:49.990 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:56:34 UTC", "ActiveEnterTimestampMonotonic": "565522866", "ActiveExitTimestamp": "Sat 2023-12-09 18:56:34 UTC", "ActiveExitTimestampMonotonic": "565281632", "ActiveState": "active", "After": "basic.target auditd.service network.target systemd-journald.socket -.mount system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:56:34 UTC", "AssertTimestampMonotonic": "565521242", "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": "Sat 2023-12-09 18:56:34 UTC", "ConditionTimestampMonotonic": "565521240", "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": "10186", "ExecMainStartTimestamp": "Sat 2023-12-09 18:56:34 UTC", "ExecMainStartTimestampMonotonic": "565522798", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:56:34 UTC] ; stop_time=[n/a] ; pid=10186 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:56:34 UTC", "InactiveEnterTimestampMonotonic": "565519887", "InactiveExitTimestamp": "Sat 2023-12-09 18:56:34 UTC", "InactiveExitTimestampMonotonic": "565522866", "InvocationID": "613d39b236fc439ca32d7007c409f1a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10186", "MemoryAccounting": "yes", "MemoryCurrent": "738902016", "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": "system.slice -.mount sysinit.target", "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": "Sat 2023-12-09 18:56:34 UTC", "StateChangeTimestampMonotonic": "565522866", "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": "177", "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": "Sat 2023-12-09 18:56:34 UTC", "WatchdogTimestampMonotonic": "565522864", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:56:49 +0000 (0:00:00.328) 0:01:50.318 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 19091, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:56:50 +0000 (0:00:01.225) 0:01:51.544 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:56:50 +0000 (0:00:00.035) 0:01:51.580 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for ha_is_primary.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:56:50 +0000 (0:00:00.097) 0:01:51.678 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ha_is_primary.sql_3sv_k28n.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host ha_is_primary.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:56:50 +0000 (0:00:00.221) 0:01:51.899 ***** ok: [sut] => { "changed": false, "checksum": "23665eada2d9e2de69ca8f560afa21cba1da5eb4", "dest": "/tmp/ha_is_primary.sql_3sv_k28n.sql", "gid": 0, "group": "root", "md5sum": "49a2dd5235418003e591ca627cd70e57", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 264, "src": "/root/.ansible/tmp/ansible-tmp-1702148210.6989377-5421-42456919934446/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Generate the template on the host for ha_is_primary.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:56:51 +0000 (0:00:00.610) 0:01:52.510 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input with the sqlcmd command ha_is_primary.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:56:51 +0000 (0:00:00.025) 0:01:52.535 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting ha_is_primary.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:56:51 +0000 (0:00:00.291) 0:01:52.826 ***** ok: [sut] => (item=/tmp/ha_is_primary.sql_3sv_k28n.sql) => { "__mssql_sqlcmd_loop": "/tmp/ha_is_primary.sql_3sv_k28n.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['0']) => { "__mssql_sqlcmd_loop": [ "0" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile ha_is_primary.sql] ******** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:56:51 +0000 (0:00:00.043) 0:01:52.870 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:56:51 +0000 (0:00:00.031) 0:01:52.902 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1129 Saturday 09 December 2023 18:56:51 +0000 (0:00:00.023) 0:01:52.926 ***** ok: [sut] => { "ansible_facts": { "__mssql_ha_is_primary": true }, "changed": false } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Saturday 09 December 2023 18:56:51 +0000 (0:00:00.040) 0:01:52.967 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml for sut TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:56:51 +0000 (0:00:00.042) 0:01:53.009 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:56:51 +0000 (0:00:00.022) 0:01:53.032 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:56:51 +0000 (0:00:00.022) 0:01:53.055 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:56:34 UTC", "ActiveEnterTimestampMonotonic": "565522866", "ActiveExitTimestamp": "Sat 2023-12-09 18:56:34 UTC", "ActiveExitTimestampMonotonic": "565281632", "ActiveState": "active", "After": "basic.target auditd.service network.target systemd-journald.socket -.mount system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:56:34 UTC", "AssertTimestampMonotonic": "565521242", "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": "Sat 2023-12-09 18:56:34 UTC", "ConditionTimestampMonotonic": "565521240", "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": "10186", "ExecMainStartTimestamp": "Sat 2023-12-09 18:56:34 UTC", "ExecMainStartTimestampMonotonic": "565522798", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:56:34 UTC] ; stop_time=[n/a] ; pid=10186 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:56:34 UTC", "InactiveEnterTimestampMonotonic": "565519887", "InactiveExitTimestamp": "Sat 2023-12-09 18:56:34 UTC", "InactiveExitTimestampMonotonic": "565522866", "InvocationID": "613d39b236fc439ca32d7007c409f1a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10186", "MemoryAccounting": "yes", "MemoryCurrent": "746156032", "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": "system.slice -.mount sysinit.target", "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": "Sat 2023-12-09 18:56:34 UTC", "StateChangeTimestampMonotonic": "565522866", "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": "179", "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": "Sat 2023-12-09 18:56:34 UTC", "WatchdogTimestampMonotonic": "565522864", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:56:52 +0000 (0:00:00.324) 0:01:53.380 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 19091, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:56:53 +0000 (0:00:01.212) 0:01:54.592 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:56:53 +0000 (0:00:00.023) 0:01:54.615 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:56:53 +0000 (0:00:00.045) 0:01:54.661 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag.j2_k97mxcp0.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host configure_ag.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:56:53 +0000 (0:00:00.201) 0:01:54.862 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:56:53 +0000 (0:00:00.025) 0:01:54.887 ***** ok: [sut] => { "changed": false, "checksum": "03c0ade77df870f401dea0ae0530282983ab9406", "dest": "/tmp/configure_ag.j2_k97mxcp0.sql", "gid": 0, "group": "root", "md5sum": "eb1046bef18f5b0e395a7294aa16aca8", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 12130, "src": "/root/.ansible/tmp/ansible-tmp-1702148213.646859-5541-141503984652027/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:56:55 +0000 (0:00:01.877) 0:01:56.765 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:56:55 +0000 (0:00:00.435) 0:01:57.201 ***** ok: [sut] => (item=/tmp/configure_ag.j2_k97mxcp0.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag.j2_k97mxcp0.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Creating the ExampleAG availability group', 'The ExampleAG availability group created successfully', 'Granted the CREATE ANY DATABASE permission to the ExampleAG availability group']) => { "__mssql_sqlcmd_loop": [ "Creating the ExampleAG availability group", "The ExampleAG availability group created successfully", "Granted the CREATE ANY DATABASE permission to the ExampleAG availability group" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile configure_ag.j2] ********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:56:55 +0000 (0:00:00.045) 0:01:57.247 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:56:55 +0000 (0:00:00.024) 0:01:57.271 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1163 Saturday 09 December 2023 18:56:56 +0000 (0:00:00.027) 0:01:57.299 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1173 Saturday 09 December 2023 18:56:56 +0000 (0:00:00.026) 0:01:57.326 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml for sut TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:56:56 +0000 (0:00:00.048) 0:01:57.375 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:56:56 +0000 (0:00:00.024) 0:01:57.399 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:56:56 +0000 (0:00:00.028) 0:01:57.428 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:56:34 UTC", "ActiveEnterTimestampMonotonic": "565522866", "ActiveExitTimestamp": "Sat 2023-12-09 18:56:34 UTC", "ActiveExitTimestampMonotonic": "565281632", "ActiveState": "active", "After": "basic.target auditd.service network.target systemd-journald.socket -.mount system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:56:34 UTC", "AssertTimestampMonotonic": "565521242", "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": "Sat 2023-12-09 18:56:34 UTC", "ConditionTimestampMonotonic": "565521240", "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": "10186", "ExecMainStartTimestamp": "Sat 2023-12-09 18:56:34 UTC", "ExecMainStartTimestampMonotonic": "565522798", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:56:34 UTC] ; stop_time=[n/a] ; pid=10186 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:56:34 UTC", "InactiveEnterTimestampMonotonic": "565519887", "InactiveExitTimestamp": "Sat 2023-12-09 18:56:34 UTC", "InactiveExitTimestampMonotonic": "565522866", "InvocationID": "613d39b236fc439ca32d7007c409f1a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10186", "MemoryAccounting": "yes", "MemoryCurrent": "749056000", "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": "system.slice -.mount sysinit.target", "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": "Sat 2023-12-09 18:56:34 UTC", "StateChangeTimestampMonotonic": "565522866", "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": "180", "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": "Sat 2023-12-09 18:56:34 UTC", "WatchdogTimestampMonotonic": "565522864", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:56:56 +0000 (0:00:00.325) 0:01:57.753 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 20681, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:56:57 +0000 (0:00:01.214) 0:01:58.968 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:56:57 +0000 (0:00:00.024) 0:01:58.992 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for replicate_db.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:56:57 +0000 (0:00:00.045) 0:01:59.037 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/replicate_db.j2_skcbiwpj.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host replicate_db.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:56:57 +0000 (0:00:00.217) 0:01:59.255 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for replicate_db.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:56:58 +0000 (0:00:00.036) 0:01:59.291 ***** ok: [sut] => { "changed": false, "checksum": "31f3afd712f14ebd9937c978467b374db210c0f8", "dest": "/tmp/replicate_db.j2_skcbiwpj.sql", "gid": 0, "group": "root", "md5sum": "3b3910ed4e8e48eee5b879dfaa2b1877", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4750, "src": "/root/.ansible/tmp/ansible-tmp-1702148218.053561-5611-2712993745143/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command replicate_db.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:56:58 +0000 (0:00:00.557) 0:01:59.848 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting replicate_db.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.757) 0:02:00.606 ***** ok: [sut] => (item=/tmp/replicate_db.j2_skcbiwpj.sql) => { "__mssql_sqlcmd_loop": "/tmp/replicate_db.j2_skcbiwpj.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['RECOVERY FULL on the ExampleDB1 database is set, skipping', 'Backing up the ExampleDB1 database to /var/opt/mssql/data/ExampleDB1', "Processed 392 pages for database 'ExampleDB1', file 'ExampleDB1' on file 1.", "Processed 1 pages for database 'ExampleDB1', file 'ExampleDB1_log' on file 1.", 'BACKUP DATABASE successfully processed 393 pages in 0.104 seconds (29.461 MB/sec).', 'The ExampleDB1 database backed up successfully', 'Adding the ExampleDB1 database to the ExampleAG availability group', 'The ExampleDB1 database added to the ExampleAG availability group successfully', 'RECOVERY FULL on the ExampleDB2 database is set, skipping', 'Backing up the ExampleDB2 database to /var/opt/mssql/data/ExampleDB2', "Processed 392 pages for database 'ExampleDB2', file 'ExampleDB2' on file 1.", "Processed 1 pages for database 'ExampleDB2', file 'ExampleDB2_log' on file 1.", 'BACKUP DATABASE successfully processed 393 pages in 0.105 seconds (29.180 MB/sec).', 'The ExampleDB2 database backed up successfully', 'Adding the ExampleDB2 database to the ExampleAG availability group', 'The ExampleDB2 database added to the ExampleAG availability group successfully']) => { "__mssql_sqlcmd_loop": [ "RECOVERY FULL on the ExampleDB1 database is set, skipping", "Backing up the ExampleDB1 database to /var/opt/mssql/data/ExampleDB1", "Processed 392 pages for database 'ExampleDB1', file 'ExampleDB1' on file 1.", "Processed 1 pages for database 'ExampleDB1', file 'ExampleDB1_log' on file 1.", "BACKUP DATABASE successfully processed 393 pages in 0.104 seconds (29.461 MB/sec).", "The ExampleDB1 database backed up successfully", "Adding the ExampleDB1 database to the ExampleAG availability group", "The ExampleDB1 database added to the ExampleAG availability group successfully", "RECOVERY FULL on the ExampleDB2 database is set, skipping", "Backing up the ExampleDB2 database to /var/opt/mssql/data/ExampleDB2", "Processed 392 pages for database 'ExampleDB2', file 'ExampleDB2' on file 1.", "Processed 1 pages for database 'ExampleDB2', file 'ExampleDB2_log' on file 1.", "BACKUP DATABASE successfully processed 393 pages in 0.105 seconds (29.180 MB/sec).", "The ExampleDB2 database backed up successfully", "Adding the ExampleDB2 database to the ExampleAG availability group", "The ExampleDB2 database added to the ExampleAG availability group successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile replicate_db.j2] ********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.071) 0:02:00.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.023) 0:02:00.702 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1184 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.022) 0:02:00.725 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1197 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.021) 0:02:00.746 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1210 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.021) 0:02:00.768 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.021) 0:02:00.790 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1224 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.021) 0:02:00.811 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.020) 0:02:00.832 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1240 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.021) 0:02:00.854 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/ExampleCert.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/ExampleCert.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/ExampleCert.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/ExampleCert.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1252 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.028) 0:02:00.882 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1261 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.020) 0:02:00.903 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1268 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.021) 0:02:00.924 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1274 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.021) 0:02:00.945 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1282 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.021) 0:02:00.967 ***** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1295 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.026) 0:02:00.994 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1307 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.022) 0:02:01.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group ExampleAG] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1313 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.022) 0:02:01.039 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Saturday 09 December 2023 18:56:59 +0000 (0:00:00.057) 0:02:01.096 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Saturday 09 December 2023 18:57:00 +0000 (0:00:00.281) 0:02:01.377 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:56:34 UTC", "ActiveEnterTimestampMonotonic": "565522866", "ActiveExitTimestamp": "Sat 2023-12-09 18:56:34 UTC", "ActiveExitTimestampMonotonic": "565281632", "ActiveState": "active", "After": "basic.target auditd.service network.target systemd-journald.socket -.mount system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:56:34 UTC", "AssertTimestampMonotonic": "565521242", "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": "Sat 2023-12-09 18:56:34 UTC", "ConditionTimestampMonotonic": "565521240", "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": "10186", "ExecMainStartTimestamp": "Sat 2023-12-09 18:56:34 UTC", "ExecMainStartTimestampMonotonic": "565522798", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:56:34 UTC] ; stop_time=[n/a] ; pid=10186 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:56:34 UTC", "InactiveEnterTimestampMonotonic": "565519887", "InactiveExitTimestamp": "Sat 2023-12-09 18:56:34 UTC", "InactiveExitTimestampMonotonic": "565522866", "InvocationID": "613d39b236fc439ca32d7007c409f1a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10186", "MemoryAccounting": "yes", "MemoryCurrent": "758181888", "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": "system.slice -.mount sysinit.target", "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": "Sat 2023-12-09 18:56:34 UTC", "StateChangeTimestampMonotonic": "565522866", "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": "180", "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": "Sat 2023-12-09 18:56:34 UTC", "WatchdogTimestampMonotonic": "565522864", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1335 Saturday 09 December 2023 18:57:00 +0000 (0:00:00.593) 0:02:01.971 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1346 Saturday 09 December 2023 18:57:00 +0000 (0:00:00.022) 0:02:01.993 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up test environment for the ha_cluster role] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:181 Saturday 09 December 2023 18:57:00 +0000 (0:00:00.020) 0:02:02.014 ***** TASK [fedora.linux_system_roles.ha_cluster : Set node name to 'localhost' for single-node clusters] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 Saturday 09 December 2023 18:57:00 +0000 (0:00:00.100) 0:02:02.115 ***** ok: [sut] => { "ansible_facts": { "inventory_hostname": "localhost" }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Ensure facts used by tests] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14 Saturday 09 December 2023 18:57:00 +0000 (0:00:00.024) 0:02:02.139 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Check if system is ostree] ******** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 Saturday 09 December 2023 18:57:00 +0000 (0:00:00.025) 0:02:02.164 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ha_cluster : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:27 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.253) 0:02:02.417 ***** ok: [sut] => { "ansible_facts": { "__ha_cluster_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Do not try to enable RHEL repositories] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:32 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.024) 0:02:02.442 ***** ok: [sut] => { "ansible_facts": { "ha_cluster_enable_repos": false }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Copy nss-altfiles ha_cluster users to /etc/passwd] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.023) 0:02:02.465 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run on all hosts to configure HA cluster] ******************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:186 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.021) 0:02:02.487 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.122) 0:02:02.609 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.033) 0:02:02.643 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.026) 0:02:02.669 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.036) 0:02:02.705 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.021) 0:02:02.727 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.021) 0:02:02.749 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.022) 0:02:02.771 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.101) 0:02:02.873 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.028) 0:02:02.902 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.022) 0:02:02.925 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.026) 0:02:02.951 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.033) 0:02:02.984 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.034) 0:02:03.019 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.030) 0:02:03.049 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.027) 0:02:03.076 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.035) 0:02:03.112 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.048) 0:02:03.161 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.038) 0:02:03.200 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Saturday 09 December 2023 18:57:01 +0000 (0:00:00.027) 0:02:03.227 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Saturday 09 December 2023 18:57:03 +0000 (0:00:01.484) 0:02:04.712 ***** 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/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Saturday 09 December 2023 18:57:03 +0000 (0:00:00.062) 0:02:04.774 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Saturday 09 December 2023 18:57:03 +0000 (0:00:00.022) 0:02:04.797 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Saturday 09 December 2023 18:57:03 +0000 (0:00:00.024) 0:02:04.821 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Saturday 09 December 2023 18:57:03 +0000 (0:00:00.045) 0:02:04.866 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Saturday 09 December 2023 18:57:04 +0000 (0:00:00.443) 0:02:05.310 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Saturday 09 December 2023 18:57:04 +0000 (0:00:00.023) 0:02:05.334 ***** 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 2022] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Saturday 09 December 2023 18:57:04 +0000 (0:00:00.022) 0:02:05.356 ***** 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/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Saturday 09 December 2023 18:57:04 +0000 (0:00:00.024) 0:02:05.381 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Saturday 09 December 2023 18:57:04 +0000 (0:00:00.027) 0:02:05.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Saturday 09 December 2023 18:57:04 +0000 (0:00:00.022) 0:02:05.432 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Saturday 09 December 2023 18:57:04 +0000 (0:00:00.062) 0:02:05.495 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Saturday 09 December 2023 18:57:04 +0000 (0:00:00.023) 0:02:05.519 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Saturday 09 December 2023 18:57:04 +0000 (0:00:00.023) 0:02:05.542 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Saturday 09 December 2023 18:57:04 +0000 (0:00:00.021) 0:02:05.564 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Saturday 09 December 2023 18:57:06 +0000 (0:00:01.886) 0:02:07.450 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Saturday 09 December 2023 18:57:06 +0000 (0:00:00.022) 0:02:07.473 ***** 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.006817", "end": "2023-12-09 18:57:06.410270", "rc": 0, "start": "2023-12-09 18:57:06.403453" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Saturday 09 December 2023 18:57:06 +0000 (0:00:00.250) 0:02:07.724 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Saturday 09 December 2023 18:57:14 +0000 (0:00:07.667) 0:02:15.391 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Saturday 09 December 2023 18:57:14 +0000 (0:00:00.031) 0:02:15.423 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Saturday 09 December 2023 18:57:14 +0000 (0:00:00.024) 0:02:15.447 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Saturday 09 December 2023 18:57:14 +0000 (0:00:00.022) 0:02:15.470 ***** skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': None, 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": null, "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Saturday 09 December 2023 18:57:14 +0000 (0:00:00.027) 0:02:15.498 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Saturday 09 December 2023 18:57:14 +0000 (0:00:00.023) 0:02:15.521 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Saturday 09 December 2023 18:57:15 +0000 (0:00:01.230) 0:02:16.752 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:47:21 UTC", "ActiveEnterTimestampMonotonic": "12484236", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target polkit.service network.target dbus.socket basic.target systemd-sysctl.service systemd-journald.socket dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:47:20 UTC", "AssertTimestampMonotonic": "11495073", "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": "Sat 2023-12-09 18:47:20 UTC", "ConditionTimestampMonotonic": "11495072", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service power-profiles-daemon.service shutdown.target cpupower.service tlp.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": "692", "ExecMainStartTimestamp": "Sat 2023-12-09 18:47:20 UTC", "ExecMainStartTimestampMonotonic": "11496581", "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": "Sat 2023-12-09 18:47:20 UTC", "InactiveExitTimestampMonotonic": "11496633", "InvocationID": "3a2c30f154734712b3ffc2a2b07fa91b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "692", "MemoryAccounting": "yes", "MemoryCurrent": "20606976", "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 sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "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": "Sat 2023-12-09 18:47:21 UTC", "StateChangeTimestampMonotonic": "12484236", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2023-12-09 18:47:21 UTC", "WatchdogTimestampMonotonic": "12484232", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Saturday 09 December 2023 18:57:15 +0000 (0:00:00.381) 0:02:17.133 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.120534", "end": "2023-12-09 18:57:16.143731", "rc": 0, "start": "2023-12-09 18:57:16.023197" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Saturday 09 December 2023 18:57:16 +0000 (0:00:00.322) 0:02:17.455 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Saturday 09 December 2023 18:57:16 +0000 (0:00:00.037) 0:02:17.493 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Saturday 09 December 2023 18:57:16 +0000 (0:00:00.037) 0:02:17.530 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Saturday 09 December 2023 18:57:16 +0000 (0:00:00.022) 0:02:17.553 ***** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Saturday 09 December 2023 18:57:16 +0000 (0:00:00.207) 0:02:17.760 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Saturday 09 December 2023 18:57:17 +0000 (0:00:01.249) 0:02:19.010 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Saturday 09 December 2023 18:57:17 +0000 (0:00:00.038) 0:02:19.048 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:00 UTC", "ActiveEnterTimestampMonotonic": "591194119", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:00 UTC", "ActiveExitTimestampMonotonic": "590948772", "ActiveState": "active", "After": "basic.target auditd.service network.target systemd-journald.socket -.mount system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:00 UTC", "AssertTimestampMonotonic": "591192875", "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": "Sat 2023-12-09 18:57:00 UTC", "ConditionTimestampMonotonic": "591192874", "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": "11763", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:00 UTC", "ExecMainStartTimestampMonotonic": "591194054", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:00 UTC] ; stop_time=[n/a] ; pid=11763 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:00 UTC", "InactiveEnterTimestampMonotonic": "591191713", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:00 UTC", "InactiveExitTimestampMonotonic": "591194119", "InvocationID": "96094f62bbf84f9a811dcbcd528505d3", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11763", "MemoryAccounting": "yes", "MemoryCurrent": "751304704", "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": "system.slice -.mount sysinit.target", "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": "Sat 2023-12-09 18:57:00 UTC", "StateChangeTimestampMonotonic": "591194119", "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": "185", "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": "Sat 2023-12-09 18:57:00 UTC", "WatchdogTimestampMonotonic": "591194116", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Saturday 09 December 2023 18:57:18 +0000 (0:00:00.335) 0:02:19.384 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003075", "end": "2023-12-09 18:57:18.281616", "failed_when_result": false, "rc": 1, "start": "2023-12-09 18:57:18.278541" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Saturday 09 December 2023 18:57:18 +0000 (0:00:00.219) 0:02:19.603 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002972", "end": "2023-12-09 18:57:18.501131", "failed_when_result": false, "rc": 1, "start": "2023-12-09 18:57:18.498159" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Saturday 09 December 2023 18:57:18 +0000 (0:00:00.207) 0:02:19.811 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Saturday 09 December 2023 18:57:18 +0000 (0:00:00.041) 0:02:19.852 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 23558, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Saturday 09 December 2023 18:57:19 +0000 (0:00:01.206) 0:02:21.059 ***** ok: [sut] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Saturday 09 December 2023 18:57:20 +0000 (0:00:00.247) 0:02:21.307 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Saturday 09 December 2023 18:57:20 +0000 (0:00:00.046) 0:02:21.353 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Saturday 09 December 2023 18:57:21 +0000 (0:00:01.315) 0:02:22.669 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Saturday 09 December 2023 18:57:21 +0000 (0:00:00.029) 0:02:22.699 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml for sut TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:57:21 +0000 (0:00:00.039) 0:02:22.738 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:57:21 +0000 (0:00:00.026) 0:02:22.764 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:57:21 +0000 (0:00:00.025) 0:02:22.790 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:00 UTC", "ActiveEnterTimestampMonotonic": "591194119", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:00 UTC", "ActiveExitTimestampMonotonic": "590948772", "ActiveState": "active", "After": "basic.target auditd.service network.target systemd-journald.socket -.mount system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:00 UTC", "AssertTimestampMonotonic": "591192875", "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": "Sat 2023-12-09 18:57:00 UTC", "ConditionTimestampMonotonic": "591192874", "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": "11763", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:00 UTC", "ExecMainStartTimestampMonotonic": "591194054", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:00 UTC] ; stop_time=[n/a] ; pid=11763 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:00 UTC", "InactiveEnterTimestampMonotonic": "591191713", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:00 UTC", "InactiveExitTimestampMonotonic": "591194119", "InvocationID": "96094f62bbf84f9a811dcbcd528505d3", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11763", "MemoryAccounting": "yes", "MemoryCurrent": "752627712", "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": "system.slice -.mount sysinit.target", "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": "Sat 2023-12-09 18:57:00 UTC", "StateChangeTimestampMonotonic": "591194119", "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": "186", "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": "Sat 2023-12-09 18:57:00 UTC", "WatchdogTimestampMonotonic": "591194116", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:57:21 +0000 (0:00:00.326) 0:02:23.116 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 23558, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:57:23 +0000 (0:00:01.205) 0:02:24.322 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:57:23 +0000 (0:00:00.025) 0:02:24.347 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for create_ExampleDB1.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:57:23 +0000 (0:00:00.051) 0:02:24.399 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ExampleDB1.sql_5g8cb58l.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_ExampleDB1.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:57:23 +0000 (0:00:00.205) 0:02:24.604 ***** ok: [sut] => { "changed": false, "checksum": "01e12e2023db8e40fe4ae7ef2965811c47e20292", "dest": "/tmp/create_ExampleDB1.sql_5g8cb58l.sql", "gid": 0, "group": "root", "md5sum": "7c0c7d727a2dd24b642249e3f26f11cb", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 891, "src": "/root/.ansible/tmp/ansible-tmp-1702148243.3636725-6031-132857184596590/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Generate the template on the host for create_ExampleDB1.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:57:23 +0000 (0:00:00.544) 0:02:25.149 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_ExampleDB1.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:57:23 +0000 (0:00:00.022) 0:02:25.172 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_ExampleDB1.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:57:24 +0000 (0:00:00.290) 0:02:25.463 ***** ok: [sut] => (item=/tmp/create_ExampleDB1.sql_5g8cb58l.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ExampleDB1.sql_5g8cb58l.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['The ExampleDB1 database already exists, skipping', "Changed database context to 'ExampleDB1'.", 'The Inventory table already exists, skipping']) => { "__mssql_sqlcmd_loop": [ "The ExampleDB1 database already exists, skipping", "Changed database context to 'ExampleDB1'.", "The Inventory table already exists, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_ExampleDB1.sql] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:57:24 +0000 (0:00:00.049) 0:02:25.512 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create a tempfile on the host for create_ExampleDB2.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:57:24 +0000 (0:00:00.026) 0:02:25.539 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ExampleDB2.sql_hh85_bom.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_ExampleDB2.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:57:24 +0000 (0:00:00.242) 0:02:25.781 ***** ok: [sut] => { "changed": false, "checksum": "5624bc46f989692960b2c67c7923fbbe7db78185", "dest": "/tmp/create_ExampleDB2.sql_hh85_bom.sql", "gid": 0, "group": "root", "md5sum": "de127d6c531edb5cab22ff2b9da3a57c", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 901, "src": "/root/.ansible/tmp/ansible-tmp-1702148244.5411837-6053-253874784188570/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Generate the template on the host for create_ExampleDB2.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:57:25 +0000 (0:00:00.540) 0:02:26.322 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_ExampleDB2.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:57:25 +0000 (0:00:00.023) 0:02:26.346 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_ExampleDB2.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:57:25 +0000 (0:00:00.275) 0:02:26.621 ***** ok: [sut] => (item=/tmp/create_ExampleDB2.sql_hh85_bom.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ExampleDB2.sql_hh85_bom.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['The ExampleDB2 database already exists, skipping', "Changed database context to 'ExampleDB2'.", 'The Inventory table already exists, skipping']) => { "__mssql_sqlcmd_loop": [ "The ExampleDB2 database already exists, skipping", "Changed database context to 'ExampleDB2'.", "The Inventory table already exists, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_ExampleDB2.sql] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:57:25 +0000 (0:00:00.039) 0:02:26.660 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:57:25 +0000 (0:00:00.023) 0:02:26.683 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Saturday 09 December 2023 18:57:25 +0000 (0:00:00.026) 0:02:26.710 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Saturday 09 December 2023 18:57:25 +0000 (0:00:00.023) 0:02:26.733 ***** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005129", "end": "2023-12-09 18:57:25.633521", "rc": 0, "start": "2023-12-09 18:57:25.628392" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Saturday 09 December 2023 18:57:25 +0000 (0:00:00.209) 0:02:26.943 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Saturday 09 December 2023 18:57:25 +0000 (0:00:00.024) 0:02:26.967 ***** 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 edition of MSSQL] ****************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Saturday 09 December 2023 18:57:26 +0000 (0:00:01.302) 0:02:28.269 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Saturday 09 December 2023 18:57:27 +0000 (0:00:00.029) 0:02:28.299 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Saturday 09 December 2023 18:57:27 +0000 (0:00:00.026) 0:02:28.325 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002993", "end": "2023-12-09 18:57:27.225762", "failed_when_result": false, "rc": 1, "start": "2023-12-09 18:57:27.222769" } MSG: non-zero return code TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Saturday 09 December 2023 18:57:27 +0000 (0:00:00.214) 0:02:28.540 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 09 December 2023 18:57:27 +0000 (0:00:00.065) 0:02:28.605 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 09 December 2023 18:57:27 +0000 (0:00:00.050) 0:02:28.656 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 09 December 2023 18:57:27 +0000 (0:00:00.030) 0:02:28.686 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 09 December 2023 18:57:27 +0000 (0:00:00.023) 0:02:28.710 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Saturday 09 December 2023 18:57:27 +0000 (0:00:00.024) 0:02:28.735 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 09 December 2023 18:57:28 +0000 (0:00:01.292) 0:02:30.027 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 09 December 2023 18:57:28 +0000 (0:00:00.022) 0:02:30.049 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 09 December 2023 18:57:28 +0000 (0:00:00.028) 0:02:30.077 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:54:46 UTC", "ActiveEnterTimestampMonotonic": "456712791", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service dbus.socket system.slice polkit.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:54:45 UTC", "AssertTimestampMonotonic": "456011711", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ConditionTimestampMonotonic": "456011710", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service shutdown.target ebtables.service iptables.service nftables.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6806", "ExecMainStartTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ExecMainStartTimestampMonotonic": "456092656", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 18:54:45 UTC", "InactiveExitTimestampMonotonic": "456092732", "InvocationID": "6989b6562e54472994a985b0ff9a11a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6806", "MemoryAccounting": "yes", "MemoryCurrent": "44969984", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.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": "system.slice sysinit.target 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2023-12-09 18:54:46 UTC", "StateChangeTimestampMonotonic": "456712791", "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": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-09 18:54:46 UTC", "WatchdogTimestampMonotonic": "456712787", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 09 December 2023 18:57:29 +0000 (0:00:00.334) 0:02:30.412 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:54:46 UTC", "ActiveEnterTimestampMonotonic": "456712791", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service dbus.socket system.slice polkit.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:54:45 UTC", "AssertTimestampMonotonic": "456011711", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ConditionTimestampMonotonic": "456011710", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service shutdown.target ebtables.service iptables.service nftables.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6806", "ExecMainStartTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ExecMainStartTimestampMonotonic": "456092656", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 18:54:45 UTC", "InactiveExitTimestampMonotonic": "456092732", "InvocationID": "6989b6562e54472994a985b0ff9a11a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6806", "MemoryAccounting": "yes", "MemoryCurrent": "44969984", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.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": "system.slice sysinit.target 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2023-12-09 18:54:46 UTC", "StateChangeTimestampMonotonic": "456712791", "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": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-09 18:54:46 UTC", "WatchdogTimestampMonotonic": "456712787", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 09 December 2023 18:57:29 +0000 (0:00:00.339) 0:02:30.751 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 09 December 2023 18:57:29 +0000 (0:00:00.032) 0:02:30.784 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 09 December 2023 18:57:29 +0000 (0:00:00.028) 0:02:30.813 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 09 December 2023 18:57:29 +0000 (0:00:00.024) 0:02:30.837 ***** ok: [sut] => (item={'port': '1433/tcp', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "port": "1433/tcp", "runtime": true, "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 09 December 2023 18:57:30 +0000 (0:00:00.451) 0:02:31.289 ***** skipping: [sut] => (item={'port': '1433/tcp', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "port": "1433/tcp", "runtime": true, "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 09 December 2023 18:57:30 +0000 (0:00:00.035) 0:02:31.324 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 09 December 2023 18:57:30 +0000 (0:00:00.032) 0:02:31.356 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 09 December 2023 18:57:30 +0000 (0:00:00.026) 0:02:31.383 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 09 December 2023 18:57:30 +0000 (0:00:00.026) 0:02:31.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 09 December 2023 18:57:30 +0000 (0:00:00.023) 0:02:31.433 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 09 December 2023 18:57:30 +0000 (0:00:00.023) 0:02:31.457 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Saturday 09 December 2023 18:57:30 +0000 (0:00:00.024) 0:02:31.481 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 18:57:30 +0000 (0:00:00.043) 0:02:31.524 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003075", "end": "2023-12-09 18:57:30.420904", "failed_when_result": false, "rc": 1, "start": "2023-12-09 18:57:30.417829" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 18:57:30 +0000 (0:00:00.206) 0:02:31.731 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.130326", "end": "2023-12-09 18:57:30.785116", "failed_when_result": false, "rc": 0, "start": "2023-12-09 18:57:30.654790" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 18:57:30 +0000 (0:00:00.395) 0:02:32.127 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Saturday 09 December 2023 18:57:30 +0000 (0:00:00.041) 0:02:32.169 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Saturday 09 December 2023 18:57:30 +0000 (0:00:00.092) 0:02:32.262 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.037) 0:02:32.299 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.036) 0:02:32.336 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.039) 0:02:32.375 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.026) 0:02:32.401 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.023) 0:02:32.425 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.024) 0:02:32.449 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.025) 0:02:32.475 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.025) 0:02:32.500 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.022) 0:02:32.523 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.022) 0:02:32.545 ***** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.025) 0:02:32.571 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.022) 0:02:32.593 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.020) 0:02:32.613 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.020) 0:02:32.634 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.021) 0:02:32.656 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.027) 0:02:32.683 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.060) 0:02:32.743 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.023) 0:02:32.766 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.025) 0:02:32.792 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.026) 0:02:32.818 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.027) 0:02:32.846 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.035) 0:02:32.881 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.026) 0:02:32.908 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.037) 0:02:32.946 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.033) 0:02:32.979 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.042) 0:02:33.022 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.029) 0:02:33.052 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.024) 0:02:33.077 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.044) 0:02:33.121 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.026) 0:02:33.148 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.026) 0:02:33.174 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Saturday 09 December 2023 18:57:31 +0000 (0:00:00.037) 0:02:33.212 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Saturday 09 December 2023 18:57:32 +0000 (0:00:00.072) 0:02:33.285 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:962 Saturday 09 December 2023 18:57:32 +0000 (0:00:00.023) 0:02:33.308 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Saturday 09 December 2023 18:57:32 +0000 (0:00:00.046) 0:02:33.354 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 09 December 2023 18:57:32 +0000 (0:00:00.043) 0:02:33.398 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 09 December 2023 18:57:32 +0000 (0:00:00.045) 0:02:33.444 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 09 December 2023 18:57:32 +0000 (0:00:00.030) 0:02:33.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 09 December 2023 18:57:32 +0000 (0:00:00.024) 0:02:33.499 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Saturday 09 December 2023 18:57:32 +0000 (0:00:00.032) 0:02:33.532 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 09 December 2023 18:57:33 +0000 (0:00:01.304) 0:02:34.836 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 09 December 2023 18:57:33 +0000 (0:00:00.023) 0:02:34.860 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 09 December 2023 18:57:33 +0000 (0:00:00.031) 0:02:34.891 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:54:46 UTC", "ActiveEnterTimestampMonotonic": "456712791", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service dbus.socket system.slice polkit.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:54:45 UTC", "AssertTimestampMonotonic": "456011711", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ConditionTimestampMonotonic": "456011710", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service shutdown.target ebtables.service iptables.service nftables.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6806", "ExecMainStartTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ExecMainStartTimestampMonotonic": "456092656", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 18:54:45 UTC", "InactiveExitTimestampMonotonic": "456092732", "InvocationID": "6989b6562e54472994a985b0ff9a11a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6806", "MemoryAccounting": "yes", "MemoryCurrent": "44990464", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.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": "system.slice sysinit.target 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2023-12-09 18:54:46 UTC", "StateChangeTimestampMonotonic": "456712791", "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": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-09 18:54:46 UTC", "WatchdogTimestampMonotonic": "456712787", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 09 December 2023 18:57:33 +0000 (0:00:00.382) 0:02:35.274 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:54:46 UTC", "ActiveEnterTimestampMonotonic": "456712791", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service dbus.socket system.slice polkit.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:54:45 UTC", "AssertTimestampMonotonic": "456011711", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ConditionTimestampMonotonic": "456011710", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service shutdown.target ebtables.service iptables.service nftables.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6806", "ExecMainStartTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ExecMainStartTimestampMonotonic": "456092656", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 18:54:45 UTC", "InactiveExitTimestampMonotonic": "456092732", "InvocationID": "6989b6562e54472994a985b0ff9a11a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6806", "MemoryAccounting": "yes", "MemoryCurrent": "44990464", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.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": "system.slice sysinit.target 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2023-12-09 18:54:46 UTC", "StateChangeTimestampMonotonic": "456712791", "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": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-09 18:54:46 UTC", "WatchdogTimestampMonotonic": "456712787", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 09 December 2023 18:57:34 +0000 (0:00:00.345) 0:02:35.620 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 09 December 2023 18:57:34 +0000 (0:00:00.037) 0:02:35.657 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 09 December 2023 18:57:34 +0000 (0:00:00.027) 0:02:35.685 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 09 December 2023 18:57:34 +0000 (0:00:00.027) 0:02:35.713 ***** ok: [sut] => (item={'port': '5022/tcp', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "port": "5022/tcp", "runtime": true, "state": "enabled" } } ok: [sut] => (item={'service': 'high-availability', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "runtime": true, "service": "high-availability", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 09 December 2023 18:57:35 +0000 (0:00:00.884) 0:02:36.597 ***** skipping: [sut] => (item={'port': '5022/tcp', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "port": "5022/tcp", "runtime": true, "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'service': 'high-availability', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "runtime": true, "service": "high-availability", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 09 December 2023 18:57:35 +0000 (0:00:00.037) 0:02:36.634 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 09 December 2023 18:57:35 +0000 (0:00:00.030) 0:02:36.665 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 09 December 2023 18:57:35 +0000 (0:00:00.026) 0:02:36.691 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 09 December 2023 18:57:35 +0000 (0:00:00.030) 0:02:36.722 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 09 December 2023 18:57:35 +0000 (0:00:00.082) 0:02:36.804 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 09 December 2023 18:57:35 +0000 (0:00:00.024) 0:02:36.829 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Saturday 09 December 2023 18:57:35 +0000 (0:00:00.030) 0:02:36.859 ***** ok: [sut] => { "ansible_facts": { "__mssql_ha_availability_mode": "SYNCHRONOUS_COMMIT", "__mssql_ha_failover_mode": "EXTERNAL", "__mssql_ha_seeding_mode": "AUTOMATIC" }, "changed": false } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Saturday 09 December 2023 18:57:35 +0000 (0:00:00.034) 0:02:36.893 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-ha-16.0.4095.4-1.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: lvm2-8:2.03.14-13.el8_9.x86_64", "Installed: net-tools-2.0-0.52.20160912git.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-13.el8_9.x86_64", "Installed: samba-client-libs-4.18.6-1.el8.x86_64", "Installed: samba-common-4.18.6-1.el8.noarch", "Installed: samba-common-libs-4.18.6-1.el8.x86_64", "Installed: libicu-60.3-2.el8_1.x86_64", "Installed: resource-agents-4.9.0-48.el8_9.x86_64", "Installed: cifs-utils-7.0-1.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-13.el8_9.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-13.el8_9.x86_64", "Installed: libwbclient-4.18.6-1.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64" ] } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Saturday 09 December 2023 18:57:42 +0000 (0:00:07.265) 0:02:44.159 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting hadr hadrenabled] ************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Saturday 09 December 2023 18:57:42 +0000 (0:00:00.043) 0:02:44.202 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003101", "end": "2023-12-09 18:57:43.110644", "failed_when_result": false, "rc": 0, "start": "2023-12-09 18:57:43.107543" } STDOUT: hadrenabled = 1 TASK [linux-system-roles.mssql : Configure the setting hadr hadrenabled] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Saturday 09 December 2023 18:57:43 +0000 (0:00:00.219) 0:02:44.422 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting hadr hadrenabled] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Saturday 09 December 2023 18:57:43 +0000 (0:00:00.064) 0:02:44.486 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Saturday 09 December 2023 18:57:43 +0000 (0:00:00.026) 0:02:44.512 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:00 UTC", "ActiveEnterTimestampMonotonic": "591194119", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:00 UTC", "ActiveExitTimestampMonotonic": "590948772", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:00 UTC", "AssertTimestampMonotonic": "591192875", "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": "Sat 2023-12-09 18:57:00 UTC", "ConditionTimestampMonotonic": "591192874", "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": "11763", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:00 UTC", "ExecMainStartTimestampMonotonic": "591194054", "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": "990", "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": "Sat 2023-12-09 18:57:00 UTC", "InactiveEnterTimestampMonotonic": "591191713", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:00 UTC", "InactiveExitTimestampMonotonic": "591194119", "InvocationID": "96094f62bbf84f9a811dcbcd528505d3", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11763", "MemoryAccounting": "yes", "MemoryCurrent": "767582208", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:00 UTC", "StateChangeTimestampMonotonic": "591194119", "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": "184", "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": "Sat 2023-12-09 18:57:00 UTC", "WatchdogTimestampMonotonic": "591194116", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Saturday 09 December 2023 18:57:43 +0000 (0:00:00.592) 0:02:45.105 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Saturday 09 December 2023 18:57:43 +0000 (0:00:00.038) 0:02:45.144 ***** skipping: [sut] => (item=/var/opt/mssql/data/ExampleCert.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/ExampleCert.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/ExampleCert.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/ExampleCert.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Saturday 09 December 2023 18:57:43 +0000 (0:00:00.041) 0:02:45.185 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml for sut TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:57:43 +0000 (0:00:00.063) 0:02:45.249 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:57:44 +0000 (0:00:00.050) 0:02:45.300 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:57:44 +0000 (0:00:00.050) 0:02:45.350 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "78614528", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "33", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:57:44 +0000 (0:00:00.372) 0:02:45.722 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 25059, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:57:45 +0000 (0:00:01.296) 0:02:47.019 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:57:45 +0000 (0:00:00.042) 0:02:47.062 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:57:45 +0000 (0:00:00.075) 0:02:47.137 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_tckr2zd3.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:57:46 +0000 (0:00:00.243) 0:02:47.380 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:57:46 +0000 (0:00:00.037) 0:02:47.418 ***** ok: [sut] => { "changed": false, "checksum": "05c862c74a8be17fed5c679d32e847c0e5dc8b65", "dest": "/tmp/create_master_key_encryption.j2_tckr2zd3.sql", "gid": 0, "group": "root", "md5sum": "65fb1fff4dc60651b5ec7369d1ebaa76", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 667, "src": "/root/.ansible/tmp/ansible-tmp-1702148266.1950119-6421-69751478915695/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:57:46 +0000 (0:00:00.668) 0:02:48.087 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:57:48 +0000 (0:00:01.836) 0:02:49.923 ***** ok: [sut] => (item=/tmp/create_master_key_encryption.j2_tckr2zd3.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_tckr2zd3.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Master key already exists, verifying the provided password against the existing master key', 'The provided master key password is correct']) => { "__mssql_sqlcmd_loop": [ "Master key already exists, verifying the provided password against the existing master key", "The provided master key password is correct" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:57:48 +0000 (0:00:00.099) 0:02:50.023 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create a tempfile on the host for create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:57:48 +0000 (0:00:00.030) 0:02:50.053 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_jj7pzc6s.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:57:49 +0000 (0:00:00.353) 0:02:50.407 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:57:49 +0000 (0:00:00.028) 0:02:50.435 ***** ok: [sut] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_jj7pzc6s.sql", "gid": 0, "group": "root", "md5sum": "1a14f5a31ade2ed9bd6854414376d638", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 2497, "src": "/root/.ansible/tmp/ansible-tmp-1702148269.2085037-6443-61318431466345/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:57:50 +0000 (0:00:01.688) 0:02:52.124 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:57:51 +0000 (0:00:00.304) 0:02:52.428 ***** ok: [sut] => (item=/tmp/create_and_back_up_cert.j2_jj7pzc6s.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_jj7pzc6s.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Certificate ExampleCert already exists, skipping', '/var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk already exist, skipping']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert already exists, skipping", "/var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk already exist, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:57:51 +0000 (0:00:00.063) 0:02:52.491 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create a tempfile on the host for enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:57:51 +0000 (0:00:00.032) 0:02:52.524 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/enable_alwayson.j2_iddrfwsm.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:57:51 +0000 (0:00:00.221) 0:02:52.745 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:57:51 +0000 (0:00:00.147) 0:02:52.892 ***** ok: [sut] => { "changed": false, "checksum": "03ec6bf3183af4d6b2edb5c98049edf7e3bdfdf1", "dest": "/tmp/enable_alwayson.j2_iddrfwsm.sql", "gid": 0, "group": "root", "md5sum": "ad8bcae6278918460562bd8f6269b51f", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 410, "src": "/root/.ansible/tmp/ansible-tmp-1702148271.6739738-6475-224678110217548/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:57:52 +0000 (0:00:00.604) 0:02:53.497 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:57:52 +0000 (0:00:00.247) 0:02:53.745 ***** ok: [sut] => (item=/tmp/enable_alwayson.j2_iddrfwsm.sql) => { "__mssql_sqlcmd_loop": "/tmp/enable_alwayson.j2_iddrfwsm.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['AlwaysOn Health events already enabled, skipping']) => { "__mssql_sqlcmd_loop": [ "AlwaysOn Health events already enabled, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile enable_alwayson.j2] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:57:52 +0000 (0:00:00.049) 0:02:53.795 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create a tempfile on the host for configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:57:52 +0000 (0:00:00.031) 0:02:53.826 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_endpoint.j2_gycxxc3b.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:57:52 +0000 (0:00:00.205) 0:02:54.031 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:57:52 +0000 (0:00:00.030) 0:02:54.061 ***** ok: [sut] => { "changed": false, "checksum": "bb736eb4adb5d35d772b76e1c3bb19c6b040a59c", "dest": "/tmp/configure_endpoint.j2_gycxxc3b.sql", "gid": 0, "group": "root", "md5sum": "efa1eaf69cd98e51d145221d3699a214", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 3106, "src": "/root/.ansible/tmp/ansible-tmp-1702148272.8306973-6497-140228308524677/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:57:53 +0000 (0:00:00.617) 0:02:54.679 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:57:53 +0000 (0:00:00.288) 0:02:54.968 ***** ok: [sut] => (item=/tmp/configure_endpoint.j2_gycxxc3b.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_endpoint.j2_gycxxc3b.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Verifying the existing endpoint Example_Endpoint', 'The LISTENER_PORT setting for the Example_Endpoint endpoint is already set to 5022, skipping', 'The ROLE setting for the Example_Endpoint endpoint is already set to ALL, skipping', 'The certificate for the Example_Endpoint endpoint is already set to ExampleCert, skipping', 'The ENCRYPTION setting for the Example_Endpoint endpoint is already set to AES, skipping', 'Endpoint Example_Endpoint is already started, skipping']) => { "__mssql_sqlcmd_loop": [ "Verifying the existing endpoint Example_Endpoint", "The LISTENER_PORT setting for the Example_Endpoint endpoint is already set to 5022, skipping", "The ROLE setting for the Example_Endpoint endpoint is already set to ALL, skipping", "The certificate for the Example_Endpoint endpoint is already set to ExampleCert, skipping", "The ENCRYPTION setting for the Example_Endpoint endpoint is already set to AES, skipping", "Endpoint Example_Endpoint is already started, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile configure_endpoint.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:57:53 +0000 (0:00:00.054) 0:02:55.022 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:57:53 +0000 (0:00:00.112) 0:02:55.135 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Saturday 09 December 2023 18:57:53 +0000 (0:00:00.047) 0:02:55.183 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml for sut TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:57:53 +0000 (0:00:00.069) 0:02:55.252 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:57:54 +0000 (0:00:00.034) 0:02:55.287 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:57:54 +0000 (0:00:00.037) 0:02:55.324 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "755875840", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "185", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:57:54 +0000 (0:00:00.362) 0:02:55.686 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 23913, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:57:55 +0000 (0:00:01.207) 0:02:56.894 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:57:55 +0000 (0:00:00.025) 0:02:56.919 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for create_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:57:55 +0000 (0:00:00.046) 0:02:56.966 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ha_login.j2_y2kuiezv.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:57:55 +0000 (0:00:00.242) 0:02:57.209 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for create_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:57:55 +0000 (0:00:00.026) 0:02:57.235 ***** ok: [sut] => { "changed": false, "checksum": "60abdf14dd202c9c8125f431a288b3d2e580542b", "dest": "/tmp/create_ha_login.j2_y2kuiezv.sql", "gid": 0, "group": "root", "md5sum": "2eb72acf6fedf6638e3a683504995557", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 681, "src": "/root/.ansible/tmp/ansible-tmp-1702148275.9960868-6552-61668488357708/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:57:56 +0000 (0:00:00.604) 0:02:57.840 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:57:56 +0000 (0:00:00.264) 0:02:58.104 ***** ok: [sut] => (item=/tmp/create_ha_login.j2_y2kuiezv.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ha_login.j2_y2kuiezv.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=["Changed database context to 'master'.", 'A ExampleLogin login does not exist, creating', 'The ExampleLogin login created successfully', 'Adding ExampleLogin to the sysadmin server role', 'ExampleLogin added to the sysadmin server role successfully']) => { "__mssql_sqlcmd_loop": [ "Changed database context to 'master'.", "A ExampleLogin login does not exist, creating", "The ExampleLogin login created successfully", "Adding ExampleLogin to the sysadmin server role", "ExampleLogin added to the sysadmin server role successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_ha_login.j2] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:57:56 +0000 (0:00:00.050) 0:02:58.154 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:57:56 +0000 (0:00:00.027) 0:02:58.182 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Saturday 09 December 2023 18:57:56 +0000 (0:00:00.037) 0:02:58.219 ***** ok: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/ExampleCert.cer'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "59e4116f880789c01c9ab2d571296cd282983e46", "dest": "/WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/cert", "file": "/var/opt/mssql/data/ExampleCert.cer", "item": { "key": "cert", "value": "/var/opt/mssql/data/ExampleCert.cer" }, "md5sum": "0d8adc90518f3ad29766834403d74358" } ok: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/ExampleCert.pvk'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "13b39118ea5190c99115060e4f36798b2ce101d0", "dest": "/WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/key", "file": "/var/opt/mssql/data/ExampleCert.pvk", "item": { "key": "key", "value": "/var/opt/mssql/data/ExampleCert.pvk" }, "md5sum": "d121b0f876c8277c14124ddde2900b7f" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Saturday 09 December 2023 18:57:58 +0000 (0:00:01.442) 0:02:59.662 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml for sut TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:57:58 +0000 (0:00:00.042) 0:02:59.705 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:57:58 +0000 (0:00:00.070) 0:02:59.775 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:57:58 +0000 (0:00:00.035) 0:02:59.811 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "759111680", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "187", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:57:58 +0000 (0:00:00.367) 0:03:00.178 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 23913, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:58:00 +0000 (0:00:01.239) 0:03:01.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:58:00 +0000 (0:00:00.035) 0:03:01.454 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for ha_is_primary.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:58:00 +0000 (0:00:00.060) 0:03:01.514 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ha_is_primary.sql__49odjnj.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host ha_is_primary.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:58:00 +0000 (0:00:00.247) 0:03:01.761 ***** ok: [sut] => { "changed": false, "checksum": "23665eada2d9e2de69ca8f560afa21cba1da5eb4", "dest": "/tmp/ha_is_primary.sql__49odjnj.sql", "gid": 0, "group": "root", "md5sum": "49a2dd5235418003e591ca627cd70e57", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 264, "src": "/root/.ansible/tmp/ansible-tmp-1702148280.533974-6641-157020791584995/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Generate the template on the host for ha_is_primary.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:58:01 +0000 (0:00:00.571) 0:03:02.333 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input with the sqlcmd command ha_is_primary.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:58:01 +0000 (0:00:00.062) 0:03:02.395 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting ha_is_primary.sql] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:58:01 +0000 (0:00:00.284) 0:03:02.680 ***** ok: [sut] => (item=/tmp/ha_is_primary.sql__49odjnj.sql) => { "__mssql_sqlcmd_loop": "/tmp/ha_is_primary.sql__49odjnj.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['1']) => { "__mssql_sqlcmd_loop": [ "1" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile ha_is_primary.sql] ******** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:58:01 +0000 (0:00:00.076) 0:03:02.756 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:58:01 +0000 (0:00:00.055) 0:03:02.811 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1129 Saturday 09 December 2023 18:58:01 +0000 (0:00:00.041) 0:03:02.853 ***** ok: [sut] => { "ansible_facts": { "__mssql_ha_is_primary": false }, "changed": false } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Saturday 09 December 2023 18:58:01 +0000 (0:00:00.130) 0:03:02.984 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml for sut TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:58:01 +0000 (0:00:00.056) 0:03:03.040 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:58:01 +0000 (0:00:00.027) 0:03:03.067 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:58:01 +0000 (0:00:00.048) 0:03:03.116 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "765423616", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "187", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:58:03 +0000 (0:00:01.428) 0:03:04.544 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 23913, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:58:04 +0000 (0:00:01.208) 0:03:05.752 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:58:04 +0000 (0:00:00.023) 0:03:05.776 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:58:04 +0000 (0:00:00.043) 0:03:05.819 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag.j2_v37_92b6.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host configure_ag.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:58:04 +0000 (0:00:00.201) 0:03:06.020 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:58:04 +0000 (0:00:00.024) 0:03:06.045 ***** ok: [sut] => { "changed": false, "checksum": "729a8a30ce1a53bef988a58b35a5275fd2b867d0", "dest": "/tmp/configure_ag.j2_v37_92b6.sql", "gid": 0, "group": "root", "md5sum": "a75786474565ba3ff4db3d84ad73f13b", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 12143, "src": "/root/.ansible/tmp/ansible-tmp-1702148284.805155-6752-269226220092832/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:58:06 +0000 (0:00:02.116) 0:03:08.162 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:58:07 +0000 (0:00:00.482) 0:03:08.644 ***** ok: [sut] => (item=/tmp/configure_ag.j2_v37_92b6.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag.j2_v37_92b6.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['The existing ExampleAG availability group has incorrect cluster type set, dropping the group to re-create it', 'The ExampleAG availability group dropped successfully', 'Creating the ExampleAG availability group', 'The ExampleAG availability group created successfully', 'Granted the CREATE ANY DATABASE permission to the ExampleAG availability group']) => { "__mssql_sqlcmd_loop": [ "The existing ExampleAG availability group has incorrect cluster type set, dropping the group to re-create it", "The ExampleAG availability group dropped successfully", "Creating the ExampleAG availability group", "The ExampleAG availability group created successfully", "Granted the CREATE ANY DATABASE permission to the ExampleAG availability group" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile configure_ag.j2] ********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:58:07 +0000 (0:00:00.041) 0:03:08.686 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:58:07 +0000 (0:00:00.023) 0:03:08.710 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1163 Saturday 09 December 2023 18:58:07 +0000 (0:00:00.023) 0:03:08.733 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml for sut TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:58:07 +0000 (0:00:00.046) 0:03:08.780 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:58:07 +0000 (0:00:00.030) 0:03:08.811 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:58:07 +0000 (0:00:00.027) 0:03:08.838 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "769011712", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "185", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:58:07 +0000 (0:00:00.352) 0:03:09.191 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 27369, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:58:09 +0000 (0:00:01.236) 0:03:10.427 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:58:09 +0000 (0:00:00.024) 0:03:10.452 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:58:09 +0000 (0:00:00.045) 0:03:10.498 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/grant_permissions_to_ha_login.j2_62mhuxns.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:58:09 +0000 (0:00:00.204) 0:03:10.702 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:58:09 +0000 (0:00:00.026) 0:03:10.729 ***** ok: [sut] => { "changed": false, "checksum": "2cb9b9d454a2a6bc54631cb0f4aa1adedb6d56ab", "dest": "/tmp/grant_permissions_to_ha_login.j2_62mhuxns.sql", "gid": 0, "group": "root", "md5sum": "9dbbe91ad6c726865217dfd132ebffdc", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 302, "src": "/root/.ansible/tmp/ansible-tmp-1702148289.5126681-6920-269277062618180/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:58:10 +0000 (0:00:00.573) 0:03:11.302 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:58:10 +0000 (0:00:00.248) 0:03:11.551 ***** ok: [sut] => (item=/tmp/grant_permissions_to_ha_login.j2_62mhuxns.sql) => { "__mssql_sqlcmd_loop": "/tmp/grant_permissions_to_ha_login.j2_62mhuxns.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Granting the required permissions to ExampleLogin', 'Required permissions granted to ExampleLogin']) => { "__mssql_sqlcmd_loop": [ "Granting the required permissions to ExampleLogin", "Required permissions granted to ExampleLogin" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:58:10 +0000 (0:00:00.054) 0:03:11.606 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:58:10 +0000 (0:00:00.034) 0:03:11.641 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1173 Saturday 09 December 2023 18:58:10 +0000 (0:00:00.032) 0:03:11.673 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml for sut TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:58:10 +0000 (0:00:00.118) 0:03:11.791 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:58:10 +0000 (0:00:00.032) 0:03:11.824 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:58:10 +0000 (0:00:00.024) 0:03:11.849 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "769908736", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "185", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:58:10 +0000 (0:00:00.335) 0:03:12.184 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 27369, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:58:12 +0000 (0:00:01.209) 0:03:13.394 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:58:12 +0000 (0:00:00.028) 0:03:13.422 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for replicate_db.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:58:12 +0000 (0:00:00.049) 0:03:13.472 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/replicate_db.j2_j5lxls_m.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host replicate_db.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:58:12 +0000 (0:00:00.200) 0:03:13.673 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for replicate_db.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:58:12 +0000 (0:00:00.026) 0:03:13.700 ***** ok: [sut] => { "changed": false, "checksum": "31f3afd712f14ebd9937c978467b374db210c0f8", "dest": "/tmp/replicate_db.j2_j5lxls_m.sql", "gid": 0, "group": "root", "md5sum": "3b3910ed4e8e48eee5b879dfaa2b1877", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4750, "src": "/root/.ansible/tmp/ansible-tmp-1702148292.4987457-7015-48634174693491/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command replicate_db.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:58:13 +0000 (0:00:00.598) 0:03:14.298 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting replicate_db.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:58:13 +0000 (0:00:00.387) 0:03:14.686 ***** ok: [sut] => (item=/tmp/replicate_db.j2_j5lxls_m.sql) => { "__mssql_sqlcmd_loop": "/tmp/replicate_db.j2_j5lxls_m.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['RECOVERY FULL on the ExampleDB1 database is set, skipping', 'The ExampleDB1 database is already backed up, skipping', 'Adding the ExampleDB1 database to the ExampleAG availability group', 'The ExampleDB1 database added to the ExampleAG availability group successfully', 'RECOVERY FULL on the ExampleDB2 database is set, skipping', 'The ExampleDB2 database is already backed up, skipping', 'Adding the ExampleDB2 database to the ExampleAG availability group', 'The ExampleDB2 database added to the ExampleAG availability group successfully']) => { "__mssql_sqlcmd_loop": [ "RECOVERY FULL on the ExampleDB1 database is set, skipping", "The ExampleDB1 database is already backed up, skipping", "Adding the ExampleDB1 database to the ExampleAG availability group", "The ExampleDB1 database added to the ExampleAG availability group successfully", "RECOVERY FULL on the ExampleDB2 database is set, skipping", "The ExampleDB2 database is already backed up, skipping", "Adding the ExampleDB2 database to the ExampleAG availability group", "The ExampleDB2 database added to the ExampleAG availability group successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile replicate_db.j2] ********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:58:13 +0000 (0:00:00.044) 0:03:14.730 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:58:13 +0000 (0:00:00.025) 0:03:14.755 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1184 Saturday 09 December 2023 18:58:13 +0000 (0:00:00.024) 0:03:14.780 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml for sut TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:58:13 +0000 (0:00:00.053) 0:03:14.833 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:58:13 +0000 (0:00:00.023) 0:03:14.857 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:58:13 +0000 (0:00:00.026) 0:03:14.884 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "778473472", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "185", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:58:13 +0000 (0:00:00.354) 0:03:15.238 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 27685, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:58:15 +0000 (0:00:01.210) 0:03:16.449 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:58:15 +0000 (0:00:00.026) 0:03:16.475 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:58:15 +0000 (0:00:00.042) 0:03:16.518 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/grant_permissions_to_ha_login.j2_yrx0aexr.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:58:15 +0000 (0:00:00.199) 0:03:16.718 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:58:15 +0000 (0:00:00.026) 0:03:16.744 ***** ok: [sut] => { "changed": false, "checksum": "2cb9b9d454a2a6bc54631cb0f4aa1adedb6d56ab", "dest": "/tmp/grant_permissions_to_ha_login.j2_yrx0aexr.sql", "gid": 0, "group": "root", "md5sum": "9dbbe91ad6c726865217dfd132ebffdc", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 302, "src": "/root/.ansible/tmp/ansible-tmp-1702148295.5075805-7093-262866408741555/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:58:16 +0000 (0:00:00.615) 0:03:17.360 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:58:16 +0000 (0:00:00.280) 0:03:17.640 ***** ok: [sut] => (item=/tmp/grant_permissions_to_ha_login.j2_yrx0aexr.sql) => { "__mssql_sqlcmd_loop": "/tmp/grant_permissions_to_ha_login.j2_yrx0aexr.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Granting the required permissions to ExampleLogin', 'Required permissions granted to ExampleLogin']) => { "__mssql_sqlcmd_loop": [ "Granting the required permissions to ExampleLogin", "Required permissions granted to ExampleLogin" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:58:16 +0000 (0:00:00.060) 0:03:17.701 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:58:16 +0000 (0:00:00.027) 0:03:17.728 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1197 Saturday 09 December 2023 18:58:16 +0000 (0:00:00.070) 0:03:17.799 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1210 Saturday 09 December 2023 18:58:16 +0000 (0:00:00.103) 0:03:17.903 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Saturday 09 December 2023 18:58:16 +0000 (0:00:00.038) 0:03:17.941 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1224 Saturday 09 December 2023 18:58:16 +0000 (0:00:00.030) 0:03:17.971 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Saturday 09 December 2023 18:58:16 +0000 (0:00:00.035) 0:03:18.007 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1240 Saturday 09 December 2023 18:58:16 +0000 (0:00:00.036) 0:03:18.043 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/ExampleCert.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/ExampleCert.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/ExampleCert.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/ExampleCert.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1252 Saturday 09 December 2023 18:58:16 +0000 (0:00:00.034) 0:03:18.078 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1261 Saturday 09 December 2023 18:58:16 +0000 (0:00:00.052) 0:03:18.130 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1268 Saturday 09 December 2023 18:58:16 +0000 (0:00:00.030) 0:03:18.161 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1274 Saturday 09 December 2023 18:58:16 +0000 (0:00:00.040) 0:03:18.202 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1282 Saturday 09 December 2023 18:58:16 +0000 (0:00:00.038) 0:03:18.240 ***** 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 ExampleLogin] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1295 Saturday 09 December 2023 18:58:17 +0000 (0:00:00.047) 0:03:18.288 ***** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1307 Saturday 09 December 2023 18:58:17 +0000 (0:00:00.617) 0:03:18.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group ExampleAG] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1313 Saturday 09 December 2023 18:58:17 +0000 (0:00:00.032) 0:03:18.938 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Saturday 09 December 2023 18:58:17 +0000 (0:00:00.027) 0:03:18.965 ***** ok: [sut] => { "changed": false } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1335 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.403) 0:03:19.369 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1346 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.035) 0:03:19.404 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Wait for pcs to finish configuration] ************************************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:193 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.023) 0:03:19.428 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get global pcs status] *************************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:197 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.036) 0:03:19.464 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print global psc status] ************************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:202 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.030) 0:03:19.494 ***** skipping: [sut] => {} TASK [Get pcs status for the virtualip resource] ******************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:207 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.032) 0:03:19.527 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print pcs status for the virtualip resource] ***************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:212 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.044) 0:03:19.572 ***** skipping: [sut] => {} TASK [Assert that virtualip is successfully started] *************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:217 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.024) 0:03:19.596 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Move the virtualip resource] ********************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:221 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.038) 0:03:19.635 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Wait for syncrhonous node to promote for virtualip resource] ************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:227 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.029) 0:03:19.664 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get global pcs status] *************************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:231 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.023) 0:03:19.688 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print global psc status] ************************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:236 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.023) 0:03:19.711 ***** skipping: [sut] => {} TASK [Get pcs status for the virtualip resource] ******************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:241 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.024) 0:03:19.736 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print pcs status for the virtualip resource] ***************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:246 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.025) 0:03:19.762 ***** skipping: [sut] => {} TASK [Assert that virtualip is successfully started] *************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:251 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.022) 0:03:19.784 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear constraints for the virtualip resource] **************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:255 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.022) 0:03:19.806 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: TASK [Set the mssql_ha_replica_type fact to appear in hostvars] **************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:273 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.084) 0:03:19.891 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable AlwaysOn event session when it's enabled] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:281 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.031) 0:03:19.923 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.156) 0:03:20.079 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.022) 0:03:20.102 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:58:18 +0000 (0:00:00.024) 0:03:20.127 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "781328384", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "186", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:58:19 +0000 (0:00:00.328) 0:03:20.455 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 27685, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:58:20 +0000 (0:00:01.262) 0:03:21.717 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:58:20 +0000 (0:00:00.038) 0:03:21.756 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:58:20 +0000 (0:00:00.049) 0:03:21.805 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/enable_alwayson.j2_p8ewaeov.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:58:20 +0000 (0:00:00.211) 0:03:22.017 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:58:20 +0000 (0:00:00.024) 0:03:22.041 ***** ok: [sut] => { "changed": false, "checksum": "03ec6bf3183af4d6b2edb5c98049edf7e3bdfdf1", "dest": "/tmp/enable_alwayson.j2_p8ewaeov.sql", "gid": 0, "group": "root", "md5sum": "ad8bcae6278918460562bd8f6269b51f", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 410, "src": "/root/.ansible/tmp/ansible-tmp-1702148300.8015523-7250-13978907667649/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:58:21 +0000 (0:00:00.552) 0:03:22.594 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:58:21 +0000 (0:00:00.242) 0:03:22.837 ***** ok: [sut] => (item=/tmp/enable_alwayson.j2_p8ewaeov.sql) => { "__mssql_sqlcmd_loop": "/tmp/enable_alwayson.j2_p8ewaeov.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['AlwaysOn Health events already enabled, skipping']) => { "__mssql_sqlcmd_loop": [ "AlwaysOn Health events already enabled, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile enable_alwayson.j2] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:58:21 +0000 (0:00:00.039) 0:03:22.876 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:58:21 +0000 (0:00:00.023) 0:03:22.900 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that enabling is skipped] ***************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:291 Saturday 09 December 2023 18:58:21 +0000 (0:00:00.024) 0:03:22.925 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Disable AlwaysOn event session] ****************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:297 Saturday 09 December 2023 18:58:21 +0000 (0:00:00.024) 0:03:22.949 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:58:21 +0000 (0:00:00.248) 0:03:23.198 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:58:21 +0000 (0:00:00.020) 0:03:23.219 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:58:21 +0000 (0:00:00.045) 0:03:23.264 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "781332480", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "186", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:58:22 +0000 (0:00:00.336) 0:03:23.600 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 27685, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:58:23 +0000 (0:00:01.205) 0:03:24.806 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:58:23 +0000 (0:00:00.079) 0:03:24.885 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for disable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:58:23 +0000 (0:00:00.041) 0:03:24.926 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/disable_alwayson.j2_qigjrouu.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host disable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:58:23 +0000 (0:00:00.199) 0:03:25.126 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for disable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:58:23 +0000 (0:00:00.025) 0:03:25.152 ***** ok: [sut] => { "changed": false, "checksum": "07a16f2d7bd8c6f2568826378894269a824f505d", "dest": "/tmp/disable_alwayson.j2_qigjrouu.sql", "gid": 0, "group": "root", "md5sum": "6352ad7225cd7bb4eb1916eddfab1f40", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 72, "src": "/root/.ansible/tmp/ansible-tmp-1702148303.9185266-7318-70022462156379/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command disable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:58:24 +0000 (0:00:00.563) 0:03:25.716 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting disable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:58:24 +0000 (0:00:00.242) 0:03:25.959 ***** ok: [sut] => (item=/tmp/disable_alwayson.j2_qigjrouu.sql) => { "__mssql_sqlcmd_loop": "/tmp/disable_alwayson.j2_qigjrouu.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile disable_alwayson.j2] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:58:24 +0000 (0:00:00.038) 0:03:25.997 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:58:24 +0000 (0:00:00.023) 0:03:26.021 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable AlwaysOn event session] ******************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:306 Saturday 09 December 2023 18:58:24 +0000 (0:00:00.021) 0:03:26.042 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:58:24 +0000 (0:00:00.226) 0:03:26.269 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:58:25 +0000 (0:00:00.021) 0:03:26.290 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:58:25 +0000 (0:00:00.023) 0:03:26.314 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "781643776", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "186", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:58:25 +0000 (0:00:00.324) 0:03:26.638 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 27685, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:58:26 +0000 (0:00:01.203) 0:03:27.841 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:58:26 +0000 (0:00:00.021) 0:03:27.863 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:58:26 +0000 (0:00:00.039) 0:03:27.903 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/enable_alwayson.j2_t4p97j3m.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:58:26 +0000 (0:00:00.197) 0:03:28.100 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:58:26 +0000 (0:00:00.023) 0:03:28.123 ***** ok: [sut] => { "changed": false, "checksum": "03ec6bf3183af4d6b2edb5c98049edf7e3bdfdf1", "dest": "/tmp/enable_alwayson.j2_t4p97j3m.sql", "gid": 0, "group": "root", "md5sum": "ad8bcae6278918460562bd8f6269b51f", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 410, "src": "/root/.ansible/tmp/ansible-tmp-1702148306.8818634-7386-227146133373210/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:58:27 +0000 (0:00:00.571) 0:03:28.695 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting enable_alwayson.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:58:27 +0000 (0:00:00.277) 0:03:28.972 ***** ok: [sut] => (item=/tmp/enable_alwayson.j2_t4p97j3m.sql) => { "__mssql_sqlcmd_loop": "/tmp/enable_alwayson.j2_t4p97j3m.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['AlwaysOn Health events are not enabled, enabling', 'AlwaysOn Health events enabled successfully']) => { "__mssql_sqlcmd_loop": [ "AlwaysOn Health events are not enabled, enabling", "AlwaysOn Health events enabled successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile enable_alwayson.j2] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:58:27 +0000 (0:00:00.050) 0:03:29.022 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:58:27 +0000 (0:00:00.048) 0:03:29.071 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the template reported changed state] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:315 Saturday 09 December 2023 18:58:27 +0000 (0:00:00.032) 0:03:29.103 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Create endpoint when it exists] ****************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:322 Saturday 09 December 2023 18:58:27 +0000 (0:00:00.022) 0:03:29.126 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:58:28 +0000 (0:00:00.269) 0:03:29.395 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:58:28 +0000 (0:00:00.040) 0:03:29.436 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:58:28 +0000 (0:00:00.044) 0:03:29.481 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "781680640", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "186", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:58:28 +0000 (0:00:00.347) 0:03:29.829 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 27685, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:58:29 +0000 (0:00:01.208) 0:03:31.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:58:29 +0000 (0:00:00.022) 0:03:31.060 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:58:29 +0000 (0:00:00.040) 0:03:31.100 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_endpoint.j2_5qgk7695.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:58:30 +0000 (0:00:00.201) 0:03:31.302 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:58:30 +0000 (0:00:00.082) 0:03:31.384 ***** ok: [sut] => { "changed": false, "checksum": "bb736eb4adb5d35d772b76e1c3bb19c6b040a59c", "dest": "/tmp/configure_endpoint.j2_5qgk7695.sql", "gid": 0, "group": "root", "md5sum": "efa1eaf69cd98e51d145221d3699a214", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 3106, "src": "/root/.ansible/tmp/ansible-tmp-1702148310.1450794-7470-184881845850891/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:58:30 +0000 (0:00:00.563) 0:03:31.948 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:58:30 +0000 (0:00:00.243) 0:03:32.191 ***** ok: [sut] => (item=/tmp/configure_endpoint.j2_5qgk7695.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_endpoint.j2_5qgk7695.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Verifying the existing endpoint Example_Endpoint', 'The LISTENER_PORT setting for the Example_Endpoint endpoint is already set to 5022, skipping', 'The ROLE setting for the Example_Endpoint endpoint is already set to ALL, skipping', 'The certificate for the Example_Endpoint endpoint is already set to ExampleCert, skipping', 'The ENCRYPTION setting for the Example_Endpoint endpoint is already set to AES, skipping', 'Endpoint Example_Endpoint is already started, skipping']) => { "__mssql_sqlcmd_loop": [ "Verifying the existing endpoint Example_Endpoint", "The LISTENER_PORT setting for the Example_Endpoint endpoint is already set to 5022, skipping", "The ROLE setting for the Example_Endpoint endpoint is already set to ALL, skipping", "The certificate for the Example_Endpoint endpoint is already set to ExampleCert, skipping", "The ENCRYPTION setting for the Example_Endpoint endpoint is already set to AES, skipping", "Endpoint Example_Endpoint is already started, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile configure_endpoint.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:58:30 +0000 (0:00:00.053) 0:03:32.244 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:58:30 +0000 (0:00:00.023) 0:03:32.268 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:331 Saturday 09 December 2023 18:58:31 +0000 (0:00:00.028) 0:03:32.297 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Alter endpoint to test how template handles incorrect endpoint] ********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:359 Saturday 09 December 2023 18:58:31 +0000 (0:00:00.037) 0:03:32.335 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:58:31 +0000 (0:00:00.293) 0:03:32.628 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:58:31 +0000 (0:00:00.051) 0:03:32.679 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:58:31 +0000 (0:00:00.028) 0:03:32.707 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "781778944", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "186", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:58:31 +0000 (0:00:00.380) 0:03:33.088 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 27685, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:58:33 +0000 (0:00:01.229) 0:03:34.318 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:58:33 +0000 (0:00:00.022) 0:03:34.340 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for alter_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:58:33 +0000 (0:00:00.042) 0:03:34.383 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/alter_endpoint.j2_q7pf_5xg.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host alter_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:58:33 +0000 (0:00:00.200) 0:03:34.584 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for alter_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:58:33 +0000 (0:00:00.023) 0:03:34.608 ***** ok: [sut] => { "changed": false, "checksum": "2d50112b0a97c263dad0f1bdd2bf2f0329fbcb82", "dest": "/tmp/alter_endpoint.j2_q7pf_5xg.sql", "gid": 0, "group": "root", "md5sum": "7ea9f7f1bb649416c6f8cdb0169d00d2", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 574, "src": "/root/.ansible/tmp/ansible-tmp-1702148313.3719788-7534-12364307900799/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command alter_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:58:34 +0000 (0:00:00.678) 0:03:35.286 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting alter_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:58:36 +0000 (0:00:02.465) 0:03:37.752 ***** ok: [sut] => (item=/tmp/alter_endpoint.j2_q7pf_5xg.sql) => { "__mssql_sqlcmd_loop": "/tmp/alter_endpoint.j2_q7pf_5xg.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Certificate test_cert does not exist, creating', 'Certificate test_cert created successfully']) => { "__mssql_sqlcmd_loop": [ "Certificate test_cert does not exist, creating", "Certificate test_cert created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile alter_endpoint.j2] ******** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:58:36 +0000 (0:00:00.038) 0:03:37.791 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:58:36 +0000 (0:00:00.022) 0:03:37.813 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure endpoint correctly] ******************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:368 Saturday 09 December 2023 18:58:36 +0000 (0:00:00.023) 0:03:37.837 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:58:36 +0000 (0:00:00.253) 0:03:38.091 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:58:36 +0000 (0:00:00.022) 0:03:38.113 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:58:36 +0000 (0:00:00.024) 0:03:38.138 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "782888960", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "186", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:58:37 +0000 (0:00:00.348) 0:03:38.486 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 27893, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:58:38 +0000 (0:00:01.222) 0:03:39.709 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:58:38 +0000 (0:00:00.022) 0:03:39.731 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:58:38 +0000 (0:00:00.040) 0:03:39.772 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_endpoint.j2_w6324d5c.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:58:38 +0000 (0:00:00.199) 0:03:39.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:58:38 +0000 (0:00:00.024) 0:03:39.996 ***** ok: [sut] => { "changed": false, "checksum": "bb736eb4adb5d35d772b76e1c3bb19c6b040a59c", "dest": "/tmp/configure_endpoint.j2_w6324d5c.sql", "gid": 0, "group": "root", "md5sum": "efa1eaf69cd98e51d145221d3699a214", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 3106, "src": "/root/.ansible/tmp/ansible-tmp-1702148318.754161-7674-53638038416076/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:58:40 +0000 (0:00:01.592) 0:03:41.589 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:58:51 +0000 (0:00:11.280) 0:03:52.869 ***** ok: [sut] => (item=/tmp/configure_endpoint.j2_w6324d5c.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_endpoint.j2_w6324d5c.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Verifying the existing endpoint Example_Endpoint', 'The LISTENER_PORT setting for the Example_Endpoint endpoint updated to 5022 successfully', 'The ROLE setting for the Example_Endpoint endpoint updated to ALL successfully', 'The certificate for the Example_Endpoint endpoint updated to ExampleCert successfully', 'The ENCRYPTION setting for the Example_Endpoint endpoint updated to AES successfully', 'Endpoint Example_Endpoint is not started, starting', 'Endpoint Example_Endpoint started successfully']) => { "__mssql_sqlcmd_loop": [ "Verifying the existing endpoint Example_Endpoint", "The LISTENER_PORT setting for the Example_Endpoint endpoint updated to 5022 successfully", "The ROLE setting for the Example_Endpoint endpoint updated to ALL successfully", "The certificate for the Example_Endpoint endpoint updated to ExampleCert successfully", "The ENCRYPTION setting for the Example_Endpoint endpoint updated to AES successfully", "Endpoint Example_Endpoint is not started, starting", "Endpoint Example_Endpoint started successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile configure_endpoint.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:58:51 +0000 (0:00:00.043) 0:03:52.912 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:58:51 +0000 (0:00:00.024) 0:03:52.937 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:377 Saturday 09 December 2023 18:58:51 +0000 (0:00:00.029) 0:03:52.966 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Drop the test_cert certificate] ****************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:403 Saturday 09 December 2023 18:58:51 +0000 (0:00:00.050) 0:03:53.017 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:58:52 +0000 (0:00:00.262) 0:03:53.280 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:58:52 +0000 (0:00:00.031) 0:03:53.312 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:58:52 +0000 (0:00:00.032) 0:03:53.344 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "786878464", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "185", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:58:52 +0000 (0:00:00.345) 0:03:53.690 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 28595, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:58:53 +0000 (0:00:01.287) 0:03:54.977 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:58:53 +0000 (0:00:00.040) 0:03:55.018 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for drop_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:58:53 +0000 (0:00:00.076) 0:03:55.095 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/drop_cert.j2_zyjk22og.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host drop_cert.j2] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:58:54 +0000 (0:00:00.297) 0:03:55.392 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for drop_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:58:54 +0000 (0:00:00.024) 0:03:55.417 ***** ok: [sut] => { "changed": false, "checksum": "239991f31ac11c71bf4846a5b2ddb35a4bf4a9ca", "dest": "/tmp/drop_cert.j2_zyjk22og.sql", "gid": 0, "group": "root", "md5sum": "402af4123aca199ce6e0eb277f5c7708", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 939, "src": "/root/.ansible/tmp/ansible-tmp-1702148334.2343683-7882-55560841187788/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command drop_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:58:54 +0000 (0:00:00.816) 0:03:56.234 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting drop_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:58:55 +0000 (0:00:00.294) 0:03:56.528 ***** ok: [sut] => (item=/tmp/drop_cert.j2_zyjk22og.sql) => { "__mssql_sqlcmd_loop": "/tmp/drop_cert.j2_zyjk22og.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Certificate test_cert already exists, checking if there is an endopint associated with this certificate', 'There is no endpoint associated with this certificate, skipping', 'Removing the test_cert certificate to re-create it', 'The test_cert certificate removed successfully']) => { "__mssql_sqlcmd_loop": [ "Certificate test_cert already exists, checking if there is an endopint associated with this certificate", "There is no endpoint associated with this certificate, skipping", "Removing the test_cert certificate to re-create it", "The test_cert certificate removed successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile drop_cert.j2] ************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:58:55 +0000 (0:00:00.070) 0:03:56.599 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:58:55 +0000 (0:00:00.060) 0:03:56.660 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a listener for test purposes] ************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:414 Saturday 09 December 2023 18:58:55 +0000 (0:00:00.039) 0:03:56.700 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:58:55 +0000 (0:00:00.326) 0:03:57.026 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:58:55 +0000 (0:00:00.024) 0:03:57.050 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:58:55 +0000 (0:00:00.033) 0:03:57.084 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "787173376", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "182", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:58:56 +0000 (0:00:00.528) 0:03:57.612 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 28595, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:58:57 +0000 (0:00:01.255) 0:03:58.868 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:58:57 +0000 (0:00:00.040) 0:03:58.908 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for remove_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:58:57 +0000 (0:00:00.058) 0:03:58.967 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/remove_listener.j2_x15_n1po.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host remove_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:58:57 +0000 (0:00:00.209) 0:03:59.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for remove_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:58:57 +0000 (0:00:00.027) 0:03:59.204 ***** ok: [sut] => { "changed": false, "checksum": "5eb1f1db79a245ddb87b701bc0a9edcbb6fa45e3", "dest": "/tmp/remove_listener.j2_x15_n1po.sql", "gid": 0, "group": "root", "md5sum": "7f66038bda282fe31b98d72518492b19", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 493, "src": "/root/.ansible/tmp/ansible-tmp-1702148338.0094981-8012-146384886398529/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command remove_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:58:58 +0000 (0:00:00.697) 0:03:59.901 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting remove_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:58:58 +0000 (0:00:00.255) 0:04:00.157 ***** ok: [sut] => (item=/tmp/remove_listener.j2_x15_n1po.sql) => { "__mssql_sqlcmd_loop": "/tmp/remove_listener.j2_x15_n1po.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Listeners do not exist, skipping']) => { "__mssql_sqlcmd_loop": [ "Listeners do not exist, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile remove_listener.j2] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:58:58 +0000 (0:00:00.060) 0:04:00.218 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:58:58 +0000 (0:00:00.036) 0:04:00.255 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add a listener with a different name] ************************************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:423 Saturday 09 December 2023 18:58:59 +0000 (0:00:00.026) 0:04:00.281 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:58:59 +0000 (0:00:00.274) 0:04:00.555 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:58:59 +0000 (0:00:00.031) 0:04:00.587 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:58:59 +0000 (0:00:00.028) 0:04:00.615 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "789749760", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "182", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:58:59 +0000 (0:00:00.332) 0:04:00.948 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 28595, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:59:00 +0000 (0:00:01.234) 0:04:02.182 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:59:01 +0000 (0:00:00.110) 0:04:02.293 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for add_test_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:59:01 +0000 (0:00:00.252) 0:04:02.546 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/add_test_listener.j2_x1wohsu4.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host add_test_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:59:01 +0000 (0:00:00.284) 0:04:02.830 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for add_test_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:59:01 +0000 (0:00:00.060) 0:04:02.890 ***** ok: [sut] => { "changed": false, "checksum": "4ececef64c7f3d27aaf6cc4fd396180e9cc51cd3", "dest": "/tmp/add_test_listener.j2_x1wohsu4.sql", "gid": 0, "group": "root", "md5sum": "546d136b2c7b36e55a7e74bb3f021001", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 215, "src": "/root/.ansible/tmp/ansible-tmp-1702148341.6801941-8123-118389079154239/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command add_test_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:59:02 +0000 (0:00:00.754) 0:04:03.645 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting add_test_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:59:02 +0000 (0:00:00.279) 0:04:03.924 ***** ok: [sut] => (item=/tmp/add_test_listener.j2_x1wohsu4.sql) => { "__mssql_sqlcmd_loop": "/tmp/add_test_listener.j2_x1wohsu4.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Adding the TEST-listener listener to the ExampleAG availability group']) => { "__mssql_sqlcmd_loop": [ "Adding the TEST-listener listener to the ExampleAG availability group" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile add_test_listener.j2] ***** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:59:02 +0000 (0:00:00.063) 0:04:03.987 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:59:02 +0000 (0:00:00.034) 0:04:04.022 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Modify a listener] ******************************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:432 Saturday 09 December 2023 18:59:02 +0000 (0:00:00.058) 0:04:04.080 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:59:03 +0000 (0:00:00.448) 0:04:04.528 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:59:03 +0000 (0:00:00.030) 0:04:04.559 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:59:03 +0000 (0:00:00.026) 0:04:04.586 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "789893120", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "182", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:59:03 +0000 (0:00:00.343) 0:04:04.929 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 28815, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:59:04 +0000 (0:00:01.297) 0:04:06.227 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:59:05 +0000 (0:00:00.054) 0:04:06.281 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for configure_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:59:05 +0000 (0:00:00.055) 0:04:06.336 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_listener.j2_eakx0tc2.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host configure_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:59:05 +0000 (0:00:00.205) 0:04:06.542 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for configure_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:59:05 +0000 (0:00:00.040) 0:04:06.582 ***** ok: [sut] => { "changed": false, "checksum": "4192a18d8bd12433855772059fa21dd502c6915b", "dest": "/tmp/configure_listener.j2_eakx0tc2.sql", "gid": 0, "group": "root", "md5sum": "be4edea106be6b8286544ccd6f98bfd7", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1617, "src": "/root/.ansible/tmp/ansible-tmp-1702148345.3663929-8163-162118778745286/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:59:05 +0000 (0:00:00.597) 0:04:07.180 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting configure_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:59:06 +0000 (0:00:00.344) 0:04:07.524 ***** ok: [sut] => (item=/tmp/configure_listener.j2_eakx0tc2.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_listener.j2_eakx0tc2.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Verifying the existing listener TEST-listener', 'Modifying the listener port setting', 'Set listener port to 1434 successfully', 'Modifying the listener ip address setting', 'Added listener ip address 192.168.122.149,255.255.255.0 successfully']) => { "__mssql_sqlcmd_loop": [ "Verifying the existing listener TEST-listener", "Modifying the listener port setting", "Set listener port to 1434 successfully", "Modifying the listener ip address setting", "Added listener ip address 192.168.122.149,255.255.255.0 successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile configure_listener.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:59:06 +0000 (0:00:00.039) 0:04:07.563 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:59:06 +0000 (0:00:00.022) 0:04:07.586 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:443 Saturday 09 December 2023 18:59:06 +0000 (0:00:00.134) 0:04:07.721 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove a listener to re-create with default values] ********************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:463 Saturday 09 December 2023 18:59:06 +0000 (0:00:00.063) 0:04:07.785 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:59:06 +0000 (0:00:00.203) 0:04:07.988 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:59:06 +0000 (0:00:00.047) 0:04:08.036 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:59:06 +0000 (0:00:00.031) 0:04:08.067 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "790745088", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "182", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:59:07 +0000 (0:00:00.328) 0:04:08.396 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 31793, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:59:08 +0000 (0:00:01.208) 0:04:09.604 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:59:08 +0000 (0:00:00.137) 0:04:09.742 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for remove_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:59:08 +0000 (0:00:00.068) 0:04:09.810 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/remove_listener.j2_rnjavxv8.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host remove_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:59:08 +0000 (0:00:00.224) 0:04:10.034 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for remove_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:59:08 +0000 (0:00:00.034) 0:04:10.069 ***** ok: [sut] => { "changed": false, "checksum": "5eb1f1db79a245ddb87b701bc0a9edcbb6fa45e3", "dest": "/tmp/remove_listener.j2_rnjavxv8.sql", "gid": 0, "group": "root", "md5sum": "7f66038bda282fe31b98d72518492b19", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 493, "src": "/root/.ansible/tmp/ansible-tmp-1702148348.8516188-8205-245566395018883/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command remove_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:59:09 +0000 (0:00:00.589) 0:04:10.659 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting remove_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:59:09 +0000 (0:00:00.241) 0:04:10.901 ***** ok: [sut] => (item=/tmp/remove_listener.j2_rnjavxv8.sql) => { "__mssql_sqlcmd_loop": "/tmp/remove_listener.j2_rnjavxv8.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Removing the listener TEST-listener', 'Removed the listener TEST-listener successfully']) => { "__mssql_sqlcmd_loop": [ "Removing the listener TEST-listener", "Removed the listener TEST-listener successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile remove_listener.j2] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:59:09 +0000 (0:00:00.042) 0:04:10.943 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:59:09 +0000 (0:00:00.024) 0:04:10.968 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add a listener with previous settings] *********************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:473 Saturday 09 December 2023 18:59:09 +0000 (0:00:00.027) 0:04:10.995 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:59:09 +0000 (0:00:00.279) 0:04:11.275 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:59:10 +0000 (0:00:00.021) 0:04:11.297 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:59:10 +0000 (0:00:00.024) 0:04:11.321 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "797503488", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "182", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:59:10 +0000 (0:00:00.329) 0:04:11.651 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 31793, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:59:11 +0000 (0:00:01.207) 0:04:12.859 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:59:11 +0000 (0:00:00.037) 0:04:12.896 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for configure_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:59:11 +0000 (0:00:00.064) 0:04:12.961 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_listener.j2_pbrcajdy.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host configure_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:59:11 +0000 (0:00:00.227) 0:04:13.188 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for configure_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:59:11 +0000 (0:00:00.028) 0:04:13.217 ***** ok: [sut] => { "changed": false, "checksum": "d5facebc03ae56186ef5e5eb3aeb2ecabfde7f4a", "dest": "/tmp/configure_listener.j2_pbrcajdy.sql", "gid": 0, "group": "root", "md5sum": "e5c11fd15034f7bb6958a78eaabdc286", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1617, "src": "/root/.ansible/tmp/ansible-tmp-1702148351.9803436-8245-18459443106517/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:59:12 +0000 (0:00:00.666) 0:04:13.884 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting configure_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:59:12 +0000 (0:00:00.278) 0:04:14.162 ***** ok: [sut] => (item=/tmp/configure_listener.j2_pbrcajdy.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_listener.j2_pbrcajdy.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Adding the ExampleAG-listener listener to the ExampleAG availability group', 'Added the ExampleAG-listener listener successfully']) => { "__mssql_sqlcmd_loop": [ "Adding the ExampleAG-listener listener to the ExampleAG availability group", "Added the ExampleAG-listener listener successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile configure_listener.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:59:13 +0000 (0:00:00.303) 0:04:14.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:59:13 +0000 (0:00:00.051) 0:04:14.517 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:482 Saturday 09 December 2023 18:59:13 +0000 (0:00:00.028) 0:04:14.546 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Add a listener when it exists] ******************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:494 Saturday 09 December 2023 18:59:13 +0000 (0:00:00.056) 0:04:14.602 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:59:13 +0000 (0:00:00.204) 0:04:14.807 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:59:13 +0000 (0:00:00.038) 0:04:14.845 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:59:13 +0000 (0:00:00.036) 0:04:14.882 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "797917184", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "182", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:59:14 +0000 (0:00:00.413) 0:04:15.295 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32018, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:59:15 +0000 (0:00:01.261) 0:04:16.556 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:59:15 +0000 (0:00:00.047) 0:04:16.604 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for configure_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:59:15 +0000 (0:00:00.051) 0:04:16.656 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_listener.j2_5i0mdk1h.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host configure_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:59:15 +0000 (0:00:00.256) 0:04:16.912 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for configure_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:59:15 +0000 (0:00:00.087) 0:04:17.000 ***** ok: [sut] => { "changed": false, "checksum": "d5facebc03ae56186ef5e5eb3aeb2ecabfde7f4a", "dest": "/tmp/configure_listener.j2_5i0mdk1h.sql", "gid": 0, "group": "root", "md5sum": "e5c11fd15034f7bb6958a78eaabdc286", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1617, "src": "/root/.ansible/tmp/ansible-tmp-1702148355.7926006-8287-186184136879829/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:59:16 +0000 (0:00:00.634) 0:04:17.634 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting configure_listener.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:59:16 +0000 (0:00:00.280) 0:04:17.914 ***** ok: [sut] => (item=/tmp/configure_listener.j2_5i0mdk1h.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_listener.j2_5i0mdk1h.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Verifying the existing listener ExampleAG-listener', 'The port setting is already set correctly, skipping', 'The listener ip address setting is already set correctly, skipping']) => { "__mssql_sqlcmd_loop": [ "Verifying the existing listener ExampleAG-listener", "The port setting is already set correctly, skipping", "The listener ip address setting is already set correctly, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile configure_listener.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:59:16 +0000 (0:00:00.049) 0:04:17.964 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:59:16 +0000 (0:00:00.050) 0:04:18.014 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:503 Saturday 09 December 2023 18:59:16 +0000 (0:00:00.046) 0:04:18.061 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Create a master key when it exists] ************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:519 Saturday 09 December 2023 18:59:16 +0000 (0:00:00.043) 0:04:18.104 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:59:17 +0000 (0:00:00.425) 0:04:18.529 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:59:17 +0000 (0:00:00.022) 0:04:18.552 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:59:17 +0000 (0:00:00.032) 0:04:18.584 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "798175232", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "181", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:59:17 +0000 (0:00:00.333) 0:04:18.918 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32018, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:59:18 +0000 (0:00:01.220) 0:04:20.138 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:59:18 +0000 (0:00:00.039) 0:04:20.178 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:59:18 +0000 (0:00:00.050) 0:04:20.229 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2__2zm2j4v.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:59:19 +0000 (0:00:00.210) 0:04:20.439 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:59:19 +0000 (0:00:00.032) 0:04:20.471 ***** ok: [sut] => { "changed": false, "checksum": "05c862c74a8be17fed5c679d32e847c0e5dc8b65", "dest": "/tmp/create_master_key_encryption.j2__2zm2j4v.sql", "gid": 0, "group": "root", "md5sum": "65fb1fff4dc60651b5ec7369d1ebaa76", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 667, "src": "/root/.ansible/tmp/ansible-tmp-1702148359.2325532-8329-246504782880800/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:59:19 +0000 (0:00:00.618) 0:04:21.090 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:59:20 +0000 (0:00:00.255) 0:04:21.346 ***** ok: [sut] => (item=/tmp/create_master_key_encryption.j2__2zm2j4v.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2__2zm2j4v.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Master key already exists, verifying the provided password against the existing master key', 'The provided master key password is correct']) => { "__mssql_sqlcmd_loop": [ "Master key already exists, verifying the provided password against the existing master key", "The provided master key password is correct" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:59:20 +0000 (0:00:00.215) 0:04:21.561 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:59:20 +0000 (0:00:00.026) 0:04:21.588 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that creating is skipped] ***************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:528 Saturday 09 December 2023 18:59:20 +0000 (0:00:00.025) 0:04:21.614 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Try creating master key with incorrect password] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:536 Saturday 09 December 2023 18:59:20 +0000 (0:00:00.035) 0:04:21.649 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:59:20 +0000 (0:00:00.043) 0:04:21.692 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:59:20 +0000 (0:00:00.022) 0:04:21.715 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:59:20 +0000 (0:00:00.029) 0:04:21.744 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "807579648", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "181", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:59:20 +0000 (0:00:00.343) 0:04:22.087 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32018, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:59:22 +0000 (0:00:01.216) 0:04:23.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:59:22 +0000 (0:00:00.022) 0:04:23.326 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:59:22 +0000 (0:00:00.043) 0:04:23.370 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_7xlgxszt.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:59:22 +0000 (0:00:00.236) 0:04:23.606 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:59:22 +0000 (0:00:00.031) 0:04:23.638 ***** ok: [sut] => { "changed": false, "checksum": "187143db1ea14053bb779a1aaa7c4abab303457d", "dest": "/tmp/create_master_key_encryption.j2_7xlgxszt.sql", "gid": 0, "group": "root", "md5sum": "7cdab1c29471531108d63428dc990a21", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 669, "src": "/root/.ansible/tmp/ansible-tmp-1702148362.4016273-8371-120973077773716/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:59:23 +0000 (0:00:00.745) 0:04:24.383 ***** fatal: [sut]: FAILED! => { "attempts": 1, "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 : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:59:23 +0000 (0:00:00.285) 0:04:24.669 ***** ok: [sut] => (item=/tmp/create_master_key_encryption.j2_7xlgxszt.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_7xlgxszt.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Master key already exists, verifying the provided password against the existing master key', 'You provided an incorrect master key password with the mssql_ha_master_key_password variable', 'Msg 15313, Level 16, State 1, Server 6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80, Line 17', 'The key is not encrypted using the specified decryptor.']) => { "__mssql_sqlcmd_loop": [ "Master key already exists, verifying the provided password against the existing master key", "You provided an incorrect master key password with the mssql_ha_master_key_password variable", "Msg 15313, Level 16, State 1, Server 6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80, Line 17", "The key is not encrypted using the specified decryptor." ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:59:23 +0000 (0:00:00.043) 0:04:24.712 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert the incorrect password error message] ***************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:549 Saturday 09 December 2023 18:59:23 +0000 (0:00:00.034) 0:04:24.747 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Drop endpoint] *********************************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:555 Saturday 09 December 2023 18:59:23 +0000 (0:00:00.028) 0:04:24.775 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:59:23 +0000 (0:00:00.194) 0:04:24.970 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:59:23 +0000 (0:00:00.178) 0:04:25.148 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:59:23 +0000 (0:00:00.037) 0:04:25.186 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "807571456", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "179", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:59:24 +0000 (0:00:00.345) 0:04:25.531 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32018, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:59:25 +0000 (0:00:01.232) 0:04:26.763 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:59:25 +0000 (0:00:00.040) 0:04:26.804 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:59:25 +0000 (0:00:00.063) 0:04:26.868 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_tzj2nojg.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:59:25 +0000 (0:00:00.265) 0:04:27.134 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:59:25 +0000 (0:00:00.040) 0:04:27.174 ***** ok: [sut] => { "changed": false, "checksum": "05c862c74a8be17fed5c679d32e847c0e5dc8b65", "dest": "/tmp/create_master_key_encryption.j2_tzj2nojg.sql", "gid": 0, "group": "root", "md5sum": "65fb1fff4dc60651b5ec7369d1ebaa76", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 667, "src": "/root/.ansible/tmp/ansible-tmp-1702148365.954336-8414-120650286693814/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:59:26 +0000 (0:00:00.597) 0:04:27.772 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:59:26 +0000 (0:00:00.272) 0:04:28.045 ***** ok: [sut] => (item=/tmp/create_master_key_encryption.j2_tzj2nojg.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_tzj2nojg.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Master key already exists, verifying the provided password against the existing master key', 'The provided master key password is correct']) => { "__mssql_sqlcmd_loop": [ "Master key already exists, verifying the provided password against the existing master key", "The provided master key password is correct" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:59:26 +0000 (0:00:00.058) 0:04:28.103 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:59:26 +0000 (0:00:00.026) 0:04:28.129 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certs from SQL Server to verify re-creating master key] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:564 Saturday 09 December 2023 18:59:26 +0000 (0:00:00.030) 0:04:28.160 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:59:27 +0000 (0:00:00.396) 0:04:28.557 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:59:27 +0000 (0:00:00.021) 0:04:28.579 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:59:27 +0000 (0:00:00.023) 0:04:28.602 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "808562688", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "179", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:59:27 +0000 (0:00:00.326) 0:04:28.928 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32018, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:59:28 +0000 (0:00:01.204) 0:04:30.133 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:59:28 +0000 (0:00:00.025) 0:04:30.159 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for drop_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:59:28 +0000 (0:00:00.048) 0:04:30.207 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/drop_cert.j2_746vxfq7.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host drop_cert.j2] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:59:29 +0000 (0:00:00.227) 0:04:30.435 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for drop_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:59:29 +0000 (0:00:00.072) 0:04:30.507 ***** ok: [sut] => { "changed": false, "checksum": "9440c74b2dd62be2dd7727cd430b4652c9f18ec8", "dest": "/tmp/drop_cert.j2_746vxfq7.sql", "gid": 0, "group": "root", "md5sum": "47c6972d824e475026450598c336856a", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 951, "src": "/root/.ansible/tmp/ansible-tmp-1702148369.3173087-8454-66923164028065/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command drop_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:59:29 +0000 (0:00:00.669) 0:04:31.177 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting drop_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:59:32 +0000 (0:00:02.266) 0:04:33.443 ***** ok: [sut] => (item=/tmp/drop_cert.j2_746vxfq7.sql) => { "__mssql_sqlcmd_loop": "/tmp/drop_cert.j2_746vxfq7.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Certificate ExampleCert already exists, checking if there is an endopint associated with this certificate', 'Removing the endpoint Example_Endpoint to re-create it', 'The Example_Endpoint endpoint removed successfully', 'Removing the ExampleCert certificate to re-create it', 'The ExampleCert certificate removed successfully']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert already exists, checking if there is an endopint associated with this certificate", "Removing the endpoint Example_Endpoint to re-create it", "The Example_Endpoint endpoint removed successfully", "Removing the ExampleCert certificate to re-create it", "The ExampleCert certificate removed successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile drop_cert.j2] ************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:59:32 +0000 (0:00:00.042) 0:04:33.485 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:59:32 +0000 (0:00:00.022) 0:04:33.508 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificate and private key] ************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:573 Saturday 09 December 2023 18:59:32 +0000 (0:00:00.022) 0:04:33.530 ***** changed: [sut] => (item=/var/opt/mssql/data/ExampleCert.cer) => { "ansible_loop_var": "item", "changed": true, "item": "/var/opt/mssql/data/ExampleCert.cer", "path": "/var/opt/mssql/data/ExampleCert.cer", "state": "absent" } changed: [sut] => (item=/var/opt/mssql/data/ExampleCert.pvk) => { "ansible_loop_var": "item", "changed": true, "item": "/var/opt/mssql/data/ExampleCert.pvk", "path": "/var/opt/mssql/data/ExampleCert.pvk", "state": "absent" } TASK [Verify creating master key with incorrect password and mssql_ha_reset_cert set to true] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:581 Saturday 09 December 2023 18:59:32 +0000 (0:00:00.631) 0:04:34.161 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:59:33 +0000 (0:00:00.193) 0:04:34.355 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:59:33 +0000 (0:00:00.022) 0:04:34.378 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:59:33 +0000 (0:00:00.026) 0:04:34.404 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "809353216", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "179", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:59:33 +0000 (0:00:00.334) 0:04:34.739 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32226, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:59:34 +0000 (0:00:01.208) 0:04:35.947 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:59:34 +0000 (0:00:00.028) 0:04:35.976 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:59:34 +0000 (0:00:00.043) 0:04:36.020 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_gdnr1id6.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:59:34 +0000 (0:00:00.240) 0:04:36.260 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:59:35 +0000 (0:00:00.221) 0:04:36.481 ***** ok: [sut] => { "changed": false, "checksum": "6c527401c1b35c00597e32f17d1ee708704f0878", "dest": "/tmp/create_master_key_encryption.j2_gdnr1id6.sql", "gid": 0, "group": "root", "md5sum": "a9073ecb140b780f605f4332a55c8061", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 895, "src": "/root/.ansible/tmp/ansible-tmp-1702148375.279875-8635-70712553969507/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:59:35 +0000 (0:00:00.745) 0:04:37.227 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:59:36 +0000 (0:00:00.272) 0:04:37.499 ***** ok: [sut] => (item=/tmp/create_master_key_encryption.j2_gdnr1id6.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_gdnr1id6.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Master key already exists, verifying the provided password against the existing master key', 'Master key password provided with the mssql_ha_master_key_password variable does not match the existing password, dropping master key to re-create it', 'Master key dropped successfully', 'Master key created successfully']) => { "__mssql_sqlcmd_loop": [ "Master key already exists, verifying the provided password against the existing master key", "Master key password provided with the mssql_ha_master_key_password variable does not match the existing password, dropping master key to re-create it", "Master key dropped successfully", "Master key created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_master_key_encryption.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:59:36 +0000 (0:00:00.048) 0:04:37.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:59:36 +0000 (0:00:00.057) 0:04:37.605 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert the expected error message] *************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:594 Saturday 09 December 2023 18:59:36 +0000 (0:00:00.038) 0:04:37.643 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Input create_and_back_up_cert.j2 to create cert] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:630 Saturday 09 December 2023 18:59:36 +0000 (0:00:00.057) 0:04:37.701 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:59:36 +0000 (0:00:00.204) 0:04:37.905 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:59:36 +0000 (0:00:00.061) 0:04:37.967 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:59:36 +0000 (0:00:00.058) 0:04:38.025 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "809377792", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "179", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:59:37 +0000 (0:00:00.385) 0:04:38.410 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32226, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:59:38 +0000 (0:00:01.258) 0:04:39.669 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:59:38 +0000 (0:00:00.040) 0:04:39.709 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:59:38 +0000 (0:00:00.083) 0:04:39.793 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_dmu7zfaq.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:59:38 +0000 (0:00:00.229) 0:04:40.023 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:59:38 +0000 (0:00:00.024) 0:04:40.048 ***** ok: [sut] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_dmu7zfaq.sql", "gid": 0, "group": "root", "md5sum": "1a14f5a31ade2ed9bd6854414376d638", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 2497, "src": "/root/.ansible/tmp/ansible-tmp-1702148378.8093007-8752-242708967922284/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:59:39 +0000 (0:00:00.566) 0:04:40.614 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:59:40 +0000 (0:00:00.707) 0:04:41.321 ***** ok: [sut] => (item=/tmp/create_and_back_up_cert.j2_dmu7zfaq.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_dmu7zfaq.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Certificate ExampleCert does not exist, creating', 'Certificate ExampleCert created successfully', 'Exporting a certificate and private key to /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk', 'Certificate and private key files /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk exported successfully']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert does not exist, creating", "Certificate ExampleCert created successfully", "Exporting a certificate and private key to /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk", "Certificate and private key files /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk exported successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:59:40 +0000 (0:00:00.255) 0:04:41.576 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:59:40 +0000 (0:00:00.028) 0:04:41.605 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert created successfully messages] ************************************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:639 Saturday 09 December 2023 18:59:40 +0000 (0:00:00.037) 0:04:41.643 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Input create_and_back_up_cert.j2 when cert exists] *********************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:650 Saturday 09 December 2023 18:59:40 +0000 (0:00:00.032) 0:04:41.675 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:59:40 +0000 (0:00:00.046) 0:04:41.721 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:59:40 +0000 (0:00:00.028) 0:04:41.749 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:59:40 +0000 (0:00:00.027) 0:04:41.776 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "812724224", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "180", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:59:40 +0000 (0:00:00.366) 0:04:42.143 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32226, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:59:42 +0000 (0:00:01.213) 0:04:43.356 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:59:42 +0000 (0:00:00.026) 0:04:43.382 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:59:42 +0000 (0:00:00.045) 0:04:43.428 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_0pgjvojv.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:59:42 +0000 (0:00:00.203) 0:04:43.632 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:59:42 +0000 (0:00:00.024) 0:04:43.657 ***** ok: [sut] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_0pgjvojv.sql", "gid": 0, "group": "root", "md5sum": "1a14f5a31ade2ed9bd6854414376d638", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 2497, "src": "/root/.ansible/tmp/ansible-tmp-1702148382.416762-8834-101241738767611/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:59:42 +0000 (0:00:00.551) 0:04:44.208 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:59:43 +0000 (0:00:00.250) 0:04:44.459 ***** ok: [sut] => (item=/tmp/create_and_back_up_cert.j2_0pgjvojv.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_0pgjvojv.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Certificate ExampleCert already exists, skipping', '/var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk already exist, skipping']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert already exists, skipping", "/var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk already exist, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:59:43 +0000 (0:00:00.040) 0:04:44.500 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:59:43 +0000 (0:00:00.167) 0:04:44.668 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:659 Saturday 09 December 2023 18:59:43 +0000 (0:00:00.025) 0:04:44.693 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Back up certificate and private key] ************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:671 Saturday 09 December 2023 18:59:43 +0000 (0:00:00.027) 0:04:44.720 ***** changed: [sut] => (item=/var/opt/mssql/data/ExampleCert.cer) => { "ansible_loop_var": "item", "changed": true, "checksum": "310589a576b0fb9e488a2c936cfc61f0f8d09b49", "dest": "/tmp/ExampleCert.cer", "gid": 0, "group": "root", "item": "/var/opt/mssql/data/ExampleCert.cer", "md5sum": "365fae547e4eec0b18a3596388fd8236", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:var_t:s0", "size": 979, "src": "/var/opt/mssql/data/ExampleCert.cer", "state": "file", "uid": 0 } changed: [sut] => (item=/var/opt/mssql/data/ExampleCert.pvk) => { "ansible_loop_var": "item", "changed": true, "checksum": "a68e55800eab0e0154ef501d42f87e76a9cdb4a9", "dest": "/tmp/ExampleCert.pvk", "gid": 0, "group": "root", "item": "/var/opt/mssql/data/ExampleCert.pvk", "md5sum": "9836ab30854d5b82877b5d0a60963cde", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:var_t:s0", "size": 1788, "src": "/var/opt/mssql/data/ExampleCert.pvk", "state": "file", "uid": 0 } TASK [Remove private key] ****************************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:681 Saturday 09 December 2023 18:59:44 +0000 (0:00:00.585) 0:04:45.306 ***** changed: [sut] => { "changed": true, "path": "/var/opt/mssql/data/ExampleCert.pvk", "state": "absent" } TASK [Input create_and_back_up_cert.j2] **************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:686 Saturday 09 December 2023 18:59:44 +0000 (0:00:00.208) 0:04:45.514 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:59:44 +0000 (0:00:00.044) 0:04:45.559 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:59:44 +0000 (0:00:00.023) 0:04:45.582 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:59:44 +0000 (0:00:00.024) 0:04:45.607 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "815546368", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "180", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:59:44 +0000 (0:00:00.329) 0:04:45.937 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32226, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:59:45 +0000 (0:00:01.211) 0:04:47.148 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:59:45 +0000 (0:00:00.023) 0:04:47.172 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:59:45 +0000 (0:00:00.042) 0:04:47.214 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_nhg5c81w.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:59:46 +0000 (0:00:00.202) 0:04:47.416 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:59:46 +0000 (0:00:00.024) 0:04:47.441 ***** ok: [sut] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_nhg5c81w.sql", "gid": 0, "group": "root", "md5sum": "1a14f5a31ade2ed9bd6854414376d638", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 2497, "src": "/root/.ansible/tmp/ansible-tmp-1702148386.1998599-8896-250652052720078/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:59:46 +0000 (0:00:00.551) 0:04:47.992 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:59:46 +0000 (0:00:00.259) 0:04:48.252 ***** ok: [sut] => (item=/tmp/create_and_back_up_cert.j2_nhg5c81w.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_nhg5c81w.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Certificate ExampleCert already exists, skipping', '/var/opt/mssql/data/ExampleCert.pvk does not exist while /var/opt/mssql/data/ExampleCert.cer exists. You must either remove the files, or run the role with `mssql_ha_reset_cert: true` to regenerate certificates.']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert already exists, skipping", "/var/opt/mssql/data/ExampleCert.pvk does not exist while /var/opt/mssql/data/ExampleCert.cer exists. You must either remove the files, or run the role with `mssql_ha_reset_cert: true` to regenerate certificates." ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:59:47 +0000 (0:00:00.044) 0:04:48.297 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:59:47 +0000 (0:00:00.023) 0:04:48.320 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected error messages] ****************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:695 Saturday 09 December 2023 18:59:47 +0000 (0:00:00.180) 0:04:48.501 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove certificate] ****************************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:707 Saturday 09 December 2023 18:59:47 +0000 (0:00:00.029) 0:04:48.530 ***** changed: [sut] => { "changed": true, "path": "/var/opt/mssql/data/ExampleCert.cer", "state": "absent" } TASK [Return private key] ****************************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:712 Saturday 09 December 2023 18:59:47 +0000 (0:00:00.213) 0:04:48.744 ***** changed: [sut] => { "changed": true, "checksum": "a68e55800eab0e0154ef501d42f87e76a9cdb4a9", "dest": "/var/opt/mssql/data/ExampleCert.pvk", "gid": 0, "group": "root", "md5sum": "9836ab30854d5b82877b5d0a60963cde", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:var_t:s0", "size": 1788, "src": "/tmp/ExampleCert.pvk", "state": "file", "uid": 0 } TASK [Input create_and_back_up_cert.j2] **************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:719 Saturday 09 December 2023 18:59:47 +0000 (0:00:00.311) 0:04:49.055 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:59:47 +0000 (0:00:00.046) 0:04:49.102 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:59:47 +0000 (0:00:00.023) 0:04:49.125 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:59:47 +0000 (0:00:00.025) 0:04:49.151 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "815632384", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "180", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:59:48 +0000 (0:00:00.332) 0:04:49.483 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32226, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:59:49 +0000 (0:00:01.208) 0:04:50.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:59:49 +0000 (0:00:00.026) 0:04:50.719 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:59:49 +0000 (0:00:00.048) 0:04:50.767 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_1rlek5j_.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:59:49 +0000 (0:00:00.208) 0:04:50.976 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:59:49 +0000 (0:00:00.024) 0:04:51.001 ***** ok: [sut] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_1rlek5j_.sql", "gid": 0, "group": "root", "md5sum": "1a14f5a31ade2ed9bd6854414376d638", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 2497, "src": "/root/.ansible/tmp/ansible-tmp-1702148389.7616243-8947-180572661003072/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:59:50 +0000 (0:00:00.560) 0:04:51.562 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:59:50 +0000 (0:00:00.259) 0:04:51.822 ***** ok: [sut] => (item=/tmp/create_and_back_up_cert.j2_1rlek5j_.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_1rlek5j_.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Certificate ExampleCert already exists, skipping', '/var/opt/mssql/data/ExampleCert.cer does not exist while /var/opt/mssql/data/ExampleCert.pvk exists. You must either remove the files, or run the role with `mssql_ha_reset_cert: true` to regenerate certificates.']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert already exists, skipping", "/var/opt/mssql/data/ExampleCert.cer does not exist while /var/opt/mssql/data/ExampleCert.pvk exists. You must either remove the files, or run the role with `mssql_ha_reset_cert: true` to regenerate certificates." ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:59:50 +0000 (0:00:00.190) 0:04:52.012 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:59:50 +0000 (0:00:00.025) 0:04:52.038 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected error messages] ****************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:728 Saturday 09 December 2023 18:59:50 +0000 (0:00:00.024) 0:04:52.063 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Return certificate] ****************************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:740 Saturday 09 December 2023 18:59:50 +0000 (0:00:00.029) 0:04:52.092 ***** changed: [sut] => { "changed": true, "checksum": "310589a576b0fb9e488a2c936cfc61f0f8d09b49", "dest": "/var/opt/mssql/data/ExampleCert.cer", "gid": 0, "group": "root", "md5sum": "365fae547e4eec0b18a3596388fd8236", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:var_t:s0", "size": 979, "src": "/tmp/ExampleCert.cer", "state": "file", "uid": 0 } TASK [Drop certificate from SQL Server] **************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:747 Saturday 09 December 2023 18:59:51 +0000 (0:00:00.315) 0:04:52.408 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:59:51 +0000 (0:00:00.052) 0:04:52.460 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:59:51 +0000 (0:00:00.024) 0:04:52.485 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:59:51 +0000 (0:00:00.026) 0:04:52.511 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "822411264", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "183", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:59:51 +0000 (0:00:00.337) 0:04:52.849 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32226, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:59:52 +0000 (0:00:01.214) 0:04:54.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:59:52 +0000 (0:00:00.025) 0:04:54.089 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for drop_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:59:52 +0000 (0:00:00.042) 0:04:54.131 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/drop_cert.j2_aftgx1rc.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host drop_cert.j2] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:59:53 +0000 (0:00:00.209) 0:04:54.341 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for drop_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:59:53 +0000 (0:00:00.037) 0:04:54.378 ***** ok: [sut] => { "changed": false, "checksum": "9440c74b2dd62be2dd7727cd430b4652c9f18ec8", "dest": "/tmp/drop_cert.j2_aftgx1rc.sql", "gid": 0, "group": "root", "md5sum": "47c6972d824e475026450598c336856a", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 951, "src": "/root/.ansible/tmp/ansible-tmp-1702148393.1458573-9021-244701432202208/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command drop_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:59:54 +0000 (0:00:01.571) 0:04:55.949 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting drop_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:59:54 +0000 (0:00:00.248) 0:04:56.198 ***** ok: [sut] => (item=/tmp/drop_cert.j2_aftgx1rc.sql) => { "__mssql_sqlcmd_loop": "/tmp/drop_cert.j2_aftgx1rc.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Certificate ExampleCert already exists, checking if there is an endopint associated with this certificate', 'There is no endpoint associated with this certificate, skipping', 'Removing the ExampleCert certificate to re-create it', 'The ExampleCert certificate removed successfully']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert already exists, checking if there is an endopint associated with this certificate", "There is no endpoint associated with this certificate, skipping", "Removing the ExampleCert certificate to re-create it", "The ExampleCert certificate removed successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile drop_cert.j2] ************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:59:54 +0000 (0:00:00.041) 0:04:56.239 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 18:59:55 +0000 (0:00:00.180) 0:04:56.420 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Input create_and_back_up_cert.j2] **************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:758 Saturday 09 December 2023 18:59:55 +0000 (0:00:00.025) 0:04:56.446 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:59:55 +0000 (0:00:00.039) 0:04:56.485 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:59:55 +0000 (0:00:00.026) 0:04:56.511 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:59:55 +0000 (0:00:00.027) 0:04:56.539 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "822169600", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "180", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:59:55 +0000 (0:00:00.328) 0:04:56.867 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32226, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 18:59:56 +0000 (0:00:01.210) 0:04:58.078 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 18:59:56 +0000 (0:00:00.025) 0:04:58.104 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 18:59:56 +0000 (0:00:00.046) 0:04:58.150 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_hsi6a5mz.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 18:59:57 +0000 (0:00:00.203) 0:04:58.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 18:59:57 +0000 (0:00:00.024) 0:04:58.379 ***** ok: [sut] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_hsi6a5mz.sql", "gid": 0, "group": "root", "md5sum": "1a14f5a31ade2ed9bd6854414376d638", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 2497, "src": "/root/.ansible/tmp/ansible-tmp-1702148397.1482544-9089-96952077561360/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 18:59:57 +0000 (0:00:00.576) 0:04:58.956 ***** fatal: [sut]: FAILED! => { "attempts": 1, "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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 18:59:57 +0000 (0:00:00.256) 0:04:59.212 ***** ok: [sut] => (item=/tmp/create_and_back_up_cert.j2_hsi6a5mz.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_hsi6a5mz.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Certificate ExampleCert does not exist, creating', 'Msg 51000, Level 16, State 1, Server 6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80, Line 20', 'Certificate ExampleCert does not exist in SQL Server, however, /var/opt/mssql/data/ExampleCert.cer and/or /var/opt/mssql/data/ExampleCert.pvk files do exist. You must either remove the files, or run the role with `mssql_ha_reset_cert: true` to regenerate certificates. Ensure to read carefully what `mssql_ha_reset_cert: true` does in the README.md file of the role beforehand']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert does not exist, creating", "Msg 51000, Level 16, State 1, Server 6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80, Line 20", "Certificate ExampleCert does not exist in SQL Server, however, /var/opt/mssql/data/ExampleCert.cer and/or /var/opt/mssql/data/ExampleCert.pvk files do exist. You must either remove the files, or run the role with `mssql_ha_reset_cert: true` to regenerate certificates. Ensure to read carefully what `mssql_ha_reset_cert: true` does in the README.md file of the role beforehand" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 18:59:57 +0000 (0:00:00.046) 0:04:59.258 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected error messages] ****************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:771 Saturday 09 December 2023 18:59:58 +0000 (0:00:00.031) 0:04:59.290 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove certificate and private key] ************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:780 Saturday 09 December 2023 18:59:58 +0000 (0:00:00.028) 0:04:59.319 ***** changed: [sut] => (item=/var/opt/mssql/data/ExampleCert.cer) => { "ansible_loop_var": "item", "changed": true, "item": "/var/opt/mssql/data/ExampleCert.cer", "path": "/var/opt/mssql/data/ExampleCert.cer", "state": "absent" } changed: [sut] => (item=/var/opt/mssql/data/ExampleCert.pvk) => { "ansible_loop_var": "item", "changed": true, "item": "/var/opt/mssql/data/ExampleCert.pvk", "path": "/var/opt/mssql/data/ExampleCert.pvk", "state": "absent" } TASK [Ensure that certificates exist] ****************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:788 Saturday 09 December 2023 18:59:58 +0000 (0:00:00.424) 0:04:59.743 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 18:59:58 +0000 (0:00:00.199) 0:04:59.943 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 18:59:58 +0000 (0:00:00.029) 0:04:59.973 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 18:59:58 +0000 (0:00:00.027) 0:05:00.001 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "822185984", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "180", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 18:59:59 +0000 (0:00:00.349) 0:05:00.350 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32226, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 19:00:00 +0000 (0:00:01.261) 0:05:01.612 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 19:00:00 +0000 (0:00:00.027) 0:05:01.639 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 19:00:00 +0000 (0:00:00.052) 0:05:01.691 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_wos6bd2z.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 19:00:00 +0000 (0:00:00.213) 0:05:01.904 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 19:00:00 +0000 (0:00:00.033) 0:05:01.938 ***** ok: [sut] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_wos6bd2z.sql", "gid": 0, "group": "root", "md5sum": "1a14f5a31ade2ed9bd6854414376d638", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 2497, "src": "/root/.ansible/tmp/ansible-tmp-1702148400.7054074-9183-169971555091146/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 19:00:01 +0000 (0:00:00.592) 0:05:02.531 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 19:00:01 +0000 (0:00:00.572) 0:05:03.103 ***** ok: [sut] => (item=/tmp/create_and_back_up_cert.j2_wos6bd2z.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_wos6bd2z.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Certificate ExampleCert does not exist, creating', 'Certificate ExampleCert created successfully', 'Exporting a certificate and private key to /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk', 'Certificate and private key files /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk exported successfully']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert does not exist, creating", "Certificate ExampleCert created successfully", "Exporting a certificate and private key to /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk", "Certificate and private key files /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk exported successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_and_back_up_cert.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 19:00:01 +0000 (0:00:00.041) 0:05:03.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 19:00:01 +0000 (0:00:00.026) 0:05:03.171 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:797 Saturday 09 December 2023 19:00:01 +0000 (0:00:00.025) 0:05:03.197 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Create a login when it already exists ExampleLogin] ********************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:804 Saturday 09 December 2023 19:00:01 +0000 (0:00:00.026) 0:05:03.224 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 19:00:02 +0000 (0:00:00.329) 0:05:03.553 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 19:00:02 +0000 (0:00:00.021) 0:05:03.575 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 19:00:02 +0000 (0:00:00.023) 0:05:03.598 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "832532480", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "180", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 19:00:02 +0000 (0:00:00.355) 0:05:03.954 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32226, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 19:00:03 +0000 (0:00:01.218) 0:05:05.172 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 19:00:03 +0000 (0:00:00.030) 0:05:05.203 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for create_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 19:00:03 +0000 (0:00:00.053) 0:05:05.257 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ha_login.j2_0_in0mui.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host create_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 19:00:04 +0000 (0:00:00.218) 0:05:05.475 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for create_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 19:00:04 +0000 (0:00:00.023) 0:05:05.499 ***** ok: [sut] => { "changed": false, "checksum": "60abdf14dd202c9c8125f431a288b3d2e580542b", "dest": "/tmp/create_ha_login.j2_0_in0mui.sql", "gid": 0, "group": "root", "md5sum": "2eb72acf6fedf6638e3a683504995557", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 681, "src": "/root/.ansible/tmp/ansible-tmp-1702148404.2643027-9245-30818334464827/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 19:00:04 +0000 (0:00:00.572) 0:05:06.072 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting create_ha_login.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 19:00:05 +0000 (0:00:00.244) 0:05:06.316 ***** ok: [sut] => (item=/tmp/create_ha_login.j2_0_in0mui.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ha_login.j2_0_in0mui.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=["Changed database context to 'master'.", 'A ExampleLogin login already exists, skipping', 'ExampleLogin is a member of sysadmin role, skipping']) => { "__mssql_sqlcmd_loop": [ "Changed database context to 'master'.", "A ExampleLogin login already exists, skipping", "ExampleLogin is a member of sysadmin role, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile create_ha_login.j2] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 19:00:05 +0000 (0:00:00.177) 0:05:06.494 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 19:00:05 +0000 (0:00:00.025) 0:05:06.519 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:813 Saturday 09 December 2023 19:00:05 +0000 (0:00:00.023) 0:05:06.543 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Input replicate_db.j2] *************************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:827 Saturday 09 December 2023 19:00:05 +0000 (0:00:00.026) 0:05:06.570 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 19:00:05 +0000 (0:00:00.040) 0:05:06.610 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 19:00:05 +0000 (0:00:00.023) 0:05:06.634 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 19:00:05 +0000 (0:00:00.027) 0:05:06.662 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "832540672", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "180", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 19:00:05 +0000 (0:00:00.331) 0:05:06.993 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32226, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 19:00:06 +0000 (0:00:01.210) 0:05:08.204 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 19:00:06 +0000 (0:00:00.024) 0:05:08.228 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for replicate_db.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 19:00:06 +0000 (0:00:00.042) 0:05:08.271 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/replicate_db.j2_bk6hbtaj.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host replicate_db.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 19:00:07 +0000 (0:00:00.198) 0:05:08.469 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for replicate_db.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 19:00:07 +0000 (0:00:00.024) 0:05:08.494 ***** ok: [sut] => { "changed": false, "checksum": "31f3afd712f14ebd9937c978467b374db210c0f8", "dest": "/tmp/replicate_db.j2_bk6hbtaj.sql", "gid": 0, "group": "root", "md5sum": "3b3910ed4e8e48eee5b879dfaa2b1877", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4750, "src": "/root/.ansible/tmp/ansible-tmp-1702148407.2531662-9287-197010257993585/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command replicate_db.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 19:00:07 +0000 (0:00:00.563) 0:05:09.057 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting replicate_db.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 19:00:08 +0000 (0:00:00.324) 0:05:09.381 ***** ok: [sut] => (item=/tmp/replicate_db.j2_bk6hbtaj.sql) => { "__mssql_sqlcmd_loop": "/tmp/replicate_db.j2_bk6hbtaj.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['RECOVERY FULL on the ExampleDB1 database is set, skipping', 'The ExampleDB1 database is already backed up, skipping', 'The ExampleDB1 database is already added to the ExampleAG availability group, skipping', 'RECOVERY FULL on the ExampleDB2 database is set, skipping', 'The ExampleDB2 database is already backed up, skipping', 'The ExampleDB2 database is already added to the ExampleAG availability group, skipping']) => { "__mssql_sqlcmd_loop": [ "RECOVERY FULL on the ExampleDB1 database is set, skipping", "The ExampleDB1 database is already backed up, skipping", "The ExampleDB1 database is already added to the ExampleAG availability group, skipping", "RECOVERY FULL on the ExampleDB2 database is set, skipping", "The ExampleDB2 database is already backed up, skipping", "The ExampleDB2 database is already added to the ExampleAG availability group, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile replicate_db.j2] ********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 19:00:08 +0000 (0:00:00.040) 0:05:09.422 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 19:00:08 +0000 (0:00:00.024) 0:05:09.446 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:836 Saturday 09 December 2023 19:00:08 +0000 (0:00:00.168) 0:05:09.614 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Ensure endpoint exists] ************************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:861 Saturday 09 December 2023 19:00:08 +0000 (0:00:00.030) 0:05:09.645 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 19:00:08 +0000 (0:00:00.195) 0:05:09.841 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 19:00:08 +0000 (0:00:00.021) 0:05:09.862 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 19:00:08 +0000 (0:00:00.023) 0:05:09.886 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "838766592", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "180", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 19:00:08 +0000 (0:00:00.330) 0:05:10.216 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32226, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 19:00:10 +0000 (0:00:01.215) 0:05:11.432 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 19:00:10 +0000 (0:00:00.024) 0:05:11.456 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 19:00:10 +0000 (0:00:00.051) 0:05:11.507 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_endpoint.j2_22s46bv4.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 19:00:10 +0000 (0:00:00.240) 0:05:11.748 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 19:00:10 +0000 (0:00:00.038) 0:05:11.786 ***** ok: [sut] => { "changed": false, "checksum": "bb736eb4adb5d35d772b76e1c3bb19c6b040a59c", "dest": "/tmp/configure_endpoint.j2_22s46bv4.sql", "gid": 0, "group": "root", "md5sum": "efa1eaf69cd98e51d145221d3699a214", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 3106, "src": "/root/.ansible/tmp/ansible-tmp-1702148410.5565283-9344-203873971430163/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 19:00:11 +0000 (0:00:00.818) 0:05:12.605 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting configure_endpoint.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 19:00:13 +0000 (0:00:02.257) 0:05:14.863 ***** ok: [sut] => (item=/tmp/configure_endpoint.j2_22s46bv4.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_endpoint.j2_22s46bv4.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Endpoint Example_Endpoint does not exist, creating', 'Endpoint Example_Endpoint created successfully']) => { "__mssql_sqlcmd_loop": [ "Endpoint Example_Endpoint does not exist, creating", "Endpoint Example_Endpoint created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile configure_endpoint.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 19:00:13 +0000 (0:00:00.041) 0:05:14.904 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 19:00:13 +0000 (0:00:00.025) 0:05:14.929 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Input configure_ag.yml when AG exists] *********************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:873 Saturday 09 December 2023 19:00:13 +0000 (0:00:00.025) 0:05:14.955 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 19:00:13 +0000 (0:00:00.044) 0:05:14.999 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 19:00:13 +0000 (0:00:00.029) 0:05:15.028 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 19:00:13 +0000 (0:00:00.039) 0:05:15.068 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "848457728", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "180", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 19:00:14 +0000 (0:00:00.338) 0:05:15.407 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32524, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 19:00:15 +0000 (0:00:01.225) 0:05:16.633 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 19:00:15 +0000 (0:00:00.031) 0:05:16.664 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 19:00:15 +0000 (0:00:00.073) 0:05:16.738 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag.j2_yczn_mlc.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host configure_ag.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 19:00:15 +0000 (0:00:00.227) 0:05:16.965 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 19:00:15 +0000 (0:00:00.055) 0:05:17.020 ***** ok: [sut] => { "changed": false, "checksum": "729a8a30ce1a53bef988a58b35a5275fd2b867d0", "dest": "/tmp/configure_ag.j2_yczn_mlc.sql", "gid": 0, "group": "root", "md5sum": "a75786474565ba3ff4db3d84ad73f13b", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 12143, "src": "/root/.ansible/tmp/ansible-tmp-1702148415.7896705-9431-261654526894809/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 19:00:19 +0000 (0:00:03.569) 0:05:20.590 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 19:00:19 +0000 (0:00:00.293) 0:05:20.883 ***** ok: [sut] => (item=/tmp/configure_ag.j2_yczn_mlc.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag.j2_yczn_mlc.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Verifying the existing availability group ExampleAG', 'DB_FAILOVER = ON is already set, skipping', 'Verifying replicas', 'Verifying the existing replica 6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SEEDING_MODE setting on this primary replica is already set correctly, skipping', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica is already set correctly, skipping', 'Verifying the existing replica 6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SEEDING_MODE setting on this primary replica is already set correctly, skipping', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica is already set correctly, skipping', 'Granted the CREATE ANY DATABASE permission to the ExampleAG availability group']) => { "__mssql_sqlcmd_loop": [ "Verifying the existing availability group ExampleAG", "DB_FAILOVER = ON is already set, skipping", "Verifying replicas", "Verifying the existing replica 6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SEEDING_MODE setting on this primary replica is already set correctly, skipping", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica is already set correctly, skipping", "Verifying the existing replica 6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SEEDING_MODE setting on this primary replica is already set correctly, skipping", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica is already set correctly, skipping", "Granted the CREATE ANY DATABASE permission to the ExampleAG availability group" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile configure_ag.j2] ********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 19:00:19 +0000 (0:00:00.043) 0:05:20.927 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 19:00:19 +0000 (0:00:00.025) 0:05:20.952 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:882 Saturday 09 December 2023 19:00:19 +0000 (0:00:00.025) 0:05:20.977 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Configure AG with CLUSTER_TYPE = NONE] *********************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:918 Saturday 09 December 2023 19:00:19 +0000 (0:00:00.055) 0:05:21.033 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 19:00:19 +0000 (0:00:00.244) 0:05:21.278 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 19:00:20 +0000 (0:00:00.026) 0:05:21.304 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 19:00:20 +0000 (0:00:00.029) 0:05:21.334 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "848560128", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "180", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 19:00:20 +0000 (0:00:00.372) 0:05:21.706 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 32524, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 19:00:21 +0000 (0:00:01.225) 0:05:22.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 19:00:21 +0000 (0:00:00.058) 0:05:22.990 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for configure_ag_cluster_type_none.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 19:00:21 +0000 (0:00:00.072) 0:05:23.063 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag_cluster_type_none.j2_2vbsghhc.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host configure_ag_cluster_type_none.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 19:00:22 +0000 (0:00:00.229) 0:05:23.292 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for configure_ag_cluster_type_none.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 19:00:22 +0000 (0:00:00.027) 0:05:23.320 ***** ok: [sut] => { "changed": false, "checksum": "2158bfa649fb0844a8a01fc99c9a42db398b3430", "dest": "/tmp/configure_ag_cluster_type_none.j2_2vbsghhc.sql", "gid": 0, "group": "root", "md5sum": "8ac44986fdbe1c389f368364b3ff0676", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 400, "src": "/root/.ansible/tmp/ansible-tmp-1702148422.0924811-9500-66567992163146/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_ag_cluster_type_none.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 19:00:22 +0000 (0:00:00.626) 0:05:23.947 ***** ok: [sut] => { "attempts": 1, "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 : Print file location and output from inputting configure_ag_cluster_type_none.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 19:00:22 +0000 (0:00:00.286) 0:05:24.233 ***** ok: [sut] => (item=/tmp/configure_ag_cluster_type_none.j2_2vbsghhc.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag_cluster_type_none.j2_2vbsghhc.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile configure_ag_cluster_type_none.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 19:00:22 +0000 (0:00:00.040) 0:05:24.274 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 19:00:23 +0000 (0:00:00.024) 0:05:24.298 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Input configure_ag.yml with CLUSTER_TYPE = NONE] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:923 Saturday 09 December 2023 19:00:23 +0000 (0:00:00.024) 0:05:24.322 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 19:00:23 +0000 (0:00:00.041) 0:05:24.364 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 19:00:23 +0000 (0:00:00.028) 0:05:24.393 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 19:00:23 +0000 (0:00:00.025) 0:05:24.419 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "848547840", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "180", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 19:00:23 +0000 (0:00:00.337) 0:05:24.757 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 34381, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 19:00:24 +0000 (0:00:01.245) 0:05:26.002 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 19:00:25 +0000 (0:00:00.310) 0:05:26.312 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 19:00:25 +0000 (0:00:00.076) 0:05:26.389 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag.j2_zodtsr48.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host configure_ag.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 19:00:25 +0000 (0:00:00.238) 0:05:26.627 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 19:00:25 +0000 (0:00:00.064) 0:05:26.691 ***** ok: [sut] => { "changed": false, "checksum": "e0b1af30aa80484151202bc322fb5527bb5fcd45", "dest": "/tmp/configure_ag.j2_zodtsr48.sql", "gid": 0, "group": "root", "md5sum": "2d66f139497fa03e88718caf57a248c0", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 11927, "src": "/root/.ansible/tmp/ansible-tmp-1702148425.5036411-9593-51823629475213/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 19:00:27 +0000 (0:00:02.552) 0:05:29.244 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 19:00:28 +0000 (0:00:00.462) 0:05:29.706 ***** ok: [sut] => (item=/tmp/configure_ag.j2_zodtsr48.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag.j2_zodtsr48.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['The existing ag2 availability group has incorrect cluster type set, dropping the group to re-create it', 'The ag2 availability group dropped successfully', 'Creating the ag2 availability group', 'The ag2 availability group created successfully', 'Granted the CREATE ANY DATABASE permission to the ag2 availability group']) => { "__mssql_sqlcmd_loop": [ "The existing ag2 availability group has incorrect cluster type set, dropping the group to re-create it", "The ag2 availability group dropped successfully", "Creating the ag2 availability group", "The ag2 availability group created successfully", "Granted the CREATE ANY DATABASE permission to the ag2 availability group" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile configure_ag.j2] ********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 19:00:28 +0000 (0:00:00.065) 0:05:29.772 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 19:00:28 +0000 (0:00:00.028) 0:05:29.800 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:932 Saturday 09 December 2023 19:00:28 +0000 (0:00:00.031) 0:05:29.831 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Alter AG] **************************************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:949 Saturday 09 December 2023 19:00:28 +0000 (0:00:00.031) 0:05:29.863 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 19:00:28 +0000 (0:00:00.049) 0:05:29.913 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 19:00:28 +0000 (0:00:00.030) 0:05:29.944 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 19:00:28 +0000 (0:00:00.041) 0:05:29.986 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "848752640", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "180", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 19:00:29 +0000 (0:00:00.344) 0:05:30.330 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 38268, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 19:00:30 +0000 (0:00:01.253) 0:05:31.583 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 19:00:30 +0000 (0:00:00.068) 0:05:31.652 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for alter_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 19:00:30 +0000 (0:00:00.074) 0:05:31.726 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/alter_ag.j2_bje8e9do.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host alter_ag.j2] ******** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 19:00:30 +0000 (0:00:00.294) 0:05:32.021 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for alter_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 19:00:30 +0000 (0:00:00.036) 0:05:32.057 ***** ok: [sut] => { "changed": false, "checksum": "1de39f7d9607eb293d5663184826bb986f8c368c", "dest": "/tmp/alter_ag.j2_bje8e9do.sql", "gid": 0, "group": "root", "md5sum": "91776f43f245b4923b4a5923a76ca367", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 3843, "src": "/root/.ansible/tmp/ansible-tmp-1702148430.854688-9774-107192611831957/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command alter_ag.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 19:00:32 +0000 (0:00:01.708) 0:05:33.765 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting alter_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 19:00:32 +0000 (0:00:00.344) 0:05:34.110 ***** ok: [sut] => (item=/tmp/alter_ag.j2_bje8e9do.sql) => { "__mssql_sqlcmd_loop": "/tmp/alter_ag.j2_bje8e9do.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Altering the existing availability group ag2', 'Set DB_FAILOVER to ON succesfully', 'Altering replicas', 'Verifying the existing replica sut', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The ENDPOINT_URL setting on this primary replica configured successfully', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SEEDING_MODE setting on this primary replica configured successfully', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SECONDARY_ROLE (ALLOW_CONNECTIONS = NO) setting on this primary replica configured successfully']) => { "__mssql_sqlcmd_loop": [ "Altering the existing availability group ag2", "Set DB_FAILOVER to ON succesfully", "Altering replicas", "Verifying the existing replica sut", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The ENDPOINT_URL setting on this primary replica configured successfully", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SEEDING_MODE setting on this primary replica configured successfully", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SECONDARY_ROLE (ALLOW_CONNECTIONS = NO) setting on this primary replica configured successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile alter_ag.j2] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 19:00:32 +0000 (0:00:00.073) 0:05:34.183 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 19:00:32 +0000 (0:00:00.031) 0:05:34.214 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Input configure_ag.yml to configure ag properly] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:958 Saturday 09 December 2023 19:00:33 +0000 (0:00:00.074) 0:05:34.289 ***** TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Saturday 09 December 2023 19:00:33 +0000 (0:00:00.085) 0:05:34.374 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [linux-system-roles.mssql : Verify that the mssql_password variable is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Saturday 09 December 2023 19:00:33 +0000 (0:00:00.044) 0:05:34.419 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Saturday 09 December 2023 19:00:33 +0000 (0:00:00.088) 0:05:34.508 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveEnterTimestampMonotonic": "634308968", "ActiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ActiveExitTimestampMonotonic": "634077213", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:57:43 UTC", "AssertTimestampMonotonic": "634307683", "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": "Sat 2023-12-09 18:57:43 UTC", "ConditionTimestampMonotonic": "634307681", "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": "14341", "ExecMainStartTimestamp": "Sat 2023-12-09 18:57:43 UTC", "ExecMainStartTimestampMonotonic": "634308902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Sat 2023-12-09 18:57:43 UTC] ; stop_time=[n/a] ; pid=14341 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "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": "Sat 2023-12-09 18:57:43 UTC", "InactiveEnterTimestampMonotonic": "634306648", "InactiveExitTimestamp": "Sat 2023-12-09 18:57:43 UTC", "InactiveExitTimestampMonotonic": "634308968", "InvocationID": "4252beb66bf246358e45b3738814ddd7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14341", "MemoryAccounting": "yes", "MemoryCurrent": "852840448", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "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": "Sat 2023-12-09 18:57:43 UTC", "StateChangeTimestampMonotonic": "634308968", "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": "180", "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": "Sat 2023-12-09 18:57:43 UTC", "WatchdogTimestampMonotonic": "634308965", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Saturday 09 December 2023 19:00:33 +0000 (0:00:00.356) 0:05:34.865 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "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": 38268, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:32 Saturday 09 December 2023 19:00:34 +0000 (0:00:01.219) 0:05:36.085 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script files to MSSQL] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:38 Saturday 09 December 2023 19:00:34 +0000 (0:00:00.025) 0:05:36.110 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut TASK [linux-system-roles.mssql : Create a tempfile on the host for configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Saturday 09 December 2023 19:00:34 +0000 (0:00:00.049) 0:05:36.160 ***** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag.j2_sz4jnf9v.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Copy the file to the host configure_ag.j2] **** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Saturday 09 December 2023 19:00:35 +0000 (0:00:00.203) 0:05:36.363 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Generate the template on the host for configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Saturday 09 December 2023 19:00:35 +0000 (0:00:00.029) 0:05:36.392 ***** ok: [sut] => { "changed": false, "checksum": "e0b1af30aa80484151202bc322fb5527bb5fcd45", "dest": "/tmp/configure_ag.j2_sz4jnf9v.sql", "gid": 0, "group": "root", "md5sum": "2d66f139497fa03e88718caf57a248c0", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 11927, "src": "/root/.ansible/tmp/ansible-tmp-1702148435.153225-9887-54291690358939/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Saturday 09 December 2023 19:00:38 +0000 (0:00:03.272) 0:05:39.665 ***** changed: [sut] => { "attempts": 1, "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 : Print file location and output from inputting configure_ag.j2] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:42 Saturday 09 December 2023 19:00:38 +0000 (0:00:00.270) 0:05:39.935 ***** ok: [sut] => (item=/tmp/configure_ag.j2_sz4jnf9v.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag.j2_sz4jnf9v.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Verifying the existing availability group ag2', 'DB_FAILOVER = ON is already set, skipping', 'Verifying replicas', 'Verifying the existing replica 6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The ENDPOINT_URL setting on this primary replica configured successfully', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SEEDING_MODE setting on this primary replica configured successfully', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica configured successfully', 'Verifying the existing replica 6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SEEDING_MODE setting on this primary replica is already set correctly, skipping', '6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica is already set correctly, skipping', 'Granted the CREATE ANY DATABASE permission to the ag2 availability group']) => { "__mssql_sqlcmd_loop": [ "Verifying the existing availability group ag2", "DB_FAILOVER = ON is already set, skipping", "Verifying replicas", "Verifying the existing replica 6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The ENDPOINT_URL setting on this primary replica configured successfully", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SEEDING_MODE setting on this primary replica configured successfully", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica configured successfully", "Verifying the existing replica 6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SEEDING_MODE setting on this primary replica is already set correctly, skipping", "6ccbc3b4-5d55-4238-b4ce-1bc659dd6f80: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica is already set correctly, skipping", "Granted the CREATE ANY DATABASE permission to the ag2 availability group" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [sut] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [linux-system-roles.mssql : Remove the tempfile configure_ag.j2] ********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:58 Saturday 09 December 2023 19:00:38 +0000 (0:00:00.050) 0:05:39.986 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input SQL script contents to MSSQL] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:43 Saturday 09 December 2023 19:00:38 +0000 (0:00:00.026) 0:05:40.012 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:967 Saturday 09 December 2023 19:00:38 +0000 (0:00:00.026) 0:05:40.038 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tests_configure_ha_cluster_external.yml:995 Saturday 09 December 2023 19:00:38 +0000 (0:00:00.220) 0:05:40.259 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tasks/cleanup.yml:2 Saturday 09 December 2023 19:00:39 +0000 (0:00:00.134) 0:05:40.393 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tasks/cleanup.yml:6 Saturday 09 December 2023 19:00:40 +0000 (0:00:01.277) 0:05:41.671 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tasks/cleanup.yml:14 Saturday 09 December 2023 19:00:40 +0000 (0:00:00.033) 0:05:41.705 ***** ok: [sut] => { "ansible_python_version": "3.6.8" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tasks/cleanup.yml:18 Saturday 09 December 2023 19:00:40 +0000 (0:00:00.031) 0:05:41.736 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 09 December 2023 19:00:40 +0000 (0:00:00.058) 0:05:41.794 ***** included: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 09 December 2023 19:00:40 +0000 (0:00:00.041) 0:05:41.836 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 09 December 2023 19:00:40 +0000 (0:00:00.032) 0:05:41.869 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 09 December 2023 19:00:40 +0000 (0:00:00.025) 0:05:41.894 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Saturday 09 December 2023 19:00:40 +0000 (0:00:00.032) 0:05:41.927 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 09 December 2023 19:00:41 +0000 (0:00:01.322) 0:05:43.249 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 09 December 2023 19:00:42 +0000 (0:00:00.052) 0:05:43.302 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 09 December 2023 19:00:42 +0000 (0:00:00.032) 0:05:43.334 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:54:46 UTC", "ActiveEnterTimestampMonotonic": "456712791", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service basic.target sysinit.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:54:45 UTC", "AssertTimestampMonotonic": "456011711", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ConditionTimestampMonotonic": "456011710", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target nftables.service ipset.service iptables.service ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6806", "ExecMainStartTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ExecMainStartTimestampMonotonic": "456092656", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 18:54:45 UTC", "InactiveExitTimestampMonotonic": "456092732", "InvocationID": "6989b6562e54472994a985b0ff9a11a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6806", "MemoryAccounting": "yes", "MemoryCurrent": "44990464", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2023-12-09 18:54:46 UTC", "StateChangeTimestampMonotonic": "456712791", "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": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-09 18:54:46 UTC", "WatchdogTimestampMonotonic": "456712787", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 09 December 2023 19:00:42 +0000 (0:00:00.616) 0:05:43.951 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-12-09 18:54:46 UTC", "ActiveEnterTimestampMonotonic": "456712791", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service basic.target sysinit.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-09 18:54:45 UTC", "AssertTimestampMonotonic": "456011711", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ConditionTimestampMonotonic": "456011710", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target nftables.service ipset.service iptables.service ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6806", "ExecMainStartTimestamp": "Sat 2023-12-09 18:54:45 UTC", "ExecMainStartTimestampMonotonic": "456092656", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-09 18:54:45 UTC", "InactiveExitTimestampMonotonic": "456092732", "InvocationID": "6989b6562e54472994a985b0ff9a11a0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6806", "MemoryAccounting": "yes", "MemoryCurrent": "44990464", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2023-12-09 18:54:46 UTC", "StateChangeTimestampMonotonic": "456712791", "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": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-12-09 18:54:46 UTC", "WatchdogTimestampMonotonic": "456712787", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 09 December 2023 19:00:43 +0000 (0:00:00.371) 0:05:44.323 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python3", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 09 December 2023 19:00:43 +0000 (0:00:00.050) 0:05:44.373 ***** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: b6dbe4794a612c5eaac6e7117c670912798eb63bf8e6d9f1c3d2a7a38ab197fa /etc/firewalld/zones/public.xml STDERR: Shared connection to 10.31.14.121 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 09 December 2023 19:00:44 +0000 (0:00:01.113) 0:05:45.486 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 09 December 2023 19:00:44 +0000 (0:00:00.027) 0:05:45.514 ***** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 09 December 2023 19:00:44 +0000 (0:00:00.025) 0:05:45.539 ***** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 09 December 2023 19:00:44 +0000 (0:00:00.024) 0:05:45.563 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 09 December 2023 19:00:44 +0000 (0:00:00.026) 0:05:45.590 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 09 December 2023 19:00:44 +0000 (0:00:00.026) 0:05:45.617 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 09 December 2023 19:00:44 +0000 (0:00:00.050) 0:05:45.667 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.14.121 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 09 December 2023 19:00:44 +0000 (0:00:00.332) 0:05:45.999 ***** changed: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 09 December 2023 19:00:44 +0000 (0:00:00.029) 0:05:46.029 ***** skipping: [sut] => {} TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tasks/cleanup.yml:27 Saturday 09 December 2023 19:00:44 +0000 (0:00:00.023) 0:05:46.052 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tasks/cleanup.yml:35 Saturday 09 December 2023 19:00:44 +0000 (0:00:00.027) 0:05:46.080 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tasks/cleanup.yml:39 Saturday 09 December 2023 19:00:44 +0000 (0:00:00.027) 0:05:46.108 ***** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tasks/cleanup.yml:45 Saturday 09 December 2023 19:00:45 +0000 (0:00:00.257) 0:05:46.365 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: resource-agents-4.9.0-48.el8_9.x86_64", "Removed: samba-client-libs-4.18.6-1.el8.x86_64", "Removed: samba-common-4.18.6-1.el8.noarch", "Removed: samba-common-libs-4.18.6-1.el8.x86_64", "Removed: guile-5:2.0.14-7.el8.x86_64", "Removed: bzip2-1.0.6-26.el8.x86_64", "Removed: cifs-utils-7.0-1.el8.x86_64", "Removed: libtool-ltdl-2.4.6-25.el8.x86_64", "Removed: libwbclient-4.18.6-1.el8.x86_64", "Removed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Removed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Removed: lsof-4.93.2-1.el8.x86_64", "Removed: unixODBC-2.3.11-1.rh.x86_64", "Removed: unixODBC-devel-2.3.11-1.rh.x86_64", "Removed: lvm2-8:2.03.14-13.el8_9.x86_64", "Removed: lvm2-libs-8:2.03.14-13.el8_9.x86_64", "Removed: device-mapper-event-8:1.02.181-13.el8_9.x86_64", "Removed: device-mapper-event-libs-8:1.02.181-13.el8_9.x86_64", "Removed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Removed: libaio-0.3.112-1.el8.x86_64", "Removed: libatomic-8.5.0-20.el8.x86_64", "Removed: libatomic_ops-7.6.2-3.el8.x86_64", "Removed: libbabeltrace-1.5.4-4.el8.x86_64", "Removed: msodbcsql17-17.10.5.1-1.x86_64", "Removed: mssql-server-16.0.4095.4-1.x86_64", "Removed: mssql-server-ha-16.0.4095.4-1.x86_64", "Removed: mssql-tools-17.10.1.1-1.x86_64", "Removed: net-tools-2.0-0.52.20160912git.el8.x86_64", "Removed: libicu-60.3-2.el8_1.x86_64", "Removed: libipt-1.6.1-8.el8.x86_64", "Removed: gc-7.6.4-3.el8.x86_64", "Removed: gcc-gdb-plugin-8.5.0-20.el8.x86_64", "Removed: gdb-8.2-20.el8.x86_64", "Removed: gdb-headless-8.2-20.el8.x86_64" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tasks/cleanup.yml:58 Saturday 09 December 2023 19:00:49 +0000 (0:00:03.970) 0:05:50.335 ***** changed: [sut] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.011671", "end": "2023-12-09 19:00:49.277194", "rc": 0, "start": "2023-12-09 19:00:49.265523" } STDOUT: removed directory '/var/opt/mssql/.system/system/Temp' removed '/var/opt/mssql/.system/system/lsasetup.log' removed '/var/opt/mssql/.system/system/debug/PASSWD.LOG' removed directory '/var/opt/mssql/.system/system/debug' removed '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/9a6cba4d-5573-46a2-a0b5-ce8b8a3fa096' removed '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect' removed directory '/var/opt/mssql/.system/system/system32/Microsoft' removed directory '/var/opt/mssql/.system/system/system32/LogFiles/Scm' removed directory '/var/opt/mssql/.system/system/system32/LogFiles' removed directory '/var/opt/mssql/.system/system/system32' removed '/var/opt/mssql/.system/system/licensing.hiv' removed '/var/opt/mssql/.system/system/security.hiv' removed '/var/opt/mssql/.system/system/lsa.hiv' removed directory '/var/opt/mssql/.system/system' removed directory '/var/opt/mssql/.system/profiles/Client/Desktop' removed directory '/var/opt/mssql/.system/profiles/Client/Documents' removed directory '/var/opt/mssql/.system/profiles/Client/Temp' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCache/IE' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCache/Content.IE5' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCache' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCookies/ESE' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCookies' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/History/History.IE5' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/History' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/LocalLow' removed directory '/var/opt/mssql/.system/profiles/Client/AppData' removed directory '/var/opt/mssql/.system/profiles/Client' removed directory '/var/opt/mssql/.system/profiles' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed directory '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore' removed directory '/var/opt/mssql/.system/programdata/Microsoft/NetFramework' removed directory '/var/opt/mssql/.system/programdata/Microsoft' removed directory '/var/opt/mssql/.system/programdata' removed '/var/opt/mssql/.system/instance_id' removed directory '/var/opt/mssql/.system' removed '/var/opt/mssql/data/master.mdf' removed '/var/opt/mssql/data/mastlog.ldf' removed '/var/opt/mssql/data/model.mdf' removed '/var/opt/mssql/data/modellog.ldf' removed '/var/opt/mssql/data/msdbdata.mdf' removed '/var/opt/mssql/data/msdblog.ldf' removed '/var/opt/mssql/data/model_replicatedmaster.mdf' removed '/var/opt/mssql/data/model_replicatedmaster.ldf' removed '/var/opt/mssql/data/model_msdbdata.mdf' removed '/var/opt/mssql/data/model_msdblog.ldf' removed '/var/opt/mssql/data/Entropy.bin' removed '/var/opt/mssql/data/tempdb.mdf' removed '/var/opt/mssql/data/templog.ldf' removed '/var/opt/mssql/data/tempdb2.ndf' removed '/var/opt/mssql/data/tempdb3.ndf' removed '/var/opt/mssql/data/tempdb4.ndf' removed '/var/opt/mssql/data/ExampleDB1.mdf' removed '/var/opt/mssql/data/ExampleDB1_log.ldf' removed '/var/opt/mssql/data/ExampleDB2.mdf' removed '/var/opt/mssql/data/ExampleDB2_log.ldf' removed '/var/opt/mssql/data/ExampleDB1' removed '/var/opt/mssql/data/ExampleDB2' removed '/var/opt/mssql/data/ExampleCert.pvk' removed '/var/opt/mssql/data/ExampleCert.cer' removed directory '/var/opt/mssql/data' removed '/var/opt/mssql/log/mssql-conf/mssql-conf.log' removed directory '/var/opt/mssql/log/mssql-conf' removed '/var/opt/mssql/log/sqlagentstartup.log' removed '/var/opt/mssql/log/HkEngineEventFile_0_133466217640770000.xel' removed '/var/opt/mssql/log/system_health_0_133466217659800000.xel' removed '/var/opt/mssql/log/log.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133466217714790000.xel' removed '/var/opt/mssql/log/system_health_0_133466217731590000.xel' removed '/var/opt/mssql/log/log_1.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133466217981240000.xel' removed '/var/opt/mssql/log/system_health_0_133466217997510000.xel' removed '/var/opt/mssql/log/log_2.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133466218238420000.xel' removed '/var/opt/mssql/log/system_health_0_133466218256290000.xel' removed '/var/opt/mssql/log/AlwaysOn_health_0_133466218256420000.xel' removed '/var/opt/mssql/log/log_3.trc' removed '/var/opt/mssql/log/errorlog.5' removed '/var/opt/mssql/log/errorlog.4' removed '/var/opt/mssql/log/errorlog.3' removed '/var/opt/mssql/log/errorlog.2' removed '/var/opt/mssql/log/errorlog.1' removed '/var/opt/mssql/log/errorlog' removed '/var/opt/mssql/log/HkEngineEventFile_0_133466218670440000.xel' removed '/var/opt/mssql/log/system_health_0_133466218686890000.xel' removed '/var/opt/mssql/log/AlwaysOn_health_0_133466218687010000.xel' removed '/var/opt/mssql/log/log_4.trc' removed directory '/var/opt/mssql/log' removed '/var/opt/mssql/mssql.conf' removed '/var/opt/mssql/secrets/machine-key' removed '/var/opt/mssql/secrets/passwd' removed directory '/var/opt/mssql/secrets' removed directory '/var/opt/mssql' removed directory '/opt/mssql' removed directory '/opt/mssql-tools' removed '/etc/yum.repos.d/packages-microsoft-com-mssql-server-2022.repo' removed '/etc/yum.repos.d/packages-microsoft-com-prod.repo' TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tasks/cleanup.yml:72 Saturday 09 December 2023 19:00:49 +0000 (0:00:00.255) 0:05:50.591 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.011750", "end": "2023-12-09 19:00:49.495138", "rc": 0, "start": "2023-12-09 19:00:49.483388" } STDERR: Failed to stop mssql-server.service: Unit mssql-server.service not loaded. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=632 changed=53 unreachable=0 failed=2 skipped=486 rescued=1 ignored=0 Saturday 09 December 2023 19:00:49 +0000 (0:00:00.221) 0:05:50.812 ***** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 45.32s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 linux-system-roles.mssql : Input with the sqlcmd command configure_endpoint.j2 -- 11.28s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 linux-system-roles.mssql : Gather system services facts ---------------- 10.69s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 linux-system-roles.mssql : Set up MSSQL --------------------------------- 9.00s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 linux-system-roles.mssql : Gather system services facts ----------------- 7.67s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections --- 7.36s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 linux-system-roles.mssql : Ensure the package mssql-server-ha ----------- 7.27s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 5.67s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Remove related packages ------------------------------------------------- 3.97s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/tasks/cleanup.yml:45 --------- linux-system-roles.mssql : Wait for mssql-server to prepare for client connections --- 3.69s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections --- 3.65s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 linux-system-roles.mssql : Generate the template on the host for configure_ag.j2 --- 3.57s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections --- 3.28s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 linux-system-roles.mssql : Generate the template on the host for configure_ag.j2 --- 3.27s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 linux-system-roles.mssql : Generate the template on the host for configure_ag.j2 --- 2.55s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections --- 2.47s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 linux-system-roles.mssql : Input with the sqlcmd command alter_endpoint.j2 --- 2.47s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections --- 2.47s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections --- 2.45s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections --- 2.42s /WORKDIR/git-run-ha-cluster-rename5evz1n9o/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---