# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_idempotency_2022.yml ******************************************* 1 plays in /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_idempotency_2022.yml PLAY [Ensure that the role is idempotent] ************************************** META: ran handlers TASK [Run tests_idempotency with SQL Server 2022] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_idempotency_2022.yml:19 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.022) 0:00:00.022 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml for sut TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:2 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.011) 0:00:00.033 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.021) 0:00:00.054 **** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.465) 0:00:00.520 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.010) 0:00:00.531 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run on a fresh host and set all parameters] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:5 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.008) 0:00:00.540 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.146) 0:00:00.686 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.009) 0:00:00.696 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.009) 0:00:00.705 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.024) 0:00:00.730 **** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.007) 0:00:00.738 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.007) 0:00:00.745 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.008) 0:00:00.754 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.007) 0:00:00.762 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.007) 0:00:00.770 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.007) 0:00:00.778 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.007) 0:00:00.785 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.012) 0:00:00.798 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.007) 0:00:00.806 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.007) 0:00:00.813 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.013) 0:00:00.826 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.008) 0:00:00.835 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:42:31 +0000 (0:00:00.009) 0:00:00.845 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:42:33 +0000 (0:00:01.461) 0:00:02.306 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:42:33 +0000 (0:00:00.045) 0:00:02.351 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:42:33 +0000 (0:00:00.027) 0:00:02.379 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:42:33 +0000 (0:00:00.025) 0:00:02.404 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Wednesday 06 December 2023 13:42:33 +0000 (0:00:00.044) 0:00:02.448 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Wednesday 06 December 2023 13:42:34 +0000 (0:00:00.466) 0:00:02.914 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Wednesday 06 December 2023 13:42:34 +0000 (0:00:00.019) 0:00:02.934 **** 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-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Wednesday 06 December 2023 13:42:34 +0000 (0:00:00.018) 0:00:02.953 **** 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-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Wednesday 06 December 2023 13:42:34 +0000 (0:00:00.020) 0:00:02.973 **** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2022", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:42:34 +0000 (0:00:00.274) 0:00:03.247 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Wednesday 06 December 2023 13:42:34 +0000 (0:00:00.024) 0:00:03.271 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Wednesday 06 December 2023 13:42:34 +0000 (0:00:00.018) 0:00:03.290 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 06 December 2023 13:42:34 +0000 (0:00:00.018) 0:00:03.308 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Wednesday 06 December 2023 13:42:34 +0000 (0:00:00.019) 0:00:03.327 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:42:34 +0000 (0:00:00.018) 0:00:03.346 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-16.0.4095.4-1.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: libipt-1.6.1-8.el8.x86_64", "Installed: gc-7.6.4-3.el8.x86_64", "Installed: gdb-8.2-20.el8.x86_64", "Installed: libatomic-8.5.0-20.el8.x86_64", "Installed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Installed: gcc-gdb-plugin-8.5.0-20.el8.x86_64", "Installed: gdb-headless-8.2-20.el8.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: libtool-ltdl-2.4.6-25.el8.x86_64", "Installed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Installed: libbabeltrace-1.5.4-4.el8.x86_64", "Installed: guile-5:2.0.14-7.el8.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:43:16 +0000 (0:00:41.922) 0:00:45.268 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Wednesday 06 December 2023 13:43:16 +0000 (0:00:00.018) 0:00:45.287 **** 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.006050", "end": "2023-12-06 13:43:16.659113", "rc": 0, "start": "2023-12-06 13:43:16.653063" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 06 December 2023 13:43:16 +0000 (0:00:00.284) 0:00:45.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 the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Wednesday 06 December 2023 13:43:18 +0000 (0:00:01.758) 0:00:47.329 **** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Wednesday 06 December 2023 13:43:18 +0000 (0:00:00.026) 0:00:47.356 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Wednesday 06 December 2023 13:43:18 +0000 (0:00:00.022) 0:00:47.379 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Wednesday 06 December 2023 13:43:26 +0000 (0:00:08.230) 0:00:55.610 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /tmp/data] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:43:26 +0000 (0:00:00.044) 0:00:55.654 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:43:27 +0000 (0:00:00.327) 0:00:55.982 **** changed: [sut] => { "changed": true, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:43:27 +0000 (0:00:00.294) 0:00:56.277 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" } ], "selinux_restore_dirs": [ "/tmp/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:43:27 +0000 (0:00:00.052) 0:00:56.329 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:27 +0000 (0:00:00.035) 0:00:56.365 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003570", "end": "2023-12-06 13:43:27.676816", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:43:27.673246" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:27 +0000 (0:00:00.228) 0:00:56.593 **** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/tmp/data" ], "delta": "0:00:00.137630", "end": "2023-12-06 13:43:28.096563", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:27.958933" } 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 filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.428) 0:00:57.021 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /tmp/log] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.023) 0:00:57.045 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.272) 0:00:57.318 **** changed: [sut] => { "changed": true, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.250) 0:00:57.568 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.026) 0:00:57.595 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.067) 0:00:57.663 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003240", "end": "2023-12-06 13:43:29.009560", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:43:29.006320" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:29 +0000 (0:00:00.265) 0:00:57.929 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/log" ], "delta": "0:00:00.134604", "end": "2023-12-06 13:43:29.368068", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:29.233464" } 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 filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:29 +0000 (0:00:00.361) 0:00:58.290 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Wednesday 06 December 2023 13:43:29 +0000 (0:00:00.023) 0:00:58.314 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Wednesday 06 December 2023 13:43:29 +0000 (0:00:00.022) 0:00:58.337 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Wednesday 06 December 2023 13:43:31 +0000 (0:00:01.895) 0:01:00.232 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:29:39 UTC", "ActiveEnterTimestampMonotonic": "11602085", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket dbus.socket dbus.service sysinit.target basic.target network.target system.slice polkit.service systemd-sysctl.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:29:38 UTC", "AssertTimestampMonotonic": "10545506", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:29:38 UTC", "ConditionTimestampMonotonic": "10545504", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service cpupower.service auto-cpufreq.service shutdown.target tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "683", "ExecMainStartTimestamp": "Wed 2023-12-06 13:29:38 UTC", "ExecMainStartTimestampMonotonic": "10547135", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:29:38 UTC", "InactiveExitTimestampMonotonic": "10547192", "InvocationID": "e4b7ca54a6854275990c1e4524a7f7d3", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "683", "MemoryAccounting": "yes", "MemoryCurrent": "22835200", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.service sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:29:39 UTC", "StateChangeTimestampMonotonic": "11602085", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:29:39 UTC", "WatchdogTimestampMonotonic": "11602081", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Wednesday 06 December 2023 13:43:31 +0000 (0:00:00.577) 0:01:00.809 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.132094", "end": "2023-12-06 13:43:32.299825", "rc": 0, "start": "2023-12-06 13:43:32.167731" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Wednesday 06 December 2023 13:43:32 +0000 (0:00:00.410) 0:01:01.219 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 06 December 2023 13:43:32 +0000 (0:00:00.033) 0:01:01.253 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Wednesday 06 December 2023 13:43:32 +0000 (0:00:00.023) 0:01:01.276 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Wednesday 06 December 2023 13:43:32 +0000 (0:00:00.035) 0:01:01.311 **** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 06 December 2023 13:43:32 +0000 (0:00:00.267) 0:01:01.578 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-tools-17.10.1.1-1.x86_64", "Installed: msodbcsql17-17.10.5.1-1.x86_64", "Installed: unixODBC-devel-2.3.11-1.rh.x86_64", "Installed: unixODBC-2.3.11-1.rh.x86_64" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 06 December 2023 13:43:35 +0000 (0:00:02.336) 0:01:03.915 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Wednesday 06 December 2023 13:43:35 +0000 (0:00:00.042) 0:01:03.957 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 06 December 2023 13:43:35 +0000 (0:00:00.020) 0:01:03.978 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Wednesday 06 December 2023 13:43:35 +0000 (0:00:00.020) 0:01:03.999 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:43:35 +0000 (0:00:00.019) 0:01:04.018 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Wednesday 06 December 2023 13:43:35 +0000 (0:00:00.019) 0:01:04.038 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Wednesday 06 December 2023 13:43:35 +0000 (0:00:00.019) 0:01:04.057 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Wednesday 06 December 2023 13:43:35 +0000 (0:00:00.019) 0:01:04.076 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Wednesday 06 December 2023 13:43:35 +0000 (0:00:00.020) 0:01:04.097 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Wednesday 06 December 2023 13:43:35 +0000 (0:00:00.019) 0:01:04.117 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Wednesday 06 December 2023 13:43:35 +0000 (0:00:00.021) 0:01:04.138 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 06 December 2023 13:43:35 +0000 (0:00:00.020) 0:01:04.159 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Wednesday 06 December 2023 13:43:35 +0000 (0:00:00.021) 0:01:04.180 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:35 +0000 (0:00:00.036) 0:01:04.216 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004451", "end": "2023-12-06 13:43:36.516092", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:43:35.511641" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:36 +0000 (0:00:01.237) 0:01:05.454 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.133410", "end": "2023-12-06 13:43:36.887962", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:36.754552" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:36 +0000 (0:00:00.352) 0:01:05.806 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Wednesday 06 December 2023 13:43:36 +0000 (0:00:00.020) 0:01:05.827 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:43:36 +0000 (0:00:00.020) 0:01:05.847 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Wednesday 06 December 2023 13:43:36 +0000 (0:00:00.020) 0:01:05.867 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:37 +0000 (0:00:00.033) 0:01:05.901 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003075", "end": "2023-12-06 13:43:37.197598", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:43:37.194523" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:37 +0000 (0:00:00.211) 0:01:06.113 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.133267", "end": "2023-12-06 13:43:37.545830", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:37.412563" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:37 +0000 (0:00:00.352) 0:01:06.465 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 06 December 2023 13:43:37 +0000 (0:00:00.018) 0:01:06.484 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Wednesday 06 December 2023 13:43:37 +0000 (0:00:00.021) 0:01:06.505 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:37 +0000 (0:00:00.039) 0:01:06.544 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003110", "end": "2023-12-06 13:43:37.842787", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:37.839677" } STDOUT: enabled = false TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:37 +0000 (0:00:00.238) 0:01:06.783 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.132463", "end": "2023-12-06 13:43:38.213679", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:38.081216" } 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 sqlagent enabled] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:38 +0000 (0:00:00.350) 0:01:07.133 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wednesday 06 December 2023 13:43:38 +0000 (0:00:00.030) 0:01:07.164 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-fts-16.0.4095.4-1.x86_64" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 06 December 2023 13:44:08 +0000 (0:00:30.480) 0:01:37.645 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: powershell-7.4.0-1.rh.x86_64", "Installed: libicu-60.3-2.el8_1.x86_64" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Wednesday 06 December 2023 13:44:16 +0000 (0:00:07.943) 0:01:45.588 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002975", "end": "2023-12-06 13:44:16.884473", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:44:16.881498" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 06 December 2023 13:44:16 +0000 (0:00:00.208) 0:01:45.797 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.135951", "end": "2023-12-06 13:44:17.228418", "rc": 0, "start": "2023-12-06 13:44:17.092467" } 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 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 06 December 2023 13:44:17 +0000 (0:00:00.347) 0:01:46.144 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Wednesday 06 December 2023 13:44:17 +0000 (0:00:00.022) 0:01:46.167 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:17 +0000 (0:00:00.035) 0:01:46.203 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003220", "end": "2023-12-06 13:44:17.517850", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:44:17.514630" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:17 +0000 (0:00:00.229) 0:01:46.432 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.134950", "end": "2023-12-06 13:44:17.877880", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:17.742930" } 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 control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:17 +0000 (0:00:00.363) 0:01:46.796 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:44:17 +0000 (0:00:00.020) 0:01:46.816 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:17 +0000 (0:00:00.036) 0:01:46.852 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003249", "end": "2023-12-06 13:44:18.152251", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:44:18.149002" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.214) 0:01:47.067 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.132393", "end": "2023-12-06 13:44:18.497387", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:18.364994" } 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 control writethrough] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.372) 0:01:47.439 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.022) 0:01:47.461 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.019) 0:01:47.480 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.021) 0:01:47.501 **** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.023) 0:01:47.525 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.019) 0:01:47.544 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.019) 0:01:47.564 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.019) 0:01:47.583 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.019) 0:01:47.603 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.022) 0:01:47.625 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.020) 0:01:47.645 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.019) 0:01:47.665 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.020) 0:01:47.686 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.023) 0:01:47.709 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.021) 0:01:47.731 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.019) 0:01:47.751 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.019) 0:01:47.770 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.044) 0:01:47.815 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.019) 0:01:47.835 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.019) 0:01:47.854 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Wednesday 06 December 2023 13:44:18 +0000 (0:00:00.019) 0:01:47.873 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.018) 0:01:47.892 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.019) 0:01:47.912 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.020) 0:01:47.932 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.021) 0:01:47.953 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.020) 0:01:47.974 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.021) 0:01:47.995 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.019) 0:01:48.015 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.019) 0:01:48.034 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.019) 0:01:48.054 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.020) 0:01:48.074 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.021) 0:01:48.095 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.019) 0:01:48.115 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.020) 0:01:48.135 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.019) 0:01:48.155 **** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.027) 0:01:48.182 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.050) 0:01:48.232 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.021) 0:01:48.254 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.026) 0:01:48.280 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.019) 0:01:48.300 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.019) 0:01:48.319 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.020) 0:01:48.340 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.020) 0:01:48.361 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.019) 0:01:48.380 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.031) 0:01:48.411 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.029) 0:01:48.441 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.022) 0:01:48.463 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.021) 0:01:48.484 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.020) 0:01:48.505 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.021) 0:01:48.526 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.047) 0:01:48.574 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.027) 0:01:48.601 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.029) 0:01:48.631 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.028) 0:01:48.659 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.059) 0:01:48.719 **** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.044) 0:01:48.764 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.038) 0:01:48.802 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.026) 0:01:48.829 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.041) 0:01:48.870 **** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 06 December 2023 13:44:20 +0000 (0:00:00.354) 0:01:49.225 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:43:26 UTC", "ActiveEnterTimestampMonotonic": "838160926", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target auditd.service system.slice sysinit.target network.target systemd-journald.socket -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:43:26 UTC", "AssertTimestampMonotonic": "838159556", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:43:26 UTC", "ConditionTimestampMonotonic": "838159556", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25419", "ExecMainStartTimestamp": "Wed 2023-12-06 13:43:26 UTC", "ExecMainStartTimestampMonotonic": "838160679", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:43:26 UTC", "InactiveExitTimestampMonotonic": "838160926", "InvocationID": "c28202dc5dcc44bfb12a5cb50811273b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "25419", "MemoryAccounting": "yes", "MemoryCurrent": "732278784", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:43:26 UTC", "StateChangeTimestampMonotonic": "838160926", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "175", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:43:26 UTC", "WatchdogTimestampMonotonic": "838160923", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Wednesday 06 December 2023 13:44:20 +0000 (0:00:00.615) 0:01:49.841 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Wednesday 06 December 2023 13:44:20 +0000 (0:00:00.021) 0:01:49.862 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:22 Wednesday 06 December 2023 13:44:21 +0000 (0:00:00.021) 0:01:49.883 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 06 December 2023 13:44:21 +0000 (0:00:00.086) 0:01:49.970 **** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 06 December 2023 13:44:21 +0000 (0:00:00.321) 0:01:50.292 **** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 06 December 2023 13:44:21 +0000 (0:00:00.244) 0:01:50.536 **** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:25 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.567) 0:01:51.104 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.202) 0:01:51.307 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.038) 0:01:51.345 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.025) 0:01:51.371 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.039) 0:01:51.410 **** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.020) 0:01:51.431 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.035) 0:01:51.467 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.057) 0:01:51.524 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.021) 0:01:51.546 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.021) 0:01:51.568 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.022) 0:01:51.590 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.028) 0:01:51.619 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.025) 0:01:51.645 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.021) 0:01:51.666 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.021) 0:01:51.688 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.026) 0:01:51.714 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.022) 0:01:51.737 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.023) 0:01:51.760 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:44:24 +0000 (0:00:01.500) 0:01:53.261 **** 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-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:44:24 +0000 (0:00:00.063) 0:01:53.325 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:44:24 +0000 (0:00:00.036) 0:01:53.361 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:44:24 +0000 (0:00:00.030) 0:01:53.391 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Wednesday 06 December 2023 13:44:24 +0000 (0:00:00.044) 0:01:53.436 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.592) 0:01:54.029 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.035) 0:01:54.064 **** 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-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.026) 0:01:54.091 **** 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-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.036) 0:01:54.128 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.035) 0:01:54.163 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.022) 0:01:54.186 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.020) 0:01:54.207 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.020) 0:01:54.227 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.022) 0:01:54.250 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.069) 0:01:54.319 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:44:26 +0000 (0:00:01.500) 0:01:55.820 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.024) 0:01:55.844 **** 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.005713", "end": "2023-12-06 13:44:27.147382", "rc": 0, "start": "2023-12-06 13:44:27.141669" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 06 December 2023 13:44:27 +0000 (0:00:00.219) 0:01:56.063 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Wednesday 06 December 2023 13:44:28 +0000 (0:00:01.795) 0:01:57.858 **** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.038) 0:01:57.897 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.069) 0:01:57.967 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.021) 0:01:57.989 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /tmp/data] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.050) 0:01:58.039 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870207.3452709, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701870207.3462708, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 729809419, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701870207.3452709, "nlink": 2, "path": "/tmp/data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "441626015", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.220) 0:01:58.259 **** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.237) 0:01:58.497 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.029) 0:01:58.527 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.044) 0:01:58.571 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003150", "end": "2023-12-06 13:44:29.874623", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:29.871473" } STDOUT: defaultdatadir = /tmp/data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.219) 0:01:58.790 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.026) 0:01:58.817 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /tmp/log] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.023) 0:01:58.840 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870208.6482723, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701870208.6492724, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 771752707, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701870208.6482723, "nlink": 2, "path": "/tmp/log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "3529030856", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:44:30 +0000 (0:00:00.235) 0:01:59.076 **** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:44:30 +0000 (0:00:00.262) 0:01:59.338 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:44:30 +0000 (0:00:00.033) 0:01:59.372 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:30 +0000 (0:00:00.036) 0:01:59.408 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003728", "end": "2023-12-06 13:44:30.709618", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:30.705890" } STDOUT: defaultlogdir = /tmp/log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:30 +0000 (0:00:00.233) 0:01:59.641 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:30 +0000 (0:00:00.034) 0:01:59.675 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Wednesday 06 December 2023 13:44:30 +0000 (0:00:00.024) 0:01:59.700 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Wednesday 06 December 2023 13:44:30 +0000 (0:00:00.027) 0:01:59.727 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Wednesday 06 December 2023 13:44:32 +0000 (0:00:01.314) 0:02:01.042 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:29:39 UTC", "ActiveEnterTimestampMonotonic": "11602085", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target systemd-sysctl.service sysinit.target dbus.service dbus.socket polkit.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:29:38 UTC", "AssertTimestampMonotonic": "10545506", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:29:38 UTC", "ConditionTimestampMonotonic": "10545504", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service power-profiles-daemon.service shutdown.target auto-cpufreq.service cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "683", "ExecMainStartTimestamp": "Wed 2023-12-06 13:29:38 UTC", "ExecMainStartTimestampMonotonic": "10547135", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:29:38 UTC", "InactiveExitTimestampMonotonic": "10547192", "InvocationID": "e4b7ca54a6854275990c1e4524a7f7d3", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "683", "MemoryAccounting": "yes", "MemoryCurrent": "22945792", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target dbus.service system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:29:39 UTC", "StateChangeTimestampMonotonic": "11602085", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:29:39 UTC", "WatchdogTimestampMonotonic": "11602081", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Wednesday 06 December 2023 13:44:32 +0000 (0:00:00.356) 0:02:01.398 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.123526", "end": "2023-12-06 13:44:32.814717", "rc": 0, "start": "2023-12-06 13:44:32.691191" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Wednesday 06 December 2023 13:44:32 +0000 (0:00:00.331) 0:02:01.730 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 06 December 2023 13:44:32 +0000 (0:00:00.021) 0:02:01.751 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Wednesday 06 December 2023 13:44:32 +0000 (0:00:00.019) 0:02:01.771 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Wednesday 06 December 2023 13:44:32 +0000 (0:00:00.019) 0:02:01.791 **** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 06 December 2023 13:44:33 +0000 (0:00:00.215) 0:02:02.006 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 06 December 2023 13:44:34 +0000 (0:00:01.307) 0:02:03.313 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:44:34 +0000 (0:00:00.038) 0:02:03.352 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:44:20 UTC", "ActiveEnterTimestampMonotonic": "892562294", "ActiveExitTimestamp": "Wed 2023-12-06 13:44:20 UTC", "ActiveExitTimestampMonotonic": "892342607", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target auditd.service network.target system.slice -.mount basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:44:20 UTC", "AssertTimestampMonotonic": "892561058", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:44:20 UTC", "ConditionTimestampMonotonic": "892561058", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "26623", "ExecMainStartTimestamp": "Wed 2023-12-06 13:44:20 UTC", "ExecMainStartTimestampMonotonic": "892562232", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:44:20 UTC", "InactiveEnterTimestampMonotonic": "892559904", "InactiveExitTimestamp": "Wed 2023-12-06 13:44:20 UTC", "InactiveExitTimestampMonotonic": "892562294", "InvocationID": "7cd69fecc7174f16a9c21244543e4e75", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "26623", "MemoryAccounting": "yes", "MemoryCurrent": "862928896", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:44:20 UTC", "StateChangeTimestampMonotonic": "892562294", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "193", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:44:20 UTC", "WatchdogTimestampMonotonic": "892562292", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:44:34 +0000 (0:00:00.381) 0:02:03.733 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003081", "end": "2023-12-06 13:44:35.047701", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:44:35.044620" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:44:35 +0000 (0:00:00.228) 0:02:03.962 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002934", "end": "2023-12-06 13:44:35.264068", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:35.261134" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:44:35 +0000 (0:00:00.223) 0:02:04.186 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Wednesday 06 December 2023 13:44:35 +0000 (0:00:00.030) 0:02:04.216 **** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 18377, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 06 December 2023 13:44:36 +0000 (0:00:01.266) 0:02:05.483 **** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Wednesday 06 December 2023 13:44:36 +0000 (0:00:00.242) 0:02:05.726 **** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:44:20 UTC", "ActiveEnterTimestampMonotonic": "892562294", "ActiveExitTimestamp": "Wed 2023-12-06 13:44:20 UTC", "ActiveExitTimestampMonotonic": "892342607", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target auditd.service network.target system.slice -.mount basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:44:20 UTC", "AssertTimestampMonotonic": "892561058", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:44:20 UTC", "ConditionTimestampMonotonic": "892561058", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "26623", "ExecMainStartTimestamp": "Wed 2023-12-06 13:44:20 UTC", "ExecMainStartTimestampMonotonic": "892562232", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:44:20 UTC", "InactiveEnterTimestampMonotonic": "892559904", "InactiveExitTimestamp": "Wed 2023-12-06 13:44:20 UTC", "InactiveExitTimestampMonotonic": "892562294", "InvocationID": "7cd69fecc7174f16a9c21244543e4e75", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "26623", "MemoryAccounting": "yes", "MemoryCurrent": "866832384", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:44:20 UTC", "StateChangeTimestampMonotonic": "892562294", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "196", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:44:20 UTC", "WatchdogTimestampMonotonic": "892562292", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:44:37 +0000 (0:00:00.531) 0:02:06.257 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Wednesday 06 December 2023 13:44:38 +0000 (0:00:01.368) 0:02:07.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 : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Wednesday 06 December 2023 13:44:46 +0000 (0:00:07.417) 0:02:15.043 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Wednesday 06 December 2023 13:44:46 +0000 (0:00:00.021) 0:02:15.064 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Wednesday 06 December 2023 13:44:46 +0000 (0:00:00.019) 0:02:15.084 **** 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.005591", "end": "2023-12-06 13:44:46.385698", "rc": 0, "start": "2023-12-06 13:44:46.380107" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Wednesday 06 December 2023 13:44:46 +0000 (0:00:00.216) 0:02:15.301 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Wednesday 06 December 2023 13:44:46 +0000 (0:00:00.027) 0:02:15.328 **** 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-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 06 December 2023 13:44:47 +0000 (0:00:01.349) 0:02:16.678 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Wednesday 06 December 2023 13:44:47 +0000 (0:00:00.025) 0:02:16.704 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:47 +0000 (0:00:00.048) 0:02:16.752 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003258", "end": "2023-12-06 13:44:48.050702", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:48.047444" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.220) 0:02:16.973 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.078) 0:02:17.052 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.040) 0:02:17.092 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.024) 0:02:17.117 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.031) 0:02:17.148 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.036) 0:02:17.185 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003012", "end": "2023-12-06 13:44:48.485605", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:44:48.482593" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.216) 0:02:17.402 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.134960", "end": "2023-12-06 13:44:48.845206", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:48.710246" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.366) 0:02:17.768 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.027) 0:02:17.796 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.022) 0:02:17.818 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.041) 0:02:17.859 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003032", "end": "2023-12-06 13:44:49.157832", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:49.154800" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.220) 0:02:18.079 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.025) 0:02:18.105 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.057) 0:02:18.162 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 06 December 2023 13:44:50 +0000 (0:00:01.344) 0:02:19.507 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Wednesday 06 December 2023 13:44:51 +0000 (0:00:01.350) 0:02:20.857 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003255", "end": "2023-12-06 13:44:52.158955", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:52.155700" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.216) 0:02:21.074 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.023) 0:02:21.097 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.021) 0:02:21.119 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.036) 0:02:21.155 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003097", "end": "2023-12-06 13:44:52.455265", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:52.452168" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.215) 0:02:21.371 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.027) 0:02:21.398 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.022) 0:02:21.420 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.037) 0:02:21.458 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003167", "end": "2023-12-06 13:44:52.758250", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:52.755083" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.216) 0:02:21.675 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.026) 0:02:21.702 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.022) 0:02:21.724 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.020) 0:02:21.745 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.021) 0:02:21.766 **** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.023) 0:02:21.790 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.019) 0:02:21.809 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.021) 0:02:21.830 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.019) 0:02:21.850 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 06 December 2023 13:44:52 +0000 (0:00:00.020) 0:02:21.870 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.060) 0:02:21.931 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.021) 0:02:21.952 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.021) 0:02:21.974 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.024) 0:02:21.998 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.022) 0:02:22.020 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.023) 0:02:22.044 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.022) 0:02:22.066 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.029) 0:02:22.096 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.025) 0:02:22.121 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.021) 0:02:22.142 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.022) 0:02:22.165 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.023) 0:02:22.188 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.021) 0:02:22.210 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.019) 0:02:22.229 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.021) 0:02:22.250 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.019) 0:02:22.270 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.019) 0:02:22.290 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.056) 0:02:22.347 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.028) 0:02:22.375 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.038) 0:02:22.414 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.025) 0:02:22.439 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.026) 0:02:22.466 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.036) 0:02:22.502 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.039) 0:02:22.542 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.023) 0:02:22.565 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.035) 0:02:22.601 **** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.038) 0:02:22.640 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.022) 0:02:22.662 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.021) 0:02:22.684 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.028) 0:02:22.712 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.022) 0:02:22.734 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.021) 0:02:22.756 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.024) 0:02:22.780 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.022) 0:02:22.803 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.074) 0:02:22.877 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.023) 0:02:22.901 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.025) 0:02:22.926 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.030) 0:02:22.956 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.024) 0:02:22.981 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.020) 0:02:23.001 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.020) 0:02:23.021 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.027) 0:02:23.048 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.022) 0:02:23.071 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.021) 0:02:23.093 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.022) 0:02:23.115 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.025) 0:02:23.140 **** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.030) 0:02:23.171 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.022) 0:02:23.194 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.029) 0:02:23.223 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.030) 0:02:23.254 **** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.283) 0:02:23.537 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:44:20 UTC", "ActiveEnterTimestampMonotonic": "892562294", "ActiveExitTimestamp": "Wed 2023-12-06 13:44:37 UTC", "ActiveExitTimestampMonotonic": "908824125", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target auditd.service network.target system.slice -.mount basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:44:20 UTC", "AssertTimestampMonotonic": "892561058", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:44:20 UTC", "ConditionTimestampMonotonic": "892561058", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2023-12-06 13:44:37 UTC", "ExecMainExitTimestampMonotonic": "908987811", "ExecMainPID": "26623", "ExecMainStartTimestamp": "Wed 2023-12-06 13:44:20 UTC", "ExecMainStartTimestampMonotonic": "892562232", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:44:20 UTC] ; stop_time=[Wed 2023-12-06 13:44:37 UTC] ; pid=26623 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:44:37 UTC", "InactiveEnterTimestampMonotonic": "908987932", "InactiveExitTimestamp": "Wed 2023-12-06 13:44:20 UTC", "InactiveExitTimestampMonotonic": "892562294", "InvocationID": "7cd69fecc7174f16a9c21244543e4e75", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:44:37 UTC", "StateChangeTimestampMonotonic": "908987932", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.370) 0:02:23.908 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.021) 0:02:23.929 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:40 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.027) 0:02:23.957 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:8 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.117) 0:02:24.074 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006804", "end": "2023-12-06 13:44:55.400543", "rc": 0, "start": "2023-12-06 13:44:55.393739" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:23 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.240) 0:02:24.315 **** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.005817", "end": "2023-12-06 13:44:55.634897", "rc": 0, "start": "2023-12-06 13:44:55.629080" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:35 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.235) 0:02:24.550 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:39 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.023) 0:02:24.574 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.093) 0:02:24.668 **** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005405", "end": "2023-12-06 13:44:55.994633", "rc": 0, "start": "2023-12-06 13:44:55.989228" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:44:56 +0000 (0:00:00.251) 0:02:24.919 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:44:56 +0000 (0:00:00.031) 0:02:24.951 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:44:56 +0000 (0:00:00.024) 0:02:24.976 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:44:56 +0000 (0:00:00.023) 0:02:24.999 **** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.006015", "end": "2023-12-06 13:44:56.332195", "rc": 0, "start": "2023-12-06 13:44:56.326180" } STDOUT: tcpport = 1433 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:44:56 +0000 (0:00:00.253) 0:02:25.252 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:44:56 +0000 (0:00:00.023) 0:02:25.276 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:44:56 +0000 (0:00:00.022) 0:02:25.299 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:44:56 +0000 (0:00:00.030) 0:02:25.329 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005014", "end": "2023-12-06 13:44:56.699817", "rc": 0, "start": "2023-12-06 13:44:56.694803" } STDOUT: defaultdatadir = /tmp/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:44:56 +0000 (0:00:00.293) 0:02:25.622 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:44:56 +0000 (0:00:00.029) 0:02:25.651 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/data] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:44:56 +0000 (0:00:00.025) 0:02:25.677 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:44:56 +0000 (0:00:00.023) 0:02:25.700 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005378", "end": "2023-12-06 13:44:57.055503", "rc": 0, "start": "2023-12-06 13:44:57.050125" } STDOUT: defaultlogdir = /tmp/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:44:57 +0000 (0:00:00.306) 0:02:26.006 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:44:57 +0000 (0:00:00.030) 0:02:26.037 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/log] ****************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:44:57 +0000 (0:00:00.022) 0:02:26.059 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:44:57 +0000 (0:00:00.024) 0:02:26.083 **** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005372", "end": "2023-12-06 13:44:57.402128", "rc": 0, "start": "2023-12-06 13:44:57.396756" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:44:57 +0000 (0:00:00.236) 0:02:26.320 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:44:57 +0000 (0:00:00.024) 0:02:26.345 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:44:57 +0000 (0:00:00.031) 0:02:26.376 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:55 Wednesday 06 December 2023 13:44:57 +0000 (0:00:00.022) 0:02:26.398 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870207.3452709, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701870207.3462708, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 729809419, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701870207.3452709, "nlink": 2, "path": "/tmp/data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "441626015", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:60 Wednesday 06 December 2023 13:44:57 +0000 (0:00:00.234) 0:02:26.633 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:70 Wednesday 06 December 2023 13:44:57 +0000 (0:00:00.027) 0:02:26.660 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870208.6482723, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701870208.6492724, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 771752707, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701870208.6482723, "nlink": 2, "path": "/tmp/log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "3529030856", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:75 Wednesday 06 December 2023 13:44:58 +0000 (0:00:00.228) 0:02:26.888 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:85 Wednesday 06 December 2023 13:44:58 +0000 (0:00:00.025) 0:02:26.914 **** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:44:58 +0000 (0:00:00.039) 0:02:26.953 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:44:54 UTC", "ActiveEnterTimestampMonotonic": "926638495", "ActiveExitTimestamp": "Wed 2023-12-06 13:44:37 UTC", "ActiveExitTimestampMonotonic": "908824125", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target auditd.service network.target system.slice -.mount basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:44:54 UTC", "AssertTimestampMonotonic": "926637389", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:44:54 UTC", "ConditionTimestampMonotonic": "926637389", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "27943", "ExecMainStartTimestamp": "Wed 2023-12-06 13:44:54 UTC", "ExecMainStartTimestampMonotonic": "926638446", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:44:54 UTC] ; stop_time=[n/a] ; pid=27943 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:44:37 UTC", "InactiveEnterTimestampMonotonic": "908987932", "InactiveExitTimestamp": "Wed 2023-12-06 13:44:54 UTC", "InactiveExitTimestampMonotonic": "926638495", "InvocationID": "47c673b52de74f9e897ab59e42cbf72c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "27943", "MemoryAccounting": "yes", "MemoryCurrent": "641675264", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:44:54 UTC", "StateChangeTimestampMonotonic": "926638495", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "143", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:44:54 UTC", "WatchdogTimestampMonotonic": "926638494", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:44:58 +0000 (0:00:00.454) 0:02:27.407 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004666", "end": "2023-12-06 13:44:58.816280", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:58.811614" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:44:58 +0000 (0:00:00.332) 0:02:27.740 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004643", "end": "2023-12-06 13:44:59.156545", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:59.151902" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:44:59 +0000 (0:00:00.348) 0:02:28.089 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:93 Wednesday 06 December 2023 13:44:59 +0000 (0:00:00.041) 0:02:28.130 **** ok: [sut] => { "changed": false, "elapsed": 18, "gid": 990, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 20632, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:100 Wednesday 06 December 2023 13:45:17 +0000 (0:00:18.333) 0:02:46.463 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "0.0.0.0,1433", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.028488", "end": "2023-12-06 13:45:17.788634", "rc": 0, "start": "2023-12-06 13:45:17.760146" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2022 (RTM-CU10) (KB5031778) - 16.0.4095.4 (X64) Oct 30 2023 16:12:44 Copyright (C) 2022 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux 8.9 (Ootpa)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:104 Wednesday 06 December 2023 13:45:17 +0000 (0:00:00.274) 0:02:46.737 **** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:108 Wednesday 06 December 2023 13:45:17 +0000 (0:00:00.023) 0:02:46.761 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 13:45:17 +0000 (0:00:00.035) 0:02:46.796 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 13:45:19 +0000 (0:00:01.371) 0:02:48.168 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 13:45:19 +0000 (0:00:00.030) 0:02:48.198 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:115 Wednesday 06 December 2023 13:45:19 +0000 (0:00:00.021) 0:02:48.220 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 13:45:19 +0000 (0:00:00.035) 0:02:48.255 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 13:45:20 +0000 (0:00:01.383) 0:02:49.639 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 13:45:20 +0000 (0:00:00.032) 0:02:49.671 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:126 Wednesday 06 December 2023 13:45:20 +0000 (0:00:00.022) 0:02:49.693 **** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004830", "end": "2023-12-06 13:45:20.994738", "rc": 0, "start": "2023-12-06 13:45:20.989908" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:131 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.216) 0:02:49.910 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:136 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.038) 0:02:49.949 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:142 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.030) 0:02:49.979 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.042) 0:02:50.021 **** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004832", "end": "2023-12-06 13:45:21.323342", "rc": 0, "start": "2023-12-06 13:45:21.318510" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.231) 0:02:50.252 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.026) 0:02:50.279 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.030) 0:02:50.310 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:148 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.021) 0:02:50.331 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.061) 0:02:50.392 **** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004785", "end": "2023-12-06 13:45:21.696085", "rc": 0, "start": "2023-12-06 13:45:21.691300" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.220) 0:02:50.613 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.023) 0:02:50.637 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.031) 0:02:50.669 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:158 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.023) 0:02:50.692 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:169 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.021) 0:02:50.713 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:181 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.021) 0:02:50.735 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:189 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.021) 0:02:50.757 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:199 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.021) 0:02:50.779 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:204 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.022) 0:02:50.802 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:212 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.060) 0:02:50.862 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:56 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.029) 0:02:50.892 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.260) 0:02:51.153 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.033) 0:02:51.186 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.025) 0:02:51.212 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.036) 0:02:51.248 **** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.019) 0:02:51.268 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.069) 0:02:51.338 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.021) 0:02:51.359 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.021) 0:02:51.381 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.022) 0:02:51.403 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.023) 0:02:51.426 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.027) 0:02:51.454 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.026) 0:02:51.480 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.021) 0:02:51.502 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.021) 0:02:51.523 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.021) 0:02:51.545 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.021) 0:02:51.566 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.023) 0:02:51.590 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:45:24 +0000 (0:00:01.416) 0:02:53.006 **** 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-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.102) 0:02:53.109 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.035) 0:02:53.145 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.038) 0:02:53.183 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.051) 0:02:53.234 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.369) 0:02:53.604 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.023) 0:02:53.628 **** 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-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.027) 0:02:53.656 **** 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-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.030) 0:02:53.686 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.028) 0:02:53.715 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.025) 0:02:53.740 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.037) 0:02:53.777 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.020) 0:02:53.798 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.068) 0:02:53.867 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:45:25 +0000 (0:00:00.024) 0:02:53.891 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:45:26 +0000 (0:00:01.343) 0:02:55.235 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Wednesday 06 December 2023 13:45:26 +0000 (0:00:00.021) 0:02:55.257 **** 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.005921", "end": "2023-12-06 13:45:26.558123", "rc": 0, "start": "2023-12-06 13:45:26.552202" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 06 December 2023 13:45:26 +0000 (0:00:00.220) 0:02:55.478 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Wednesday 06 December 2023 13:45:28 +0000 (0:00:01.641) 0:02:57.120 **** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Wednesday 06 December 2023 13:45:28 +0000 (0:00:00.028) 0:02:57.148 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Wednesday 06 December 2023 13:45:28 +0000 (0:00:00.020) 0:02:57.169 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Wednesday 06 December 2023 13:45:28 +0000 (0:00:00.019) 0:02:57.188 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:45:28 +0000 (0:00:00.090) 0:02:57.279 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870206.3852696, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701870206.3482697, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 327156037, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870206.3482697, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "735837168", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:45:28 +0000 (0:00:00.220) 0:02:57.500 **** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:45:28 +0000 (0:00:00.226) 0:02:57.726 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:45:28 +0000 (0:00:00.027) 0:02:57.753 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:28 +0000 (0:00:00.036) 0:02:57.790 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003086", "end": "2023-12-06 13:45:29.093309", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:29.090223" } STDOUT: defaultdatadir = /tmp/data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:29 +0000 (0:00:00.219) 0:02:58.010 **** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/var/opt/mssql/data" ], "delta": "0:00:00.133975", "end": "2023-12-06 13:45:29.447738", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:29.313763" } 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 filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:29 +0000 (0:00:00.357) 0:02:58.368 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:45:29 +0000 (0:00:00.024) 0:02:58.393 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870300.381375, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701870300.3803751, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 335544585, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870300.3803751, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "1545131146", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:45:29 +0000 (0:00:00.220) 0:02:58.613 **** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:45:30 +0000 (0:00:00.286) 0:02:58.899 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:45:30 +0000 (0:00:00.059) 0:02:58.959 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:30 +0000 (0:00:00.038) 0:02:58.998 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004527", "end": "2023-12-06 13:45:31.299516", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:30.294989" } STDOUT: defaultlogdir = /tmp/log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:31 +0000 (0:00:01.246) 0:03:00.244 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.132778", "end": "2023-12-06 13:45:31.687044", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:31.554266" } 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 filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:31 +0000 (0:00:00.363) 0:03:00.607 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Wednesday 06 December 2023 13:45:31 +0000 (0:00:00.025) 0:03:00.632 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Wednesday 06 December 2023 13:45:31 +0000 (0:00:00.024) 0:03:00.657 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Wednesday 06 December 2023 13:45:33 +0000 (0:00:01.304) 0:03:01.961 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:29:39 UTC", "ActiveEnterTimestampMonotonic": "11602085", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target systemd-sysctl.service sysinit.target dbus.service dbus.socket polkit.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:29:38 UTC", "AssertTimestampMonotonic": "10545506", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:29:38 UTC", "ConditionTimestampMonotonic": "10545504", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service power-profiles-daemon.service shutdown.target auto-cpufreq.service cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "683", "ExecMainStartTimestamp": "Wed 2023-12-06 13:29:38 UTC", "ExecMainStartTimestampMonotonic": "10547135", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:29:38 UTC", "InactiveExitTimestampMonotonic": "10547192", "InvocationID": "e4b7ca54a6854275990c1e4524a7f7d3", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "683", "MemoryAccounting": "yes", "MemoryCurrent": "22933504", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target dbus.service system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:29:39 UTC", "StateChangeTimestampMonotonic": "11602085", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:29:39 UTC", "WatchdogTimestampMonotonic": "11602081", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Wednesday 06 December 2023 13:45:33 +0000 (0:00:00.406) 0:03:02.368 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.123394", "end": "2023-12-06 13:45:33.786134", "rc": 0, "start": "2023-12-06 13:45:33.662740" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Wednesday 06 December 2023 13:45:33 +0000 (0:00:00.333) 0:03:02.701 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 06 December 2023 13:45:33 +0000 (0:00:00.021) 0:03:02.723 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Wednesday 06 December 2023 13:45:33 +0000 (0:00:00.022) 0:03:02.746 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Wednesday 06 December 2023 13:45:33 +0000 (0:00:00.022) 0:03:02.769 **** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 06 December 2023 13:45:34 +0000 (0:00:00.236) 0:03:03.005 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 06 December 2023 13:45:35 +0000 (0:00:01.314) 0:03:04.319 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:45:35 +0000 (0:00:00.083) 0:03:04.403 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:44:54 UTC", "ActiveEnterTimestampMonotonic": "926638495", "ActiveExitTimestamp": "Wed 2023-12-06 13:44:37 UTC", "ActiveExitTimestampMonotonic": "908824125", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target auditd.service network.target system.slice -.mount basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:44:54 UTC", "AssertTimestampMonotonic": "926637389", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:44:54 UTC", "ConditionTimestampMonotonic": "926637389", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "27943", "ExecMainStartTimestamp": "Wed 2023-12-06 13:44:54 UTC", "ExecMainStartTimestampMonotonic": "926638446", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:44:54 UTC] ; stop_time=[n/a] ; pid=27943 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:44:37 UTC", "InactiveEnterTimestampMonotonic": "908987932", "InactiveExitTimestamp": "Wed 2023-12-06 13:44:54 UTC", "InactiveExitTimestampMonotonic": "926638495", "InvocationID": "47c673b52de74f9e897ab59e42cbf72c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "27943", "MemoryAccounting": "yes", "MemoryCurrent": "804438016", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:44:54 UTC", "StateChangeTimestampMonotonic": "926638495", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "191", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:44:54 UTC", "WatchdogTimestampMonotonic": "926638494", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:45:35 +0000 (0:00:00.351) 0:03:04.755 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003077", "end": "2023-12-06 13:45:36.056080", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:36.053003" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:45:36 +0000 (0:00:00.220) 0:03:04.975 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003244", "end": "2023-12-06 13:45:36.289747", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:36.286503" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:45:36 +0000 (0:00:00.230) 0:03:05.205 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Wednesday 06 December 2023 13:45:36 +0000 (0:00:00.037) 0:03:05.243 **** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 21118, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 06 December 2023 13:45:37 +0000 (0:00:01.243) 0:03:06.486 **** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.257) 0:03:06.744 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:44:54 UTC", "ActiveEnterTimestampMonotonic": "926638495", "ActiveExitTimestamp": "Wed 2023-12-06 13:44:37 UTC", "ActiveExitTimestampMonotonic": "908824125", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target auditd.service network.target system.slice -.mount basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:44:54 UTC", "AssertTimestampMonotonic": "926637389", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:44:54 UTC", "ConditionTimestampMonotonic": "926637389", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "27943", "ExecMainStartTimestamp": "Wed 2023-12-06 13:44:54 UTC", "ExecMainStartTimestampMonotonic": "926638446", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:44:54 UTC] ; stop_time=[n/a] ; pid=27943 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:44:37 UTC", "InactiveEnterTimestampMonotonic": "908987932", "InactiveExitTimestamp": "Wed 2023-12-06 13:44:54 UTC", "InactiveExitTimestampMonotonic": "926638495", "InvocationID": "47c673b52de74f9e897ab59e42cbf72c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "27943", "MemoryAccounting": "yes", "MemoryCurrent": "807206912", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:44:54 UTC", "StateChangeTimestampMonotonic": "926638495", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "191", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:44:54 UTC", "WatchdogTimestampMonotonic": "926638494", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.524) 0:03:07.269 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Wednesday 06 December 2023 13:45:39 +0000 (0:00:01.533) 0:03:08.803 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Wednesday 06 December 2023 13:45:47 +0000 (0:00:07.326) 0:03:16.130 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Wednesday 06 December 2023 13:45:47 +0000 (0:00:00.047) 0:03:16.177 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Wednesday 06 December 2023 13:45:47 +0000 (0:00:00.028) 0:03:16.206 **** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard 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.005343", "end": "2023-12-06 13:45:47.555743", "rc": 0, "start": "2023-12-06 13:45:47.550400" } STDOUT: false TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Wednesday 06 December 2023 13:45:47 +0000 (0:00:00.272) 0:03:16.478 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:44:54 UTC", "ActiveEnterTimestampMonotonic": "926638495", "ActiveExitTimestamp": "Wed 2023-12-06 13:45:38 UTC", "ActiveExitTimestampMonotonic": "969838087", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target auditd.service network.target system.slice -.mount basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:44:54 UTC", "AssertTimestampMonotonic": "926637389", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:44:54 UTC", "ConditionTimestampMonotonic": "926637389", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2023-12-06 13:45:38 UTC", "ExecMainExitTimestampMonotonic": "970000829", "ExecMainPID": "27943", "ExecMainStartTimestamp": "Wed 2023-12-06 13:44:54 UTC", "ExecMainStartTimestampMonotonic": "926638446", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:44:54 UTC] ; stop_time=[Wed 2023-12-06 13:45:38 UTC] ; pid=27943 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:45:38 UTC", "InactiveEnterTimestampMonotonic": "970000921", "InactiveExitTimestamp": "Wed 2023-12-06 13:44:54 UTC", "InactiveExitTimestampMonotonic": "926638495", "InvocationID": "47c673b52de74f9e897ab59e42cbf72c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:45:38 UTC", "StateChangeTimestampMonotonic": "970000921", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Wednesday 06 December 2023 13:45:47 +0000 (0:00:00.405) 0:03:16.883 **** 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-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 06 December 2023 13:45:49 +0000 (0:00:01.542) 0:03:18.426 **** 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 : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Wednesday 06 December 2023 13:45:57 +0000 (0:00:07.502) 0:03:25.928 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:57 +0000 (0:00:00.043) 0:03:25.971 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003279", "end": "2023-12-06 13:45:57.278746", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:57.275467" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:57 +0000 (0:00:00.228) 0:03:26.200 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.139901", "end": "2023-12-06 13:45:57.645290", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:57.505389" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:57 +0000 (0:00:00.365) 0:03:26.566 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Wednesday 06 December 2023 13:45:57 +0000 (0:00:00.022) 0:03:26.588 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:45:57 +0000 (0:00:00.024) 0:03:26.613 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1435] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Wednesday 06 December 2023 13:45:57 +0000 (0:00:00.022) 0:03:26.636 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:57 +0000 (0:00:00.105) 0:03:26.741 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003276", "end": "2023-12-06 13:45:58.040609", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:58.037333" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:58 +0000 (0:00:00.217) 0:03:26.959 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.134849", "end": "2023-12-06 13:45:58.396656", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:58.261807" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:58 +0000 (0:00:00.362) 0:03:27.321 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 06 December 2023 13:45:58 +0000 (0:00:00.031) 0:03:27.352 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Wednesday 06 December 2023 13:45:58 +0000 (0:00:00.040) 0:03:27.393 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:58 +0000 (0:00:00.086) 0:03:27.479 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003276", "end": "2023-12-06 13:45:58.780926", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:58.777650" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:58 +0000 (0:00:00.241) 0:03:27.720 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.134319", "end": "2023-12-06 13:45:59.162354", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:59.028035" } 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 sqlagent enabled] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:59 +0000 (0:00:00.362) 0:03:28.083 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wednesday 06 December 2023 13:45:59 +0000 (0:00:00.023) 0:03:28.107 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: mssql-server-fts-16.0.4095.4-1.x86_64" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 06 December 2023 13:46:01 +0000 (0:00:01.844) 0:03:29.952 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: powershell-7.4.0-1.rh.x86_64" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Wednesday 06 December 2023 13:46:02 +0000 (0:00:01.895) 0:03:31.847 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003252", "end": "2023-12-06 13:46:03.168982", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:03.165730" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 06 December 2023 13:46:03 +0000 (0:00:00.238) 0:03:32.086 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 06 December 2023 13:46:03 +0000 (0:00:00.024) 0:03:32.111 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.133974", "end": "2023-12-06 13:46:03.558777", "rc": 0, "start": "2023-12-06 13:46:03.424803" } 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 : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Wednesday 06 December 2023 13:46:03 +0000 (0:00:00.364) 0:03:32.476 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:46:03 +0000 (0:00:00.040) 0:03:32.516 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004796", "end": "2023-12-06 13:46:04.818193", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:03.813397" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:46:04 +0000 (0:00:01.222) 0:03:33.739 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:46:04 +0000 (0:00:00.075) 0:03:33.814 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:46:04 +0000 (0:00:00.023) 0:03:33.837 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:46:04 +0000 (0:00:00.040) 0:03:33.877 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003344", "end": "2023-12-06 13:46:05.180147", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:05.176803" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.221) 0:03:34.099 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.136657", "end": "2023-12-06 13:46:05.538659", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:05.402002" } 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 control writethrough] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.360) 0:03:34.459 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.025) 0:03:34.484 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.023) 0:03:34.507 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.027) 0:03:34.535 **** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.029) 0:03:34.565 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.035) 0:03:34.600 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.021) 0:03:34.622 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.022) 0:03:34.645 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.022) 0:03:34.667 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.022) 0:03:34.690 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.066) 0:03:34.757 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.022) 0:03:34.779 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.023) 0:03:34.803 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.025) 0:03:34.828 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.024) 0:03:34.852 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Wednesday 06 December 2023 13:46:05 +0000 (0:00:00.023) 0:03:34.876 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.024) 0:03:34.900 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.024) 0:03:34.924 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.023) 0:03:34.948 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.026) 0:03:34.975 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.022) 0:03:34.998 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.022) 0:03:35.020 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.021) 0:03:35.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 [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.022) 0:03:35.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-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.020) 0:03:35.085 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.020) 0:03:35.105 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.071) 0:03:35.177 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.021) 0:03:35.199 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.023) 0:03:35.222 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.023) 0:03:35.246 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.025) 0:03:35.271 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.039) 0:03:35.310 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.023) 0:03:35.333 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.021) 0:03:35.355 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.022) 0:03:35.377 **** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.025) 0:03:35.402 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.022) 0:03:35.425 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.020) 0:03:35.446 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.025) 0:03:35.471 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.019) 0:03:35.491 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.020) 0:03:35.511 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.020) 0:03:35.532 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.019) 0:03:35.552 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.080) 0:03:35.633 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.021) 0:03:35.654 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.023) 0:03:35.678 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.025) 0:03:35.703 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.021) 0:03:35.725 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.021) 0:03:35.747 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.021) 0:03:35.769 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.027) 0:03:35.796 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.022) 0:03:35.818 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.022) 0:03:35.840 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 06 December 2023 13:46:06 +0000 (0:00:00.021) 0:03:35.862 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Wednesday 06 December 2023 13:46:07 +0000 (0:00:00.023) 0:03:35.886 **** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 06 December 2023 13:46:07 +0000 (0:00:00.032) 0:03:35.918 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Wednesday 06 December 2023 13:46:07 +0000 (0:00:00.021) 0:03:35.939 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:46:07 +0000 (0:00:00.022) 0:03:35.962 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Wednesday 06 December 2023 13:46:07 +0000 (0:00:00.021) 0:03:35.984 **** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 06 December 2023 13:46:07 +0000 (0:00:00.299) 0:03:36.283 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:44:54 UTC", "ActiveEnterTimestampMonotonic": "926638495", "ActiveExitTimestamp": "Wed 2023-12-06 13:45:38 UTC", "ActiveExitTimestampMonotonic": "969838087", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target auditd.service network.target system.slice -.mount basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:44:54 UTC", "AssertTimestampMonotonic": "926637389", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:44:54 UTC", "ConditionTimestampMonotonic": "926637389", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2023-12-06 13:45:38 UTC", "ExecMainExitTimestampMonotonic": "970000829", "ExecMainPID": "27943", "ExecMainStartTimestamp": "Wed 2023-12-06 13:44:54 UTC", "ExecMainStartTimestampMonotonic": "926638446", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:44:54 UTC] ; stop_time=[Wed 2023-12-06 13:45:38 UTC] ; pid=27943 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:45:38 UTC", "InactiveEnterTimestampMonotonic": "970000921", "InactiveExitTimestamp": "Wed 2023-12-06 13:44:54 UTC", "InactiveExitTimestampMonotonic": "926638495", "InvocationID": "47c673b52de74f9e897ab59e42cbf72c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:45:38 UTC", "StateChangeTimestampMonotonic": "970000921", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Wednesday 06 December 2023 13:46:07 +0000 (0:00:00.428) 0:03:36.711 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Wednesday 06 December 2023 13:46:07 +0000 (0:00:00.021) 0:03:36.733 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run with the edited settings again - should report not changed] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:73 Wednesday 06 December 2023 13:46:07 +0000 (0:00:00.021) 0:03:36.755 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.396) 0:03:37.151 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.036) 0:03:37.187 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.032) 0:03:37.220 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.042) 0:03:37.263 **** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.023) 0:03:37.286 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.023) 0:03:37.310 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.029) 0:03:37.339 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.043) 0:03:37.383 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.036) 0:03:37.420 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.027) 0:03:37.447 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.043) 0:03:37.491 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.028) 0:03:37.519 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.024) 0:03:37.543 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.041) 0:03:37.585 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.039) 0:03:37.624 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.039) 0:03:37.664 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.156) 0:03:37.820 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:46:10 +0000 (0:00:01.600) 0:03:39.420 **** 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-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:46:10 +0000 (0:00:00.070) 0:03:39.490 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:46:10 +0000 (0:00:00.025) 0:03:39.516 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:46:10 +0000 (0:00:00.025) 0:03:39.541 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Wednesday 06 December 2023 13:46:10 +0000 (0:00:00.042) 0:03:39.584 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Wednesday 06 December 2023 13:46:11 +0000 (0:00:00.478) 0:03:40.062 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Wednesday 06 December 2023 13:46:11 +0000 (0:00:00.125) 0:03:40.188 **** 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-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Wednesday 06 December 2023 13:46:11 +0000 (0:00:00.029) 0:03:40.217 **** 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-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Wednesday 06 December 2023 13:46:11 +0000 (0:00:00.027) 0:03:40.245 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:46:11 +0000 (0:00:00.033) 0:03:40.278 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Wednesday 06 December 2023 13:46:11 +0000 (0:00:00.022) 0:03:40.301 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Wednesday 06 December 2023 13:46:11 +0000 (0:00:00.021) 0:03:40.322 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 06 December 2023 13:46:11 +0000 (0:00:00.022) 0:03:40.345 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Wednesday 06 December 2023 13:46:11 +0000 (0:00:00.024) 0:03:40.370 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:46:11 +0000 (0:00:00.025) 0:03:40.395 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:46:13 +0000 (0:00:01.510) 0:03:41.906 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.022) 0:03:41.929 **** 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.007656", "end": "2023-12-06 13:46:13.249798", "rc": 0, "start": "2023-12-06 13:46:13.242142" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.253) 0:03:42.182 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Wednesday 06 December 2023 13:46:15 +0000 (0:00:01.758) 0:03:43.941 **** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.028) 0:03:43.970 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.022) 0:03:43.992 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.021) 0:03:44.014 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.053) 0:03:44.067 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870206.3852696, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701870206.3482697, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 327156037, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870206.3482697, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "735837168", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.223) 0:03:44.290 **** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.270) 0:03:44.561 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.041) 0:03:44.602 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.041) 0:03:44.644 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002938", "end": "2023-12-06 13:46:15.959208", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:15.956270" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.234) 0:03:44.879 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.113) 0:03:44.993 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.030) 0:03:45.023 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870373.0503604, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701870373.0603604, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 335544585, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870373.0603604, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "1545131146", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.222) 0:03:45.245 **** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.225) 0:03:45.471 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.029) 0:03:45.500 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.037) 0:03:45.538 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003132", "end": "2023-12-06 13:46:16.849300", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:16.846168" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.227) 0:03:45.766 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.028) 0:03:45.794 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.024) 0:03:45.819 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.024) 0:03:45.844 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Wednesday 06 December 2023 13:46:18 +0000 (0:00:01.295) 0:03:47.139 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:29:39 UTC", "ActiveEnterTimestampMonotonic": "11602085", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target systemd-sysctl.service sysinit.target dbus.service dbus.socket polkit.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:29:38 UTC", "AssertTimestampMonotonic": "10545506", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:29:38 UTC", "ConditionTimestampMonotonic": "10545504", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service power-profiles-daemon.service shutdown.target auto-cpufreq.service cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "683", "ExecMainStartTimestamp": "Wed 2023-12-06 13:29:38 UTC", "ExecMainStartTimestampMonotonic": "10547135", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:29:38 UTC", "InactiveExitTimestampMonotonic": "10547192", "InvocationID": "e4b7ca54a6854275990c1e4524a7f7d3", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "683", "MemoryAccounting": "yes", "MemoryCurrent": "22925312", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target dbus.service system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:29:39 UTC", "StateChangeTimestampMonotonic": "11602085", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:29:39 UTC", "WatchdogTimestampMonotonic": "11602081", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.367) 0:03:47.506 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.121307", "end": "2023-12-06 13:46:18.920378", "rc": 0, "start": "2023-12-06 13:46:18.799071" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.338) 0:03:47.844 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.022) 0:03:47.867 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Wednesday 06 December 2023 13:46:19 +0000 (0:00:00.030) 0:03:47.898 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Wednesday 06 December 2023 13:46:19 +0000 (0:00:00.028) 0:03:47.926 **** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 06 December 2023 13:46:19 +0000 (0:00:00.234) 0:03:48.161 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 06 December 2023 13:46:20 +0000 (0:00:01.307) 0:03:49.468 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:46:20 +0000 (0:00:00.039) 0:03:49.508 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:46:07 UTC", "ActiveEnterTimestampMonotonic": "999441642", "ActiveExitTimestamp": "Wed 2023-12-06 13:45:38 UTC", "ActiveExitTimestampMonotonic": "969838087", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target auditd.service network.target system.slice -.mount basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:46:07 UTC", "AssertTimestampMonotonic": "999440550", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:46:07 UTC", "ConditionTimestampMonotonic": "999440549", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "29955", "ExecMainStartTimestamp": "Wed 2023-12-06 13:46:07 UTC", "ExecMainStartTimestampMonotonic": "999441590", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:46:07 UTC] ; stop_time=[n/a] ; pid=29955 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:45:38 UTC", "InactiveEnterTimestampMonotonic": "970000921", "InactiveExitTimestamp": "Wed 2023-12-06 13:46:07 UTC", "InactiveExitTimestampMonotonic": "999441642", "InvocationID": "29d5bca3eeae452c986295c5fa13ed92", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "29955", "MemoryAccounting": "yes", "MemoryCurrent": "706695168", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:46:07 UTC", "StateChangeTimestampMonotonic": "999441642", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "176", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:46:07 UTC", "WatchdogTimestampMonotonic": "999441640", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:46:21 +0000 (0:00:00.410) 0:03:49.918 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003092", "end": "2023-12-06 13:46:21.217858", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:21.214766" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:46:21 +0000 (0:00:00.225) 0:03:50.144 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003134", "end": "2023-12-06 13:46:21.450886", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:21.447752" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:46:21 +0000 (0:00:00.232) 0:03:50.377 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Wednesday 06 December 2023 13:46:21 +0000 (0:00:00.046) 0:03:50.424 **** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 16983, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 06 December 2023 13:46:22 +0000 (0:00:01.224) 0:03:51.649 **** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Wednesday 06 December 2023 13:46:23 +0000 (0:00:00.252) 0:03:51.901 **** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:46:07 UTC", "ActiveEnterTimestampMonotonic": "999441642", "ActiveExitTimestamp": "Wed 2023-12-06 13:45:38 UTC", "ActiveExitTimestampMonotonic": "969838087", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target auditd.service network.target system.slice -.mount basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:46:07 UTC", "AssertTimestampMonotonic": "999440550", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:46:07 UTC", "ConditionTimestampMonotonic": "999440549", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "29955", "ExecMainStartTimestamp": "Wed 2023-12-06 13:46:07 UTC", "ExecMainStartTimestampMonotonic": "999441590", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:46:07 UTC] ; stop_time=[n/a] ; pid=29955 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:45:38 UTC", "InactiveEnterTimestampMonotonic": "970000921", "InactiveExitTimestamp": "Wed 2023-12-06 13:46:07 UTC", "InactiveExitTimestampMonotonic": "999441642", "InvocationID": "29d5bca3eeae452c986295c5fa13ed92", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "29955", "MemoryAccounting": "yes", "MemoryCurrent": "712110080", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:46:07 UTC", "StateChangeTimestampMonotonic": "999441642", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "177", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:46:07 UTC", "WatchdogTimestampMonotonic": "999441640", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:46:23 +0000 (0:00:00.570) 0:03:52.472 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Wednesday 06 December 2023 13:46:24 +0000 (0:00:01.406) 0:03:53.879 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Wednesday 06 December 2023 13:46:30 +0000 (0:00:05.928) 0:03:59.807 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Wednesday 06 December 2023 13:46:30 +0000 (0:00:00.022) 0:03:59.830 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Wednesday 06 December 2023 13:46:30 +0000 (0:00:00.023) 0:03:59.853 **** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard 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.005413", "end": "2023-12-06 13:46:31.154237", "rc": 0, "start": "2023-12-06 13:46:31.148824" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Wednesday 06 December 2023 13:46:31 +0000 (0:00:00.216) 0:04:00.069 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Wednesday 06 December 2023 13:46:31 +0000 (0:00:00.025) 0:04:00.095 **** 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-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 06 December 2023 13:46:32 +0000 (0:00:01.343) 0:04:01.439 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Wednesday 06 December 2023 13:46:32 +0000 (0:00:00.023) 0:04:01.463 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:46:32 +0000 (0:00:00.092) 0:04:01.555 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003082", "end": "2023-12-06 13:46:32.854631", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:32.851549" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:46:32 +0000 (0:00:00.216) 0:04:01.772 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:46:32 +0000 (0:00:00.026) 0:04:01.799 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Wednesday 06 December 2023 13:46:32 +0000 (0:00:00.021) 0:04:01.821 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:46:32 +0000 (0:00:00.023) 0:04:01.844 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1435] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Wednesday 06 December 2023 13:46:32 +0000 (0:00:00.022) 0:04:01.867 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:46:33 +0000 (0:00:00.040) 0:04:01.908 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003252", "end": "2023-12-06 13:46:33.208414", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:33.205162" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:46:33 +0000 (0:00:00.222) 0:04:02.131 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:46:33 +0000 (0:00:00.029) 0:04:02.160 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 06 December 2023 13:46:33 +0000 (0:00:00.022) 0:04:02.182 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Wednesday 06 December 2023 13:46:33 +0000 (0:00:00.024) 0:04:02.206 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:46:33 +0000 (0:00:00.040) 0:04:02.247 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003183", "end": "2023-12-06 13:46:33.547440", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:33.544257" } STDOUT: enabled = False TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:46:33 +0000 (0:00:00.215) 0:04:02.463 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:46:33 +0000 (0:00:00.094) 0:04:02.558 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wednesday 06 December 2023 13:46:33 +0000 (0:00:00.025) 0:04:02.584 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 06 December 2023 13:46:35 +0000 (0:00:01.322) 0:04:03.906 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Wednesday 06 December 2023 13:46:36 +0000 (0:00:01.337) 0:04:05.243 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003239", "end": "2023-12-06 13:46:36.541744", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:46:36.538505" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 06 December 2023 13:46:36 +0000 (0:00:00.214) 0:04:05.457 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 06 December 2023 13:46:36 +0000 (0:00:00.026) 0:04:05.484 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Wednesday 06 December 2023 13:46:36 +0000 (0:00:00.025) 0:04:05.509 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:46:36 +0000 (0:00:00.056) 0:04:05.566 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003226", "end": "2023-12-06 13:46:36.870519", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:36.867293" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:46:36 +0000 (0:00:00.280) 0:04:05.846 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:46:36 +0000 (0:00:00.026) 0:04:05.873 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:46:37 +0000 (0:00:00.023) 0:04:05.896 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:46:37 +0000 (0:00:00.040) 0:04:05.937 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004641", "end": "2023-12-06 13:46:38.238259", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:37.233618" } STDOUT: writethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:46:38 +0000 (0:00:01.221) 0:04:07.158 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.028) 0:04:07.186 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.022) 0:04:07.209 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.022) 0:04:07.232 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.022) 0:04:07.255 **** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.023) 0:04:07.278 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.073) 0:04:07.352 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.022) 0:04:07.374 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.020) 0:04:07.395 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.023) 0:04:07.418 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.044) 0:04:07.463 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.022) 0:04:07.485 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.024) 0:04:07.510 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.024) 0:04:07.534 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.028) 0:04:07.562 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.032) 0:04:07.595 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.030) 0:04:07.626 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.038) 0:04:07.664 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.024) 0:04:07.689 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.036) 0:04:07.725 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.028) 0:04:07.753 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.022) 0:04:07.776 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Wednesday 06 December 2023 13:46:38 +0000 (0:00:00.031) 0:04:07.808 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.136) 0:04:07.944 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.038) 0:04:07.983 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.042) 0:04:08.025 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.030) 0:04:08.056 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.025) 0:04:08.081 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.030) 0:04:08.111 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.026) 0:04:08.138 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.032) 0:04:08.171 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.032) 0:04:08.203 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.027) 0:04:08.230 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.029) 0:04:08.260 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.031) 0:04:08.291 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.023) 0:04:08.315 **** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.041) 0:04:08.357 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.028) 0:04:08.386 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.032) 0:04:08.418 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.125) 0:04:08.544 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.027) 0:04:08.571 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.027) 0:04:08.599 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.024) 0:04:08.623 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.031) 0:04:08.654 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.025) 0:04:08.680 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.024) 0:04:08.704 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.025) 0:04:08.730 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.024) 0:04:08.754 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.026) 0:04:08.780 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.025) 0:04:08.806 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.030) 0:04:08.836 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.042) 0:04:08.879 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Wednesday 06 December 2023 13:46:40 +0000 (0:00:00.029) 0:04:08.909 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Wednesday 06 December 2023 13:46:40 +0000 (0:00:00.024) 0:04:08.933 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 06 December 2023 13:46:40 +0000 (0:00:00.025) 0:04:08.959 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Wednesday 06 December 2023 13:46:40 +0000 (0:00:00.023) 0:04:08.982 **** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 06 December 2023 13:46:40 +0000 (0:00:00.111) 0:04:09.094 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Wednesday 06 December 2023 13:46:40 +0000 (0:00:00.027) 0:04:09.121 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:46:40 +0000 (0:00:00.027) 0:04:09.149 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Wednesday 06 December 2023 13:46:40 +0000 (0:00:00.031) 0:04:09.180 **** ok: [sut] => { "changed": false } RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 06 December 2023 13:46:40 +0000 (0:00:00.257) 0:04:09.437 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:46:07 UTC", "ActiveEnterTimestampMonotonic": "999441642", "ActiveExitTimestamp": "Wed 2023-12-06 13:46:23 UTC", "ActiveExitTimestampMonotonic": "1014999428", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target auditd.service network.target system.slice -.mount basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:46:07 UTC", "AssertTimestampMonotonic": "999440550", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:46:07 UTC", "ConditionTimestampMonotonic": "999440549", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2023-12-06 13:46:23 UTC", "ExecMainExitTimestampMonotonic": "1015201684", "ExecMainPID": "29955", "ExecMainStartTimestamp": "Wed 2023-12-06 13:46:07 UTC", "ExecMainStartTimestampMonotonic": "999441590", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:46:07 UTC] ; stop_time=[Wed 2023-12-06 13:46:23 UTC] ; pid=29955 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:46:23 UTC", "InactiveEnterTimestampMonotonic": "1015201769", "InactiveExitTimestamp": "Wed 2023-12-06 13:46:07 UTC", "InactiveExitTimestampMonotonic": "999441642", "InvocationID": "29d5bca3eeae452c986295c5fa13ed92", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:46:23 UTC", "StateChangeTimestampMonotonic": "1015201769", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Wednesday 06 December 2023 13:46:40 +0000 (0:00:00.421) 0:04:09.858 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Wednesday 06 December 2023 13:46:40 +0000 (0:00:00.023) 0:04:09.882 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:88 Wednesday 06 December 2023 13:46:41 +0000 (0:00:00.025) 0:04:09.907 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:8 Wednesday 06 December 2023 13:46:41 +0000 (0:00:00.209) 0:04:10.117 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006522", "end": "2023-12-06 13:46:41.439774", "rc": 0, "start": "2023-12-06 13:46:41.433252" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:23 Wednesday 06 December 2023 13:46:41 +0000 (0:00:00.340) 0:04:10.457 **** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.005521", "end": "2023-12-06 13:46:41.796302", "rc": 0, "start": "2023-12-06 13:46:41.790781" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:35 Wednesday 06 December 2023 13:46:41 +0000 (0:00:00.254) 0:04:10.712 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:39 Wednesday 06 December 2023 13:46:41 +0000 (0:00:00.025) 0:04:10.738 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:46:41 +0000 (0:00:00.069) 0:04:10.807 **** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005029", "end": "2023-12-06 13:46:42.152367", "rc": 0, "start": "2023-12-06 13:46:42.147338" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.275) 0:04:11.082 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.046) 0:04:11.129 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.023) 0:04:11.153 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.022) 0:04:11.176 **** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005037", "end": "2023-12-06 13:46:42.487291", "rc": 0, "start": "2023-12-06 13:46:42.482254" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.235) 0:04:11.411 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.028) 0:04:11.440 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.062) 0:04:11.503 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.031) 0:04:11.535 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004878", "end": "2023-12-06 13:46:42.867461", "rc": 0, "start": "2023-12-06 13:46:42.862583" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.359) 0:04:11.894 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.031) 0:04:11.926 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.032) 0:04:11.958 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.036) 0:04:11.995 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004702", "end": "2023-12-06 13:46:43.321234", "rc": 0, "start": "2023-12-06 13:46:43.316532" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.251) 0:04:12.246 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.041) 0:04:12.288 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.052) 0:04:12.340 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.045) 0:04:12.386 **** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004874", "end": "2023-12-06 13:46:43.721156", "rc": 0, "start": "2023-12-06 13:46:43.716282" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.253) 0:04:12.639 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.041) 0:04:12.681 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.033) 0:04:12.714 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:55 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.026) 0:04:12.741 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870206.3852696, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701870206.3482697, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 327156037, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870206.3482697, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "735837168", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:60 Wednesday 06 December 2023 13:46:44 +0000 (0:00:00.240) 0:04:12.981 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:70 Wednesday 06 December 2023 13:46:44 +0000 (0:00:00.026) 0:04:13.008 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870404.1713781, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701870404.1933782, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 335544585, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870404.1933782, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "1545131146", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:75 Wednesday 06 December 2023 13:46:44 +0000 (0:00:00.383) 0:04:13.391 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:85 Wednesday 06 December 2023 13:46:44 +0000 (0:00:00.026) 0:04:13.418 **** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:46:44 +0000 (0:00:00.044) 0:04:13.463 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:46:40 UTC", "ActiveEnterTimestampMonotonic": "1032588830", "ActiveExitTimestamp": "Wed 2023-12-06 13:46:23 UTC", "ActiveExitTimestampMonotonic": "1014999428", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target auditd.service network.target system.slice -.mount basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:46:40 UTC", "AssertTimestampMonotonic": "1032587658", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:46:40 UTC", "ConditionTimestampMonotonic": "1032587657", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "31113", "ExecMainStartTimestamp": "Wed 2023-12-06 13:46:40 UTC", "ExecMainStartTimestampMonotonic": "1032588775", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:46:40 UTC] ; stop_time=[n/a] ; pid=31113 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:46:23 UTC", "InactiveEnterTimestampMonotonic": "1015201769", "InactiveExitTimestamp": "Wed 2023-12-06 13:46:40 UTC", "InactiveExitTimestampMonotonic": "1032588830", "InvocationID": "2423397b383f4d729aa06475fc2e5fcd", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "31113", "MemoryAccounting": "yes", "MemoryCurrent": "650883072", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:46:40 UTC", "StateChangeTimestampMonotonic": "1032588830", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "163", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:46:40 UTC", "WatchdogTimestampMonotonic": "1032588828", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:46:45 +0000 (0:00:00.585) 0:04:14.048 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004334", "end": "2023-12-06 13:46:45.401230", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:45.396896" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:46:45 +0000 (0:00:00.283) 0:04:14.331 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003273", "end": "2023-12-06 13:46:45.661721", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:45.658448" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:46:45 +0000 (0:00:00.288) 0:04:14.620 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:93 Wednesday 06 December 2023 13:46:45 +0000 (0:00:00.042) 0:04:14.662 **** ok: [sut] => { "changed": false, "elapsed": 18, "gid": 990, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 16983, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:100 Wednesday 06 December 2023 13:47:04 +0000 (0:00:18.249) 0:04:32.911 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1435", "-U", "sa", "-P", "p@55w0rD1", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.030066", "end": "2023-12-06 13:47:04.237489", "rc": 0, "start": "2023-12-06 13:47:04.207423" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2022 (RTM-CU10) (KB5031778) - 16.0.4095.4 (X64) Oct 30 2023 16:12:44 Copyright (C) 2022 Microsoft Corporation Standard Edition (64-bit) on Linux (Red Hat Enterprise Linux 8.9 (Ootpa)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:104 Wednesday 06 December 2023 13:47:04 +0000 (0:00:00.241) 0:04:33.152 **** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:108 Wednesday 06 December 2023 13:47:04 +0000 (0:00:00.025) 0:04:33.178 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 13:47:04 +0000 (0:00:00.131) 0:04:33.309 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 13:47:05 +0000 (0:00:01.360) 0:04:34.670 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 13:47:05 +0000 (0:00:00.023) 0:04:34.694 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:115 Wednesday 06 December 2023 13:47:05 +0000 (0:00:00.031) 0:04:34.725 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 13:47:05 +0000 (0:00:00.038) 0:04:34.763 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 13:47:07 +0000 (0:00:01.413) 0:04:36.177 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 13:47:07 +0000 (0:00:00.138) 0:04:36.316 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:126 Wednesday 06 December 2023 13:47:07 +0000 (0:00:00.048) 0:04:36.364 **** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004573", "end": "2023-12-06 13:47:07.664752", "rc": 0, "start": "2023-12-06 13:47:07.660179" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:131 Wednesday 06 December 2023 13:47:07 +0000 (0:00:00.223) 0:04:36.588 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:136 Wednesday 06 December 2023 13:47:07 +0000 (0:00:00.031) 0:04:36.620 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:142 Wednesday 06 December 2023 13:47:07 +0000 (0:00:00.044) 0:04:36.664 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:47:07 +0000 (0:00:00.047) 0:04:36.711 **** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004723", "end": "2023-12-06 13:47:08.034293", "rc": 0, "start": "2023-12-06 13:47:08.029570" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:47:08 +0000 (0:00:00.238) 0:04:36.950 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:47:08 +0000 (0:00:00.024) 0:04:36.975 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:47:08 +0000 (0:00:00.034) 0:04:37.010 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:148 Wednesday 06 December 2023 13:47:08 +0000 (0:00:00.036) 0:04:37.047 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:47:08 +0000 (0:00:00.053) 0:04:37.100 **** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004749", "end": "2023-12-06 13:47:08.428738", "rc": 0, "start": "2023-12-06 13:47:08.423989" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:47:08 +0000 (0:00:00.262) 0:04:37.363 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:47:08 +0000 (0:00:00.025) 0:04:37.388 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:47:08 +0000 (0:00:00.135) 0:04:37.524 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:158 Wednesday 06 December 2023 13:47:08 +0000 (0:00:00.024) 0:04:37.548 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:169 Wednesday 06 December 2023 13:47:08 +0000 (0:00:00.023) 0:04:37.572 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:181 Wednesday 06 December 2023 13:47:08 +0000 (0:00:00.022) 0:04:37.594 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:189 Wednesday 06 December 2023 13:47:08 +0000 (0:00:00.021) 0:04:37.616 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:199 Wednesday 06 December 2023 13:47:08 +0000 (0:00:00.020) 0:04:37.636 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:204 Wednesday 06 December 2023 13:47:08 +0000 (0:00:00.021) 0:04:37.658 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:212 Wednesday 06 December 2023 13:47:08 +0000 (0:00:00.021) 0:04:37.679 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:105 Wednesday 06 December 2023 13:47:08 +0000 (0:00:00.020) 0:04:37.700 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/check_header.yml:4 Wednesday 06 December 2023 13:47:09 +0000 (0:00:00.204) 0:04:37.904 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003164", "end": "2023-12-06 13:47:09.311295", "rc": 0, "start": "2023-12-06 13:47:09.308131" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = False [EULA] accepteula = Y [filelocation] defaultdatadir = /var/opt/mssql/data defaultlogdir = /var/opt/mssql/log [network] ipaddress = 127.0.0.1 tcpport = 1435 [traceflag] [control] alternatewritethrough = 0 writethrough = 0 TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_idempotency_2022.yml:22 Wednesday 06 December 2023 13:47:09 +0000 (0:00:00.411) 0:04:38.315 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:2 Wednesday 06 December 2023 13:47:09 +0000 (0:00:00.047) 0:04:38.363 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:6 Wednesday 06 December 2023 13:47:10 +0000 (0:00:01.351) 0:04:39.715 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:14 Wednesday 06 December 2023 13:47:10 +0000 (0:00:00.027) 0:04:39.742 **** ok: [sut] => { "ansible_python_version": "3.6.8" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:18 Wednesday 06 December 2023 13:47:10 +0000 (0:00:00.027) 0:04:39.769 **** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 06 December 2023 13:47:10 +0000 (0:00:00.082) 0:04:39.852 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 06 December 2023 13:47:11 +0000 (0:00:00.102) 0:04:39.955 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Wednesday 06 December 2023 13:47:11 +0000 (0:00:00.027) 0:04:39.982 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Wednesday 06 December 2023 13:47:11 +0000 (0:00:00.217) 0:04:40.200 **** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Wednesday 06 December 2023 13:47:11 +0000 (0:00:00.025) 0:04:40.226 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 06 December 2023 13:47:12 +0000 (0:00:01.301) 0:04:41.527 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 06 December 2023 13:47:12 +0000 (0:00:00.023) 0:04:41.551 **** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 06 December 2023 13:47:12 +0000 (0:00:00.028) 0:04:41.580 **** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:36:47 UTC", "ActiveEnterTimestampMonotonic": "439566200", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.socket sysinit.target polkit.service basic.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:36:47 UTC", "AssertTimestampMonotonic": "438908819", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:36:47 UTC", "ConditionTimestampMonotonic": "438908819", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service ipset.service nftables.service shutdown.target iptables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6795", "ExecMainStartTimestamp": "Wed 2023-12-06 13:36:47 UTC", "ExecMainStartTimestampMonotonic": "439034775", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:36:47 UTC", "InactiveExitTimestampMonotonic": "439034835", "InvocationID": "6002b03de4c74500a9d94c47ae37bf26", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6795", "MemoryAccounting": "yes", "MemoryCurrent": "43163648", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:36:47 UTC", "StateChangeTimestampMonotonic": "439566200", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2023-12-06 13:36:47 UTC", "WatchdogTimestampMonotonic": "439566198", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 06 December 2023 13:47:13 +0000 (0:00:00.363) 0:04:41.943 **** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:36:47 UTC", "ActiveEnterTimestampMonotonic": "439566200", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.socket sysinit.target polkit.service basic.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:36:47 UTC", "AssertTimestampMonotonic": "438908819", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:36:47 UTC", "ConditionTimestampMonotonic": "438908819", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service ipset.service nftables.service shutdown.target iptables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6795", "ExecMainStartTimestamp": "Wed 2023-12-06 13:36:47 UTC", "ExecMainStartTimestampMonotonic": "439034775", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:36:47 UTC", "InactiveExitTimestampMonotonic": "439034835", "InvocationID": "6002b03de4c74500a9d94c47ae37bf26", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6795", "MemoryAccounting": "yes", "MemoryCurrent": "43163648", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:36:47 UTC", "StateChangeTimestampMonotonic": "439566200", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2023-12-06 13:36:47 UTC", "WatchdogTimestampMonotonic": "439566198", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 06 December 2023 13:47:13 +0000 (0:00:00.365) 0:04:42.309 **** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python3", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 06 December 2023 13:47:13 +0000 (0:00:00.029) 0:04:42.338 **** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.43.167 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 06 December 2023 13:47:13 +0000 (0:00:00.287) 0:04:42.625 **** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 06 December 2023 13:47:13 +0000 (0:00:00.024) 0:04:42.650 **** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 06 December 2023 13:47:13 +0000 (0:00:00.022) 0:04:42.672 **** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 06 December 2023 13:47:13 +0000 (0:00:00.021) 0:04:42.694 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 06 December 2023 13:47:13 +0000 (0:00:00.025) 0:04:42.719 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 06 December 2023 13:47:13 +0000 (0:00:00.021) 0:04:42.741 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 06 December 2023 13:47:13 +0000 (0:00:00.021) 0:04:42.762 **** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.43.167 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 06 December 2023 13:47:14 +0000 (0:00:00.278) 0:04:43.041 **** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 06 December 2023 13:47:14 +0000 (0:00:00.025) 0:04:43.066 **** skipping: [sut] => {} TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:27 Wednesday 06 December 2023 13:47:14 +0000 (0:00:00.022) 0:04:43.089 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:35 Wednesday 06 December 2023 13:47:14 +0000 (0:00:00.025) 0:04:43.115 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:39 Wednesday 06 December 2023 13:47:14 +0000 (0:00:00.027) 0:04:43.143 **** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:45 Wednesday 06 December 2023 13:47:14 +0000 (0:00:00.332) 0:04:43.475 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: lsof-4.93.2-1.el8.x86_64", "Removed: libtool-ltdl-2.4.6-25.el8.x86_64", "Removed: libatomic-8.5.0-20.el8.x86_64", "Removed: libatomic_ops-7.6.2-3.el8.x86_64", "Removed: libicu-60.3-2.el8_1.x86_64", "Removed: libbabeltrace-1.5.4-4.el8.x86_64", "Removed: libipt-1.6.1-8.el8.x86_64", "Removed: msodbcsql17-17.10.5.1-1.x86_64", "Removed: mssql-server-16.0.4095.4-1.x86_64", "Removed: gc-7.6.4-3.el8.x86_64", "Removed: mssql-tools-17.10.1.1-1.x86_64", "Removed: gcc-gdb-plugin-8.5.0-20.el8.x86_64", "Removed: gdb-8.2-20.el8.x86_64", "Removed: gdb-headless-8.2-20.el8.x86_64", "Removed: unixODBC-2.3.11-1.rh.x86_64", "Removed: unixODBC-devel-2.3.11-1.rh.x86_64", "Removed: guile-5:2.0.14-7.el8.x86_64", "Removed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Removed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Removed: bzip2-1.0.6-26.el8.x86_64" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:58 Wednesday 06 December 2023 13:47:18 +0000 (0:00:03.439) 0:04:46.914 **** changed: [sut] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.012784", "end": "2023-12-06 13:47:18.221381", "rc": 0, "start": "2023-12-06 13:47:18.208597" } STDOUT: removed directory '/var/opt/mssql/.system/system/Temp' removed '/var/opt/mssql/.system/system/lsasetup.log' removed '/var/opt/mssql/.system/system/debug/PASSWD.LOG' removed directory '/var/opt/mssql/.system/system/debug' removed '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/0d81a657-9d21-4daf-9307-534ed5bda864' removed '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect' removed directory '/var/opt/mssql/.system/system/system32/Microsoft' removed directory '/var/opt/mssql/.system/system/system32/LogFiles/Scm' removed directory '/var/opt/mssql/.system/system/system32/LogFiles' removed directory '/var/opt/mssql/.system/system/system32' removed '/var/opt/mssql/.system/system/licensing.hiv' removed '/var/opt/mssql/.system/system/security.hiv' removed '/var/opt/mssql/.system/system/lsa.hiv' removed directory '/var/opt/mssql/.system/system' removed directory '/var/opt/mssql/.system/profiles/Client/Desktop' removed directory '/var/opt/mssql/.system/profiles/Client/Documents' removed directory '/var/opt/mssql/.system/profiles/Client/Temp' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCache/IE' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCache/Content.IE5' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCache' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCookies/ESE' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCookies' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/History/History.IE5' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/History' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/LocalLow' removed directory '/var/opt/mssql/.system/profiles/Client/AppData' removed directory '/var/opt/mssql/.system/profiles/Client' removed directory '/var/opt/mssql/.system/profiles' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed directory '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore' removed directory '/var/opt/mssql/.system/programdata/Microsoft/NetFramework' removed directory '/var/opt/mssql/.system/programdata/Microsoft' removed directory '/var/opt/mssql/.system/programdata' removed '/var/opt/mssql/.system/instance_id' removed directory '/var/opt/mssql/.system' removed '/var/opt/mssql/data/master.mdf' removed '/var/opt/mssql/data/mastlog.ldf' removed '/var/opt/mssql/data/model.mdf' removed '/var/opt/mssql/data/modellog.ldf' removed '/var/opt/mssql/data/msdbdata.mdf' removed '/var/opt/mssql/data/msdblog.ldf' removed '/var/opt/mssql/data/model_replicatedmaster.mdf' removed '/var/opt/mssql/data/model_replicatedmaster.ldf' removed '/var/opt/mssql/data/model_msdbdata.mdf' removed '/var/opt/mssql/data/model_msdblog.ldf' removed '/var/opt/mssql/data/Entropy.bin' removed '/var/opt/mssql/data/tempdb.mdf' removed '/var/opt/mssql/data/templog.ldf' removed '/var/opt/mssql/data/tempdb2.ndf' removed '/var/opt/mssql/data/tempdb3.ndf' removed '/var/opt/mssql/data/tempdb4.ndf' removed directory '/var/opt/mssql/data' removed '/var/opt/mssql/log/mssql-conf/mssql-conf.log' removed directory '/var/opt/mssql/log/mssql-conf' removed '/var/opt/mssql/log/sqlagentstartup.log' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463438033760000.xel' removed '/var/opt/mssql/log/system_health_0_133463438054110000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463438099170000.xel' removed '/var/opt/mssql/log/system_health_0_133463438119350000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463438643380000.xel' removed '/var/opt/mssql/log/system_health_0_133463438660980000.xel' removed '/var/opt/mssql/log/FDLAUNCHERRORLOG' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463438823130000.xel' removed '/var/opt/mssql/log/system_health_0_133463438837160000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463438984460000.xel' removed '/var/opt/mssql/log/system_health_0_133463439003670000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463439435000000.xel' removed '/var/opt/mssql/log/system_health_0_133463439448580000.xel' removed '/var/opt/mssql/log/log_5.trc' removed '/var/opt/mssql/log/sqlagent.4' removed '/var/opt/mssql/log/sqlagent.3' removed '/var/opt/mssql/log/sqlagent.2' removed '/var/opt/mssql/log/sqlagent.1' removed '/var/opt/mssql/log/sqlagent.out' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463439531310000.xel' removed '/var/opt/mssql/log/system_health_0_133463439546950000.xel' removed '/var/opt/mssql/log/log_6.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463439710030000.xel' removed '/var/opt/mssql/log/system_health_0_133463439730380000.xel' removed '/var/opt/mssql/log/log_7.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463439883980000.xel' removed '/var/opt/mssql/log/system_health_0_133463439901320000.xel' removed '/var/opt/mssql/log/log_8.trc' removed '/var/opt/mssql/log/errorlog.6' removed '/var/opt/mssql/log/errorlog.5' removed '/var/opt/mssql/log/errorlog.4' removed '/var/opt/mssql/log/errorlog.3' removed '/var/opt/mssql/log/errorlog.2' removed '/var/opt/mssql/log/errorlog.1' removed '/var/opt/mssql/log/errorlog' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463440041900000.xel' removed '/var/opt/mssql/log/system_health_0_133463440061150000.xel' removed '/var/opt/mssql/log/log_9.trc' removed directory '/var/opt/mssql/log' removed '/var/opt/mssql/mssql.conf' removed '/var/opt/mssql/secrets/machine-key' removed directory '/var/opt/mssql/secrets' removed '/var/opt/mssql/FTData/tsara.xml' removed '/var/opt/mssql/FTData/tsben.xml' removed '/var/opt/mssql/FTData/tsbgr.xml' removed '/var/opt/mssql/FTData/tscat.xml' removed '/var/opt/mssql/FTData/tschs.xml' removed '/var/opt/mssql/FTData/tscht.xml' removed '/var/opt/mssql/FTData/tscze.xml' removed '/var/opt/mssql/FTData/tsdan.xml' removed '/var/opt/mssql/FTData/tsdeu.xml' removed '/var/opt/mssql/FTData/tseng.xml' removed '/var/opt/mssql/FTData/tsenu.xml' removed '/var/opt/mssql/FTData/tsesn.xml' removed '/var/opt/mssql/FTData/tsfra.xml' removed '/var/opt/mssql/FTData/tsgrk.xml' removed '/var/opt/mssql/FTData/tsguj.xml' removed '/var/opt/mssql/FTData/tsheb.xml' removed '/var/opt/mssql/FTData/tshin.xml' removed '/var/opt/mssql/FTData/tshrv.xml' removed '/var/opt/mssql/FTData/tsind.xml' removed '/var/opt/mssql/FTData/tsisl.xml' removed '/var/opt/mssql/FTData/tsita.xml' removed '/var/opt/mssql/FTData/tsjpn.xml' removed '/var/opt/mssql/FTData/tskan.xml' removed '/var/opt/mssql/FTData/tskor.xml' removed '/var/opt/mssql/FTData/tslth.xml' removed '/var/opt/mssql/FTData/tslvi.xml' removed '/var/opt/mssql/FTData/tsmal.xml' removed '/var/opt/mssql/FTData/tsmar.xml' removed '/var/opt/mssql/FTData/tsmsl.xml' removed '/var/opt/mssql/FTData/tsglobal.xml' removed '/var/opt/mssql/FTData/tsnld.xml' removed '/var/opt/mssql/FTData/tsnor.xml' removed '/var/opt/mssql/FTData/tspan.xml' removed '/var/opt/mssql/FTData/tsplk.xml' removed '/var/opt/mssql/FTData/tsptb.xml' removed '/var/opt/mssql/FTData/tsptg.xml' removed '/var/opt/mssql/FTData/tsrom.xml' removed '/var/opt/mssql/FTData/tsrus.xml' removed '/var/opt/mssql/FTData/tssky.xml' removed '/var/opt/mssql/FTData/tsslv.xml' removed '/var/opt/mssql/FTData/tssrb.xml' removed '/var/opt/mssql/FTData/tssrl.xml' removed '/var/opt/mssql/FTData/tssve.xml' removed '/var/opt/mssql/FTData/tstam.xml' removed '/var/opt/mssql/FTData/tstel.xml' removed '/var/opt/mssql/FTData/tstha.xml' removed '/var/opt/mssql/FTData/tstrk.xml' removed '/var/opt/mssql/FTData/tsukr.xml' removed '/var/opt/mssql/FTData/tsurd.xml' removed '/var/opt/mssql/FTData/tsvit.xml' removed directory '/var/opt/mssql/FTData/FilterData' removed directory '/var/opt/mssql/FTData' removed directory '/var/opt/mssql' removed directory '/opt/mssql/misc' removed directory '/opt/mssql' removed directory '/opt/mssql-tools' removed '/etc/yum.repos.d/packages-microsoft-com-mssql-server-2022.repo' removed '/etc/yum.repos.d/packages-microsoft-com-prod.repo' TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:72 Wednesday 06 December 2023 13:47:18 +0000 (0:00:00.227) 0:04:47.142 **** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.011307", "end": "2023-12-06 13:47:18.450067", "rc": 0, "start": "2023-12-06 13:47:18.438760" } STDERR: Failed to stop mssql-server.service: Unit mssql-server.service not loaded. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=347 changed=44 unreachable=0 failed=0 skipped=498 rescued=0 ignored=3 Wednesday 06 December 2023 13:47:18 +0000 (0:00:00.219) 0:04:47.361 **** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 41.92s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 linux-system-roles.mssql : Ensure the package mssql-server-fts --------- 30.48s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wait for mssql-server to prepare for client connections ---------------- 18.33s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.25s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:93 ------- linux-system-roles.mssql : Set up MSSQL --------------------------------- 8.23s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 linux-system-roles.mssql : Ensure the package powershell ---------------- 7.94s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 linux-system-roles.mssql : Change the edition of MSSQL ------------------ 7.50s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 linux-system-roles.mssql : Change the password of sa user --------------- 7.42s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 linux-system-roles.mssql : Change the password of sa user --------------- 7.33s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 linux-system-roles.mssql : Change the password of sa user --------------- 5.93s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Remove related packages ------------------------------------------------- 3.44s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:45 --------------- linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 2.34s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 linux-system-roles.mssql : Ensure the package powershell ---------------- 1.90s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 1.90s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 linux-system-roles.mssql : Ensure the package mssql-server-fts ---------- 1.84s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 linux-system-roles.mssql : Gather system services facts ----------------- 1.80s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Gather system services facts ----------------- 1.76s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Gather system services facts ----------------- 1.76s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Gather system services facts ----------------- 1.64s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Gather package facts ------------------------- 1.60s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---