# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.6/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.6.8 (default, Jan 25 2023, 15:03:30) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18)] 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.yml *************************************** 1 plays in /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml PLAY [Verify the role on the primary node] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:3 Tuesday 10 October 2023 12:15:54 +0000 (0:00:00.024) 0:00:00.024 ******* ok: [sut] META: ran handlers TASK [Run the role] ************************************************************ task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:97 Tuesday 10 October 2023 12:15:55 +0000 (0:00:00.918) 0:00:00.943 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:103 Tuesday 10 October 2023 12:15:55 +0000 (0:00:00.033) 0:00:00.976 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:113 Tuesday 10 October 2023 12:15:55 +0000 (0:00:00.031) 0:00:01.007 ******* 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-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:124 Tuesday 10 October 2023 12:15:55 +0000 (0:00:00.062) 0:00:01.070 ******* TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.226) 0:00:01.296 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.049) 0:00:01.346 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.043) 0:00:01.389 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-preview/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.056) 0:00:01.445 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.029) 0:00:01.474 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.035) 0:00:01.510 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.031) 0:00:01.541 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.021) 0:00:01.562 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.025) 0:00:01.588 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.040) 0:00:01.628 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.029) 0:00:01.657 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.042) 0:00:01.700 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.054) 0:00:01.755 ******* 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-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:132 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.035) 0:00:01.790 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set the mssql_ha_replica_type fact to appear in hostvars] **************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:139 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.034) 0:00:01.825 ******* 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-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:146 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.029) 0:00:01.855 ******* 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-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:154 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.031) 0:00:01.887 ******* TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 10 October 2023 12:15:56 +0000 (0:00:00.209) 0:00:02.097 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 10 October 2023 12:15:57 +0000 (0:00:00.031) 0:00:02.128 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Tuesday 10 October 2023 12:15:57 +0000 (0:00:00.027) 0:00:02.156 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-preview/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 10 October 2023 12:15:57 +0000 (0:00:00.061) 0:00:02.218 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 10 October 2023 12:15:57 +0000 (0:00:00.032) 0:00:02.251 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 10 October 2023 12:15:57 +0000 (0:00:00.031) 0:00:02.282 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 10 October 2023 12:15:57 +0000 (0:00:00.037) 0:00:02.320 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 10 October 2023 12:15:57 +0000 (0:00:00.028) 0:00:02.348 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Tuesday 10 October 2023 12:15:57 +0000 (0:00:00.050) 0:00:02.399 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Tuesday 10 October 2023 12:15:57 +0000 (0:00:00.019) 0:00:02.419 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Tuesday 10 October 2023 12:15:57 +0000 (0:00:00.019) 0:00:02.438 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Tuesday 10 October 2023 12:15:57 +0000 (0:00:00.034) 0:00:02.473 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Tuesday 10 October 2023 12:15:57 +0000 (0:00:00.028) 0:00:02.501 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Tuesday 10 October 2023 12:15:57 +0000 (0:00:00.027) 0:00:02.529 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 10 October 2023 12:15:57 +0000 (0:00:00.041) 0:00:02.571 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:102 Tuesday 10 October 2023 12:15:58 +0000 (0:00:01.388) 0:00:03.959 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 10 October 2023 12:15:59 +0000 (0:00:00.188) 0:00:04.147 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Tuesday 10 October 2023 12:15:59 +0000 (0:00:00.085) 0:00:04.233 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that version 2022 is not used with RHEL 7] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:125 Tuesday 10 October 2023 12:15:59 +0000 (0:00:00.047) 0:00:04.280 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Tuesday 10 October 2023 12:15:59 +0000 (0:00:00.052) 0:00:04.333 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:149 Tuesday 10 October 2023 12:15:59 +0000 (0:00:00.075) 0:00:04.408 ******* changed: [sut] => { "changed": true } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:160 Tuesday 10 October 2023 12:16:00 +0000 (0:00:00.991) 0:00:05.399 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:170 Tuesday 10 October 2023 12:16:00 +0000 (0:00:00.105) 0:00:05.505 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:181 Tuesday 10 October 2023 12:16:00 +0000 (0:00:00.128) 0:00:05.633 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Tuesday 10 October 2023 12:16:00 +0000 (0:00:00.077) 0:00:05.710 ******* changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2022", "state": "present" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:199 Tuesday 10 October 2023 12:16:01 +0000 (0:00:00.415) 0:00:06.126 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: libatomic-13.2.1-1.fc38.x86_64", "Installed: mssql-server-16.0.4075.1-1_preview.x86_64", "Installed: cyrus-sasl-2.1.28-9.fc38.x86_64", "Installed: source-highlight-3.1.9-16.fc38.x86_64", "Installed: cyrus-sasl-gssapi-2.1.28-9.fc38.x86_64", "Installed: gdb-13.2-5.fc38.x86_64", "Installed: gdb-headless-13.2-5.fc38.x86_64", "Installed: boost-regex-1.78.0-14.fc38.x86_64", "Installed: libbabeltrace-1.5.11-2.fc38.x86_64", "Installed: bzip2-1.0.8-13.fc38.x86_64", "Installed: libicu-72.1-2.fc38.x86_64", "Installed: libipt-2.0.5-3.fc38.x86_64", "Installed: ctags-6.0.0-1.fc38.x86_64", "Installed: numactl-libs-2.0.16-2.fc38.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Tuesday 10 October 2023 12:17:07 +0000 (0:01:06.477) 0:01:12.603 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: openldap-compat-2.6.6-1.fc38.x86_64", "Installed: openldap-2.6.6-1.fc38.x86_64", "Removed: openldap-2.6.4-1.fc38.x86_64" ] } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Tuesday 10 October 2023 12:17:10 +0000 (0:00:03.106) 0:01:15.710 ******* 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.005318", "end": "2023-10-10 12:17:10.920672", "rc": 0, "start": "2023-10-10 12:17:10.915354" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:230 Tuesday 10 October 2023 12:17:10 +0000 (0:00:00.393) 0:01:16.104 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:234 Tuesday 10 October 2023 12:17:13 +0000 (0:00:02.265) 0:01:18.369 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:243 Tuesday 10 October 2023 12:17:13 +0000 (0:00:00.174) 0:01:18.544 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Tuesday 10 October 2023 12:17:13 +0000 (0:00:00.082) 0:01:18.626 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:279 Tuesday 10 October 2023 12:17:27 +0000 (0:00:13.626) 0:01:32.253 ******* 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 [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Tuesday 10 October 2023 12:17:27 +0000 (0:00:00.070) 0:01:32.324 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-linux-procfs-0.7.1-1.fc38.noarch", "Installed: tuned-profiles-mssql-2.21.0-1.fc38.noarch", "Installed: kernel-tools-6.5.4-200.fc38.x86_64", "Installed: kernel-tools-libs-6.5.4-200.fc38.x86_64", "Installed: virt-what-1.25-2.fc38.x86_64", "Installed: python3-pyudev-0.24.0-2.fc38.noarch", "Installed: hdparm-9.65-1.fc38.x86_64", "Installed: dmidecode-1:3.4-3.fc38.x86_64", "Installed: libtraceevent-1.7.2-1.fc38.x86_64", "Installed: python3-perf-6.5.4-200.fc38.x86_64", "Installed: pciutils-libs-3.9.0-3.fc38.x86_64", "Installed: ethtool-2:6.5-1.fc38.x86_64", "Installed: tuned-2.21.0-1.fc38.noarch" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Tuesday 10 October 2023 12:17:33 +0000 (0:00:06.676) 0:01:39.000 ******* changed: [sut] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice systemd-sysctl.service dbus-broker.service sysinit.target systemd-journald.socket dbus.socket polkit.service network.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service tlp.service cpupower.service shutdown.target auto-cpufreq.service", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "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)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "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 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "29579", "LimitNPROCSoft": "29579", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice dbus-broker.service sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "8873", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:305 Tuesday 10 October 2023 12:17:35 +0000 (0:00:01.778) 0:01:40.778 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.116073", "end": "2023-10-10 12:17:35.963292", "rc": 0, "start": "2023-10-10 12:17:35.847219" } 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:315 Tuesday 10 October 2023 12:17:36 +0000 (0:00:00.354) 0:01:41.133 ******* changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.120026", "end": "2023-10-10 12:17:37.326723", "failed_when_result": false, "rc": 0, "start": "2023-10-10 12:17:36.206697" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:328 Tuesday 10 October 2023 12:17:37 +0000 (0:00:01.369) 0:01:42.502 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:337 Tuesday 10 October 2023 12:17:37 +0000 (0:00:00.050) 0:01:42.552 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Tuesday 10 October 2023 12:17:37 +0000 (0:00:00.054) 0:01:42.607 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Tuesday 10 October 2023 12:17:37 +0000 (0:00:00.264) 0:01:42.871 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: unixODBC-2.3.11-2.fc38.x86_64", "Installed: unixODBC-devel-2.3.11-2.fc38.x86_64", "Installed: mssql-tools-17.10.1.1-1.x86_64", "Installed: msodbcsql17-17.10.4.1-1.x86_64" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Tuesday 10 October 2023 12:17:45 +0000 (0:00:07.249) 0:01:50.121 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:370 Tuesday 10 October 2023 12:17:45 +0000 (0:00:00.048) 0:01:50.169 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Tuesday 10 October 2023 12:17:45 +0000 (0:00:00.048) 0:01:50.218 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:384 Tuesday 10 October 2023 12:17:45 +0000 (0:00:00.102) 0:01:50.320 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:391 Tuesday 10 October 2023 12:17:45 +0000 (0:00:00.065) 0:01:50.385 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Tuesday 10 October 2023 12:17:45 +0000 (0:00:00.059) 0:01:50.444 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:422 Tuesday 10 October 2023 12:17:45 +0000 (0:00:00.070) 0:01:50.515 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:17:45 +0000 (0:00:00.091) 0:01:50.607 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:17:45 +0000 (0:00:00.061) 0:01:50.668 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:17:45 +0000 (0:00:00.067) 0:01:50.736 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:17:26 UTC", "ActiveEnterTimestampMonotonic": "841668550", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice -.mount basic.target sysinit.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:17:26 UTC", "AssertTimestampMonotonic": "841659315", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "8417498000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:17:26 UTC", "ConditionTimestampMonotonic": "841659312", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "6927", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6416", "ExecMainStartTimestamp": "Tue 2023-10-10 12:17:26 UTC", "ExecMainStartTimestampMonotonic": "841668259", "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 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-10-10 12:17:26 UTC", "InactiveExitTimestampMonotonic": "841668550", "InvocationID": "36c9aaa54cdf4324b692b0d61705ce42", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6416", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "716562432", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:17:26 UTC", "StateChangeTimestampMonotonic": "841668550", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "179", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:17:46 +0000 (0:00:00.604) 0:01:51.340 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 17164, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:18:01 +0000 (0:00:15.386) 0:02:06.726 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Tuesday 10 October 2023 12:18:01 +0000 (0:00:00.119) 0:02:06.845 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:17:26 UTC", "ActiveEnterTimestampMonotonic": "841668550", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice -.mount basic.target sysinit.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:17:26 UTC", "AssertTimestampMonotonic": "841659315", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "8528963000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:17:26 UTC", "ConditionTimestampMonotonic": "841659312", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "6927", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6416", "ExecMainStartTimestamp": "Tue 2023-10-10 12:17:26 UTC", "ExecMainStartTimestampMonotonic": "841668259", "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 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-10-10 12:17:26 UTC", "InactiveExitTimestampMonotonic": "841668550", "InvocationID": "36c9aaa54cdf4324b692b0d61705ce42", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6416", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "716546048", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:17:26 UTC", "StateChangeTimestampMonotonic": "841668550", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "177", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Tuesday 10 October 2023 12:18:02 +0000 (0:00:00.565) 0:02:07.410 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.003762", "end": "2023-10-10 12:18:03.482840", "failed_when_result": false, "rc": 1, "start": "2023-10-10 12:18:02.479078" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Tuesday 10 October 2023 12:18:03 +0000 (0:00:01.250) 0:02:08.661 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003142", "end": "2023-10-10 12:18:03.730708", "failed_when_result": false, "rc": 1, "start": "2023-10-10 12:18:03.727566" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Tuesday 10 October 2023 12:18:03 +0000 (0:00:00.276) 0:02:08.938 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:18:03 +0000 (0:00:00.058) 0:02:08.997 ******* included: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:18:04 +0000 (0:00:00.119) 0:02:09.117 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ExampleDB1.sql_clm7ist_.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:18:04 +0000 (0:00:00.321) 0:02:09.438 ******* ok: [sut] => { "changed": false, "checksum": "01e12e2023db8e40fe4ae7ef2965811c47e20292", "dest": "/tmp/create_ExampleDB1.sql_clm7ist_.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-1696940284.3708794-4131-25882609296650/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Generate the template on the host for create_ExampleDB1.sql] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:18:05 +0000 (0:00:00.816) 0:02:10.255 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:18:05 +0000 (0:00:00.048) 0:02:10.303 ******* 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 : Print file location and output from inputting create_ExampleDB1.sql] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:18:06 +0000 (0:00:01.606) 0:02:11.910 ******* ok: [sut] => (item=/tmp/create_ExampleDB1.sql_clm7ist_.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ExampleDB1.sql_clm7ist_.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:18:06 +0000 (0:00:00.132) 0:02:12.042 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:18:06 +0000 (0:00:00.050) 0:02:12.092 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ExampleDB2.sql_a719hdnl.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:18:07 +0000 (0:00:00.231) 0:02:12.323 ******* ok: [sut] => { "changed": false, "checksum": "5624bc46f989692960b2c67c7923fbbe7db78185", "dest": "/tmp/create_ExampleDB2.sql_a719hdnl.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-1696940287.2569072-4153-238500206587932/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Generate the template on the host for create_ExampleDB2.sql] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:18:07 +0000 (0:00:00.617) 0:02:12.941 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:18:07 +0000 (0:00:00.072) 0:02:13.014 ******* 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 : Print file location and output from inputting create_ExampleDB2.sql] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:18:10 +0000 (0:00:02.742) 0:02:15.756 ******* ok: [sut] => (item=/tmp/create_ExampleDB2.sql_a719hdnl.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ExampleDB2.sql_a719hdnl.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:18:10 +0000 (0:00:00.092) 0:02:15.849 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:18:10 +0000 (0:00:00.118) 0:02:15.967 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Tuesday 10 October 2023 12:18:10 +0000 (0:00:00.079) 0:02:16.047 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Tuesday 10 October 2023 12:18:10 +0000 (0:00:00.055) 0:02:16.103 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:461 Tuesday 10 October 2023 12:18:11 +0000 (0:00:00.083) 0:02:16.186 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:468 Tuesday 10 October 2023 12:18:11 +0000 (0:00:00.063) 0:02:16.250 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:475 Tuesday 10 October 2023 12:18:11 +0000 (0:00:00.058) 0:02:16.308 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:495 Tuesday 10 October 2023 12:18:11 +0000 (0:00:00.075) 0:02:16.383 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:502 Tuesday 10 October 2023 12:18:11 +0000 (0:00:00.056) 0:02:16.440 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004272", "end": "2023-10-10 12:18:12.548395", "failed_when_result": false, "rc": 1, "start": "2023-10-10 12:18:11.544123" } MSG: non-zero return code TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:509 Tuesday 10 October 2023 12:18:12 +0000 (0:00:01.334) 0:02:17.774 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 10 October 2023 12:18:12 +0000 (0:00:00.176) 0:02:17.951 ******* included: /WORKDIR/git-support-el948rbzg3m/.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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 10 October 2023 12:18:12 +0000 (0:00:00.134) 0:02:18.085 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 10 October 2023 12:18:13 +0000 (0:00:00.068) 0:02:18.153 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 10 October 2023 12:18:15 +0000 (0:00:02.305) 0:02:20.459 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 10 October 2023 12:18:15 +0000 (0:00:00.064) 0:02:20.524 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 10 October 2023 12:18:15 +0000 (0:00:00.065) 0:02:20.589 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:15:45 UTC", "ActiveEnterTimestampMonotonic": "740630889", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target polkit.service system.slice sysinit.target dbus-broker.service dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:15:44 UTC", "AssertTimestampMonotonic": "739211779", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "605477000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ConditionTimestampMonotonic": "739211776", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ebtables.service shutdown.target nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlGroupId": "6209", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5318", "ExecMainStartTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ExecMainStartTimestampMonotonic": "739225176", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-10-10 12:15:44 UTC", "InactiveExitTimestampMonotonic": "739225454", "InvocationID": "9d8885fe06694e2782404d2bbb7c2636", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "29579", "LimitNPROCSoft": "29579", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5318", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "34795520", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:17:35 UTC", "StateChangeTimestampMonotonic": "850060989", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "8873", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 10 October 2023 12:18:16 +0000 (0:00:00.570) 0:02:21.160 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:15:45 UTC", "ActiveEnterTimestampMonotonic": "740630889", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target polkit.service system.slice sysinit.target dbus-broker.service dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:15:44 UTC", "AssertTimestampMonotonic": "739211779", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "605477000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ConditionTimestampMonotonic": "739211776", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ebtables.service shutdown.target nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlGroupId": "6209", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5318", "ExecMainStartTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ExecMainStartTimestampMonotonic": "739225176", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-10-10 12:15:44 UTC", "InactiveExitTimestampMonotonic": "739225454", "InvocationID": "9d8885fe06694e2782404d2bbb7c2636", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "29579", "LimitNPROCSoft": "29579", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5318", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "34795520", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:17:35 UTC", "StateChangeTimestampMonotonic": "850060989", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "8873", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 10 October 2023 12:18:16 +0000 (0:00:00.579) 0:02:21.739 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 10 October 2023 12:18:16 +0000 (0:00:00.115) 0:02:21.855 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 10 October 2023 12:18:16 +0000 (0:00:00.053) 0:02:21.909 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 10 October 2023 12:18:16 +0000 (0:00:00.052) 0:02:21.962 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Tuesday 10 October 2023 12:18:17 +0000 (0:00:00.537) 0:02:22.499 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Tuesday 10 October 2023 12:18:17 +0000 (0:00:00.095) 0:02:22.595 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Tuesday 10 October 2023 12:18:17 +0000 (0:00:00.078) 0:02:22.673 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Tuesday 10 October 2023 12:18:17 +0000 (0:00:00.078) 0:02:22.751 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Tuesday 10 October 2023 12:18:17 +0000 (0:00:00.055) 0:02:22.807 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Tuesday 10 October 2023 12:18:17 +0000 (0:00:00.056) 0:02:22.864 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Tuesday 10 October 2023 12:18:17 +0000 (0:00:00.050) 0:02:22.914 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:521 Tuesday 10 October 2023 12:18:17 +0000 (0:00:00.065) 0:02:22.980 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 10 October 2023 12:18:17 +0000 (0:00:00.125) 0:02:23.106 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003142", "end": "2023-10-10 12:18:18.196550", "failed_when_result": false, "rc": 1, "start": "2023-10-10 12:18:18.193408" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 10 October 2023 12:18:18 +0000 (0:00:00.265) 0:02:23.371 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.120212", "end": "2023-10-10 12:18:18.569931", "failed_when_result": false, "rc": 0, "start": "2023-10-10 12:18:18.449719" } 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 10 October 2023 12:18:18 +0000 (0:00:00.403) 0:02:23.774 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Tuesday 10 October 2023 12:18:18 +0000 (0:00:00.066) 0:02:23.841 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:547 Tuesday 10 October 2023 12:18:18 +0000 (0:00:00.066) 0:02:23.908 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:554 Tuesday 10 October 2023 12:18:18 +0000 (0:00:00.053) 0:02:23.961 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:561 Tuesday 10 October 2023 12:18:18 +0000 (0:00:00.052) 0:02:24.014 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Tuesday 10 October 2023 12:18:18 +0000 (0:00:00.056) 0:02:24.070 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Tuesday 10 October 2023 12:18:19 +0000 (0:00:00.048) 0:02:24.119 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:583 Tuesday 10 October 2023 12:18:19 +0000 (0:00:00.055) 0:02:24.174 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:591 Tuesday 10 October 2023 12:18:19 +0000 (0:00:00.055) 0:02:24.229 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:597 Tuesday 10 October 2023 12:18:19 +0000 (0:00:00.054) 0:02:24.284 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:615 Tuesday 10 October 2023 12:18:19 +0000 (0:00:00.069) 0:02:24.354 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Tuesday 10 October 2023 12:18:19 +0000 (0:00:00.061) 0:02:24.415 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Tuesday 10 October 2023 12:18:19 +0000 (0:00:00.064) 0:02:24.479 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:652 Tuesday 10 October 2023 12:18:19 +0000 (0:00:00.084) 0:02:24.564 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:661 Tuesday 10 October 2023 12:18:19 +0000 (0:00:00.060) 0:02:24.625 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:670 Tuesday 10 October 2023 12:18:19 +0000 (0:00:00.051) 0:02:24.677 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:677 Tuesday 10 October 2023 12:18:19 +0000 (0:00:00.116) 0:02:24.793 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:686 Tuesday 10 October 2023 12:18:19 +0000 (0:00:00.059) 0:02:24.852 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:694 Tuesday 10 October 2023 12:18:19 +0000 (0:00:00.054) 0:02:24.907 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:702 Tuesday 10 October 2023 12:18:19 +0000 (0:00:00.065) 0:02:24.972 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:709 Tuesday 10 October 2023 12:18:19 +0000 (0:00:00.063) 0:02:25.036 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:716 Tuesday 10 October 2023 12:18:19 +0000 (0:00:00.065) 0:02:25.102 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:725 Tuesday 10 October 2023 12:18:20 +0000 (0:00:00.070) 0:02:25.173 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Tuesday 10 October 2023 12:18:20 +0000 (0:00:00.055) 0:02:25.228 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Tuesday 10 October 2023 12:18:20 +0000 (0:00:00.063) 0:02:25.291 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:759 Tuesday 10 October 2023 12:18:20 +0000 (0:00:00.061) 0:02:25.352 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:764 Tuesday 10 October 2023 12:18:20 +0000 (0:00:00.057) 0:02:25.410 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:781 Tuesday 10 October 2023 12:18:20 +0000 (0:00:00.052) 0:02:25.463 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Tuesday 10 October 2023 12:18:20 +0000 (0:00:00.064) 0:02:25.528 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:791 Tuesday 10 October 2023 12:18:20 +0000 (0:00:00.053) 0:02:25.582 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:797 Tuesday 10 October 2023 12:18:20 +0000 (0:00:00.055) 0:02:25.638 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:823 Tuesday 10 October 2023 12:18:20 +0000 (0:00:00.063) 0:02:25.701 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Tuesday 10 October 2023 12:18:20 +0000 (0:00:00.061) 0:02:25.763 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:852 Tuesday 10 October 2023 12:18:20 +0000 (0:00:00.142) 0:02:25.905 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:862 Tuesday 10 October 2023 12:18:20 +0000 (0:00:00.057) 0:02:25.963 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Tuesday 10 October 2023 12:18:20 +0000 (0:00:00.089) 0:02:26.053 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:885 Tuesday 10 October 2023 12:18:21 +0000 (0:00:00.080) 0:02:26.133 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Tuesday 10 October 2023 12:18:21 +0000 (0:00:00.117) 0:02:26.251 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 10 October 2023 12:18:21 +0000 (0:00:00.124) 0:02:26.376 ******* included: /WORKDIR/git-support-el948rbzg3m/.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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 10 October 2023 12:18:21 +0000 (0:00:00.097) 0:02:26.473 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 10 October 2023 12:18:21 +0000 (0:00:00.076) 0:02:26.550 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 10 October 2023 12:18:23 +0000 (0:00:02.388) 0:02:28.938 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 10 October 2023 12:18:23 +0000 (0:00:00.072) 0:02:29.011 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 10 October 2023 12:18:23 +0000 (0:00:00.086) 0:02:29.097 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:15:45 UTC", "ActiveEnterTimestampMonotonic": "740630889", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target polkit.service system.slice sysinit.target dbus-broker.service dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:15:44 UTC", "AssertTimestampMonotonic": "739211779", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "682324000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ConditionTimestampMonotonic": "739211776", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ebtables.service shutdown.target nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlGroupId": "6209", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5318", "ExecMainStartTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ExecMainStartTimestampMonotonic": "739225176", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-10-10 12:15:44 UTC", "InactiveExitTimestampMonotonic": "739225454", "InvocationID": "9d8885fe06694e2782404d2bbb7c2636", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "29579", "LimitNPROCSoft": "29579", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5318", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "34811904", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:17:35 UTC", "StateChangeTimestampMonotonic": "850060989", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "8873", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 10 October 2023 12:18:24 +0000 (0:00:00.650) 0:02:29.747 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:15:45 UTC", "ActiveEnterTimestampMonotonic": "740630889", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target polkit.service system.slice sysinit.target dbus-broker.service dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:15:44 UTC", "AssertTimestampMonotonic": "739211779", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "682324000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ConditionTimestampMonotonic": "739211776", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ebtables.service shutdown.target nftables.service ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlGroupId": "6209", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5318", "ExecMainStartTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ExecMainStartTimestampMonotonic": "739225176", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-10-10 12:15:44 UTC", "InactiveExitTimestampMonotonic": "739225454", "InvocationID": "9d8885fe06694e2782404d2bbb7c2636", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "29579", "LimitNPROCSoft": "29579", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5318", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "34811904", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:17:35 UTC", "StateChangeTimestampMonotonic": "850060989", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "8873", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 10 October 2023 12:18:25 +0000 (0:00:00.623) 0:02:30.371 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 10 October 2023 12:18:25 +0000 (0:00:00.076) 0:02:30.447 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 10 October 2023 12:18:25 +0000 (0:00:00.069) 0:02:30.517 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 10 October 2023 12:18:25 +0000 (0:00:00.066) 0:02:30.583 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Tuesday 10 October 2023 12:18:26 +0000 (0:00:00.825) 0:02:31.408 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Tuesday 10 October 2023 12:18:26 +0000 (0:00:00.084) 0:02:31.493 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Tuesday 10 October 2023 12:18:26 +0000 (0:00:00.136) 0:02:31.630 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Tuesday 10 October 2023 12:18:26 +0000 (0:00:00.056) 0:02:31.686 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Tuesday 10 October 2023 12:18:26 +0000 (0:00:00.076) 0:02:31.763 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Tuesday 10 October 2023 12:18:26 +0000 (0:00:00.082) 0:02:31.846 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Tuesday 10 October 2023 12:18:26 +0000 (0:00:00.080) 0:02:31.926 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Tuesday 10 October 2023 12:18:26 +0000 (0:00:00.077) 0:02:32.004 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:974 Tuesday 10 October 2023 12:18:26 +0000 (0:00:00.100) 0:02:32.104 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: resource-agents-4.12.0-1.fc38.x86_64", "Installed: device-mapper-persistent-data-0.9.0-10.fc38.x86_64", "Installed: mssql-server-ha-16.0.4075.1-1_preview.x86_64", "Installed: lvm2-2.03.18-2.fc38.x86_64", "Installed: lvm2-libs-2.03.18-2.fc38.x86_64", "Installed: device-mapper-event-1.02.189-2.fc38.x86_64", "Installed: device-mapper-event-libs-1.02.189-2.fc38.x86_64", "Installed: libaio-0.3.111-15.fc38.x86_64" ] } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:980 Tuesday 10 October 2023 12:18:33 +0000 (0:00:06.744) 0:02:38.849 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 10 October 2023 12:18:33 +0000 (0:00:00.134) 0:02:38.983 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004422", "end": "2023-10-10 12:18:35.062685", "failed_when_result": false, "rc": 1, "start": "2023-10-10 12:18:34.058263" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting hadr hadrenabled] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 10 October 2023 12:18:35 +0000 (0:00:01.253) 0:02:40.237 ******* 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.119013", "end": "2023-10-10 12:18:35.440868", "failed_when_result": false, "rc": 0, "start": "2023-10-10 12:18:35.321855" } 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 10 October 2023 12:18:35 +0000 (0:00:00.406) 0:02:40.643 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:987 Tuesday 10 October 2023 12:18:35 +0000 (0:00:00.060) 0:02:40.704 ******* changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:17:26 UTC", "ActiveEnterTimestampMonotonic": "841668550", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:17:26 UTC", "AssertTimestampMonotonic": "841659315", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "9449227000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:17:26 UTC", "ConditionTimestampMonotonic": "841659312", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "6927", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6416", "ExecMainStartTimestamp": "Tue 2023-10-10 12:17:26 UTC", "ExecMainStartTimestampMonotonic": "841668259", "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 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-10-10 12:17:26 UTC", "InactiveExitTimestampMonotonic": "841668550", "InvocationID": "36c9aaa54cdf4324b692b0d61705ce42", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6416", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "743440384", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:17:26 UTC", "StateChangeTimestampMonotonic": "841668550", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "176", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:998 Tuesday 10 October 2023 12:18:36 +0000 (0:00:00.933) 0:02:41.638 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1004 Tuesday 10 October 2023 12:18:36 +0000 (0:00:00.062) 0:02:41.701 ******* 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 : Get mssql-server ver to see if WRITE_LEASE_VALIDITY is available] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1014 Tuesday 10 October 2023 12:18:36 +0000 (0:00:00.081) 0:02:41.783 ******* 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 : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1019 Tuesday 10 October 2023 12:18:37 +0000 (0:00:01.277) 0:02:43.060 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:18:38 +0000 (0:00:00.203) 0:02:43.264 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:18:38 +0000 (0:00:00.079) 0:02:43.343 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:18:38 +0000 (0:00:00.095) 0:02:43.438 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:18:36 UTC", "ActiveEnterTimestampMonotonic": "911434629", "ActiveExitTimestamp": "Tue 2023-10-10 12:18:36 UTC", "ActiveExitTimestampMonotonic": "911105602", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:18:36 UTC", "AssertTimestampMonotonic": "911428642", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "3030849000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:18:36 UTC", "ConditionTimestampMonotonic": "911428639", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8011", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8040", "ExecMainStartTimestamp": "Tue 2023-10-10 12:18:36 UTC", "ExecMainStartTimestampMonotonic": "911434211", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:18:36 UTC] ; stop_time=[n/a] ; pid=8040 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:18:36 UTC] ; stop_time=[n/a] ; pid=8040 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:18:36 UTC", "InactiveEnterTimestampMonotonic": "911417592", "InactiveExitTimestamp": "Tue 2023-10-10 12:18:36 UTC", "InactiveExitTimestampMonotonic": "911434629", "InvocationID": "6a8c89e174554232b7a03f2218973e4a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8040", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "480563200", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:18:36 UTC", "StateChangeTimestampMonotonic": "911434629", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "120", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:18:39 +0000 (0:00:00.826) 0:02:44.264 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 18253, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:18:54 +0000 (0:00:15.315) 0:02:59.580 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:18:54 +0000 (0:00:00.134) 0:02:59.714 ******* included: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:18:54 +0000 (0:00:00.250) 0:02:59.964 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_maa9od14.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:18:55 +0000 (0:00:00.262) 0:03:00.226 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:18:55 +0000 (0:00:00.076) 0:03:00.303 ******* ok: [sut] => { "changed": false, "checksum": "05c862c74a8be17fed5c679d32e847c0e5dc8b65", "dest": "/tmp/create_master_key_encryption.j2_maa9od14.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-1696940335.2448406-4502-148891403550574/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:18:55 +0000 (0:00:00.670) 0:03:00.973 ******* 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 : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:18:56 +0000 (0:00:00.343) 0:03:01.317 ******* ok: [sut] => (item=/tmp/create_master_key_encryption.j2_maa9od14.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_maa9od14.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:18:56 +0000 (0:00:00.185) 0:03:01.503 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:18:56 +0000 (0:00:00.078) 0:03:01.581 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_irj0uq7c.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:18:56 +0000 (0:00:00.255) 0:03:01.836 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:18:56 +0000 (0:00:00.059) 0:03:01.895 ******* ok: [sut] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_irj0uq7c.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-1696940336.8346374-4534-123275094534722/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:18:57 +0000 (0:00:00.715) 0:03:02.611 ******* 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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:18:58 +0000 (0:00:00.916) 0:03:03.528 ******* ok: [sut] => (item=/tmp/create_and_back_up_cert.j2_irj0uq7c.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_irj0uq7c.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:18:58 +0000 (0:00:00.137) 0:03:03.665 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:18:58 +0000 (0:00:00.074) 0:03:03.739 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/enable_alwayson.j2_70ly7jrc.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:18:58 +0000 (0:00:00.274) 0:03:04.014 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:18:58 +0000 (0:00:00.060) 0:03:04.074 ******* ok: [sut] => { "changed": false, "checksum": "03ec6bf3183af4d6b2edb5c98049edf7e3bdfdf1", "dest": "/tmp/enable_alwayson.j2_70ly7jrc.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-1696940339.0141945-4612-26375371260711/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command enable_alwayson.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:18:59 +0000 (0:00:00.680) 0:03:04.755 ******* 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 : Print file location and output from inputting enable_alwayson.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:18:59 +0000 (0:00:00.351) 0:03:05.106 ******* ok: [sut] => (item=/tmp/enable_alwayson.j2_70ly7jrc.sql) => { "__mssql_sqlcmd_loop": "/tmp/enable_alwayson.j2_70ly7jrc.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:19:00 +0000 (0:00:00.118) 0:03:05.225 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:19:00 +0000 (0:00:00.099) 0:03:05.325 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_endpoint.j2_v_kz7j5n.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:19:00 +0000 (0:00:00.288) 0:03:05.614 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:19:00 +0000 (0:00:00.071) 0:03:05.686 ******* ok: [sut] => { "changed": false, "checksum": "bb736eb4adb5d35d772b76e1c3bb19c6b040a59c", "dest": "/tmp/configure_endpoint.j2_v_kz7j5n.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-1696940340.629237-4684-225355137589769/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_endpoint.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:19:01 +0000 (0:00:00.647) 0:03:06.333 ******* 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 : Print file location and output from inputting configure_endpoint.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:19:03 +0000 (0:00:02.382) 0:03:08.716 ******* ok: [sut] => (item=/tmp/configure_endpoint.j2_v_kz7j5n.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_endpoint.j2_v_kz7j5n.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:19:03 +0000 (0:00:00.150) 0:03:08.866 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create a tempfile on the host for create_ha_login.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:19:03 +0000 (0:00:00.073) 0:03:08.939 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ha_login.j2_9l1_zw97.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:19:04 +0000 (0:00:00.275) 0:03:09.215 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:19:04 +0000 (0:00:00.092) 0:03:09.307 ******* ok: [sut] => { "changed": false, "checksum": "60abdf14dd202c9c8125f431a288b3d2e580542b", "dest": "/tmp/create_ha_login.j2_9l1_zw97.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-1696940344.250525-4740-134699588885911/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_ha_login.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:19:04 +0000 (0:00:00.678) 0:03:09.986 ******* 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 : Print file location and output from inputting create_ha_login.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:19:05 +0000 (0:00:00.366) 0:03:10.352 ******* ok: [sut] => (item=/tmp/create_ha_login.j2_9l1_zw97.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ha_login.j2_9l1_zw97.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:19:05 +0000 (0:00:00.136) 0:03:10.489 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:19:05 +0000 (0:00:00.073) 0:03:10.562 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1030 Tuesday 10 October 2023 12:19:05 +0000 (0:00:00.105) 0:03:10.668 ******* ok: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/ExampleCert.cer'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "507843f6b23371113a40312c5ce6c541897bbd3e", "dest": "/WORKDIR/git-support-el948rbzg3m/tests/cert", "item": { "key": "cert", "value": "/var/opt/mssql/data/ExampleCert.cer" }, "md5sum": "297da2ad8b13e28ebcab2bb3dd19e296", "remote_checksum": "507843f6b23371113a40312c5ce6c541897bbd3e", "remote_md5sum": null } ok: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/ExampleCert.pvk'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "f8b78975a5402c4674c2eb734d1c208515d667a9", "dest": "/WORKDIR/git-support-el948rbzg3m/tests/key", "item": { "key": "key", "value": "/var/opt/mssql/data/ExampleCert.pvk" }, "md5sum": "6ecc8720d4eb881c5f13cf6de1116b48", "remote_checksum": "f8b78975a5402c4674c2eb734d1c208515d667a9", "remote_md5sum": null } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1045 Tuesday 10 October 2023 12:19:06 +0000 (0:00:00.635) 0:03:11.303 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:19:06 +0000 (0:00:00.106) 0:03:11.409 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:19:06 +0000 (0:00:00.068) 0:03:11.477 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:19:06 +0000 (0:00:00.080) 0:03:11.558 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:18:36 UTC", "ActiveEnterTimestampMonotonic": "911434629", "ActiveExitTimestamp": "Tue 2023-10-10 12:18:36 UTC", "ActiveExitTimestampMonotonic": "911105602", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:18:36 UTC", "AssertTimestampMonotonic": "911428642", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "9179386000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:18:36 UTC", "ConditionTimestampMonotonic": "911428639", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8011", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8040", "ExecMainStartTimestamp": "Tue 2023-10-10 12:18:36 UTC", "ExecMainStartTimestampMonotonic": "911434211", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:18:36 UTC] ; stop_time=[n/a] ; pid=8040 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:18:36 UTC] ; stop_time=[n/a] ; pid=8040 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:18:36 UTC", "InactiveEnterTimestampMonotonic": "911417592", "InactiveExitTimestamp": "Tue 2023-10-10 12:18:36 UTC", "InactiveExitTimestampMonotonic": "911434629", "InvocationID": "6a8c89e174554232b7a03f2218973e4a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8040", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "752058368", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:18:36 UTC", "StateChangeTimestampMonotonic": "911434629", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "178", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:19:07 +0000 (0:00:00.651) 0:03:12.210 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 19084, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:19:22 +0000 (0:00:15.279) 0:03:27.489 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:19:22 +0000 (0:00:00.178) 0:03:27.668 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:19:22 +0000 (0:00:00.109) 0:03:27.777 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ha_is_primary.sql_tnllia42.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:19:22 +0000 (0:00:00.260) 0:03:28.038 ******* ok: [sut] => { "changed": false, "checksum": "23665eada2d9e2de69ca8f560afa21cba1da5eb4", "dest": "/tmp/ha_is_primary.sql_tnllia42.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-1696940362.9868193-4944-206882866130640/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:19:23 +0000 (0:00:00.786) 0:03:28.825 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:19:23 +0000 (0:00:00.072) 0:03:28.897 ******* 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 : Print file location and output from inputting ha_is_primary.sql] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:19:24 +0000 (0:00:00.373) 0:03:29.270 ******* ok: [sut] => (item=/tmp/ha_is_primary.sql_tnllia42.sql) => { "__mssql_sqlcmd_loop": "/tmp/ha_is_primary.sql_tnllia42.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:19:24 +0000 (0:00:00.102) 0:03:29.373 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:19:24 +0000 (0:00:00.064) 0:03:29.437 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1052 Tuesday 10 October 2023 12:19:24 +0000 (0:00:00.056) 0:03:29.494 ******* ok: [sut] => { "ansible_facts": { "__mssql_ha_is_primary": true }, "changed": false } TASK [linux-system-roles.mssql : Configure ag, grant permissions to login, replicate DBs] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1077 Tuesday 10 October 2023 12:19:24 +0000 (0:00:00.125) 0:03:29.620 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:19:24 +0000 (0:00:00.149) 0:03:29.770 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:19:24 +0000 (0:00:00.133) 0:03:29.904 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:19:24 +0000 (0:00:00.076) 0:03:29.981 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:18:36 UTC", "ActiveEnterTimestampMonotonic": "911434629", "ActiveExitTimestamp": "Tue 2023-10-10 12:18:36 UTC", "ActiveExitTimestampMonotonic": "911105602", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:18:36 UTC", "AssertTimestampMonotonic": "911428642", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "9400020000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:18:36 UTC", "ConditionTimestampMonotonic": "911428639", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8011", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8040", "ExecMainStartTimestamp": "Tue 2023-10-10 12:18:36 UTC", "ExecMainStartTimestampMonotonic": "911434211", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:18:36 UTC] ; stop_time=[n/a] ; pid=8040 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:18:36 UTC] ; stop_time=[n/a] ; pid=8040 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:18:36 UTC", "InactiveEnterTimestampMonotonic": "911417592", "InactiveExitTimestamp": "Tue 2023-10-10 12:18:36 UTC", "InactiveExitTimestampMonotonic": "911434629", "InvocationID": "6a8c89e174554232b7a03f2218973e4a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8040", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "759222272", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:18:36 UTC", "StateChangeTimestampMonotonic": "911434629", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "181", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:19:25 +0000 (0:00:00.633) 0:03:30.614 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 19084, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:19:40 +0000 (0:00:15.282) 0:03:45.897 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:19:40 +0000 (0:00:00.052) 0:03:45.949 ******* included: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:19:40 +0000 (0:00:00.136) 0:03:46.086 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag.j2_de_uudvo.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:19:41 +0000 (0:00:00.260) 0:03:46.347 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:19:41 +0000 (0:00:00.066) 0:03:46.413 ******* ok: [sut] => { "changed": false, "checksum": "24ceaa1901420efcd69442724ea5d39aa81f268d", "dest": "/tmp/configure_ag.j2_de_uudvo.sql", "gid": 0, "group": "root", "md5sum": "0dc28eb0691e704e3f14b9e62790ebfc", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 12005, "src": "/root/.ansible/tmp/ansible-tmp-1696940381.3461444-5210-168084719504539/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_ag.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:19:47 +0000 (0:00:05.826) 0:03:52.240 ******* 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 : Print file location and output from inputting configure_ag.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:19:47 +0000 (0:00:00.595) 0:03:52.835 ******* ok: [sut] => (item=/tmp/configure_ag.j2_de_uudvo.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag.j2_de_uudvo.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:19:47 +0000 (0:00:00.208) 0:03:53.044 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create a tempfile on the host for grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:19:47 +0000 (0:00:00.060) 0:03:53.105 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/grant_permissions_to_ha_login.j2_ke67j1dy.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:19:48 +0000 (0:00:00.302) 0:03:53.407 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:19:48 +0000 (0:00:00.058) 0:03:53.466 ******* ok: [sut] => { "changed": false, "checksum": "2cb9b9d454a2a6bc54631cb0f4aa1adedb6d56ab", "dest": "/tmp/grant_permissions_to_ha_login.j2_ke67j1dy.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-1696940388.4030762-5362-183140899743330/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:19:48 +0000 (0:00:00.636) 0:03:54.102 ******* 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 : Print file location and output from inputting grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:19:49 +0000 (0:00:00.325) 0:03:54.428 ******* ok: [sut] => (item=/tmp/grant_permissions_to_ha_login.j2_ke67j1dy.sql) => { "__mssql_sqlcmd_loop": "/tmp/grant_permissions_to_ha_login.j2_ke67j1dy.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:19:49 +0000 (0:00:00.100) 0:03:54.528 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create a tempfile on the host for replicate_db.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:19:49 +0000 (0:00:00.062) 0:03:54.591 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/replicate_db.j2_e2k46e9n.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:19:49 +0000 (0:00:00.252) 0:03:54.843 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:19:49 +0000 (0:00:00.054) 0:03:54.898 ******* ok: [sut] => { "changed": false, "checksum": "31f3afd712f14ebd9937c978467b374db210c0f8", "dest": "/tmp/replicate_db.j2_e2k46e9n.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-1696940389.833393-5387-95541567646271/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command replicate_db.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:19:50 +0000 (0:00:00.655) 0:03:55.553 ******* 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 : Print file location and output from inputting replicate_db.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:19:52 +0000 (0:00:01.655) 0:03:57.209 ******* ok: [sut] => (item=/tmp/replicate_db.j2_e2k46e9n.sql) => { "__mssql_sqlcmd_loop": "/tmp/replicate_db.j2_e2k46e9n.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.331 seconds (9.256 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.578 seconds (5.300 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.331 seconds (9.256 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.578 seconds (5.300 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:19:52 +0000 (0:00:00.093) 0:03:57.303 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:19:52 +0000 (0:00:00.074) 0:03:57.377 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to ha login] **************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Tuesday 10 October 2023 12:19:52 +0000 (0:00:00.068) 0:03:57.445 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1102 Tuesday 10 October 2023 12:19:52 +0000 (0:00:00.064) 0:03:57.510 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1115 Tuesday 10 October 2023 12:19:52 +0000 (0:00:00.055) 0:03:57.566 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1121 Tuesday 10 October 2023 12:19:52 +0000 (0:00:00.060) 0:03:57.626 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1128 Tuesday 10 October 2023 12:19:52 +0000 (0:00:00.064) 0:03:57.691 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1137 Tuesday 10 October 2023 12:19:52 +0000 (0:00:00.067) 0:03:57.758 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Tuesday 10 October 2023 12:19:52 +0000 (0:00:00.062) 0:03:57.821 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1156 Tuesday 10 October 2023 12:19:52 +0000 (0:00:00.071) 0:03:57.893 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Tuesday 10 October 2023 12:19:52 +0000 (0:00:00.081) 0:03:57.974 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1182 Tuesday 10 October 2023 12:19:52 +0000 (0:00:00.067) 0:03:58.042 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1194 Tuesday 10 October 2023 12:19:52 +0000 (0:00:00.055) 0:03:58.098 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1200 Tuesday 10 October 2023 12:19:53 +0000 (0:00:00.141) 0:03:58.239 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Tuesday 10 October 2023 12:19:53 +0000 (0:00:00.070) 0:03:58.309 ******* changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Tuesday 10 October 2023 12:19:53 +0000 (0:00:00.408) 0:03:58.718 ******* changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:18:36 UTC", "ActiveEnterTimestampMonotonic": "911434629", "ActiveExitTimestamp": "Tue 2023-10-10 12:18:36 UTC", "ActiveExitTimestampMonotonic": "911105602", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:18:36 UTC", "AssertTimestampMonotonic": "911428642", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "10253545000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:18:36 UTC", "ConditionTimestampMonotonic": "911428639", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8011", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8040", "ExecMainStartTimestamp": "Tue 2023-10-10 12:18:36 UTC", "ExecMainStartTimestampMonotonic": "911434211", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:18:36 UTC] ; stop_time=[n/a] ; pid=8040 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:18:36 UTC] ; stop_time=[n/a] ; pid=8040 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:18:36 UTC", "InactiveEnterTimestampMonotonic": "911417592", "InactiveExitTimestamp": "Tue 2023-10-10 12:18:36 UTC", "InactiveExitTimestampMonotonic": "911434629", "InvocationID": "6a8c89e174554232b7a03f2218973e4a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8040", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "781549568", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:18:36 UTC", "StateChangeTimestampMonotonic": "911434629", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "179", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1222 Tuesday 10 October 2023 12:19:54 +0000 (0:00:01.156) 0:03:59.874 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Tuesday 10 October 2023 12:19:54 +0000 (0:00:00.054) 0:03:59.929 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up test environment for the ha_cluster role] ************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:165 Tuesday 10 October 2023 12:19:54 +0000 (0:00:00.060) 0:03:59.989 ******* TASK [fedora.linux_system_roles.ha_cluster : Set node name to 'localhost' for single-node clusters] *** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 Tuesday 10 October 2023 12:19:55 +0000 (0:00:00.263) 0:04:00.252 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14 Tuesday 10 October 2023 12:19:55 +0000 (0:00:00.077) 0:04:00.330 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Do not try to enable RHEL repositories] *** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:20 Tuesday 10 October 2023 12:19:55 +0000 (0:00:00.075) 0:04:00.406 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run on all hosts to configure HA cluster] ******************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:170 Tuesday 10 October 2023 12:19:55 +0000 (0:00:00.142) 0:04:00.548 ******* TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 10 October 2023 12:19:55 +0000 (0:00:00.408) 0:04:00.957 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 10 October 2023 12:19:55 +0000 (0:00:00.110) 0:04:01.068 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Tuesday 10 October 2023 12:19:56 +0000 (0:00:00.078) 0:04:01.146 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-preview/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 10 October 2023 12:19:56 +0000 (0:00:00.091) 0:04:01.238 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 10 October 2023 12:19:56 +0000 (0:00:00.060) 0:04:01.298 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 10 October 2023 12:19:56 +0000 (0:00:00.055) 0:04:01.354 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 10 October 2023 12:19:56 +0000 (0:00:00.066) 0:04:01.421 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 10 October 2023 12:19:56 +0000 (0:00:00.154) 0:04:01.575 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Tuesday 10 October 2023 12:19:56 +0000 (0:00:00.075) 0:04:01.650 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Tuesday 10 October 2023 12:19:56 +0000 (0:00:00.058) 0:04:01.709 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Tuesday 10 October 2023 12:19:56 +0000 (0:00:00.062) 0:04:01.771 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Tuesday 10 October 2023 12:19:56 +0000 (0:00:00.071) 0:04:01.843 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Tuesday 10 October 2023 12:19:56 +0000 (0:00:00.070) 0:04:01.914 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Tuesday 10 October 2023 12:19:56 +0000 (0:00:00.079) 0:04:01.993 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 10 October 2023 12:19:57 +0000 (0:00:00.148) 0:04:02.142 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:102 Tuesday 10 October 2023 12:19:58 +0000 (0:00:01.179) 0:04:03.322 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 10 October 2023 12:19:58 +0000 (0:00:00.165) 0:04:03.487 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Tuesday 10 October 2023 12:19:58 +0000 (0:00:00.144) 0:04:03.632 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that version 2022 is not used with RHEL 7] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:125 Tuesday 10 October 2023 12:19:58 +0000 (0:00:00.068) 0:04:03.700 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Tuesday 10 October 2023 12:19:58 +0000 (0:00:00.076) 0:04:03.776 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:149 Tuesday 10 October 2023 12:19:58 +0000 (0:00:00.115) 0:04:03.892 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:160 Tuesday 10 October 2023 12:19:59 +0000 (0:00:00.629) 0:04:04.522 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:170 Tuesday 10 October 2023 12:19:59 +0000 (0:00:00.073) 0:04:04.596 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:181 Tuesday 10 October 2023 12:19:59 +0000 (0:00:00.070) 0:04:04.667 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Tuesday 10 October 2023 12:19:59 +0000 (0:00:00.065) 0:04:04.733 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:199 Tuesday 10 October 2023 12:19:59 +0000 (0:00:00.067) 0:04:04.800 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Tuesday 10 October 2023 12:20:02 +0000 (0:00:02.741) 0:04:07.542 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Tuesday 10 October 2023 12:20:04 +0000 (0:00:02.292) 0:04:09.835 ******* 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.005448", "end": "2023-10-10 12:20:04.952868", "rc": 0, "start": "2023-10-10 12:20:04.947420" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:230 Tuesday 10 October 2023 12:20:05 +0000 (0:00:00.296) 0:04:10.131 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:234 Tuesday 10 October 2023 12:20:07 +0000 (0:00:02.117) 0:04:12.248 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:243 Tuesday 10 October 2023 12:20:07 +0000 (0:00:00.087) 0:04:12.336 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Tuesday 10 October 2023 12:20:07 +0000 (0:00:00.091) 0:04:12.427 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:279 Tuesday 10 October 2023 12:20:07 +0000 (0:00:00.068) 0:04:12.495 ******* 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 [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Tuesday 10 October 2023 12:20:07 +0000 (0:00:00.126) 0:04:12.622 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Tuesday 10 October 2023 12:20:09 +0000 (0:00:02.297) 0:04:14.919 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:17:35 UTC", "ActiveEnterTimestampMonotonic": "850581114", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target dbus-broker.service system.slice polkit.service systemd-journald.socket systemd-sysctl.service network.target dbus.socket basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:17:35 UTC", "AssertTimestampMonotonic": "850068817", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1102064000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:17:35 UTC", "ConditionTimestampMonotonic": "850068813", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service auto-cpufreq.service tlp.service power-profiles-daemon.service", "ControlGroup": "/system.slice/tuned.service", "ControlGroupId": "7269", "ControlPID": "0", "CoredumpFilter": "0x33", "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)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6815", "ExecMainStartTimestamp": "Tue 2023-10-10 12:17:35 UTC", "ExecMainStartTimestampMonotonic": "850302199", "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 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-10-10 12:17:35 UTC", "InactiveExitTimestampMonotonic": "850302667", "InvocationID": "5b211bb8924942ab9d7d4bee0b32d91e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "29579", "LimitNPROCSoft": "29579", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6815", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17211392", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus-broker.service dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:18:33 UTC", "StateChangeTimestampMonotonic": "908266650", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "8873", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:305 Tuesday 10 October 2023 12:20:10 +0000 (0:00:00.628) 0:04:15.548 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.109699", "end": "2023-10-10 12:20:10.733586", "rc": 0, "start": "2023-10-10 12:20:10.623887" } 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:315 Tuesday 10 October 2023 12:20:10 +0000 (0:00:00.368) 0:04:15.916 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:328 Tuesday 10 October 2023 12:20:10 +0000 (0:00:00.067) 0:04:15.984 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:337 Tuesday 10 October 2023 12:20:10 +0000 (0:00:00.078) 0:04:16.063 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Tuesday 10 October 2023 12:20:11 +0000 (0:00:00.080) 0:04:16.143 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Tuesday 10 October 2023 12:20:11 +0000 (0:00:00.294) 0:04:16.437 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Tuesday 10 October 2023 12:20:13 +0000 (0:00:02.323) 0:04:18.761 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Tuesday 10 October 2023 12:20:13 +0000 (0:00:00.198) 0:04:18.959 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "10585813000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "753889280", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "184", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Tuesday 10 October 2023 12:20:14 +0000 (0:00:00.605) 0:04:19.564 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003346", "end": "2023-10-10 12:20:14.642651", "failed_when_result": false, "rc": 1, "start": "2023-10-10 12:20:14.639305" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Tuesday 10 October 2023 12:20:14 +0000 (0:00:00.277) 0:04:19.842 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003159", "end": "2023-10-10 12:20:14.919444", "failed_when_result": false, "rc": 1, "start": "2023-10-10 12:20:14.916285" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Tuesday 10 October 2023 12:20:14 +0000 (0:00:00.258) 0:04:20.101 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:370 Tuesday 10 October 2023 12:20:15 +0000 (0:00:00.086) 0:04:20.187 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 23551, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Tuesday 10 October 2023 12:20:30 +0000 (0:00:15.297) 0:04:35.484 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:384 Tuesday 10 October 2023 12:20:30 +0000 (0:00:00.353) 0:04:35.838 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:391 Tuesday 10 October 2023 12:20:30 +0000 (0:00:00.174) 0:04:36.013 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Tuesday 10 October 2023 12:20:32 +0000 (0:00:01.170) 0:04:37.183 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:422 Tuesday 10 October 2023 12:20:32 +0000 (0:00:00.143) 0:04:37.326 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:20:32 +0000 (0:00:00.188) 0:04:37.515 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:20:32 +0000 (0:00:00.085) 0:04:37.601 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:20:32 +0000 (0:00:00.100) 0:04:37.701 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "10839352000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "760201216", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "183", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:20:33 +0000 (0:00:00.621) 0:04:38.323 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 23551, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:20:48 +0000 (0:00:15.281) 0:04:53.605 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:20:48 +0000 (0:00:00.058) 0:04:53.664 ******* included: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:20:48 +0000 (0:00:00.131) 0:04:53.795 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ExampleDB1.sql_5_sxgdu0.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:20:48 +0000 (0:00:00.239) 0:04:54.035 ******* ok: [sut] => { "changed": false, "checksum": "01e12e2023db8e40fe4ae7ef2965811c47e20292", "dest": "/tmp/create_ExampleDB1.sql_5_sxgdu0.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-1696940448.967777-6257-12841558939971/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Generate the template on the host for create_ExampleDB1.sql] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:20:49 +0000 (0:00:00.606) 0:04:54.642 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:20:49 +0000 (0:00:00.061) 0:04:54.703 ******* 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 : Print file location and output from inputting create_ExampleDB1.sql] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:20:49 +0000 (0:00:00.396) 0:04:55.099 ******* ok: [sut] => (item=/tmp/create_ExampleDB1.sql_5_sxgdu0.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ExampleDB1.sql_5_sxgdu0.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:20:50 +0000 (0:00:00.131) 0:04:55.230 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:20:50 +0000 (0:00:00.079) 0:04:55.310 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ExampleDB2.sql_s9sl_z9s.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:20:50 +0000 (0:00:00.365) 0:04:55.675 ******* ok: [sut] => { "changed": false, "checksum": "5624bc46f989692960b2c67c7923fbbe7db78185", "dest": "/tmp/create_ExampleDB2.sql_s9sl_z9s.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-1696940450.6130946-6310-255118599667772/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Generate the template on the host for create_ExampleDB2.sql] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:20:51 +0000 (0:00:00.726) 0:04:56.402 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:20:51 +0000 (0:00:00.072) 0:04:56.474 ******* 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 : Print file location and output from inputting create_ExampleDB2.sql] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:20:51 +0000 (0:00:00.388) 0:04:56.863 ******* ok: [sut] => (item=/tmp/create_ExampleDB2.sql_s9sl_z9s.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ExampleDB2.sql_s9sl_z9s.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:20:51 +0000 (0:00:00.138) 0:04:57.001 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:20:51 +0000 (0:00:00.074) 0:04:57.076 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Tuesday 10 October 2023 12:20:52 +0000 (0:00:00.058) 0:04:57.135 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Tuesday 10 October 2023 12:20:52 +0000 (0:00:00.058) 0:04:57.194 ******* 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.005013", "end": "2023-10-10 12:20:52.273362", "rc": 0, "start": "2023-10-10 12:20:52.268349" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:461 Tuesday 10 October 2023 12:20:52 +0000 (0:00:00.260) 0:04:57.454 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:468 Tuesday 10 October 2023 12:20:52 +0000 (0:00:00.120) 0:04:57.575 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:475 Tuesday 10 October 2023 12:20:53 +0000 (0:00:01.010) 0:04:58.586 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:495 Tuesday 10 October 2023 12:20:53 +0000 (0:00:00.058) 0:04:58.644 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:502 Tuesday 10 October 2023 12:20:53 +0000 (0:00:00.052) 0:04:58.697 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004334", "end": "2023-10-10 12:20:54.776525", "failed_when_result": false, "rc": 1, "start": "2023-10-10 12:20:53.772191" } MSG: non-zero return code TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:509 Tuesday 10 October 2023 12:20:54 +0000 (0:00:01.265) 0:04:59.962 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 10 October 2023 12:20:55 +0000 (0:00:00.177) 0:05:00.140 ******* included: /WORKDIR/git-support-el948rbzg3m/.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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 10 October 2023 12:20:55 +0000 (0:00:00.105) 0:05:00.245 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 10 October 2023 12:20:55 +0000 (0:00:00.068) 0:05:00.313 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 10 October 2023 12:20:57 +0000 (0:00:02.337) 0:05:02.650 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 10 October 2023 12:20:57 +0000 (0:00:00.060) 0:05:02.710 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 10 October 2023 12:20:57 +0000 (0:00:00.078) 0:05:02.789 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:15:45 UTC", "ActiveEnterTimestampMonotonic": "740630889", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus-broker.service polkit.service sysinit.target dbus.socket basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:15:44 UTC", "AssertTimestampMonotonic": "739211779", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "843806000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ConditionTimestampMonotonic": "739211776", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service ebtables.service ipset.service nftables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlGroupId": "6209", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5318", "ExecMainStartTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ExecMainStartTimestampMonotonic": "739225176", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-10-10 12:15:44 UTC", "InactiveExitTimestampMonotonic": "739225454", "InvocationID": "9d8885fe06694e2782404d2bbb7c2636", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "29579", "LimitNPROCSoft": "29579", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5318", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "34852864", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:18:33 UTC", "StateChangeTimestampMonotonic": "908267464", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "8873", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 10 October 2023 12:20:58 +0000 (0:00:00.595) 0:05:03.384 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:15:45 UTC", "ActiveEnterTimestampMonotonic": "740630889", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus-broker.service polkit.service sysinit.target dbus.socket basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:15:44 UTC", "AssertTimestampMonotonic": "739211779", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "843806000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ConditionTimestampMonotonic": "739211776", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service ebtables.service ipset.service nftables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlGroupId": "6209", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5318", "ExecMainStartTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ExecMainStartTimestampMonotonic": "739225176", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-10-10 12:15:44 UTC", "InactiveExitTimestampMonotonic": "739225454", "InvocationID": "9d8885fe06694e2782404d2bbb7c2636", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "29579", "LimitNPROCSoft": "29579", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5318", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "34852864", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:18:33 UTC", "StateChangeTimestampMonotonic": "908267464", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "8873", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 10 October 2023 12:20:58 +0000 (0:00:00.592) 0:05:03.977 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 10 October 2023 12:20:58 +0000 (0:00:00.127) 0:05:04.105 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 10 October 2023 12:20:59 +0000 (0:00:00.060) 0:05:04.165 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 10 October 2023 12:20:59 +0000 (0:00:00.060) 0:05:04.226 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Tuesday 10 October 2023 12:20:59 +0000 (0:00:00.443) 0:05:04.670 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Tuesday 10 October 2023 12:20:59 +0000 (0:00:00.076) 0:05:04.746 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Tuesday 10 October 2023 12:20:59 +0000 (0:00:00.056) 0:05:04.803 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Tuesday 10 October 2023 12:20:59 +0000 (0:00:00.048) 0:05:04.851 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Tuesday 10 October 2023 12:20:59 +0000 (0:00:00.053) 0:05:04.905 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Tuesday 10 October 2023 12:20:59 +0000 (0:00:00.057) 0:05:04.962 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Tuesday 10 October 2023 12:20:59 +0000 (0:00:00.075) 0:05:05.037 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:521 Tuesday 10 October 2023 12:20:59 +0000 (0:00:00.055) 0:05:05.093 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 10 October 2023 12:21:00 +0000 (0:00:00.109) 0:05:05.203 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004302", "end": "2023-10-10 12:21:01.273543", "failed_when_result": false, "rc": 1, "start": "2023-10-10 12:21:00.269241" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 10 October 2023 12:21:01 +0000 (0:00:01.253) 0:05:06.456 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.118755", "end": "2023-10-10 12:21:01.657939", "failed_when_result": false, "rc": 0, "start": "2023-10-10 12:21:01.539184" } 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 10 October 2023 12:21:01 +0000 (0:00:00.387) 0:05:06.844 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Tuesday 10 October 2023 12:21:01 +0000 (0:00:00.052) 0:05:06.896 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:547 Tuesday 10 October 2023 12:21:01 +0000 (0:00:00.076) 0:05:06.972 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:554 Tuesday 10 October 2023 12:21:01 +0000 (0:00:00.086) 0:05:07.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:561 Tuesday 10 October 2023 12:21:02 +0000 (0:00:00.061) 0:05:07.120 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Tuesday 10 October 2023 12:21:02 +0000 (0:00:00.069) 0:05:07.189 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Tuesday 10 October 2023 12:21:02 +0000 (0:00:00.070) 0:05:07.260 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:583 Tuesday 10 October 2023 12:21:02 +0000 (0:00:00.080) 0:05:07.341 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:591 Tuesday 10 October 2023 12:21:02 +0000 (0:00:00.070) 0:05:07.411 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:597 Tuesday 10 October 2023 12:21:02 +0000 (0:00:00.076) 0:05:07.488 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:615 Tuesday 10 October 2023 12:21:02 +0000 (0:00:00.066) 0:05:07.555 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Tuesday 10 October 2023 12:21:02 +0000 (0:00:00.065) 0:05:07.620 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Tuesday 10 October 2023 12:21:02 +0000 (0:00:00.120) 0:05:07.741 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:652 Tuesday 10 October 2023 12:21:02 +0000 (0:00:00.063) 0:05:07.804 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:661 Tuesday 10 October 2023 12:21:02 +0000 (0:00:00.068) 0:05:07.873 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:670 Tuesday 10 October 2023 12:21:02 +0000 (0:00:00.059) 0:05:07.933 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:677 Tuesday 10 October 2023 12:21:02 +0000 (0:00:00.065) 0:05:07.998 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:686 Tuesday 10 October 2023 12:21:02 +0000 (0:00:00.063) 0:05:08.062 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:694 Tuesday 10 October 2023 12:21:03 +0000 (0:00:00.060) 0:05:08.123 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:702 Tuesday 10 October 2023 12:21:03 +0000 (0:00:00.053) 0:05:08.177 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:709 Tuesday 10 October 2023 12:21:03 +0000 (0:00:00.056) 0:05:08.234 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:716 Tuesday 10 October 2023 12:21:03 +0000 (0:00:00.063) 0:05:08.297 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:725 Tuesday 10 October 2023 12:21:03 +0000 (0:00:00.066) 0:05:08.363 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Tuesday 10 October 2023 12:21:03 +0000 (0:00:00.061) 0:05:08.425 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Tuesday 10 October 2023 12:21:03 +0000 (0:00:00.076) 0:05:08.502 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:759 Tuesday 10 October 2023 12:21:03 +0000 (0:00:00.082) 0:05:08.584 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:764 Tuesday 10 October 2023 12:21:03 +0000 (0:00:00.058) 0:05:08.642 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:781 Tuesday 10 October 2023 12:21:03 +0000 (0:00:00.052) 0:05:08.695 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Tuesday 10 October 2023 12:21:03 +0000 (0:00:00.121) 0:05:08.816 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:791 Tuesday 10 October 2023 12:21:03 +0000 (0:00:00.073) 0:05:08.890 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:797 Tuesday 10 October 2023 12:21:03 +0000 (0:00:00.056) 0:05:08.946 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:823 Tuesday 10 October 2023 12:21:03 +0000 (0:00:00.063) 0:05:09.010 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Tuesday 10 October 2023 12:21:03 +0000 (0:00:00.055) 0:05:09.065 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:852 Tuesday 10 October 2023 12:21:04 +0000 (0:00:00.065) 0:05:09.130 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:862 Tuesday 10 October 2023 12:21:04 +0000 (0:00:00.068) 0:05:09.198 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Tuesday 10 October 2023 12:21:04 +0000 (0:00:00.059) 0:05:09.258 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:885 Tuesday 10 October 2023 12:21:04 +0000 (0:00:00.075) 0:05:09.334 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Tuesday 10 October 2023 12:21:04 +0000 (0:00:00.130) 0:05:09.464 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 10 October 2023 12:21:04 +0000 (0:00:00.122) 0:05:09.586 ******* included: /WORKDIR/git-support-el948rbzg3m/.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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 10 October 2023 12:21:04 +0000 (0:00:00.109) 0:05:09.696 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 10 October 2023 12:21:04 +0000 (0:00:00.076) 0:05:09.772 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 10 October 2023 12:21:06 +0000 (0:00:02.341) 0:05:12.114 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 10 October 2023 12:21:07 +0000 (0:00:00.061) 0:05:12.175 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 10 October 2023 12:21:07 +0000 (0:00:00.103) 0:05:12.279 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:15:45 UTC", "ActiveEnterTimestampMonotonic": "740630889", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus-broker.service polkit.service sysinit.target dbus.socket basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:15:44 UTC", "AssertTimestampMonotonic": "739211779", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "903861000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ConditionTimestampMonotonic": "739211776", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service ebtables.service ipset.service nftables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlGroupId": "6209", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5318", "ExecMainStartTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ExecMainStartTimestampMonotonic": "739225176", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-10-10 12:15:44 UTC", "InactiveExitTimestampMonotonic": "739225454", "InvocationID": "9d8885fe06694e2782404d2bbb7c2636", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "29579", "LimitNPROCSoft": "29579", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5318", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "34856960", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:18:33 UTC", "StateChangeTimestampMonotonic": "908267464", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "8873", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 10 October 2023 12:21:07 +0000 (0:00:00.628) 0:05:12.907 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:15:45 UTC", "ActiveEnterTimestampMonotonic": "740630889", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus-broker.service polkit.service sysinit.target dbus.socket basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:15:44 UTC", "AssertTimestampMonotonic": "739211779", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "903861000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ConditionTimestampMonotonic": "739211776", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service ebtables.service ipset.service nftables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlGroupId": "6209", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5318", "ExecMainStartTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ExecMainStartTimestampMonotonic": "739225176", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-10-10 12:15:44 UTC", "InactiveExitTimestampMonotonic": "739225454", "InvocationID": "9d8885fe06694e2782404d2bbb7c2636", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "29579", "LimitNPROCSoft": "29579", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5318", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "34856960", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:18:33 UTC", "StateChangeTimestampMonotonic": "908267464", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "8873", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 10 October 2023 12:21:08 +0000 (0:00:00.597) 0:05:13.505 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 10 October 2023 12:21:08 +0000 (0:00:00.087) 0:05:13.592 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 10 October 2023 12:21:08 +0000 (0:00:00.110) 0:05:13.703 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 10 October 2023 12:21:08 +0000 (0:00:00.081) 0:05:13.784 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Tuesday 10 October 2023 12:21:09 +0000 (0:00:00.817) 0:05:14.602 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Tuesday 10 October 2023 12:21:09 +0000 (0:00:00.119) 0:05:14.722 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Tuesday 10 October 2023 12:21:09 +0000 (0:00:00.079) 0:05:14.802 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Tuesday 10 October 2023 12:21:09 +0000 (0:00:00.079) 0:05:14.881 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Tuesday 10 October 2023 12:21:09 +0000 (0:00:00.076) 0:05:14.958 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Tuesday 10 October 2023 12:21:09 +0000 (0:00:00.074) 0:05:15.033 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Tuesday 10 October 2023 12:21:10 +0000 (0:00:00.089) 0:05:15.122 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Tuesday 10 October 2023 12:21:10 +0000 (0:00:00.072) 0:05:15.195 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:974 Tuesday 10 October 2023 12:21:10 +0000 (0:00:00.080) 0:05:15.276 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:980 Tuesday 10 October 2023 12:21:12 +0000 (0:00:02.672) 0:05:17.948 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 10 October 2023 12:21:12 +0000 (0:00:00.139) 0:05:18.087 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003411", "end": "2023-10-10 12:21:13.215471", "failed_when_result": false, "rc": 0, "start": "2023-10-10 12:21:13.212060" } STDOUT: hadrenabled = 1 TASK [linux-system-roles.mssql : Configure the setting hadr hadrenabled] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 10 October 2023 12:21:13 +0000 (0:00:00.329) 0:05:18.417 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting hadr hadrenabled] *********** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 10 October 2023 12:21:13 +0000 (0:00:00.079) 0:05:18.496 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:987 Tuesday 10 October 2023 12:21:13 +0000 (0:00:00.097) 0:05:18.594 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:998 Tuesday 10 October 2023 12:21:13 +0000 (0:00:00.074) 0:05:18.668 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1004 Tuesday 10 October 2023 12:21:13 +0000 (0:00:00.076) 0:05:18.744 ******* 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 : Get mssql-server ver to see if WRITE_LEASE_VALIDITY is available] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1014 Tuesday 10 October 2023 12:21:13 +0000 (0:00:00.086) 0:05:18.830 ******* 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 : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1019 Tuesday 10 October 2023 12:21:14 +0000 (0:00:01.146) 0:05:19.977 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:21:14 +0000 (0:00:00.113) 0:05:20.090 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:21:15 +0000 (0:00:00.069) 0:05:20.159 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:21:15 +0000 (0:00:00.060) 0:05:20.220 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "11370526000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "784805888", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "180", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:21:15 +0000 (0:00:00.588) 0:05:20.809 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 23551, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:21:30 +0000 (0:00:15.266) 0:05:36.075 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:21:31 +0000 (0:00:00.143) 0:05:36.218 ******* included: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:21:31 +0000 (0:00:00.229) 0:05:36.448 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_uvckac03.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:21:31 +0000 (0:00:00.267) 0:05:36.715 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:21:31 +0000 (0:00:00.078) 0:05:36.794 ******* ok: [sut] => { "changed": false, "checksum": "05c862c74a8be17fed5c679d32e847c0e5dc8b65", "dest": "/tmp/create_master_key_encryption.j2_uvckac03.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-1696940491.7462504-6766-108083059431444/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:21:32 +0000 (0:00:00.674) 0:05:37.468 ******* 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 : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:21:32 +0000 (0:00:00.362) 0:05:37.831 ******* ok: [sut] => (item=/tmp/create_master_key_encryption.j2_uvckac03.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_uvckac03.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:21:32 +0000 (0:00:00.173) 0:05:38.004 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:21:32 +0000 (0:00:00.066) 0:05:38.071 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_qfqd8lzu.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:21:33 +0000 (0:00:00.271) 0:05:38.342 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:21:33 +0000 (0:00:00.057) 0:05:38.399 ******* ok: [sut] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_qfqd8lzu.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-1696940493.3409886-6791-45336186058548/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:21:33 +0000 (0:00:00.648) 0:05:39.047 ******* 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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:21:34 +0000 (0:00:00.346) 0:05:39.394 ******* ok: [sut] => (item=/tmp/create_and_back_up_cert.j2_qfqd8lzu.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_qfqd8lzu.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:21:34 +0000 (0:00:00.108) 0:05:39.502 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:21:34 +0000 (0:00:00.058) 0:05:39.561 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/enable_alwayson.j2_1gqqr4j7.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:21:34 +0000 (0:00:00.256) 0:05:39.818 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:21:34 +0000 (0:00:00.066) 0:05:39.884 ******* ok: [sut] => { "changed": false, "checksum": "03ec6bf3183af4d6b2edb5c98049edf7e3bdfdf1", "dest": "/tmp/enable_alwayson.j2_1gqqr4j7.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-1696940494.8236136-6813-238910240885201/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command enable_alwayson.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:21:35 +0000 (0:00:00.662) 0:05:40.546 ******* 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 : Print file location and output from inputting enable_alwayson.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:21:35 +0000 (0:00:00.313) 0:05:40.860 ******* ok: [sut] => (item=/tmp/enable_alwayson.j2_1gqqr4j7.sql) => { "__mssql_sqlcmd_loop": "/tmp/enable_alwayson.j2_1gqqr4j7.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:21:35 +0000 (0:00:00.100) 0:05:40.961 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:21:35 +0000 (0:00:00.052) 0:05:41.013 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_endpoint.j2_l8v9cntg.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:21:36 +0000 (0:00:00.335) 0:05:41.349 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:21:36 +0000 (0:00:00.070) 0:05:41.420 ******* ok: [sut] => { "changed": false, "checksum": "bb736eb4adb5d35d772b76e1c3bb19c6b040a59c", "dest": "/tmp/configure_endpoint.j2_l8v9cntg.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-1696940496.3610363-6843-39569067530058/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_endpoint.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:21:36 +0000 (0:00:00.657) 0:05:42.077 ******* 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 : Print file location and output from inputting configure_endpoint.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:21:37 +0000 (0:00:00.357) 0:05:42.435 ******* ok: [sut] => (item=/tmp/configure_endpoint.j2_l8v9cntg.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_endpoint.j2_l8v9cntg.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:21:37 +0000 (0:00:00.121) 0:05:42.556 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create a tempfile on the host for create_ha_login.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:21:37 +0000 (0:00:00.075) 0:05:42.631 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ha_login.j2_3ygpy5_6.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:21:37 +0000 (0:00:00.246) 0:05:42.878 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:21:37 +0000 (0:00:00.054) 0:05:42.932 ******* ok: [sut] => { "changed": false, "checksum": "60abdf14dd202c9c8125f431a288b3d2e580542b", "dest": "/tmp/create_ha_login.j2_3ygpy5_6.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-1696940497.8672519-6885-124152086933004/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_ha_login.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:21:38 +0000 (0:00:00.617) 0:05:43.550 ******* 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 : Print file location and output from inputting create_ha_login.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:21:38 +0000 (0:00:00.318) 0:05:43.868 ******* ok: [sut] => (item=/tmp/create_ha_login.j2_3ygpy5_6.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ha_login.j2_3ygpy5_6.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:21:38 +0000 (0:00:00.185) 0:05:44.054 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:21:39 +0000 (0:00:00.060) 0:05:44.114 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1030 Tuesday 10 October 2023 12:21:39 +0000 (0:00:00.059) 0:05:44.173 ******* ok: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/ExampleCert.cer'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "507843f6b23371113a40312c5ce6c541897bbd3e", "dest": "/WORKDIR/git-support-el948rbzg3m/tests/cert", "file": "/var/opt/mssql/data/ExampleCert.cer", "item": { "key": "cert", "value": "/var/opt/mssql/data/ExampleCert.cer" }, "md5sum": "297da2ad8b13e28ebcab2bb3dd19e296" } ok: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/ExampleCert.pvk'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "f8b78975a5402c4674c2eb734d1c208515d667a9", "dest": "/WORKDIR/git-support-el948rbzg3m/tests/key", "file": "/var/opt/mssql/data/ExampleCert.pvk", "item": { "key": "key", "value": "/var/opt/mssql/data/ExampleCert.pvk" }, "md5sum": "6ecc8720d4eb881c5f13cf6de1116b48" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1045 Tuesday 10 October 2023 12:21:39 +0000 (0:00:00.477) 0:05:44.651 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:21:39 +0000 (0:00:00.109) 0:05:44.761 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:21:39 +0000 (0:00:00.066) 0:05:44.827 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:21:39 +0000 (0:00:00.061) 0:05:44.889 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "11867428000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "789385216", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "178", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:21:40 +0000 (0:00:00.572) 0:05:45.461 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 23906, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:21:55 +0000 (0:00:15.270) 0:06:00.732 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:21:55 +0000 (0:00:00.066) 0:06:00.798 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:21:55 +0000 (0:00:00.136) 0:06:00.935 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ha_is_primary.sql_k9wnmhl2.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:21:56 +0000 (0:00:00.294) 0:06:01.229 ******* ok: [sut] => { "changed": false, "checksum": "23665eada2d9e2de69ca8f560afa21cba1da5eb4", "dest": "/tmp/ha_is_primary.sql_k9wnmhl2.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-1696940516.194026-7324-76131021820112/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:21:56 +0000 (0:00:00.831) 0:06:02.060 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:21:57 +0000 (0:00:00.079) 0:06:02.140 ******* 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 : Print file location and output from inputting ha_is_primary.sql] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:21:57 +0000 (0:00:00.455) 0:06:02.595 ******* ok: [sut] => (item=/tmp/ha_is_primary.sql_k9wnmhl2.sql) => { "__mssql_sqlcmd_loop": "/tmp/ha_is_primary.sql_k9wnmhl2.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:21:57 +0000 (0:00:00.112) 0:06:02.708 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:21:57 +0000 (0:00:00.088) 0:06:02.796 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1052 Tuesday 10 October 2023 12:21:57 +0000 (0:00:00.088) 0:06:02.884 ******* ok: [sut] => { "ansible_facts": { "__mssql_ha_is_primary": false }, "changed": false } TASK [linux-system-roles.mssql : Configure ag, grant permissions to login, replicate DBs] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1077 Tuesday 10 October 2023 12:21:57 +0000 (0:00:00.141) 0:06:03.026 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:21:58 +0000 (0:00:00.186) 0:06:03.213 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:21:58 +0000 (0:00:00.086) 0:06:03.299 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:21:58 +0000 (0:00:00.066) 0:06:03.365 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "12087505000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "797339648", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "179", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:21:58 +0000 (0:00:00.580) 0:06:03.946 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 23906, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:22:14 +0000 (0:00:15.262) 0:06:19.209 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:22:14 +0000 (0:00:00.070) 0:06:19.280 ******* included: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml for sut included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:22:14 +0000 (0:00:00.133) 0:06:19.413 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag.j2_z9ugkydf.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:22:14 +0000 (0:00:00.260) 0:06:19.674 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:22:14 +0000 (0:00:00.057) 0:06:19.732 ******* ok: [sut] => { "changed": false, "checksum": "a35016820d65bf83b9747312044420fd51a72b26", "dest": "/tmp/configure_ag.j2_z9ugkydf.sql", "gid": 0, "group": "root", "md5sum": "a3fffd54c0e0933fd3c82b58765a3818", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 12018, "src": "/root/.ansible/tmp/ansible-tmp-1696940534.6700962-7498-28443402487527/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_ag.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:22:19 +0000 (0:00:04.716) 0:06:24.448 ******* 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 : Print file location and output from inputting configure_ag.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:22:19 +0000 (0:00:00.592) 0:06:25.040 ******* ok: [sut] => (item=/tmp/configure_ag.j2_z9ugkydf.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag.j2_z9ugkydf.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:22:20 +0000 (0:00:00.111) 0:06:25.152 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create a tempfile on the host for grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:22:20 +0000 (0:00:00.086) 0:06:25.238 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/grant_permissions_to_ha_login.j2_kuvvwsqw.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:22:20 +0000 (0:00:00.276) 0:06:25.514 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:22:20 +0000 (0:00:00.077) 0:06:25.591 ******* ok: [sut] => { "changed": false, "checksum": "2cb9b9d454a2a6bc54631cb0f4aa1adedb6d56ab", "dest": "/tmp/grant_permissions_to_ha_login.j2_kuvvwsqw.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-1696940540.5341268-7534-253888038293515/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:22:21 +0000 (0:00:00.711) 0:06:26.303 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Print file location and output from inputting grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:22:21 +0000 (0:00:00.327) 0:06:26.630 ******* ok: [sut] => (item=/tmp/grant_permissions_to_ha_login.j2_kuvvwsqw.sql) => { "__mssql_sqlcmd_loop": "/tmp/grant_permissions_to_ha_login.j2_kuvvwsqw.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:22:21 +0000 (0:00:00.111) 0:06:26.742 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create a tempfile on the host for replicate_db.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:22:21 +0000 (0:00:00.089) 0:06:26.831 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/replicate_db.j2_catpevyy.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:22:21 +0000 (0:00:00.257) 0:06:27.089 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:22:22 +0000 (0:00:00.085) 0:06:27.175 ******* ok: [sut] => { "changed": false, "checksum": "31f3afd712f14ebd9937c978467b374db210c0f8", "dest": "/tmp/replicate_db.j2_catpevyy.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-1696940542.1087463-7567-27984469499092/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command replicate_db.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:22:22 +0000 (0:00:00.672) 0:06:27.848 ******* 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 : Print file location and output from inputting replicate_db.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:22:23 +0000 (0:00:00.506) 0:06:28.354 ******* ok: [sut] => (item=/tmp/replicate_db.j2_catpevyy.sql) => { "__mssql_sqlcmd_loop": "/tmp/replicate_db.j2_catpevyy.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:22:23 +0000 (0:00:00.105) 0:06:28.460 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:22:23 +0000 (0:00:00.072) 0:06:28.532 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to ha login] **************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Tuesday 10 October 2023 12:22:23 +0000 (0:00:00.067) 0:06:28.600 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:22:23 +0000 (0:00:00.217) 0:06:28.817 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:22:23 +0000 (0:00:00.058) 0:06:28.875 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:22:23 +0000 (0:00:00.069) 0:06:28.944 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "12744536000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "835764224", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "178", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:22:24 +0000 (0:00:00.587) 0:06:29.532 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 27678, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:22:39 +0000 (0:00:15.346) 0:06:44.879 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:22:39 +0000 (0:00:00.175) 0:06:45.054 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:22:40 +0000 (0:00:00.333) 0:06:45.388 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/grant_permissions_to_ha_login.j2_c4i1kw4y.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:22:40 +0000 (0:00:00.323) 0:06:45.711 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:22:40 +0000 (0:00:00.104) 0:06:45.815 ******* ok: [sut] => { "changed": false, "checksum": "2cb9b9d454a2a6bc54631cb0f4aa1adedb6d56ab", "dest": "/tmp/grant_permissions_to_ha_login.j2_c4i1kw4y.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-1696940560.7993903-8012-229782896454031/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:22:41 +0000 (0:00:00.820) 0:06:46.636 ******* 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 : Print file location and output from inputting grant_permissions_to_ha_login.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:22:41 +0000 (0:00:00.365) 0:06:47.001 ******* ok: [sut] => (item=/tmp/grant_permissions_to_ha_login.j2_c4i1kw4y.sql) => { "__mssql_sqlcmd_loop": "/tmp/grant_permissions_to_ha_login.j2_c4i1kw4y.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:22:42 +0000 (0:00:00.164) 0:06:47.166 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:22:42 +0000 (0:00:00.138) 0:06:47.304 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1102 Tuesday 10 October 2023 12:22:42 +0000 (0:00:00.099) 0:06:47.404 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1115 Tuesday 10 October 2023 12:22:42 +0000 (0:00:00.110) 0:06:47.515 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1121 Tuesday 10 October 2023 12:22:42 +0000 (0:00:00.142) 0:06:47.657 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1128 Tuesday 10 October 2023 12:22:42 +0000 (0:00:00.074) 0:06:47.732 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1137 Tuesday 10 October 2023 12:22:42 +0000 (0:00:00.109) 0:06:47.841 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Tuesday 10 October 2023 12:22:42 +0000 (0:00:00.127) 0:06:47.968 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1156 Tuesday 10 October 2023 12:22:43 +0000 (0:00:00.227) 0:06:48.196 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Tuesday 10 October 2023 12:22:43 +0000 (0:00:00.078) 0:06:48.274 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1182 Tuesday 10 October 2023 12:22:43 +0000 (0:00:00.093) 0:06:48.368 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1194 Tuesday 10 October 2023 12:22:44 +0000 (0:00:00.831) 0:06:49.199 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1200 Tuesday 10 October 2023 12:22:44 +0000 (0:00:00.087) 0:06:49.287 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Tuesday 10 October 2023 12:22:44 +0000 (0:00:00.108) 0:06:49.395 ******* ok: [sut] => { "changed": false } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1222 Tuesday 10 October 2023 12:22:44 +0000 (0:00:00.365) 0:06:49.760 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Tuesday 10 October 2023 12:22:44 +0000 (0:00:00.072) 0:06:49.833 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Wait for pcs to finish configuration] ************************************ task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:179 Tuesday 10 October 2023 12:22:44 +0000 (0:00:00.071) 0:06:49.905 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get global pcs status] *************************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:183 Tuesday 10 October 2023 12:22:44 +0000 (0:00:00.072) 0:06:49.977 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print global psc status] ************************************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:188 Tuesday 10 October 2023 12:22:44 +0000 (0:00:00.099) 0:06:50.077 ******* skipping: [sut] => {} TASK [Get pcs status for the virtualip resource] ******************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:193 Tuesday 10 October 2023 12:22:45 +0000 (0:00:00.127) 0:06:50.204 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print pcs status for the virtualip resource] ***************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:198 Tuesday 10 October 2023 12:22:45 +0000 (0:00:00.094) 0:06:50.299 ******* skipping: [sut] => {} TASK [Assert that virtualip is successfully started] *************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:203 Tuesday 10 October 2023 12:22:45 +0000 (0:00:00.159) 0:06:50.458 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Move the virtualip resource] ********************************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:207 Tuesday 10 October 2023 12:22:45 +0000 (0:00:00.081) 0:06:50.540 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Wait for syncrhonous node to promote for virtualip resource] ************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:213 Tuesday 10 October 2023 12:22:45 +0000 (0:00:00.126) 0:06:50.666 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get global pcs status] *************************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:217 Tuesday 10 October 2023 12:22:45 +0000 (0:00:00.102) 0:06:50.769 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print global psc status] ************************************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:222 Tuesday 10 October 2023 12:22:45 +0000 (0:00:00.127) 0:06:50.896 ******* skipping: [sut] => {} TASK [Get pcs status for the virtualip resource] ******************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:227 Tuesday 10 October 2023 12:22:45 +0000 (0:00:00.104) 0:06:51.001 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print pcs status for the virtualip resource] ***************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:232 Tuesday 10 October 2023 12:22:45 +0000 (0:00:00.095) 0:06:51.096 ******* skipping: [sut] => {} TASK [Assert that virtualip is successfully started] *************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:237 Tuesday 10 October 2023 12:22:46 +0000 (0:00:00.087) 0:06:51.184 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clear constraints for the virtualip resource] **************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:241 Tuesday 10 October 2023 12:22:46 +0000 (0:00:00.088) 0:06:51.272 ******* 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-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:259 Tuesday 10 October 2023 12:22:46 +0000 (0:00:00.194) 0:06:51.467 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable AlwaysOn event session when it's enabled] ************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:267 Tuesday 10 October 2023 12:22:46 +0000 (0:00:00.101) 0:06:51.569 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:22:47 +0000 (0:00:00.634) 0:06:52.203 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:22:47 +0000 (0:00:00.073) 0:06:52.277 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:22:47 +0000 (0:00:00.076) 0:06:52.353 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "12981540000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "848334848", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "177", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:22:47 +0000 (0:00:00.627) 0:06:52.980 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 27678, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:23:03 +0000 (0:00:15.274) 0:07:08.255 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:23:03 +0000 (0:00:00.074) 0:07:08.329 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:23:03 +0000 (0:00:00.136) 0:07:08.465 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/enable_alwayson.j2_bkzrz97m.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:23:03 +0000 (0:00:00.352) 0:07:08.818 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:23:03 +0000 (0:00:00.083) 0:07:08.902 ******* ok: [sut] => { "changed": false, "checksum": "03ec6bf3183af4d6b2edb5c98049edf7e3bdfdf1", "dest": "/tmp/enable_alwayson.j2_bkzrz97m.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-1696940583.8488507-8245-87572484811779/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command enable_alwayson.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:23:04 +0000 (0:00:00.930) 0:07:09.833 ******* 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 : Print file location and output from inputting enable_alwayson.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:23:05 +0000 (0:00:00.403) 0:07:10.237 ******* ok: [sut] => (item=/tmp/enable_alwayson.j2_bkzrz97m.sql) => { "__mssql_sqlcmd_loop": "/tmp/enable_alwayson.j2_bkzrz97m.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:23:05 +0000 (0:00:00.308) 0:07:10.545 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:23:05 +0000 (0:00:00.131) 0:07:10.677 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that enabling is skipped] ***************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:277 Tuesday 10 October 2023 12:23:05 +0000 (0:00:00.173) 0:07:10.851 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Disable AlwaysOn event session] ****************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:283 Tuesday 10 October 2023 12:23:05 +0000 (0:00:00.150) 0:07:11.001 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:23:06 +0000 (0:00:00.675) 0:07:11.676 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:23:06 +0000 (0:00:00.074) 0:07:11.750 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:23:06 +0000 (0:00:00.090) 0:07:11.841 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "13228693000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "853364736", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "176", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:23:07 +0000 (0:00:00.717) 0:07:12.558 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 27678, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:23:22 +0000 (0:00:15.363) 0:07:27.922 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:23:22 +0000 (0:00:00.124) 0:07:28.046 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:23:23 +0000 (0:00:00.139) 0:07:28.186 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/disable_alwayson.j2_pbjf1tab.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:23:23 +0000 (0:00:00.319) 0:07:28.505 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:23:23 +0000 (0:00:00.116) 0:07:28.622 ******* ok: [sut] => { "changed": false, "checksum": "07a16f2d7bd8c6f2568826378894269a824f505d", "dest": "/tmp/disable_alwayson.j2_pbjf1tab.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-1696940603.6254666-8520-202660983539576/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command disable_alwayson.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:23:24 +0000 (0:00:00.939) 0:07:29.561 ******* 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 : Print file location and output from inputting disable_alwayson.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:23:24 +0000 (0:00:00.336) 0:07:29.897 ******* ok: [sut] => (item=/tmp/disable_alwayson.j2_pbjf1tab.sql) => { "__mssql_sqlcmd_loop": "/tmp/disable_alwayson.j2_pbjf1tab.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:23:24 +0000 (0:00:00.090) 0:07:29.988 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:23:24 +0000 (0:00:00.075) 0:07:30.064 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable AlwaysOn event session] ******************************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:292 Tuesday 10 October 2023 12:23:25 +0000 (0:00:00.066) 0:07:30.130 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:23:25 +0000 (0:00:00.391) 0:07:30.521 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:23:25 +0000 (0:00:00.064) 0:07:30.586 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:23:25 +0000 (0:00:00.065) 0:07:30.651 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "13420281000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "854147072", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "176", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:23:26 +0000 (0:00:00.631) 0:07:31.283 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 27678, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:23:41 +0000 (0:00:15.264) 0:07:46.548 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:23:41 +0000 (0:00:00.068) 0:07:46.616 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:23:41 +0000 (0:00:00.110) 0:07:46.726 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/enable_alwayson.j2_5nbqzweo.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:23:41 +0000 (0:00:00.267) 0:07:46.993 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:23:41 +0000 (0:00:00.059) 0:07:47.053 ******* ok: [sut] => { "changed": false, "checksum": "03ec6bf3183af4d6b2edb5c98049edf7e3bdfdf1", "dest": "/tmp/enable_alwayson.j2_5nbqzweo.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-1696940621.9890769-8827-70782675079657/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command enable_alwayson.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:23:42 +0000 (0:00:00.643) 0:07:47.697 ******* 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 : Print file location and output from inputting enable_alwayson.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:23:42 +0000 (0:00:00.307) 0:07:48.004 ******* ok: [sut] => (item=/tmp/enable_alwayson.j2_5nbqzweo.sql) => { "__mssql_sqlcmd_loop": "/tmp/enable_alwayson.j2_5nbqzweo.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:23:43 +0000 (0:00:00.113) 0:07:48.117 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:23:43 +0000 (0:00:00.145) 0:07:48.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the template reported changed state] ************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:301 Tuesday 10 October 2023 12:23:43 +0000 (0:00:00.081) 0:07:48.344 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Create endpoint when it exists] ****************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:308 Tuesday 10 October 2023 12:23:43 +0000 (0:00:00.076) 0:07:48.421 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:23:43 +0000 (0:00:00.469) 0:07:48.890 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:23:43 +0000 (0:00:00.099) 0:07:48.990 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:23:43 +0000 (0:00:00.096) 0:07:49.086 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "13604450000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "854589440", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "177", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:23:44 +0000 (0:00:00.694) 0:07:49.781 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 27678, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:23:59 +0000 (0:00:15.305) 0:08:05.087 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:24:00 +0000 (0:00:00.076) 0:08:05.163 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:24:00 +0000 (0:00:00.118) 0:08:05.281 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_endpoint.j2_zx0p6ny2.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:24:00 +0000 (0:00:00.305) 0:08:05.587 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:24:00 +0000 (0:00:00.090) 0:08:05.677 ******* ok: [sut] => { "changed": false, "checksum": "bb736eb4adb5d35d772b76e1c3bb19c6b040a59c", "dest": "/tmp/configure_endpoint.j2_zx0p6ny2.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-1696940640.6380954-9193-135278365638728/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_endpoint.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:24:01 +0000 (0:00:00.785) 0:08:06.463 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Print file location and output from inputting configure_endpoint.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:24:01 +0000 (0:00:00.341) 0:08:06.804 ******* ok: [sut] => (item=/tmp/configure_endpoint.j2_zx0p6ny2.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_endpoint.j2_zx0p6ny2.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:24:01 +0000 (0:00:00.087) 0:08:06.891 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:24:01 +0000 (0:00:00.063) 0:08:06.955 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:317 Tuesday 10 October 2023 12:24:02 +0000 (0:00:00.197) 0:08:07.152 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Alter endpoint to test how template handles incorrect endpoint] ********** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:345 Tuesday 10 October 2023 12:24:02 +0000 (0:00:00.092) 0:08:07.245 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:24:02 +0000 (0:00:00.490) 0:08:07.735 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:24:02 +0000 (0:00:00.075) 0:08:07.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:24:02 +0000 (0:00:00.071) 0:08:07.882 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "13935230000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "854515712", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "179", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:24:03 +0000 (0:00:00.616) 0:08:08.499 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 27678, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:24:18 +0000 (0:00:15.259) 0:08:23.759 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:24:18 +0000 (0:00:00.066) 0:08:23.825 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:24:18 +0000 (0:00:00.121) 0:08:23.947 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/alter_endpoint.j2_jkgepbd4.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:24:19 +0000 (0:00:00.256) 0:08:24.203 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:24:19 +0000 (0:00:00.067) 0:08:24.271 ******* ok: [sut] => { "changed": false, "checksum": "2d50112b0a97c263dad0f1bdd2bf2f0329fbcb82", "dest": "/tmp/alter_endpoint.j2_jkgepbd4.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-1696940659.217375-9361-153820072302841/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command alter_endpoint.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:24:19 +0000 (0:00:00.681) 0:08:24.952 ******* 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 : Print file location and output from inputting alter_endpoint.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:24:22 +0000 (0:00:02.782) 0:08:27.734 ******* ok: [sut] => (item=/tmp/alter_endpoint.j2_jkgepbd4.sql) => { "__mssql_sqlcmd_loop": "/tmp/alter_endpoint.j2_jkgepbd4.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:24:22 +0000 (0:00:00.101) 0:08:27.835 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:24:22 +0000 (0:00:00.149) 0:08:27.985 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure endpoint correctly] ******************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:354 Tuesday 10 October 2023 12:24:22 +0000 (0:00:00.067) 0:08:28.052 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:24:23 +0000 (0:00:00.372) 0:08:28.425 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:24:23 +0000 (0:00:00.054) 0:08:28.479 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:24:23 +0000 (0:00:00.076) 0:08:28.556 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "14577895000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "855044096", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "179", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:24:24 +0000 (0:00:00.572) 0:08:29.128 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 27886, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:24:39 +0000 (0:00:15.248) 0:08:44.377 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:24:39 +0000 (0:00:00.052) 0:08:44.430 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:24:39 +0000 (0:00:00.098) 0:08:44.528 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_endpoint.j2_dq7uy8os.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:24:39 +0000 (0:00:00.258) 0:08:44.787 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:24:39 +0000 (0:00:00.066) 0:08:44.854 ******* ok: [sut] => { "changed": false, "checksum": "bb736eb4adb5d35d772b76e1c3bb19c6b040a59c", "dest": "/tmp/configure_endpoint.j2_dq7uy8os.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-1696940679.7869625-9474-242772720106523/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_endpoint.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:24:40 +0000 (0:00:00.636) 0:08:45.491 ******* 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 : Print file location and output from inputting configure_endpoint.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:24:50 +0000 (0:00:10.338) 0:08:55.829 ******* ok: [sut] => (item=/tmp/configure_endpoint.j2_dq7uy8os.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_endpoint.j2_dq7uy8os.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:24:50 +0000 (0:00:00.083) 0:08:55.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:24:50 +0000 (0:00:00.046) 0:08:55.959 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:363 Tuesday 10 October 2023 12:24:50 +0000 (0:00:00.141) 0:08:56.101 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Drop the test_cert certificate] ****************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:389 Tuesday 10 October 2023 12:24:51 +0000 (0:00:00.068) 0:08:56.169 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:24:51 +0000 (0:00:00.391) 0:08:56.560 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:24:51 +0000 (0:00:00.070) 0:08:56.631 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:24:51 +0000 (0:00:00.074) 0:08:56.706 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "14851655000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "855719936", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "178", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:24:52 +0000 (0:00:00.592) 0:08:57.298 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 28664, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:25:07 +0000 (0:00:15.246) 0:09:12.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:25:07 +0000 (0:00:00.050) 0:09:12.595 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:25:07 +0000 (0:00:00.095) 0:09:12.691 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/drop_cert.j2_q_ltr30m.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:25:07 +0000 (0:00:00.259) 0:09:12.950 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:25:07 +0000 (0:00:00.071) 0:09:13.022 ******* ok: [sut] => { "changed": false, "checksum": "239991f31ac11c71bf4846a5b2ddb35a4bf4a9ca", "dest": "/tmp/drop_cert.j2_q_ltr30m.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-1696940707.9602497-9872-275906745676053/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command drop_cert.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:25:08 +0000 (0:00:00.657) 0:09:13.679 ******* 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 : Print file location and output from inputting drop_cert.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:25:08 +0000 (0:00:00.359) 0:09:14.039 ******* ok: [sut] => (item=/tmp/drop_cert.j2_q_ltr30m.sql) => { "__mssql_sqlcmd_loop": "/tmp/drop_cert.j2_q_ltr30m.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:25:09 +0000 (0:00:00.111) 0:09:14.151 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:25:09 +0000 (0:00:00.071) 0:09:14.222 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a listener for test purposes] ************************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:400 Tuesday 10 October 2023 12:25:09 +0000 (0:00:00.078) 0:09:14.301 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:25:09 +0000 (0:00:00.536) 0:09:14.837 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:25:09 +0000 (0:00:00.066) 0:09:14.904 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:25:09 +0000 (0:00:00.069) 0:09:14.974 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "19060163000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "930459648", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "208", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:25:10 +0000 (0:00:00.592) 0:09:15.566 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 29017, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:25:25 +0000 (0:00:15.296) 0:09:30.863 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:25:25 +0000 (0:00:00.219) 0:09:31.082 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:25:26 +0000 (0:00:00.142) 0:09:31.225 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/remove_listener.j2_fnedw8pa.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:25:26 +0000 (0:00:00.262) 0:09:31.488 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:25:26 +0000 (0:00:00.080) 0:09:31.568 ******* ok: [sut] => { "changed": false, "checksum": "5eb1f1db79a245ddb87b701bc0a9edcbb6fa45e3", "dest": "/tmp/remove_listener.j2_fnedw8pa.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-1696940726.523371-9993-9396635120770/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command remove_listener.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:25:27 +0000 (0:00:00.788) 0:09:32.357 ******* 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 : Print file location and output from inputting remove_listener.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:25:27 +0000 (0:00:00.357) 0:09:32.714 ******* ok: [sut] => (item=/tmp/remove_listener.j2_fnedw8pa.sql) => { "__mssql_sqlcmd_loop": "/tmp/remove_listener.j2_fnedw8pa.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:25:27 +0000 (0:00:00.133) 0:09:32.848 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:25:27 +0000 (0:00:00.084) 0:09:32.933 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add a listener with a different name] ************************************ task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:409 Tuesday 10 October 2023 12:25:27 +0000 (0:00:00.059) 0:09:32.992 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:25:28 +0000 (0:00:00.515) 0:09:33.507 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:25:28 +0000 (0:00:00.062) 0:09:33.570 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:25:28 +0000 (0:00:00.061) 0:09:33.631 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "19691337000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "936120320", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "205", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:25:29 +0000 (0:00:00.622) 0:09:34.254 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 29017, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:25:44 +0000 (0:00:15.351) 0:09:49.605 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:25:44 +0000 (0:00:00.077) 0:09:49.683 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:25:44 +0000 (0:00:00.126) 0:09:49.809 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/add_test_listener.j2_sg0yir7x.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:25:45 +0000 (0:00:00.433) 0:09:50.243 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:25:45 +0000 (0:00:00.084) 0:09:50.327 ******* ok: [sut] => { "changed": false, "checksum": "4ececef64c7f3d27aaf6cc4fd396180e9cc51cd3", "dest": "/tmp/add_test_listener.j2_sg0yir7x.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-1696940745.278242-10239-66981745809088/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command add_test_listener.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:25:46 +0000 (0:00:00.787) 0:09:51.114 ******* 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 : Print file location and output from inputting add_test_listener.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:25:46 +0000 (0:00:00.370) 0:09:51.485 ******* ok: [sut] => (item=/tmp/add_test_listener.j2_sg0yir7x.sql) => { "__mssql_sqlcmd_loop": "/tmp/add_test_listener.j2_sg0yir7x.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:25:46 +0000 (0:00:00.114) 0:09:51.600 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:25:46 +0000 (0:00:00.094) 0:09:51.694 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Modify a listener] ******************************************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:418 Tuesday 10 October 2023 12:25:46 +0000 (0:00:00.067) 0:09:51.762 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:25:47 +0000 (0:00:00.427) 0:09:52.189 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:25:47 +0000 (0:00:00.185) 0:09:52.374 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:25:47 +0000 (0:00:00.071) 0:09:52.445 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "20120417000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "937041920", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "203", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:25:47 +0000 (0:00:00.598) 0:09:53.044 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 29237, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:26:03 +0000 (0:00:15.265) 0:10:08.309 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:26:03 +0000 (0:00:00.131) 0:10:08.441 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:26:03 +0000 (0:00:00.143) 0:10:08.584 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_listener.j2_rr041l00.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:26:03 +0000 (0:00:00.292) 0:10:08.876 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:26:03 +0000 (0:00:00.073) 0:10:08.950 ******* ok: [sut] => { "changed": false, "checksum": "4192a18d8bd12433855772059fa21dd502c6915b", "dest": "/tmp/configure_listener.j2_rr041l00.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-1696940763.8947246-10583-215208145819775/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_listener.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:26:04 +0000 (0:00:00.741) 0:10:09.692 ******* 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 : Print file location and output from inputting configure_listener.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:26:05 +0000 (0:00:00.427) 0:10:10.120 ******* ok: [sut] => (item=/tmp/configure_listener.j2_rr041l00.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_listener.j2_rr041l00.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:26:05 +0000 (0:00:00.161) 0:10:10.281 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:26:05 +0000 (0:00:00.120) 0:10:10.402 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:429 Tuesday 10 October 2023 12:26:05 +0000 (0:00:00.316) 0:10:10.718 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove a listener to re-create with default values] ********************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:449 Tuesday 10 October 2023 12:26:05 +0000 (0:00:00.176) 0:10:10.895 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:26:06 +0000 (0:00:00.791) 0:10:11.686 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:26:06 +0000 (0:00:00.082) 0:10:11.769 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:26:06 +0000 (0:00:00.085) 0:10:11.855 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "21131182000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "940449792", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "202", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:26:07 +0000 (0:00:00.602) 0:10:12.458 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32215, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:26:22 +0000 (0:00:15.275) 0:10:27.733 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:26:22 +0000 (0:00:00.221) 0:10:27.955 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:26:22 +0000 (0:00:00.143) 0:10:28.098 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/remove_listener.j2_eglsohrj.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:26:23 +0000 (0:00:00.271) 0:10:28.370 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:26:23 +0000 (0:00:00.069) 0:10:28.439 ******* ok: [sut] => { "changed": false, "checksum": "5eb1f1db79a245ddb87b701bc0a9edcbb6fa45e3", "dest": "/tmp/remove_listener.j2_eglsohrj.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-1696940783.3870552-10855-57284511670439/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command remove_listener.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:26:24 +0000 (0:00:00.811) 0:10:29.251 ******* 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 : Print file location and output from inputting remove_listener.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:26:24 +0000 (0:00:00.325) 0:10:29.577 ******* ok: [sut] => (item=/tmp/remove_listener.j2_eglsohrj.sql) => { "__mssql_sqlcmd_loop": "/tmp/remove_listener.j2_eglsohrj.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:26:24 +0000 (0:00:00.148) 0:10:29.725 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:26:24 +0000 (0:00:00.081) 0:10:29.806 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add a listener with previous settings] *********************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:459 Tuesday 10 October 2023 12:26:24 +0000 (0:00:00.106) 0:10:29.912 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:26:25 +0000 (0:00:00.561) 0:10:30.474 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:26:25 +0000 (0:00:00.061) 0:10:30.536 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:26:25 +0000 (0:00:00.065) 0:10:30.602 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "21754232000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "941735936", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "203", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:26:26 +0000 (0:00:00.582) 0:10:31.184 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32215, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:26:41 +0000 (0:00:15.320) 0:10:46.505 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:26:41 +0000 (0:00:00.092) 0:10:46.597 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:26:41 +0000 (0:00:00.210) 0:10:46.807 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_listener.j2_26jl72d1.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:26:42 +0000 (0:00:00.317) 0:10:47.125 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:26:42 +0000 (0:00:00.144) 0:10:47.270 ******* ok: [sut] => { "changed": false, "checksum": "d5facebc03ae56186ef5e5eb3aeb2ecabfde7f4a", "dest": "/tmp/configure_listener.j2_26jl72d1.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-1696940802.2405298-11111-281301287600235/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_listener.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:26:43 +0000 (0:00:00.896) 0:10:48.166 ******* 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 : Print file location and output from inputting configure_listener.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:26:43 +0000 (0:00:00.389) 0:10:48.556 ******* ok: [sut] => (item=/tmp/configure_listener.j2_26jl72d1.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_listener.j2_26jl72d1.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:26:43 +0000 (0:00:00.228) 0:10:48.784 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:26:43 +0000 (0:00:00.094) 0:10:48.878 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:468 Tuesday 10 October 2023 12:26:44 +0000 (0:00:00.249) 0:10:49.128 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Add a listener when it exists] ******************************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:480 Tuesday 10 October 2023 12:26:44 +0000 (0:00:00.098) 0:10:49.226 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:26:44 +0000 (0:00:00.665) 0:10:49.892 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:26:44 +0000 (0:00:00.081) 0:10:49.974 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:26:44 +0000 (0:00:00.106) 0:10:50.081 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "22500625000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "947634176", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "202", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:26:45 +0000 (0:00:00.655) 0:10:50.736 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32440, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:27:00 +0000 (0:00:15.302) 0:11:06.038 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:27:00 +0000 (0:00:00.055) 0:11:06.094 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:27:01 +0000 (0:00:00.289) 0:11:06.384 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_listener.j2_p0ymtnmb.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:27:01 +0000 (0:00:00.300) 0:11:06.685 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:27:01 +0000 (0:00:00.076) 0:11:06.761 ******* ok: [sut] => { "changed": false, "checksum": "d5facebc03ae56186ef5e5eb3aeb2ecabfde7f4a", "dest": "/tmp/configure_listener.j2_p0ymtnmb.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-1696940821.6992965-11335-75304095256758/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_listener.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:27:02 +0000 (0:00:00.657) 0:11:07.419 ******* 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 : Print file location and output from inputting configure_listener.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:27:02 +0000 (0:00:00.334) 0:11:07.754 ******* ok: [sut] => (item=/tmp/configure_listener.j2_p0ymtnmb.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_listener.j2_p0ymtnmb.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:27:02 +0000 (0:00:00.111) 0:11:07.865 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:27:02 +0000 (0:00:00.091) 0:11:07.957 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:489 Tuesday 10 October 2023 12:27:02 +0000 (0:00:00.080) 0:11:08.038 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Create a master key when it exists] ************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:505 Tuesday 10 October 2023 12:27:03 +0000 (0:00:00.080) 0:11:08.118 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:27:03 +0000 (0:00:00.663) 0:11:08.781 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:27:03 +0000 (0:00:00.065) 0:11:08.847 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:27:03 +0000 (0:00:00.070) 0:11:08.918 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "23498248000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "948723712", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "201", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:27:04 +0000 (0:00:00.594) 0:11:09.513 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32440, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:27:19 +0000 (0:00:15.351) 0:11:24.865 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:27:19 +0000 (0:00:00.134) 0:11:24.999 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:27:20 +0000 (0:00:00.391) 0:11:25.390 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_cr2b4hsb.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:27:20 +0000 (0:00:00.417) 0:11:25.807 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:27:21 +0000 (0:00:00.340) 0:11:26.147 ******* ok: [sut] => { "changed": false, "checksum": "05c862c74a8be17fed5c679d32e847c0e5dc8b65", "dest": "/tmp/create_master_key_encryption.j2_cr2b4hsb.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-1696940841.1550012-11681-54623358404551/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:27:22 +0000 (0:00:00.969) 0:11:27.117 ******* 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 : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:27:22 +0000 (0:00:00.378) 0:11:27.496 ******* ok: [sut] => (item=/tmp/create_master_key_encryption.j2_cr2b4hsb.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_cr2b4hsb.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:27:22 +0000 (0:00:00.218) 0:11:27.715 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:27:22 +0000 (0:00:00.179) 0:11:27.894 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that creating is skipped] ***************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:514 Tuesday 10 October 2023 12:27:23 +0000 (0:00:00.347) 0:11:28.242 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Try creating master key with incorrect password] ************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:522 Tuesday 10 October 2023 12:27:23 +0000 (0:00:00.077) 0:11:28.320 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:27:23 +0000 (0:00:00.152) 0:11:28.472 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:27:23 +0000 (0:00:00.071) 0:11:28.544 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:27:23 +0000 (0:00:00.090) 0:11:28.634 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "23928179000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "948887552", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "199", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:27:24 +0000 (0:00:00.636) 0:11:29.271 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32440, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:27:39 +0000 (0:00:15.293) 0:11:44.564 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:27:39 +0000 (0:00:00.100) 0:11:44.664 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:27:39 +0000 (0:00:00.132) 0:11:44.797 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_k7_tm39e.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:27:39 +0000 (0:00:00.279) 0:11:45.077 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:27:40 +0000 (0:00:00.069) 0:11:45.147 ******* ok: [sut] => { "changed": false, "checksum": "187143db1ea14053bb779a1aaa7c4abab303457d", "dest": "/tmp/create_master_key_encryption.j2_k7_tm39e.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-1696940860.1081297-11984-122905787395343/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:27:40 +0000 (0:00:00.843) 0:11:45.990 ******* fatal: [sut]: FAILED! => { "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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:27:41 +0000 (0:00:00.353) 0:11:46.343 ******* ok: [sut] => (item=/tmp/create_master_key_encryption.j2_k7_tm39e.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_k7_tm39e.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 27bf6eda-dd38-45d0-9817-7bbabe7cef24, 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 27bf6eda-dd38-45d0-9817-7bbabe7cef24, 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:27:41 +0000 (0:00:00.276) 0:11:46.620 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert the incorrect password error message] ***************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:535 Tuesday 10 October 2023 12:27:41 +0000 (0:00:00.065) 0:11:46.685 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Drop endpoint] *********************************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:541 Tuesday 10 October 2023 12:27:41 +0000 (0:00:00.075) 0:11:46.760 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:27:42 +0000 (0:00:00.447) 0:11:47.208 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:27:42 +0000 (0:00:00.057) 0:11:47.266 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:27:42 +0000 (0:00:00.062) 0:11:47.328 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "24418967000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "948703232", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "200", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:27:42 +0000 (0:00:00.581) 0:11:47.910 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32512, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:27:58 +0000 (0:00:15.273) 0:12:03.184 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:27:58 +0000 (0:00:00.262) 0:12:03.447 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:27:58 +0000 (0:00:00.148) 0:12:03.595 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_wlm3cjg8.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:27:58 +0000 (0:00:00.271) 0:12:03.867 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:27:58 +0000 (0:00:00.077) 0:12:03.945 ******* ok: [sut] => { "changed": false, "checksum": "05c862c74a8be17fed5c679d32e847c0e5dc8b65", "dest": "/tmp/create_master_key_encryption.j2_wlm3cjg8.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-1696940878.8891437-12057-73291289584932/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:27:59 +0000 (0:00:00.896) 0:12:04.842 ******* 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 : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:28:00 +0000 (0:00:00.522) 0:12:05.365 ******* ok: [sut] => (item=/tmp/create_master_key_encryption.j2_wlm3cjg8.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_wlm3cjg8.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:28:00 +0000 (0:00:00.188) 0:12:05.553 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:28:00 +0000 (0:00:00.103) 0:12:05.656 ******* 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-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:550 Tuesday 10 October 2023 12:28:00 +0000 (0:00:00.116) 0:12:05.772 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:28:01 +0000 (0:00:00.617) 0:12:06.390 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:28:01 +0000 (0:00:00.264) 0:12:06.655 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:28:01 +0000 (0:00:00.072) 0:12:06.727 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "25252607000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "953249792", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "200", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:28:02 +0000 (0:00:00.675) 0:12:07.402 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32512, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:28:17 +0000 (0:00:15.290) 0:12:22.693 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:28:17 +0000 (0:00:00.146) 0:12:22.840 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:28:17 +0000 (0:00:00.132) 0:12:22.973 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/drop_cert.j2_0v3hyvs8.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:28:18 +0000 (0:00:00.274) 0:12:23.247 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:28:18 +0000 (0:00:00.075) 0:12:23.322 ******* ok: [sut] => { "changed": false, "checksum": "9440c74b2dd62be2dd7727cd430b4652c9f18ec8", "dest": "/tmp/drop_cert.j2_0v3hyvs8.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-1696940898.289283-12494-21588758627673/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command drop_cert.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:28:18 +0000 (0:00:00.742) 0:12:24.065 ******* 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 : Print file location and output from inputting drop_cert.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:28:21 +0000 (0:00:02.372) 0:12:26.437 ******* ok: [sut] => (item=/tmp/drop_cert.j2_0v3hyvs8.sql) => { "__mssql_sqlcmd_loop": "/tmp/drop_cert.j2_0v3hyvs8.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:28:21 +0000 (0:00:00.100) 0:12:26.537 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:28:21 +0000 (0:00:00.071) 0:12:26.609 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificate and private key] ************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:559 Tuesday 10 October 2023 12:28:21 +0000 (0:00:00.063) 0:12:26.672 ******* 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-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:567 Tuesday 10 October 2023 12:28:22 +0000 (0:00:00.781) 0:12:27.453 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:28:23 +0000 (0:00:00.709) 0:12:28.163 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:28:23 +0000 (0:00:00.088) 0:12:28.251 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:28:23 +0000 (0:00:00.081) 0:12:28.332 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "26164841000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "965197824", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "199", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:28:23 +0000 (0:00:00.577) 0:12:28.909 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32720, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:28:39 +0000 (0:00:15.259) 0:12:44.169 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:28:39 +0000 (0:00:00.058) 0:12:44.228 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:28:39 +0000 (0:00:00.136) 0:12:44.364 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_e1fbqaz2.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:28:39 +0000 (0:00:00.282) 0:12:44.646 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:28:39 +0000 (0:00:00.167) 0:12:44.814 ******* ok: [sut] => { "changed": false, "checksum": "6c527401c1b35c00597e32f17d1ee708704f0878", "dest": "/tmp/create_master_key_encryption.j2_e1fbqaz2.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-1696940919.8048558-12851-107307515105941/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:28:40 +0000 (0:00:00.803) 0:12:45.618 ******* 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 : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:28:40 +0000 (0:00:00.367) 0:12:45.986 ******* ok: [sut] => (item=/tmp/create_master_key_encryption.j2_e1fbqaz2.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_e1fbqaz2.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:28:40 +0000 (0:00:00.122) 0:12:46.109 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:28:41 +0000 (0:00:00.092) 0:12:46.202 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert the expected error message] *************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:580 Tuesday 10 October 2023 12:28:41 +0000 (0:00:00.249) 0:12:46.452 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Input create_and_back_up_cert.j2 to create cert] ************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:616 Tuesday 10 October 2023 12:28:41 +0000 (0:00:00.081) 0:12:46.533 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:28:41 +0000 (0:00:00.177) 0:12:46.710 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:28:41 +0000 (0:00:00.088) 0:12:46.799 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:28:41 +0000 (0:00:00.093) 0:12:46.893 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "27235545000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "970256384", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "200", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:28:42 +0000 (0:00:00.615) 0:12:47.508 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32720, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:28:57 +0000 (0:00:15.401) 0:13:02.910 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:28:57 +0000 (0:00:00.168) 0:13:03.079 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:28:58 +0000 (0:00:00.213) 0:13:03.293 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_6mj8zd0w.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:28:58 +0000 (0:00:00.328) 0:13:03.621 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:28:58 +0000 (0:00:00.165) 0:13:03.787 ******* ok: [sut] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_6mj8zd0w.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-1696940938.779849-12979-225301439258319/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:28:59 +0000 (0:00:01.108) 0:13:04.895 ******* 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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:29:01 +0000 (0:00:01.392) 0:13:06.310 ******* ok: [sut] => (item=/tmp/create_and_back_up_cert.j2_6mj8zd0w.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_6mj8zd0w.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:29:01 +0000 (0:00:00.228) 0:13:06.538 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:29:01 +0000 (0:00:00.141) 0:13:06.680 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert created successfully messages] ************************************ task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:625 Tuesday 10 October 2023 12:29:01 +0000 (0:00:00.399) 0:13:07.079 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Input create_and_back_up_cert.j2 when cert exists] *********************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:636 Tuesday 10 October 2023 12:29:02 +0000 (0:00:00.206) 0:13:07.285 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:29:02 +0000 (0:00:00.265) 0:13:07.550 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:29:02 +0000 (0:00:00.152) 0:13:07.703 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:29:02 +0000 (0:00:00.116) 0:13:07.819 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "28629892000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "971321344", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "201", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:29:03 +0000 (0:00:00.729) 0:13:08.549 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32720, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:29:18 +0000 (0:00:15.391) 0:13:23.940 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:29:18 +0000 (0:00:00.102) 0:13:24.042 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:29:19 +0000 (0:00:00.183) 0:13:24.226 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_bdm0imp1.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:29:19 +0000 (0:00:00.276) 0:13:24.502 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:29:19 +0000 (0:00:00.090) 0:13:24.593 ******* ok: [sut] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_bdm0imp1.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-1696940959.5531101-13296-34210864741542/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:29:20 +0000 (0:00:01.007) 0:13:25.601 ******* 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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:29:20 +0000 (0:00:00.440) 0:13:26.041 ******* ok: [sut] => (item=/tmp/create_and_back_up_cert.j2_bdm0imp1.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_bdm0imp1.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:29:21 +0000 (0:00:00.137) 0:13:26.178 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:29:21 +0000 (0:00:00.102) 0:13:26.280 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:645 Tuesday 10 October 2023 12:29:21 +0000 (0:00:00.124) 0:13:26.405 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Back up certificate and private key] ************************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:657 Tuesday 10 October 2023 12:29:21 +0000 (0:00:00.236) 0:13:26.642 ******* changed: [sut] => (item=/var/opt/mssql/data/ExampleCert.cer) => { "ansible_loop_var": "item", "changed": true, "checksum": "95dcf8e467c5d97971cf60edab590384e04566a4", "dest": "/tmp/ExampleCert.cer", "gid": 0, "group": "root", "item": "/var/opt/mssql/data/ExampleCert.cer", "md5sum": "7fc0c6367ae3ec733aed6140ff484e98", "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": "f57c449f3262e1a0d1a0b8b0c578695a9ed5dd35", "dest": "/tmp/ExampleCert.pvk", "gid": 0, "group": "root", "item": "/var/opt/mssql/data/ExampleCert.pvk", "md5sum": "3526c9c58f84ee5334823847fa858c6d", "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-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:667 Tuesday 10 October 2023 12:29:22 +0000 (0:00:01.362) 0:13:28.004 ******* 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-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:672 Tuesday 10 October 2023 12:29:23 +0000 (0:00:00.402) 0:13:28.407 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:29:23 +0000 (0:00:00.355) 0:13:28.763 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:29:23 +0000 (0:00:00.093) 0:13:28.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:29:23 +0000 (0:00:00.088) 0:13:28.945 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "36588082000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "997769216", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "199", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:29:24 +0000 (0:00:00.762) 0:13:29.708 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32720, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:29:39 +0000 (0:00:15.363) 0:13:45.072 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:29:40 +0000 (0:00:00.100) 0:13:45.172 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:29:40 +0000 (0:00:00.210) 0:13:45.383 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_51uvyju0.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:29:40 +0000 (0:00:00.326) 0:13:45.709 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:29:40 +0000 (0:00:00.079) 0:13:45.789 ******* ok: [sut] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_51uvyju0.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-1696940980.7401974-13629-202511929883224/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:29:41 +0000 (0:00:00.752) 0:13:46.542 ******* 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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:29:41 +0000 (0:00:00.360) 0:13:46.902 ******* ok: [sut] => (item=/tmp/create_and_back_up_cert.j2_51uvyju0.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_51uvyju0.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:29:41 +0000 (0:00:00.136) 0:13:47.039 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:29:42 +0000 (0:00:00.106) 0:13:47.146 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected error messages] ****************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:681 Tuesday 10 October 2023 12:29:42 +0000 (0:00:00.132) 0:13:47.278 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove certificate] ****************************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:693 Tuesday 10 October 2023 12:29:42 +0000 (0:00:00.124) 0:13:47.403 ******* changed: [sut] => { "changed": true, "path": "/var/opt/mssql/data/ExampleCert.cer", "state": "absent" } TASK [Return private key] ****************************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:698 Tuesday 10 October 2023 12:29:42 +0000 (0:00:00.384) 0:13:47.787 ******* changed: [sut] => { "changed": true, "checksum": "f57c449f3262e1a0d1a0b8b0c578695a9ed5dd35", "dest": "/var/opt/mssql/data/ExampleCert.pvk", "gid": 0, "group": "root", "md5sum": "3526c9c58f84ee5334823847fa858c6d", "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-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:705 Tuesday 10 October 2023 12:29:43 +0000 (0:00:00.408) 0:13:48.195 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:29:43 +0000 (0:00:00.201) 0:13:48.397 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:29:43 +0000 (0:00:00.064) 0:13:48.461 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:29:43 +0000 (0:00:00.125) 0:13:48.587 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "36942213000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "997707776", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "197", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:29:44 +0000 (0:00:00.797) 0:13:49.384 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32720, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:29:59 +0000 (0:00:15.296) 0:14:04.681 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:29:59 +0000 (0:00:00.075) 0:14:04.756 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:29:59 +0000 (0:00:00.174) 0:14:04.930 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_mvzmsfna.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:30:00 +0000 (0:00:00.321) 0:14:05.252 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:30:00 +0000 (0:00:00.077) 0:14:05.329 ******* ok: [sut] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_mvzmsfna.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-1696941000.3295193-13965-177353030440377/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:30:01 +0000 (0:00:00.920) 0:14:06.250 ******* 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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:30:01 +0000 (0:00:00.364) 0:14:06.615 ******* ok: [sut] => (item=/tmp/create_and_back_up_cert.j2_mvzmsfna.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_mvzmsfna.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:30:01 +0000 (0:00:00.117) 0:14:06.732 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:30:01 +0000 (0:00:00.061) 0:14:06.794 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected error messages] ****************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:714 Tuesday 10 October 2023 12:30:01 +0000 (0:00:00.257) 0:14:07.051 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Return certificate] ****************************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:726 Tuesday 10 October 2023 12:30:02 +0000 (0:00:00.106) 0:14:07.158 ******* changed: [sut] => { "changed": true, "checksum": "95dcf8e467c5d97971cf60edab590384e04566a4", "dest": "/var/opt/mssql/data/ExampleCert.cer", "gid": 0, "group": "root", "md5sum": "7fc0c6367ae3ec733aed6140ff484e98", "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-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:733 Tuesday 10 October 2023 12:30:02 +0000 (0:00:00.442) 0:14:07.600 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:30:02 +0000 (0:00:00.174) 0:14:07.775 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:30:02 +0000 (0:00:00.072) 0:14:07.847 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:30:02 +0000 (0:00:00.065) 0:14:07.913 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "38282000000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1002254336", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "206", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:30:03 +0000 (0:00:00.604) 0:14:08.517 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32720, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:30:18 +0000 (0:00:15.359) 0:14:23.876 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:30:18 +0000 (0:00:00.133) 0:14:24.010 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:30:19 +0000 (0:00:00.158) 0:14:24.168 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/drop_cert.j2_h00755i8.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:30:19 +0000 (0:00:00.370) 0:14:24.538 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:30:19 +0000 (0:00:00.078) 0:14:24.617 ******* ok: [sut] => { "changed": false, "checksum": "9440c74b2dd62be2dd7727cd430b4652c9f18ec8", "dest": "/tmp/drop_cert.j2_h00755i8.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-1696941019.5731375-14289-9383313411276/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command drop_cert.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:30:20 +0000 (0:00:00.695) 0:14:25.312 ******* 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 : Print file location and output from inputting drop_cert.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:30:20 +0000 (0:00:00.336) 0:14:25.649 ******* ok: [sut] => (item=/tmp/drop_cert.j2_h00755i8.sql) => { "__mssql_sqlcmd_loop": "/tmp/drop_cert.j2_h00755i8.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:30:20 +0000 (0:00:00.116) 0:14:25.765 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:30:20 +0000 (0:00:00.072) 0:14:25.838 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Input create_and_back_up_cert.j2] **************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:744 Tuesday 10 October 2023 12:30:20 +0000 (0:00:00.065) 0:14:25.904 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:30:20 +0000 (0:00:00.107) 0:14:26.011 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:30:20 +0000 (0:00:00.078) 0:14:26.089 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:30:21 +0000 (0:00:00.272) 0:14:26.361 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "39818611000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1007243264", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "206", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:30:21 +0000 (0:00:00.681) 0:14:27.043 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32720, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:30:37 +0000 (0:00:15.265) 0:14:42.309 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:30:37 +0000 (0:00:00.050) 0:14:42.359 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:30:37 +0000 (0:00:00.094) 0:14:42.453 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_kr8tfjt8.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:30:37 +0000 (0:00:00.248) 0:14:42.702 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:30:37 +0000 (0:00:00.068) 0:14:42.771 ******* ok: [sut] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_kr8tfjt8.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-1696941037.7183373-14430-179209666972837/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:30:38 +0000 (0:00:00.755) 0:14:43.526 ******* fatal: [sut]: FAILED! => { "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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:30:38 +0000 (0:00:00.316) 0:14:43.843 ******* ok: [sut] => (item=/tmp/create_and_back_up_cert.j2_kr8tfjt8.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_kr8tfjt8.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [sut] => (item=['Certificate ExampleCert does not exist, creating', 'Msg 51000, Level 16, State 1, Server 27bf6eda-dd38-45d0-9817-7bbabe7cef24, 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 27bf6eda-dd38-45d0-9817-7bbabe7cef24, 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:30:38 +0000 (0:00:00.101) 0:14:43.944 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected error messages] ****************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:757 Tuesday 10 October 2023 12:30:38 +0000 (0:00:00.062) 0:14:44.007 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove certificate and private key] ************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:766 Tuesday 10 October 2023 12:30:38 +0000 (0:00:00.064) 0:14:44.071 ******* 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-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:774 Tuesday 10 October 2023 12:30:39 +0000 (0:00:00.519) 0:14:44.591 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:30:39 +0000 (0:00:00.175) 0:14:44.767 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:30:39 +0000 (0:00:00.067) 0:14:44.834 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:30:39 +0000 (0:00:00.067) 0:14:44.902 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "42858139000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1018679296", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "206", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:30:40 +0000 (0:00:00.650) 0:14:45.552 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32720, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:30:55 +0000 (0:00:15.276) 0:15:00.829 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:30:55 +0000 (0:00:00.068) 0:15:00.897 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:30:55 +0000 (0:00:00.117) 0:15:01.015 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_8manmvae.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:30:56 +0000 (0:00:00.265) 0:15:01.281 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:30:56 +0000 (0:00:00.078) 0:15:01.359 ******* ok: [sut] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_8manmvae.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-1696941056.3012419-14486-126159763428468/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:30:56 +0000 (0:00:00.691) 0:15:02.051 ******* 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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:30:57 +0000 (0:00:00.707) 0:15:02.758 ******* ok: [sut] => (item=/tmp/create_and_back_up_cert.j2_8manmvae.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_8manmvae.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:30:57 +0000 (0:00:00.129) 0:15:02.888 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:30:57 +0000 (0:00:00.121) 0:15:03.009 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:783 Tuesday 10 October 2023 12:30:57 +0000 (0:00:00.084) 0:15:03.094 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Create a login when it already exists ExampleLogin] ********************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:790 Tuesday 10 October 2023 12:30:58 +0000 (0:00:00.096) 0:15:03.190 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:30:58 +0000 (0:00:00.712) 0:15:03.903 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:30:58 +0000 (0:00:00.116) 0:15:04.020 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:30:58 +0000 (0:00:00.084) 0:15:04.104 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "46624543000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1023512576", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "206", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:30:59 +0000 (0:00:00.664) 0:15:04.768 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32720, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:31:14 +0000 (0:00:15.299) 0:15:20.068 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:31:15 +0000 (0:00:00.077) 0:15:20.146 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:31:15 +0000 (0:00:00.197) 0:15:20.343 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ha_login.j2_z9cm6dy_.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:31:15 +0000 (0:00:00.263) 0:15:20.606 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:31:15 +0000 (0:00:00.084) 0:15:20.691 ******* ok: [sut] => { "changed": false, "checksum": "60abdf14dd202c9c8125f431a288b3d2e580542b", "dest": "/tmp/create_ha_login.j2_z9cm6dy_.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-1696941075.64656-14733-267284658154568/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command create_ha_login.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:31:16 +0000 (0:00:00.833) 0:15:21.524 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Print file location and output from inputting create_ha_login.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:31:16 +0000 (0:00:00.381) 0:15:21.906 ******* ok: [sut] => (item=/tmp/create_ha_login.j2_z9cm6dy_.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ha_login.j2_z9cm6dy_.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:31:16 +0000 (0:00:00.116) 0:15:22.023 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:31:16 +0000 (0:00:00.084) 0:15:22.107 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:799 Tuesday 10 October 2023 12:31:17 +0000 (0:00:00.071) 0:15:22.178 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Input replicate_db.j2] *************************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:813 Tuesday 10 October 2023 12:31:17 +0000 (0:00:00.059) 0:15:22.237 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:31:17 +0000 (0:00:00.311) 0:15:22.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:31:17 +0000 (0:00:00.068) 0:15:22.617 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:31:17 +0000 (0:00:00.134) 0:15:22.751 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "47065286000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1025593344", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "196", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:31:18 +0000 (0:00:00.623) 0:15:23.375 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32720, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:31:33 +0000 (0:00:15.301) 0:15:38.676 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:31:33 +0000 (0:00:00.078) 0:15:38.755 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:31:33 +0000 (0:00:00.197) 0:15:38.953 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/replicate_db.j2_8kiv0kq1.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:31:34 +0000 (0:00:00.311) 0:15:39.264 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:31:34 +0000 (0:00:00.070) 0:15:39.335 ******* ok: [sut] => { "changed": false, "checksum": "31f3afd712f14ebd9937c978467b374db210c0f8", "dest": "/tmp/replicate_db.j2_8kiv0kq1.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-1696941094.2886724-14827-45743539903755/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command replicate_db.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:31:34 +0000 (0:00:00.776) 0:15:40.111 ******* 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 : Print file location and output from inputting replicate_db.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:31:35 +0000 (0:00:00.446) 0:15:40.558 ******* ok: [sut] => (item=/tmp/replicate_db.j2_8kiv0kq1.sql) => { "__mssql_sqlcmd_loop": "/tmp/replicate_db.j2_8kiv0kq1.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:31:35 +0000 (0:00:00.111) 0:15:40.669 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:31:35 +0000 (0:00:00.072) 0:15:40.742 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:822 Tuesday 10 October 2023 12:31:35 +0000 (0:00:00.098) 0:15:40.840 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Ensure endpoint exists] ************************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:847 Tuesday 10 October 2023 12:31:35 +0000 (0:00:00.140) 0:15:40.981 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:31:36 +0000 (0:00:00.816) 0:15:41.797 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:31:36 +0000 (0:00:00.077) 0:15:41.875 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:31:36 +0000 (0:00:00.095) 0:15:41.970 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "47309253000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1027403776", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "194", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:31:37 +0000 (0:00:00.607) 0:15:42.578 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 32720, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:31:52 +0000 (0:00:15.282) 0:15:57.861 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:31:52 +0000 (0:00:00.103) 0:15:57.965 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:31:52 +0000 (0:00:00.138) 0:15:58.103 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_endpoint.j2_99ktsqi_.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:31:53 +0000 (0:00:00.295) 0:15:58.398 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:31:53 +0000 (0:00:00.080) 0:15:58.478 ******* ok: [sut] => { "changed": false, "checksum": "bb736eb4adb5d35d772b76e1c3bb19c6b040a59c", "dest": "/tmp/configure_endpoint.j2_99ktsqi_.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-1696941113.4186323-14998-46836696984648/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_endpoint.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:31:54 +0000 (0:00:00.742) 0:15:59.221 ******* 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 : Print file location and output from inputting configure_endpoint.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:31:56 +0000 (0:00:02.386) 0:16:01.608 ******* ok: [sut] => (item=/tmp/configure_endpoint.j2_99ktsqi_.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_endpoint.j2_99ktsqi_.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:31:56 +0000 (0:00:00.129) 0:16:01.737 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:31:56 +0000 (0:00:00.268) 0:16:02.006 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Input configure_ag.yml when AG exists] *********************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:859 Tuesday 10 October 2023 12:31:56 +0000 (0:00:00.092) 0:16:02.098 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:31:57 +0000 (0:00:00.155) 0:16:02.253 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:31:57 +0000 (0:00:00.083) 0:16:02.337 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:31:57 +0000 (0:00:00.076) 0:16:02.413 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "47501918000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1030844416", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "195", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:31:57 +0000 (0:00:00.586) 0:16:03.000 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 33018, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:32:13 +0000 (0:00:15.321) 0:16:18.321 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:32:13 +0000 (0:00:00.127) 0:16:18.449 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:32:13 +0000 (0:00:00.174) 0:16:18.624 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag.j2_imk5xclp.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:32:13 +0000 (0:00:00.302) 0:16:18.926 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:32:13 +0000 (0:00:00.090) 0:16:19.017 ******* ok: [sut] => { "changed": false, "checksum": "a35016820d65bf83b9747312044420fd51a72b26", "dest": "/tmp/configure_ag.j2_imk5xclp.sql", "gid": 0, "group": "root", "md5sum": "a3fffd54c0e0933fd3c82b58765a3818", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 12018, "src": "/root/.ansible/tmp/ansible-tmp-1696941133.9602382-15283-189668984192951/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_ag.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:32:19 +0000 (0:00:05.356) 0:16:24.374 ******* 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 : Print file location and output from inputting configure_ag.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:32:19 +0000 (0:00:00.321) 0:16:24.696 ******* ok: [sut] => (item=/tmp/configure_ag.j2_imk5xclp.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag.j2_imk5xclp.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 27bf6eda-dd38-45d0-9817-7bbabe7cef24', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The SEEDING_MODE setting on this primary replica is already set correctly, skipping', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica is already set correctly, skipping', 'Verifying the existing replica 27bf6eda-dd38-45d0-9817-7bbabe7cef24', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The SEEDING_MODE setting on this primary replica is already set correctly, skipping', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: 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 27bf6eda-dd38-45d0-9817-7bbabe7cef24", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The SEEDING_MODE setting on this primary replica is already set correctly, skipping", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica is already set correctly, skipping", "Verifying the existing replica 27bf6eda-dd38-45d0-9817-7bbabe7cef24", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The SEEDING_MODE setting on this primary replica is already set correctly, skipping", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:32:19 +0000 (0:00:00.121) 0:16:24.817 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:32:19 +0000 (0:00:00.074) 0:16:24.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:868 Tuesday 10 October 2023 12:32:19 +0000 (0:00:00.070) 0:16:24.962 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Configure AG with CLUSTER_TYPE = NONE] *********************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:904 Tuesday 10 October 2023 12:32:19 +0000 (0:00:00.074) 0:16:25.036 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:32:20 +0000 (0:00:00.111) 0:16:25.147 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:32:20 +0000 (0:00:00.224) 0:16:25.371 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:32:20 +0000 (0:00:00.068) 0:16:25.440 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "47746372000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1032142848", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "194", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:32:20 +0000 (0:00:00.566) 0:16:26.007 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 33018, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:32:36 +0000 (0:00:15.365) 0:16:41.372 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:32:36 +0000 (0:00:00.187) 0:16:41.560 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:32:36 +0000 (0:00:00.198) 0:16:41.758 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag_cluster_type_none.j2_4sw20zfa.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:32:36 +0000 (0:00:00.356) 0:16:42.114 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:32:37 +0000 (0:00:00.080) 0:16:42.195 ******* ok: [sut] => { "changed": false, "checksum": "798a37b28529322f12ab6879dbe331d9028afda8", "dest": "/tmp/configure_ag_cluster_type_none.j2_4sw20zfa.sql", "gid": 0, "group": "root", "md5sum": "a18ac32619afbb80fea7c2b5fe9edb05", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 375, "src": "/root/.ansible/tmp/ansible-tmp-1696941157.1863801-15385-255701413600168/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:32:38 +0000 (0:00:01.011) 0:16:43.206 ******* 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 : Print file location and output from inputting configure_ag_cluster_type_none.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:32:38 +0000 (0:00:00.571) 0:16:43.777 ******* ok: [sut] => (item=/tmp/configure_ag_cluster_type_none.j2_4sw20zfa.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag_cluster_type_none.j2_4sw20zfa.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:32:38 +0000 (0:00:00.192) 0:16:43.970 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:32:38 +0000 (0:00:00.118) 0:16:44.088 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Input configure_ag.yml with CLUSTER_TYPE = NONE] ************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:909 Tuesday 10 October 2023 12:32:39 +0000 (0:00:00.124) 0:16:44.213 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:32:39 +0000 (0:00:00.180) 0:16:44.393 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:32:39 +0000 (0:00:00.126) 0:16:44.519 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:32:39 +0000 (0:00:00.141) 0:16:44.661 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "47999511000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1032679424", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "193", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:32:40 +0000 (0:00:00.603) 0:16:45.264 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 34875, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:32:55 +0000 (0:00:15.344) 0:17:00.609 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:32:55 +0000 (0:00:00.097) 0:17:00.707 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:32:55 +0000 (0:00:00.181) 0:17:00.889 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag.j2_gd9q64mc.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:32:56 +0000 (0:00:00.434) 0:17:01.323 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:32:56 +0000 (0:00:00.081) 0:17:01.404 ******* ok: [sut] => { "changed": false, "checksum": "8a94f20d69c13301c40bdb193591f30c9ddb5050", "dest": "/tmp/configure_ag.j2_gd9q64mc.sql", "gid": 0, "group": "root", "md5sum": "ced59b8d26a29cb5e1c2ec2730778bed", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 11802, "src": "/root/.ansible/tmp/ansible-tmp-1696941176.3810842-15546-35760137993281/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_ag.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:33:04 +0000 (0:00:08.029) 0:17:09.434 ******* 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 : Print file location and output from inputting configure_ag.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:33:04 +0000 (0:00:00.634) 0:17:10.068 ******* ok: [sut] => (item=/tmp/configure_ag.j2_gd9q64mc.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag.j2_gd9q64mc.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:33:05 +0000 (0:00:00.209) 0:17:10.277 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:33:05 +0000 (0:00:00.170) 0:17:10.448 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:918 Tuesday 10 October 2023 12:33:05 +0000 (0:00:00.136) 0:17:10.584 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Alter AG] **************************************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:935 Tuesday 10 October 2023 12:33:05 +0000 (0:00:00.249) 0:17:10.834 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:33:05 +0000 (0:00:00.189) 0:17:11.023 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:33:05 +0000 (0:00:00.088) 0:17:11.112 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:33:06 +0000 (0:00:00.080) 0:17:11.193 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "49786689000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1040510976", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "197", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:33:06 +0000 (0:00:00.735) 0:17:11.928 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 38762, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:33:22 +0000 (0:00:15.268) 0:17:27.197 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:33:22 +0000 (0:00:00.065) 0:17:27.262 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:33:22 +0000 (0:00:00.111) 0:17:27.373 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/alter_ag.j2_080ebqpd.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:33:22 +0000 (0:00:00.266) 0:17:27.640 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:33:22 +0000 (0:00:00.062) 0:17:27.702 ******* ok: [sut] => { "changed": false, "checksum": "e4c6ad4329b3e9bcbb653ae733419472d80d8582", "dest": "/tmp/alter_ag.j2_080ebqpd.sql", "gid": 0, "group": "root", "md5sum": "5c3a082c62275bfb3e6a2d2c005eefdc", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 3793, "src": "/root/.ansible/tmp/ansible-tmp-1696941202.6437242-15853-28623118105921/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command alter_ag.j2] **** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:33:24 +0000 (0:00:02.055) 0:17:29.758 ******* 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 : Print file location and output from inputting alter_ag.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:33:25 +0000 (0:00:00.436) 0:17:30.194 ******* ok: [sut] => (item=/tmp/alter_ag.j2_080ebqpd.sql) => { "__mssql_sqlcmd_loop": "/tmp/alter_ag.j2_080ebqpd.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', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The ENDPOINT_URL setting on this primary replica configured successfully', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The SEEDING_MODE setting on this primary replica configured successfully', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: 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", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The ENDPOINT_URL setting on this primary replica configured successfully", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The SEEDING_MODE setting on this primary replica configured successfully", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:33:25 +0000 (0:00:00.100) 0:17:30.294 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:33:25 +0000 (0:00:00.072) 0:17:30.367 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Input configure_ag.yml to configure ag properly] ************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:944 Tuesday 10 October 2023 12:33:25 +0000 (0:00:00.062) 0:17:30.430 ******* TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_input variable] ****** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:9 Tuesday 10 October 2023 12:33:25 +0000 (0:00:00.109) 0:17:30.539 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:13 Tuesday 10 October 2023 12:33:25 +0000 (0:00:00.053) 0:17:30.592 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:21 Tuesday 10 October 2023 12:33:25 +0000 (0:00:00.059) 0:17:30.652 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveEnterTimestampMonotonic": "989665527", "ActiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ActiveExitTimestampMonotonic": "989142110", "ActiveState": "active", "After": "system.slice basic.target auditd.service -.mount network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:19:54 UTC", "AssertTimestampMonotonic": "989653905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "51681711000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ConditionTimestampMonotonic": "989653902", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlGroupId": "8051", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9950", "ExecMainStartTimestamp": "Tue 2023-10-10 12:19:54 UTC", "ExecMainStartTimestampMonotonic": "989665205", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Tue 2023-10-10 12:19:54 UTC] ; stop_time=[n/a] ; pid=9950 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "993", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveEnterTimestampMonotonic": "989641580", "InactiveExitTimestamp": "Tue 2023-10-10 12:19:54 UTC", "InactiveExitTimestampMonotonic": "989665527", "InvocationID": "8486e09723db455eab91fae3917b5222", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "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": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9950", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1059594240", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:19:54 UTC", "StateChangeTimestampMonotonic": "989665527", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "197", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 Tuesday 10 October 2023 12:33:26 +0000 (0:00:00.568) 0:17:31.221 ******* ok: [sut] => { "changed": false, "elapsed": 15, "gid": 993, "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": 38762, "state": "file", "uid": 993 } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:33 Tuesday 10 October 2023 12:33:41 +0000 (0:00:15.247) 0:17:46.468 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:39 Tuesday 10 October 2023 12:33:41 +0000 (0:00:00.057) 0:17:46.526 ******* included: /WORKDIR/git-support-el948rbzg3m/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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 10 October 2023 12:33:41 +0000 (0:00:00.121) 0:17:46.647 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag.j2_ldrnbch8.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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 10 October 2023 12:33:41 +0000 (0:00:00.270) 0:17:46.917 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 10 October 2023 12:33:41 +0000 (0:00:00.071) 0:17:46.989 ******* ok: [sut] => { "changed": false, "checksum": "8a94f20d69c13301c40bdb193591f30c9ddb5050", "dest": "/tmp/configure_ag.j2_ldrnbch8.sql", "gid": 0, "group": "root", "md5sum": "ced59b8d26a29cb5e1c2ec2730778bed", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 11802, "src": "/root/.ansible/tmp/ansible-tmp-1696941221.938162-15951-22191129290392/source", "state": "file", "uid": 0 } TASK [linux-system-roles.mssql : Input with the sqlcmd command configure_ag.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 10 October 2023 12:33:47 +0000 (0:00:05.293) 0:17:52.282 ******* 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 : Print file location and output from inputting configure_ag.j2] *** task path: /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:37 Tuesday 10 October 2023 12:33:47 +0000 (0:00:00.341) 0:17:52.624 ******* ok: [sut] => (item=/tmp/configure_ag.j2_ldrnbch8.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag.j2_ldrnbch8.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 27bf6eda-dd38-45d0-9817-7bbabe7cef24', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The ENDPOINT_URL setting on this primary replica configured successfully', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The SEEDING_MODE setting on this primary replica configured successfully', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica configured successfully', 'Verifying the existing replica 27bf6eda-dd38-45d0-9817-7bbabe7cef24', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: The SEEDING_MODE setting on this primary replica is already set correctly, skipping', '27bf6eda-dd38-45d0-9817-7bbabe7cef24: 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 27bf6eda-dd38-45d0-9817-7bbabe7cef24", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The ENDPOINT_URL setting on this primary replica configured successfully", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The SEEDING_MODE setting on this primary replica configured successfully", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica configured successfully", "Verifying the existing replica 27bf6eda-dd38-45d0-9817-7bbabe7cef24", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: The SEEDING_MODE setting on this primary replica is already set correctly, skipping", "27bf6eda-dd38-45d0-9817-7bbabe7cef24: 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/sqlcmd_input_file.yml:53 Tuesday 10 October 2023 12:33:47 +0000 (0:00:00.294) 0:17:52.919 ******* 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-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:44 Tuesday 10 October 2023 12:33:47 +0000 (0:00:00.067) 0:17:52.986 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:953 Tuesday 10 October 2023 12:33:47 +0000 (0:00:00.079) 0:17:53.066 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tests_configure_ha_cluster.yml:981 Tuesday 10 October 2023 12:33:48 +0000 (0:00:00.083) 0:17:53.149 ******* included: /WORKDIR/git-support-el948rbzg3m/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tasks/cleanup.yml:2 Tuesday 10 October 2023 12:33:48 +0000 (0:00:00.305) 0:17:53.455 ******* 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-support-el948rbzg3m/tests/tasks/cleanup.yml:7 Tuesday 10 October 2023 12:33:49 +0000 (0:00:01.040) 0:17:54.495 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tasks/cleanup.yml:15 Tuesday 10 October 2023 12:33:49 +0000 (0:00:00.088) 0:17:54.583 ******* ok: [sut] => { "ansible_python_version": "3.11.4" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tasks/cleanup.yml:19 Tuesday 10 October 2023 12:33:49 +0000 (0:00:00.117) 0:17:54.700 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 10 October 2023 12:33:49 +0000 (0:00:00.167) 0:17:54.868 ******* included: /WORKDIR/git-support-el948rbzg3m/.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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 10 October 2023 12:33:49 +0000 (0:00:00.109) 0:17:54.977 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Tuesday 10 October 2023 12:33:49 +0000 (0:00:00.063) 0:17:55.040 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 10 October 2023 12:33:52 +0000 (0:00:02.432) 0:17:57.473 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 10 October 2023 12:33:52 +0000 (0:00:00.061) 0:17:57.535 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 10 October 2023 12:33:52 +0000 (0:00:00.290) 0:17:57.825 ******* ok: [sut] => { "changed": false, "name": "firewalld", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:15:45 UTC", "ActiveEnterTimestampMonotonic": "740630889", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus-broker.service polkit.service sysinit.target dbus.socket basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:15:44 UTC", "AssertTimestampMonotonic": "739211779", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1032719000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ConditionTimestampMonotonic": "739211776", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service ebtables.service ipset.service nftables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlGroupId": "6209", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5318", "ExecMainStartTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ExecMainStartTimestampMonotonic": "739225176", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-10-10 12:15:44 UTC", "InactiveExitTimestampMonotonic": "739225454", "InvocationID": "9d8885fe06694e2782404d2bbb7c2636", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "29579", "LimitNPROCSoft": "29579", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5318", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "34861056", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:18:33 UTC", "StateChangeTimestampMonotonic": "908267464", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "8873", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 10 October 2023 12:33:53 +0000 (0:00:00.573) 0:17:58.399 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:firewalld_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-10-10 12:15:45 UTC", "ActiveEnterTimestampMonotonic": "740630889", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus-broker.service polkit.service sysinit.target dbus.socket basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-10-10 12:15:44 UTC", "AssertTimestampMonotonic": "739211779", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1032719000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ConditionTimestampMonotonic": "739211776", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service ebtables.service ipset.service nftables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlGroupId": "6209", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "\"man:firewalld(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5318", "ExecMainStartTimestamp": "Tue 2023-10-10 12:15:44 UTC", "ExecMainStartTimestampMonotonic": "739225176", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-10-10 12:15:44 UTC", "InactiveExitTimestampMonotonic": "739225454", "InvocationID": "9d8885fe06694e2782404d2bbb7c2636", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "29579", "LimitNPROCSoft": "29579", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "29579", "LimitSIGPENDINGSoft": "29579", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5318", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "34861056", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-10-10 12:18:33 UTC", "StateChangeTimestampMonotonic": "908267464", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "8873", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 10 October 2023 12:33:53 +0000 (0:00:00.574) 0:17:58.974 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 10 October 2023 12:33:53 +0000 (0:00:00.057) 0:17:59.032 ******* ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 5239ab42969631d88d5fbee8e66e68bf3930fd0ccbc9a5d38876093bef059f98 /etc/firewalld/zones/public.xml STDERR: Shared connection to 10.31.14.29 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 10 October 2023 12:33:54 +0000 (0:00:00.723) 0:17:59.755 ******* ok: [sut] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 10 October 2023 12:33:54 +0000 (0:00:00.085) 0:17:59.841 ******* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Tuesday 10 October 2023 12:33:54 +0000 (0:00:00.073) 0:17:59.914 ******* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Tuesday 10 October 2023 12:33:54 +0000 (0:00:00.094) 0:18:00.009 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Tuesday 10 October 2023 12:33:54 +0000 (0:00:00.086) 0:18:00.095 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Tuesday 10 October 2023 12:33:55 +0000 (0:00:00.054) 0:18:00.150 ******* 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-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Tuesday 10 October 2023 12:33:55 +0000 (0:00:00.063) 0:18:00.213 ******* ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.14.29 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Tuesday 10 October 2023 12:33:55 +0000 (0:00:00.451) 0:18:00.664 ******* changed: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-support-el948rbzg3m/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Tuesday 10 October 2023 12:33:55 +0000 (0:00:00.070) 0:18:00.735 ******* skipping: [sut] => {} TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-support-el948rbzg3m/tests/tasks/cleanup.yml:28 Tuesday 10 October 2023 12:33:55 +0000 (0:00:00.073) 0:18:00.808 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-support-el948rbzg3m/tests/tasks/cleanup.yml:36 Tuesday 10 October 2023 12:33:55 +0000 (0:00:00.091) 0:18:00.900 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-support-el948rbzg3m/tests/tasks/cleanup.yml:40 Tuesday 10 October 2023 12:33:55 +0000 (0:00:00.118) 0:18:01.018 ******* fatal: [sut]: FAILED! => { "changed": false, "rc": 257 } MSG: Destination /etc/yum.conf does not exist ! to retry, use: --limit @/tmp/tests_configure_ha_cluster.retry PLAY RECAP ********************************************************************* sut : ok=616 changed=53 unreachable=0 failed=3 skipped=444 rescued=1 ignored=0 Tuesday 10 October 2023 12:33:56 +0000 (0:00:00.527) 0:18:01.545 ******* =============================================================================== linux-system-roles.mssql : Wait for mssql-server to prepare for client connections -- 92.00s /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 linux-system-roles.mssql : Ensure the package mssql-server ------------- 66.48s /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:199 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections -- 45.91s /WORKDIR/git-support-el948rbzg3m/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 -- 45.84s /WORKDIR/git-support-el948rbzg3m/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 -- 30.65s /WORKDIR/git-support-el948rbzg3m/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 -- 30.63s /WORKDIR/git-support-el948rbzg3m/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 -- 30.62s /WORKDIR/git-support-el948rbzg3m/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 -- 30.54s /WORKDIR/git-support-el948rbzg3m/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 -- 15.39s /WORKDIR/git-support-el948rbzg3m/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 -- 15.37s /WORKDIR/git-support-el948rbzg3m/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 -- 15.36s /WORKDIR/git-support-el948rbzg3m/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 -- 15.35s /WORKDIR/git-support-el948rbzg3m/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 -- 15.35s /WORKDIR/git-support-el948rbzg3m/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 -- 15.32s /WORKDIR/git-support-el948rbzg3m/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 -- 15.30s /WORKDIR/git-support-el948rbzg3m/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 -- 15.30s /WORKDIR/git-support-el948rbzg3m/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 -- 15.30s /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/main.yml:370 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections -- 15.30s /WORKDIR/git-support-el948rbzg3m/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 -- 15.29s /WORKDIR/git-support-el948rbzg3m/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 -- 15.28s /WORKDIR/git-support-el948rbzg3m/tests/roles/linux-system-roles.mssql/tasks/input_sql_files.yml:26 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---