# 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-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/tests_idempotency_2022.yml:19 Thursday 07 December 2023 08:53:37 +0000 (0:00:00.053) 0:00:00.053 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:2 Thursday 07 December 2023 08:53:37 +0000 (0:00:00.018) 0:00:00.071 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Thursday 07 December 2023 08:53:37 +0000 (0:00:00.060) 0:00:00.132 ***** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.570) 0:00:00.703 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.027) 0:00:00.731 ***** 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-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:5 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.027) 0:00:00.759 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.219) 0:00:00.978 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.010) 0:00:00.989 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.011) 0:00:01.000 ***** 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-selinuxw4jatp8y/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-selinuxw4jatp8y/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-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.072) 0:00:01.072 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.033) 0:00:01.106 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.012) 0:00:01.118 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.027) 0:00:01.145 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.027) 0:00:01.172 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.043) 0:00:01.216 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.022) 0:00:01.239 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.028) 0:00:01.268 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.087) 0:00:01.355 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.021) 0:00:01.376 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.015) 0:00:01.392 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.031) 0:00:01.424 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Thursday 07 December 2023 08:53:39 +0000 (0:00:00.040) 0:00:01.464 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Thursday 07 December 2023 08:53:39 +0000 (0:00:00.026) 0:00:01.491 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Thursday 07 December 2023 08:53:40 +0000 (0:00:01.641) 0:00:03.133 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.091) 0:00:03.224 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.021) 0:00:03.246 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.031) 0:00:03.277 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.056) 0:00:03.333 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Thursday 07 December 2023 08:53:41 +0000 (0:00:00.491) 0:00:03.825 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Thursday 07 December 2023 08:53:41 +0000 (0:00:00.056) 0:00:03.881 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Thursday 07 December 2023 08:53:41 +0000 (0:00:00.036) 0:00:03.918 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Thursday 07 December 2023 08:53:41 +0000 (0:00:00.022) 0:00:03.941 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Thursday 07 December 2023 08:53:41 +0000 (0:00:00.377) 0:00:04.318 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Thursday 07 December 2023 08:53:41 +0000 (0:00:00.039) 0:00:04.357 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Thursday 07 December 2023 08:53:41 +0000 (0:00:00.064) 0:00:04.421 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 07 December 2023 08:53:42 +0000 (0:00:00.100) 0:00:04.522 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Thursday 07 December 2023 08:53:42 +0000 (0:00:00.043) 0:00:04.565 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Thursday 07 December 2023 08:53:42 +0000 (0:00:00.065) 0:00:04.631 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: guile-5:2.0.14-7.el8.x86_64", "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" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Thursday 07 December 2023 08:54:19 +0000 (0:00:37.728) 0:00:42.359 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Thursday 07 December 2023 08:54:19 +0000 (0:00:00.017) 0:00:42.376 ***** 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.005423", "end": "2023-12-07 08:54:20.151078", "rc": 0, "start": "2023-12-07 08:54:20.145655" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Thursday 07 December 2023 08:54:20 +0000 (0:00:00.263) 0:00:42.640 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 07 December 2023 08:54:25 +0000 (0:00:05.614) 0:00:48.254 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Thursday 07 December 2023 08:54:25 +0000 (0:00:00.039) 0:00:48.294 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Thursday 07 December 2023 08:54:25 +0000 (0:00:00.041) 0:00:48.335 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 07 December 2023 08:54:34 +0000 (0:00:08.513) 0:00:56.849 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /tmp/mssql_data] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:54:34 +0000 (0:00:00.129) 0:00:56.978 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_data] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:54:34 +0000 (0:00:00.422) 0:00:57.400 ***** changed: [sut] => { "changed": true, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Thursday 07 December 2023 08:54:35 +0000 (0:00:00.366) 0:00:57.767 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Thursday 07 December 2023 08:54:35 +0000 (0:00:00.042) 0:00:57.810 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:54:35 +0000 (0:00:00.053) 0:00:57.863 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002928", "end": "2023-12-07 08:54:35.629604", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:54:35.626676" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:54:35 +0000 (0:00:00.296) 0:00:58.159 ***** 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/mssql_data" ], "delta": "0:00:00.165322", "end": "2023-12-07 08:54:36.170093", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:36.004771" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.562) 0:00:58.721 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /tmp/mssql_log] ***** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.054) 0:00:58.775 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_log] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.287) 0:00:59.063 ***** changed: [sut] => { "changed": true, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.249) 0:00:59.312 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.084) 0:00:59.397 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.040) 0:00:59.437 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002592", "end": "2023-12-07 08:54:37.139402", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:54:37.136810" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.213) 0:00:59.650 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.196490", "end": "2023-12-07 08:54:37.660470", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:37.463980" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.642) 0:01:00.293 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.051) 0:01:00.344 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.059) 0:01:00.404 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 07 December 2023 08:54:39 +0000 (0:00:01.559) 0:01:01.964 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:58 UTC", "ActiveEnterTimestampMonotonic": "12203595", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket polkit.service system.slice dbus.socket dbus.service network.target basic.target systemd-sysctl.service sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:57 UTC", "AssertTimestampMonotonic": "11417660", "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": "Thu 2023-12-07 08:39:57 UTC", "ConditionTimestampMonotonic": "11417658", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service power-profiles-daemon.service shutdown.target tlp.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": "684", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:57 UTC", "ExecMainStartTimestampMonotonic": "11418803", "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": "Thu 2023-12-07 08:39:57 UTC", "InactiveExitTimestampMonotonic": "11418841", "InvocationID": "3629d0480da643a2b8f1db10e5142481", "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": "684", "MemoryAccounting": "yes", "MemoryCurrent": "22896640", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:39:58 UTC", "StateChangeTimestampMonotonic": "12203595", "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": "Thu 2023-12-07 08:39:58 UTC", "WatchdogTimestampMonotonic": "12203591", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 07 December 2023 08:54:40 +0000 (0:00:00.574) 0:01:02.538 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.113977", "end": "2023-12-07 08:54:40.364793", "rc": 0, "start": "2023-12-07 08:54:40.250816" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 07 December 2023 08:54:40 +0000 (0:00:00.331) 0:01:02.869 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 07 December 2023 08:54:40 +0000 (0:00:00.067) 0:01:02.937 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 07 December 2023 08:54:40 +0000 (0:00:00.032) 0:01:02.969 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 07 December 2023 08:54:40 +0000 (0:00:00.113) 0:01:03.082 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 07 December 2023 08:54:40 +0000 (0:00:00.260) 0:01:03.343 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: unixODBC-2.3.11-1.rh.x86_64", "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" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 07 December 2023 08:54:43 +0000 (0:00:02.164) 0:01:05.508 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.043) 0:01:05.551 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.021) 0:01:05.573 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.023) 0:01:05.597 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.033) 0:01:05.631 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.025) 0:01:05.657 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.034) 0:01:05.691 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.023) 0:01:05.715 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.021) 0:01:05.736 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.021) 0:01:05.758 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.020) 0:01:05.779 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.031) 0:01:05.810 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.042) 0:01:05.852 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.047) 0:01:05.900 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002460", "end": "2023-12-07 08:54:43.599973", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:54:43.597513" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.192) 0:01:06.093 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.119942", "end": "2023-12-07 08:54:43.921672", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:43.801730" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.338) 0:01:06.431 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.034) 0:01:06.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.054) 0:01:06.520 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.021) 0:01:06.542 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.034) 0:01:06.577 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002468", "end": "2023-12-07 08:54:44.275639", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:54:44.273171" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.225) 0:01:06.802 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.120065", "end": "2023-12-07 08:54:44.644308", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:44.524243" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.338) 0:01:07.141 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.020) 0:01:07.161 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.019) 0:01:07.180 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.043) 0:01:07.224 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002500", "end": "2023-12-07 08:54:44.924687", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:44.922187" } STDOUT: enabled = false TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.199) 0:01:07.423 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.119873", "end": "2023-12-07 08:54:45.243223", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:45.123350" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:54:45 +0000 (0:00:00.327) 0:01:07.751 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Thursday 07 December 2023 08:54:45 +0000 (0:00:00.035) 0:01:07.786 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Thursday 07 December 2023 08:55:11 +0000 (0:00:26.244) 0:01:34.031 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Thursday 07 December 2023 08:55:19 +0000 (0:00:07.786) 0:01:41.817 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002660", "end": "2023-12-07 08:55:19.519399", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:55:19.516739" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Thursday 07 December 2023 08:55:19 +0000 (0:00:00.201) 0:01:42.019 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.124086", "end": "2023-12-07 08:55:19.859458", "rc": 0, "start": "2023-12-07 08:55:19.735372" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Thursday 07 December 2023 08:55:19 +0000 (0:00:00.339) 0:01:42.359 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Thursday 07 December 2023 08:55:19 +0000 (0:00:00.035) 0:01:42.394 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:55:20 +0000 (0:00:00.075) 0:01:42.469 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002778", "end": "2023-12-07 08:55:20.178227", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:55:20.175449" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:55:20 +0000 (0:00:00.233) 0:01:42.703 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.127933", "end": "2023-12-07 08:55:20.543442", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:20.415509" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:55:20 +0000 (0:00:00.371) 0:01:43.074 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Thursday 07 December 2023 08:55:20 +0000 (0:00:00.042) 0:01:43.116 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:55:20 +0000 (0:00:00.062) 0:01:43.179 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002633", "end": "2023-12-07 08:55:20.882896", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:55:20.880263" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:55:20 +0000 (0:00:00.198) 0:01:43.377 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.121075", "end": "2023-12-07 08:55:21.202612", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:21.081537" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.348) 0:01:43.725 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.022) 0:01:43.747 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.021) 0:01:43.769 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.023) 0:01:43.792 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.033) 0:01:43.825 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.039) 0:01:43.865 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.028) 0:01:43.893 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.056) 0:01:43.950 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.021) 0:01:43.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.022) 0:01:43.994 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.036) 0:01:44.031 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.022) 0:01:44.053 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.051) 0:01:44.104 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.035) 0:01:44.140 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.021) 0:01:44.162 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.022) 0:01:44.184 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.023) 0:01:44.208 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.039) 0:01:44.247 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.023) 0:01:44.270 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.042) 0:01:44.313 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.022) 0:01:44.335 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.023) 0:01:44.358 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.024) 0:01:44.383 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.037) 0:01:44.420 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.065) 0:01:44.485 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.027) 0:01:44.512 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.025) 0:01:44.538 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.030) 0:01:44.568 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.025) 0:01:44.594 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.042) 0:01:44.637 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.026) 0:01:44.663 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.025) 0:01:44.689 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.024) 0:01:44.713 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.034) 0:01:44.748 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.023) 0:01:44.772 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.031) 0:01:44.803 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.020) 0:01:44.824 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.021) 0:01:44.846 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.033) 0:01:44.879 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.028) 0:01:44.908 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.020) 0:01:44.929 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.020) 0:01:44.950 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.021) 0:01:44.971 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.065) 0:01:45.037 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.021) 0:01:45.058 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.021) 0:01:45.080 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.020) 0:01:45.100 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.019) 0:01:45.120 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.020) 0:01:45.140 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.021) 0:01:45.161 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.032) 0:01:45.194 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.023) 0:01:45.217 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.020) 0:01:45.238 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.021) 0:01:45.259 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.023) 0:01:45.282 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.036) 0:01:45.319 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.026) 0:01:45.345 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.028) 0:01:45.374 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.056) 0:01:45.431 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 07 December 2023 08:55:23 +0000 (0:00:00.347) 0:01:45.779 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:54:34 UTC", "ActiveEnterTimestampMonotonic": "888072906", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice -.mount sysinit.target auditd.service network.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:54:34 UTC", "AssertTimestampMonotonic": "888071670", "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": "Thu 2023-12-07 08:54:34 UTC", "ConditionTimestampMonotonic": "888071668", "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": "25417", "ExecMainStartTimestamp": "Thu 2023-12-07 08:54:34 UTC", "ExecMainStartTimestampMonotonic": "888072850", "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": "Thu 2023-12-07 08:54:34 UTC", "InactiveExitTimestampMonotonic": "888072906", "InvocationID": "e555e112fbe6408380997a15bd44c60d", "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": "25417", "MemoryAccounting": "yes", "MemoryCurrent": "736825344", "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 sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:54:34 UTC", "StateChangeTimestampMonotonic": "888072906", "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": "178", "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": "Thu 2023-12-07 08:54:34 UTC", "WatchdogTimestampMonotonic": "888072903", "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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Thursday 07 December 2023 08:55:23 +0000 (0:00:00.624) 0:01:46.403 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Thursday 07 December 2023 08:55:23 +0000 (0:00:00.047) 0:01:46.451 ***** 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-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:22 Thursday 07 December 2023 08:55:24 +0000 (0:00:00.027) 0:01:46.478 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql-sever-increase-start-limit.yml:3 Thursday 07 December 2023 08:55:24 +0000 (0:00:00.100) 0:01:46.579 ***** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql-sever-increase-start-limit.yml:10 Thursday 07 December 2023 08:55:24 +0000 (0:00:00.333) 0:01:46.912 ***** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql-sever-increase-start-limit.yml:17 Thursday 07 December 2023 08:55:24 +0000 (0:00:00.217) 0:01:47.130 ***** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:25 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.518) 0:01:47.648 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.269) 0:01:47.917 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.043) 0:01:47.960 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.034) 0:01:47.994 ***** 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-selinuxw4jatp8y/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-selinuxw4jatp8y/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-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.042) 0:01:48.037 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.040) 0:01:48.077 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.021) 0:01:48.099 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.057) 0:01:48.156 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.058) 0:01:48.215 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.080) 0:01:48.295 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.056) 0:01:48.352 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.065) 0:01:48.417 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.033) 0:01:48.451 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Thursday 07 December 2023 08:55:26 +0000 (0:00:00.047) 0:01:48.498 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Thursday 07 December 2023 08:55:26 +0000 (0:00:00.093) 0:01:48.592 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Thursday 07 December 2023 08:55:26 +0000 (0:00:00.038) 0:01:48.631 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Thursday 07 December 2023 08:55:26 +0000 (0:00:00.042) 0:01:48.674 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Thursday 07 December 2023 08:55:26 +0000 (0:00:00.048) 0:01:48.722 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Thursday 07 December 2023 08:55:27 +0000 (0:00:01.621) 0:01:50.344 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Thursday 07 December 2023 08:55:27 +0000 (0:00:00.063) 0:01:50.407 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Thursday 07 December 2023 08:55:27 +0000 (0:00:00.021) 0:01:50.429 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.034) 0:01:50.463 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.100) 0:01:50.564 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.410) 0:01:50.975 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.023) 0:01:50.999 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.025) 0:01:51.025 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.040) 0:01:51.065 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.027) 0:01:51.092 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.042) 0:01:51.135 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.021) 0:01:51.156 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.023) 0:01:51.180 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.026) 0:01:51.207 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.025) 0:01:51.232 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Thursday 07 December 2023 08:55:30 +0000 (0:00:01.310) 0:01:52.542 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Thursday 07 December 2023 08:55:30 +0000 (0:00:00.094) 0:01:52.637 ***** 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.005105", "end": "2023-12-07 08:55:30.353236", "rc": 0, "start": "2023-12-07 08:55:30.348131" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Thursday 07 December 2023 08:55:30 +0000 (0:00:00.220) 0:01:52.858 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 07 December 2023 08:55:32 +0000 (0:00:01.645) 0:01:54.504 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Thursday 07 December 2023 08:55:32 +0000 (0:00:00.063) 0:01:54.567 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Thursday 07 December 2023 08:55:32 +0000 (0:00:00.042) 0:01:54.610 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 07 December 2023 08:55:32 +0000 (0:00:00.029) 0:01:54.640 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /tmp/mssql_data] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:55:32 +0000 (0:00:00.067) 0:01:54.708 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939275.256803, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701939275.257803, "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": 1701939275.256803, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "260365136", "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/mssql_data] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:55:32 +0000 (0:00:00.214) 0:01:54.922 ***** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Thursday 07 December 2023 08:55:32 +0000 (0:00:00.214) 0:01:55.136 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Thursday 07 December 2023 08:55:32 +0000 (0:00:00.035) 0:01:55.172 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:55:32 +0000 (0:00:00.069) 0:01:55.242 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002358", "end": "2023-12-07 08:55:32.943062", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:32.940704" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:55:32 +0000 (0:00:00.205) 0:01:55.448 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:55:33 +0000 (0:00:00.046) 0:01:55.494 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /tmp/mssql_log] ***** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:55:33 +0000 (0:00:00.028) 0:01:55.523 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939276.793755, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701939276.794755, "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": 1701939276.793755, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "777140452", "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/mssql_log] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:55:33 +0000 (0:00:00.245) 0:01:55.768 ***** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Thursday 07 December 2023 08:55:33 +0000 (0:00:00.208) 0:01:55.977 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Thursday 07 December 2023 08:55:33 +0000 (0:00:00.027) 0:01:56.005 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:55:33 +0000 (0:00:00.035) 0:01:56.041 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002631", "end": "2023-12-07 08:55:33.742087", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:33.739456" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:55:33 +0000 (0:00:00.195) 0:01:56.237 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:55:33 +0000 (0:00:00.049) 0:01:56.286 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Thursday 07 December 2023 08:55:33 +0000 (0:00:00.027) 0:01:56.313 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 07 December 2023 08:55:33 +0000 (0:00:00.040) 0:01:56.354 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 07 December 2023 08:55:35 +0000 (0:00:01.183) 0:01:57.538 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:58 UTC", "ActiveEnterTimestampMonotonic": "12203595", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service network.target dbus.service basic.target system.slice polkit.service systemd-journald.socket dbus.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:57 UTC", "AssertTimestampMonotonic": "11417660", "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": "Thu 2023-12-07 08:39:57 UTC", "ConditionTimestampMonotonic": "11417658", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target power-profiles-daemon.service auto-cpufreq.service tlp.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": "684", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:57 UTC", "ExecMainStartTimestampMonotonic": "11418803", "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": "Thu 2023-12-07 08:39:57 UTC", "InactiveExitTimestampMonotonic": "11418841", "InvocationID": "3629d0480da643a2b8f1db10e5142481", "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": "684", "MemoryAccounting": "yes", "MemoryCurrent": "23011328", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.service sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "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": "Thu 2023-12-07 08:39:58 UTC", "StateChangeTimestampMonotonic": "12203595", "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": "Thu 2023-12-07 08:39:58 UTC", "WatchdogTimestampMonotonic": "12203591", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 07 December 2023 08:55:35 +0000 (0:00:00.333) 0:01:57.871 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:01.113264", "end": "2023-12-07 08:55:36.680527", "rc": 0, "start": "2023-12-07 08:55:35.567263" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 07 December 2023 08:55:36 +0000 (0:00:01.328) 0:01:59.199 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 07 December 2023 08:55:36 +0000 (0:00:00.028) 0:01:59.228 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 07 December 2023 08:55:36 +0000 (0:00:00.026) 0:01:59.255 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 07 December 2023 08:55:36 +0000 (0:00:00.027) 0:01:59.283 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 07 December 2023 08:55:37 +0000 (0:00:00.202) 0:01:59.486 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 07 December 2023 08:55:38 +0000 (0:00:01.174) 0:02:00.660 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:55:38 +0000 (0:00:00.040) 0:02:00.701 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:55:23 UTC", "ActiveEnterTimestampMonotonic": "937781992", "ActiveExitTimestamp": "Thu 2023-12-07 08:55:23 UTC", "ActiveExitTimestampMonotonic": "937551544", "ActiveState": "active", "After": "basic.target sysinit.target system.slice network.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:55:23 UTC", "AssertTimestampMonotonic": "937780920", "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": "Thu 2023-12-07 08:55:23 UTC", "ConditionTimestampMonotonic": "937780918", "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": "26626", "ExecMainStartTimestamp": "Thu 2023-12-07 08:55:23 UTC", "ExecMainStartTimestampMonotonic": "937781949", "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": "Thu 2023-12-07 08:55:23 UTC", "InactiveEnterTimestampMonotonic": "937779935", "InactiveExitTimestamp": "Thu 2023-12-07 08:55:23 UTC", "InactiveExitTimestampMonotonic": "937781992", "InvocationID": "abfb2e9a454c42f4b40dc28b21cb18ab", "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": "26626", "MemoryAccounting": "yes", "MemoryCurrent": "866537472", "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:55:23 UTC", "StateChangeTimestampMonotonic": "937781992", "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": "Thu 2023-12-07 08:55:23 UTC", "WatchdogTimestampMonotonic": "937781989", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:55:38 +0000 (0:00:00.321) 0:02:01.022 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002425", "end": "2023-12-07 08:55:38.721500", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:55:38.719075" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:55:38 +0000 (0:00:00.191) 0:02:01.214 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.003631", "end": "2023-12-07 08:55:39.918882", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:38.915251" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:55:39 +0000 (0:00:01.213) 0:02:02.428 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 07 December 2023 08:55:40 +0000 (0:00:00.043) 0:02:02.471 ***** 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": 18620, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 07 December 2023 08:55:41 +0000 (0:00:01.354) 0:02:03.825 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Thursday 07 December 2023 08:55:41 +0000 (0:00:00.244) 0:02:04.069 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:55:23 UTC", "ActiveEnterTimestampMonotonic": "937781992", "ActiveExitTimestamp": "Thu 2023-12-07 08:55:23 UTC", "ActiveExitTimestampMonotonic": "937551544", "ActiveState": "active", "After": "basic.target sysinit.target system.slice network.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:55:23 UTC", "AssertTimestampMonotonic": "937780920", "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": "Thu 2023-12-07 08:55:23 UTC", "ConditionTimestampMonotonic": "937780918", "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": "26626", "ExecMainStartTimestamp": "Thu 2023-12-07 08:55:23 UTC", "ExecMainStartTimestampMonotonic": "937781949", "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": "Thu 2023-12-07 08:55:23 UTC", "InactiveEnterTimestampMonotonic": "937779935", "InactiveExitTimestamp": "Thu 2023-12-07 08:55:23 UTC", "InactiveExitTimestampMonotonic": "937781992", "InvocationID": "abfb2e9a454c42f4b40dc28b21cb18ab", "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": "26626", "MemoryAccounting": "yes", "MemoryCurrent": "875429888", "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:55:23 UTC", "StateChangeTimestampMonotonic": "937781992", "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": "Thu 2023-12-07 08:55:23 UTC", "WatchdogTimestampMonotonic": "937781989", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Thursday 07 December 2023 08:55:42 +0000 (0:00:00.503) 0:02:04.573 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Thursday 07 December 2023 08:55:43 +0000 (0:00:01.258) 0:02:05.831 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Thursday 07 December 2023 08:55:50 +0000 (0:00:07.326) 0:02:13.158 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Thursday 07 December 2023 08:55:50 +0000 (0:00:00.051) 0:02:13.209 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Thursday 07 December 2023 08:55:50 +0000 (0:00:00.024) 0:02:13.233 ***** 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.004479", "end": "2023-12-07 08:55:50.953642", "rc": 0, "start": "2023-12-07 08:55:50.949163" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Thursday 07 December 2023 08:55:50 +0000 (0:00:00.212) 0:02:13.446 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.032) 0:02:13.479 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Thursday 07 December 2023 08:55:52 +0000 (0:00:01.228) 0:02:14.707 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Thursday 07 December 2023 08:55:52 +0000 (0:00:00.034) 0:02:14.742 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:55:52 +0000 (0:00:00.044) 0:02:14.786 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002576", "end": "2023-12-07 08:55:52.499949", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:52.497373" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:55:52 +0000 (0:00:00.215) 0:02:15.002 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:55:52 +0000 (0:00:00.027) 0:02:15.030 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Thursday 07 December 2023 08:55:52 +0000 (0:00:00.067) 0:02:15.097 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Thursday 07 December 2023 08:55:52 +0000 (0:00:00.026) 0:02:15.124 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 07 December 2023 08:55:52 +0000 (0:00:00.026) 0:02:15.150 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:55:52 +0000 (0:00:00.046) 0:02:15.197 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002429", "end": "2023-12-07 08:55:52.903464", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:55:52.901035" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:55:52 +0000 (0:00:00.219) 0:02:15.416 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.120164", "end": "2023-12-07 08:55:53.275702", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:53.155538" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:55:53 +0000 (0:00:00.359) 0:02:15.775 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Thursday 07 December 2023 08:55:53 +0000 (0:00:00.029) 0:02:15.805 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Thursday 07 December 2023 08:55:53 +0000 (0:00:00.031) 0:02:15.837 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:55:53 +0000 (0:00:00.059) 0:02:15.896 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.003674", "end": "2023-12-07 08:55:54.610824", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:53.607150" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:55:54 +0000 (0:00:01.210) 0:02:17.106 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:55:54 +0000 (0:00:00.025) 0:02:17.132 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Thursday 07 December 2023 08:55:54 +0000 (0:00:00.061) 0:02:17.193 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Thursday 07 December 2023 08:55:55 +0000 (0:00:01.206) 0:02:18.400 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Thursday 07 December 2023 08:55:57 +0000 (0:00:01.221) 0:02:19.621 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002577", "end": "2023-12-07 08:55:57.342970", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:57.340393" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Thursday 07 December 2023 08:55:57 +0000 (0:00:00.242) 0:02:19.864 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Thursday 07 December 2023 08:55:57 +0000 (0:00:00.042) 0:02:19.907 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Thursday 07 December 2023 08:55:57 +0000 (0:00:00.059) 0:02:19.966 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:55:57 +0000 (0:00:00.063) 0:02:20.030 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002957", "end": "2023-12-07 08:55:57.743204", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:57.740247" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:55:57 +0000 (0:00:00.265) 0:02:20.295 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:55:57 +0000 (0:00:00.070) 0:02:20.366 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Thursday 07 December 2023 08:55:57 +0000 (0:00:00.036) 0:02:20.402 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.135) 0:02:20.537 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002798", "end": "2023-12-07 08:55:58.308899", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:58.306101" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.279) 0:02:20.817 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.030) 0:02:20.847 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.039) 0:02:20.887 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.038) 0:02:20.926 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.024) 0:02:20.950 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.037) 0:02:20.987 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.065) 0:02:21.052 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.031) 0:02:21.084 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.027) 0:02:21.112 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.028) 0:02:21.140 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.056) 0:02:21.197 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.029) 0:02:21.226 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.034) 0:02:21.261 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.041) 0:02:21.303 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.109) 0:02:21.412 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.040) 0:02:21.452 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.059) 0:02:21.512 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.030) 0:02:21.543 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.049) 0:02:21.592 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.040) 0:02:21.633 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.046) 0:02:21.680 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.043) 0:02:21.723 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.023) 0:02:21.747 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.027) 0:02:21.774 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.029) 0:02:21.804 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.028) 0:02:21.832 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.052) 0:02:21.885 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.038) 0:02:21.924 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.032) 0:02:21.956 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.043) 0:02:21.999 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.028) 0:02:22.028 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.106) 0:02:22.134 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.026) 0:02:22.161 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.024) 0:02:22.185 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.045) 0:02:22.231 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.042) 0:02:22.274 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.033) 0:02:22.307 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.041) 0:02:22.349 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.043) 0:02:22.392 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.050) 0:02:22.443 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.054) 0:02:22.498 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.040) 0:02:22.538 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.089) 0:02:22.627 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.092) 0:02:22.720 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.115) 0:02:22.836 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.155) 0:02:22.991 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.078) 0:02:23.070 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.046) 0:02:23.116 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.080) 0:02:23.196 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.038) 0:02:23.235 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.027) 0:02:23.262 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.057) 0:02:23.320 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.039) 0:02:23.359 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.030) 0:02:23.390 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.038) 0:02:23.429 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Thursday 07 December 2023 08:56:01 +0000 (0:00:00.086) 0:02:23.515 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Thursday 07 December 2023 08:56:01 +0000 (0:00:00.061) 0:02:23.576 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Thursday 07 December 2023 08:56:01 +0000 (0:00:00.051) 0:02:23.628 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:56:01 +0000 (0:00:00.036) 0:02:23.664 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 07 December 2023 08:56:01 +0000 (0:00:00.029) 0:02:23.693 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 07 December 2023 08:56:01 +0000 (0:00:00.271) 0:02:23.965 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:55:23 UTC", "ActiveEnterTimestampMonotonic": "937781992", "ActiveExitTimestamp": "Thu 2023-12-07 08:55:41 UTC", "ActiveExitTimestampMonotonic": "955824231", "ActiveState": "inactive", "After": "basic.target sysinit.target system.slice network.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:55:23 UTC", "AssertTimestampMonotonic": "937780920", "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": "Thu 2023-12-07 08:55:23 UTC", "ConditionTimestampMonotonic": "937780918", "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": "Thu 2023-12-07 08:55:42 UTC", "ExecMainExitTimestampMonotonic": "955993388", "ExecMainPID": "26626", "ExecMainStartTimestamp": "Thu 2023-12-07 08:55:23 UTC", "ExecMainStartTimestampMonotonic": "937781949", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:55:23 UTC] ; stop_time=[Thu 2023-12-07 08:55:42 UTC] ; pid=26626 ; 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": "Thu 2023-12-07 08:55:42 UTC", "InactiveEnterTimestampMonotonic": "955993493", "InactiveExitTimestamp": "Thu 2023-12-07 08:55:23 UTC", "InactiveExitTimestampMonotonic": "937781992", "InvocationID": "abfb2e9a454c42f4b40dc28b21cb18ab", "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": "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:55:42 UTC", "StateChangeTimestampMonotonic": "955993493", "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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Thursday 07 December 2023 08:56:01 +0000 (0:00:00.416) 0:02:24.382 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Thursday 07 December 2023 08:56:01 +0000 (0:00:00.065) 0:02:24.448 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:40 Thursday 07 December 2023 08:56:02 +0000 (0:00:00.103) 0:02:24.551 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:8 Thursday 07 December 2023 08:56:02 +0000 (0:00:00.244) 0:02:24.796 ***** 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.006643", "end": "2023-12-07 08:56:02.567824", "rc": 0, "start": "2023-12-07 08:56:02.561181" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:23 Thursday 07 December 2023 08:56:02 +0000 (0:00:00.294) 0:02:25.091 ***** 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.005536", "end": "2023-12-07 08:56:02.825688", "rc": 0, "start": "2023-12-07 08:56:02.820152" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:35 Thursday 07 December 2023 08:56:02 +0000 (0:00:00.244) 0:02:25.335 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:39 Thursday 07 December 2023 08:56:02 +0000 (0:00:00.036) 0:02:25.372 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:56:02 +0000 (0:00:00.087) 0:02:25.460 ***** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004524", "end": "2023-12-07 08:56:03.198135", "rc": 0, "start": "2023-12-07 08:56:03.193611" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:56:03 +0000 (0:00:00.247) 0:02:25.707 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:56:03 +0000 (0:00:00.045) 0:02:25.753 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:56:03 +0000 (0:00:00.043) 0:02:25.796 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:56:03 +0000 (0:00:00.077) 0:02:25.873 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004631", "end": "2023-12-07 08:56:03.627870", "rc": 0, "start": "2023-12-07 08:56:03.623239" } STDOUT: tcpport = 1433 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:56:03 +0000 (0:00:00.259) 0:02:26.133 ***** 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-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:56:03 +0000 (0:00:00.142) 0:02:26.276 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:56:03 +0000 (0:00:00.048) 0:02:26.324 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:56:03 +0000 (0:00:00.128) 0:02:26.453 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004763", "end": "2023-12-07 08:56:04.178227", "rc": 0, "start": "2023-12-07 08:56:04.173464" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:56:04 +0000 (0:00:00.238) 0:02:26.691 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:56:04 +0000 (0:00:00.046) 0:02:26.737 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_data] *********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:56:04 +0000 (0:00:00.035) 0:02:26.773 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:56:04 +0000 (0:00:00.042) 0:02:26.815 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004390", "end": "2023-12-07 08:56:04.579222", "rc": 0, "start": "2023-12-07 08:56:04.574832" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:56:04 +0000 (0:00:00.284) 0:02:27.100 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:56:04 +0000 (0:00:00.080) 0:02:27.180 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_log] ************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:56:04 +0000 (0:00:00.025) 0:02:27.206 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:56:04 +0000 (0:00:00.027) 0:02:27.233 ***** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005566", "end": "2023-12-07 08:56:04.973202", "rc": 0, "start": "2023-12-07 08:56:04.967636" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:56:05 +0000 (0:00:00.257) 0:02:27.491 ***** 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-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:56:05 +0000 (0:00:00.042) 0:02:27.533 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:56:05 +0000 (0:00:00.106) 0:02:27.640 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:55 Thursday 07 December 2023 08:56:05 +0000 (0:00:00.051) 0:02:27.692 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939275.256803, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701939275.257803, "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": 1701939275.256803, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "260365136", "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-selinuxw4jatp8y/tests/tasks/verify_settings.yml:60 Thursday 07 December 2023 08:56:05 +0000 (0:00:00.395) 0:02:28.087 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:70 Thursday 07 December 2023 08:56:05 +0000 (0:00:00.037) 0:02:28.125 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939276.793755, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701939276.794755, "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": 1701939276.793755, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "777140452", "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-selinuxw4jatp8y/tests/tasks/verify_settings.yml:75 Thursday 07 December 2023 08:56:05 +0000 (0:00:00.334) 0:02:28.459 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:85 Thursday 07 December 2023 08:56:06 +0000 (0:00:00.100) 0:02:28.560 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:56:06 +0000 (0:00:00.115) 0:02:28.676 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:56:01 UTC", "ActiveEnterTimestampMonotonic": "975796576", "ActiveExitTimestamp": "Thu 2023-12-07 08:55:41 UTC", "ActiveExitTimestampMonotonic": "955824231", "ActiveState": "active", "After": "basic.target sysinit.target system.slice network.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:56:01 UTC", "AssertTimestampMonotonic": "975795449", "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": "Thu 2023-12-07 08:56:01 UTC", "ConditionTimestampMonotonic": "975795447", "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": "27954", "ExecMainStartTimestamp": "Thu 2023-12-07 08:56:01 UTC", "ExecMainStartTimestampMonotonic": "975796515", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:56:01 UTC] ; stop_time=[n/a] ; pid=27954 ; 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": "Thu 2023-12-07 08:55:42 UTC", "InactiveEnterTimestampMonotonic": "955993493", "InactiveExitTimestamp": "Thu 2023-12-07 08:56:01 UTC", "InactiveExitTimestampMonotonic": "975796576", "InvocationID": "0be565123ef64220bc752ea9e92b4303", "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": "27954", "MemoryAccounting": "yes", "MemoryCurrent": "729194496", "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:56:01 UTC", "StateChangeTimestampMonotonic": "975796576", "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": "167", "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": "Thu 2023-12-07 08:56:01 UTC", "WatchdogTimestampMonotonic": "975796573", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:56:06 +0000 (0:00:00.410) 0:02:29.086 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002905", "end": "2023-12-07 08:56:06.807769", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:56:06.804864" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:56:06 +0000 (0:00:00.239) 0:02:29.326 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002879", "end": "2023-12-07 08:56:07.068628", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:56:07.065749" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:56:07 +0000 (0:00:00.256) 0:02:29.582 ***** 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-selinuxw4jatp8y/tests/tasks/verify_settings.yml:93 Thursday 07 December 2023 08:56:07 +0000 (0:00:00.061) 0:02:29.644 ***** 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": 21118, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:100 Thursday 07 December 2023 08:56:25 +0000 (0:00:18.228) 0:02:47.873 ***** 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.026071", "end": "2023-12-07 08:56:25.603193", "rc": 0, "start": "2023-12-07 08:56:25.577122" } 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-selinuxw4jatp8y/tests/tasks/verify_settings.yml:104 Thursday 07 December 2023 08:56:25 +0000 (0:00:00.240) 0:02:48.113 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:108 Thursday 07 December 2023 08:56:25 +0000 (0:00:00.036) 0:02:48.150 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:7 Thursday 07 December 2023 08:56:25 +0000 (0:00:00.058) 0:02:48.208 ***** 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-selinuxw4jatp8y/tests/tasks/verify_package.yml:12 Thursday 07 December 2023 08:56:27 +0000 (0:00:01.315) 0:02:49.524 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:17 Thursday 07 December 2023 08:56:27 +0000 (0:00:00.093) 0:02:49.618 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:115 Thursday 07 December 2023 08:56:27 +0000 (0:00:00.040) 0:02:49.658 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:7 Thursday 07 December 2023 08:56:27 +0000 (0:00:00.066) 0:02:49.725 ***** 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-selinuxw4jatp8y/tests/tasks/verify_package.yml:12 Thursday 07 December 2023 08:56:28 +0000 (0:00:01.341) 0:02:51.066 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:17 Thursday 07 December 2023 08:56:28 +0000 (0:00:00.057) 0:02:51.124 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:126 Thursday 07 December 2023 08:56:28 +0000 (0:00:00.035) 0:02:51.159 ***** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003916", "end": "2023-12-07 08:56:28.904313", "rc": 0, "start": "2023-12-07 08:56:28.900397" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:131 Thursday 07 December 2023 08:56:28 +0000 (0:00:00.274) 0:02:51.434 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:136 Thursday 07 December 2023 08:56:29 +0000 (0:00:00.075) 0:02:51.510 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:142 Thursday 07 December 2023 08:56:29 +0000 (0:00:00.072) 0:02:51.582 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:56:29 +0000 (0:00:00.155) 0:02:51.738 ***** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004189", "end": "2023-12-07 08:56:29.468501", "rc": 0, "start": "2023-12-07 08:56:29.464312" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:56:29 +0000 (0:00:00.228) 0:02:51.966 ***** 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-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:56:29 +0000 (0:00:00.044) 0:02:52.011 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:56:29 +0000 (0:00:00.068) 0:02:52.079 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:148 Thursday 07 December 2023 08:56:29 +0000 (0:00:00.029) 0:02:52.109 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:56:29 +0000 (0:00:00.073) 0:02:52.182 ***** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003713", "end": "2023-12-07 08:56:29.891525", "rc": 0, "start": "2023-12-07 08:56:29.887812" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:56:29 +0000 (0:00:00.239) 0:02:52.422 ***** 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-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:56:29 +0000 (0:00:00.036) 0:02:52.458 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:56:30 +0000 (0:00:00.099) 0:02:52.558 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:158 Thursday 07 December 2023 08:56:30 +0000 (0:00:00.034) 0:02:52.592 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:169 Thursday 07 December 2023 08:56:30 +0000 (0:00:00.030) 0:02:52.623 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:181 Thursday 07 December 2023 08:56:30 +0000 (0:00:00.032) 0:02:52.655 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:189 Thursday 07 December 2023 08:56:30 +0000 (0:00:00.024) 0:02:52.680 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:199 Thursday 07 December 2023 08:56:30 +0000 (0:00:00.040) 0:02:52.720 ***** 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-selinuxw4jatp8y/tests/tasks/verify_settings.yml:204 Thursday 07 December 2023 08:56:30 +0000 (0:00:00.048) 0:02:52.769 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:212 Thursday 07 December 2023 08:56:30 +0000 (0:00:00.053) 0:02:52.822 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:56 Thursday 07 December 2023 08:56:30 +0000 (0:00:00.086) 0:02:52.908 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 07 December 2023 08:56:30 +0000 (0:00:00.318) 0:02:53.227 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:56:30 +0000 (0:00:00.036) 0:02:53.263 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 07 December 2023 08:56:30 +0000 (0:00:00.057) 0:02:53.320 ***** 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-selinuxw4jatp8y/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-selinuxw4jatp8y/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-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 07 December 2023 08:56:30 +0000 (0:00:00.136) 0:02:53.456 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 07 December 2023 08:56:31 +0000 (0:00:00.044) 0:02:53.500 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 07 December 2023 08:56:31 +0000 (0:00:00.140) 0:02:53.641 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 07 December 2023 08:56:31 +0000 (0:00:00.042) 0:02:53.683 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 07 December 2023 08:56:31 +0000 (0:00:00.053) 0:02:53.736 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 07 December 2023 08:56:31 +0000 (0:00:00.064) 0:02:53.801 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 07 December 2023 08:56:31 +0000 (0:00:00.044) 0:02:53.846 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Thursday 07 December 2023 08:56:31 +0000 (0:00:00.029) 0:02:53.875 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Thursday 07 December 2023 08:56:31 +0000 (0:00:00.074) 0:02:53.949 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Thursday 07 December 2023 08:56:31 +0000 (0:00:00.062) 0:02:54.012 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Thursday 07 December 2023 08:56:31 +0000 (0:00:00.038) 0:02:54.050 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Thursday 07 December 2023 08:56:31 +0000 (0:00:00.025) 0:02:54.076 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Thursday 07 December 2023 08:56:31 +0000 (0:00:00.068) 0:02:54.144 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Thursday 07 December 2023 08:56:31 +0000 (0:00:00.030) 0:02:54.175 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Thursday 07 December 2023 08:56:32 +0000 (0:00:01.271) 0:02:55.447 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Thursday 07 December 2023 08:56:33 +0000 (0:00:00.216) 0:02:55.663 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Thursday 07 December 2023 08:56:33 +0000 (0:00:00.026) 0:02:55.690 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 07 December 2023 08:56:33 +0000 (0:00:00.041) 0:02:55.732 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Thursday 07 December 2023 08:56:33 +0000 (0:00:00.044) 0:02:55.776 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Thursday 07 December 2023 08:56:33 +0000 (0:00:00.354) 0:02:56.130 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Thursday 07 December 2023 08:56:33 +0000 (0:00:00.035) 0:02:56.166 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Thursday 07 December 2023 08:56:33 +0000 (0:00:00.053) 0:02:56.219 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Thursday 07 December 2023 08:56:33 +0000 (0:00:00.053) 0:02:56.272 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Thursday 07 December 2023 08:56:33 +0000 (0:00:00.028) 0:02:56.300 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Thursday 07 December 2023 08:56:33 +0000 (0:00:00.022) 0:02:56.323 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Thursday 07 December 2023 08:56:33 +0000 (0:00:00.037) 0:02:56.360 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 07 December 2023 08:56:33 +0000 (0:00:00.026) 0:02:56.386 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Thursday 07 December 2023 08:56:33 +0000 (0:00:00.031) 0:02:56.418 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Thursday 07 December 2023 08:56:33 +0000 (0:00:00.025) 0:02:56.444 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Thursday 07 December 2023 08:56:35 +0000 (0:00:01.206) 0:02:57.650 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Thursday 07 December 2023 08:56:35 +0000 (0:00:00.022) 0:02:57.672 ***** 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.004994", "end": "2023-12-07 08:56:35.371931", "rc": 0, "start": "2023-12-07 08:56:35.366937" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Thursday 07 December 2023 08:56:35 +0000 (0:00:00.214) 0:02:57.886 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 07 December 2023 08:56:36 +0000 (0:00:01.453) 0:02:59.340 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Thursday 07 December 2023 08:56:36 +0000 (0:00:00.028) 0:02:59.369 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Thursday 07 December 2023 08:56:36 +0000 (0:00:00.020) 0:02:59.389 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 07 December 2023 08:56:36 +0000 (0:00:00.022) 0:02:59.411 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:56:36 +0000 (0:00:00.051) 0:02:59.463 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939274.011842, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701939273.9688435, "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": 1701939273.9688435, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "3198405695", "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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:56:37 +0000 (0:00:00.213) 0:02:59.676 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Thursday 07 December 2023 08:56:37 +0000 (0:00:00.203) 0:02:59.879 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Thursday 07 December 2023 08:56:37 +0000 (0:00:00.036) 0:02:59.916 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:56:37 +0000 (0:00:00.053) 0:02:59.969 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.003820", "end": "2023-12-07 08:56:38.689313", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:56:37.685493" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:56:38 +0000 (0:00:01.215) 0:03:01.184 ***** 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.119673", "end": "2023-12-07 08:56:39.004809", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:56:38.885136" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:56:39 +0000 (0:00:00.317) 0:03:01.502 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:56:39 +0000 (0:00:00.023) 0:03:01.526 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939366.7989438, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701939366.7979438, "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": 1701939366.7979438, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "4051123585", "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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:56:39 +0000 (0:00:00.195) 0:03:01.721 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Thursday 07 December 2023 08:56:39 +0000 (0:00:00.213) 0:03:01.934 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/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/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Thursday 07 December 2023 08:56:39 +0000 (0:00:00.036) 0:03:01.970 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:56:39 +0000 (0:00:00.041) 0:03:02.011 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002560", "end": "2023-12-07 08:56:39.712975", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:56:39.710415" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:56:39 +0000 (0:00:00.195) 0:03:02.207 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.120509", "end": "2023-12-07 08:56:40.029269", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:56:39.908760" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:56:40 +0000 (0:00:00.320) 0:03:02.527 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Thursday 07 December 2023 08:56:40 +0000 (0:00:00.023) 0:03:02.550 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 07 December 2023 08:56:40 +0000 (0:00:00.023) 0:03:02.573 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 07 December 2023 08:56:41 +0000 (0:00:01.161) 0:03:03.735 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:58 UTC", "ActiveEnterTimestampMonotonic": "12203595", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service network.target dbus.service basic.target system.slice polkit.service systemd-journald.socket dbus.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:57 UTC", "AssertTimestampMonotonic": "11417660", "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": "Thu 2023-12-07 08:39:57 UTC", "ConditionTimestampMonotonic": "11417658", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target power-profiles-daemon.service auto-cpufreq.service tlp.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": "684", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:57 UTC", "ExecMainStartTimestampMonotonic": "11418803", "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": "Thu 2023-12-07 08:39:57 UTC", "InactiveExitTimestampMonotonic": "11418841", "InvocationID": "3629d0480da643a2b8f1db10e5142481", "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": "684", "MemoryAccounting": "yes", "MemoryCurrent": "23277568", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.service sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "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": "Thu 2023-12-07 08:39:58 UTC", "StateChangeTimestampMonotonic": "12203595", "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": "Thu 2023-12-07 08:39:58 UTC", "WatchdogTimestampMonotonic": "12203591", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.362) 0:03:04.097 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.113117", "end": "2023-12-07 08:56:41.906242", "rc": 0, "start": "2023-12-07 08:56:41.793125" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.302) 0:03:04.400 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.021) 0:03:04.422 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 07 December 2023 08:56:41 +0000 (0:00:00.021) 0:03:04.443 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 07 December 2023 08:56:42 +0000 (0:00:00.020) 0:03:04.464 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 07 December 2023 08:56:42 +0000 (0:00:00.196) 0:03:04.660 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 07 December 2023 08:56:43 +0000 (0:00:01.164) 0:03:05.825 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:56:43 +0000 (0:00:00.042) 0:03:05.867 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:56:01 UTC", "ActiveEnterTimestampMonotonic": "975796576", "ActiveExitTimestamp": "Thu 2023-12-07 08:55:41 UTC", "ActiveExitTimestampMonotonic": "955824231", "ActiveState": "active", "After": "basic.target sysinit.target system.slice network.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:56:01 UTC", "AssertTimestampMonotonic": "975795449", "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": "Thu 2023-12-07 08:56:01 UTC", "ConditionTimestampMonotonic": "975795447", "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": "27954", "ExecMainStartTimestamp": "Thu 2023-12-07 08:56:01 UTC", "ExecMainStartTimestampMonotonic": "975796515", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:56:01 UTC] ; stop_time=[n/a] ; pid=27954 ; 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": "Thu 2023-12-07 08:55:42 UTC", "InactiveEnterTimestampMonotonic": "955993493", "InactiveExitTimestamp": "Thu 2023-12-07 08:56:01 UTC", "InactiveExitTimestampMonotonic": "975796576", "InvocationID": "0be565123ef64220bc752ea9e92b4303", "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": "27954", "MemoryAccounting": "yes", "MemoryCurrent": "795922432", "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:56:01 UTC", "StateChangeTimestampMonotonic": "975796576", "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": "190", "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": "Thu 2023-12-07 08:56:01 UTC", "WatchdogTimestampMonotonic": "975796573", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:56:43 +0000 (0:00:00.359) 0:03:06.226 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002323", "end": "2023-12-07 08:56:43.925980", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:56:43.923657" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:56:43 +0000 (0:00:00.191) 0:03:06.418 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002513", "end": "2023-12-07 08:56:44.118209", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:56:44.115696" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:56:44 +0000 (0:00:00.191) 0:03:06.610 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 07 December 2023 08:56:44 +0000 (0:00:00.031) 0:03:06.642 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 07 December 2023 08:56:45 +0000 (0:00:01.223) 0:03:07.866 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Thursday 07 December 2023 08:56:45 +0000 (0:00:00.228) 0:03:08.094 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:56:01 UTC", "ActiveEnterTimestampMonotonic": "975796576", "ActiveExitTimestamp": "Thu 2023-12-07 08:55:41 UTC", "ActiveExitTimestampMonotonic": "955824231", "ActiveState": "active", "After": "basic.target sysinit.target system.slice network.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:56:01 UTC", "AssertTimestampMonotonic": "975795449", "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": "Thu 2023-12-07 08:56:01 UTC", "ConditionTimestampMonotonic": "975795447", "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": "27954", "ExecMainStartTimestamp": "Thu 2023-12-07 08:56:01 UTC", "ExecMainStartTimestampMonotonic": "975796515", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:56:01 UTC] ; stop_time=[n/a] ; pid=27954 ; 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": "Thu 2023-12-07 08:55:42 UTC", "InactiveEnterTimestampMonotonic": "955993493", "InactiveExitTimestamp": "Thu 2023-12-07 08:56:01 UTC", "InactiveExitTimestampMonotonic": "975796576", "InvocationID": "0be565123ef64220bc752ea9e92b4303", "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": "27954", "MemoryAccounting": "yes", "MemoryCurrent": "796016640", "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:56:01 UTC", "StateChangeTimestampMonotonic": "975796576", "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": "190", "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": "Thu 2023-12-07 08:56:01 UTC", "WatchdogTimestampMonotonic": "975796573", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Thursday 07 December 2023 08:56:46 +0000 (0:00:00.504) 0:03:08.598 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Thursday 07 December 2023 08:56:47 +0000 (0:00:01.503) 0:03:10.102 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Thursday 07 December 2023 08:56:54 +0000 (0:00:07.238) 0:03:17.341 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Thursday 07 December 2023 08:56:54 +0000 (0:00:00.030) 0:03:17.372 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Thursday 07 December 2023 08:56:54 +0000 (0:00:00.027) 0:03:17.399 ***** 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.004438", "end": "2023-12-07 08:56:55.120922", "rc": 0, "start": "2023-12-07 08:56:55.116484" } STDOUT: false TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Thursday 07 December 2023 08:56:55 +0000 (0:00:00.214) 0:03:17.613 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:56:01 UTC", "ActiveEnterTimestampMonotonic": "975796576", "ActiveExitTimestamp": "Thu 2023-12-07 08:56:45 UTC", "ActiveExitTimestampMonotonic": "1019846744", "ActiveState": "inactive", "After": "basic.target sysinit.target system.slice network.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:56:01 UTC", "AssertTimestampMonotonic": "975795449", "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": "Thu 2023-12-07 08:56:01 UTC", "ConditionTimestampMonotonic": "975795447", "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": "Thu 2023-12-07 08:56:46 UTC", "ExecMainExitTimestampMonotonic": "1020008829", "ExecMainPID": "27954", "ExecMainStartTimestamp": "Thu 2023-12-07 08:56:01 UTC", "ExecMainStartTimestampMonotonic": "975796515", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:56:01 UTC] ; stop_time=[Thu 2023-12-07 08:56:46 UTC] ; pid=27954 ; 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": "Thu 2023-12-07 08:56:46 UTC", "InactiveEnterTimestampMonotonic": "1020008917", "InactiveExitTimestamp": "Thu 2023-12-07 08:56:01 UTC", "InactiveExitTimestampMonotonic": "975796576", "InvocationID": "0be565123ef64220bc752ea9e92b4303", "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": "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:56:46 UTC", "StateChangeTimestampMonotonic": "1020008917", "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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Thursday 07 December 2023 08:56:55 +0000 (0:00:00.315) 0:03:17.929 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Thursday 07 December 2023 08:56:56 +0000 (0:00:01.279) 0:03:19.209 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Thursday 07 December 2023 08:57:04 +0000 (0:00:07.473) 0:03:26.683 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:57:04 +0000 (0:00:00.043) 0:03:26.727 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002379", "end": "2023-12-07 08:57:04.450013", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:04.447634" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:57:04 +0000 (0:00:00.239) 0:03:26.966 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.119378", "end": "2023-12-07 08:57:04.800781", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:04.681403" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:57:04 +0000 (0:00:00.337) 0:03:27.304 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Thursday 07 December 2023 08:57:04 +0000 (0:00:00.044) 0:03:27.348 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Thursday 07 December 2023 08:57:04 +0000 (0:00:00.036) 0:03:27.385 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 07 December 2023 08:57:04 +0000 (0:00:00.034) 0:03:27.419 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:57:05 +0000 (0:00:00.051) 0:03:27.471 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002518", "end": "2023-12-07 08:57:05.184049", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:05.181531" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:57:05 +0000 (0:00:00.223) 0:03:27.695 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.120218", "end": "2023-12-07 08:57:05.520740", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:05.400522" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:57:05 +0000 (0:00:00.326) 0:03:28.021 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Thursday 07 December 2023 08:57:05 +0000 (0:00:00.022) 0:03:28.043 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Thursday 07 December 2023 08:57:05 +0000 (0:00:00.022) 0:03:28.066 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:57:05 +0000 (0:00:00.146) 0:03:28.213 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002373", "end": "2023-12-07 08:57:05.914960", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:05.912587" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:57:05 +0000 (0:00:00.196) 0:03:28.409 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.119792", "end": "2023-12-07 08:57:06.230370", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:06.110578" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:57:06 +0000 (0:00:00.318) 0:03:28.728 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Thursday 07 December 2023 08:57:06 +0000 (0:00:00.023) 0:03:28.751 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Thursday 07 December 2023 08:57:07 +0000 (0:00:01.663) 0:03:30.415 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Thursday 07 December 2023 08:57:09 +0000 (0:00:01.748) 0:03:32.164 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002550", "end": "2023-12-07 08:57:09.875212", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:09.872662" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Thursday 07 December 2023 08:57:09 +0000 (0:00:00.205) 0:03:32.369 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Thursday 07 December 2023 08:57:10 +0000 (0:00:00.098) 0:03:32.467 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.121437", "end": "2023-12-07 08:57:10.308158", "rc": 0, "start": "2023-12-07 08:57:10.186721" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Thursday 07 December 2023 08:57:10 +0000 (0:00:00.366) 0:03:32.833 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:57:10 +0000 (0:00:00.049) 0:03:32.883 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002565", "end": "2023-12-07 08:57:10.608321", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:10.605756" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:57:10 +0000 (0:00:00.229) 0:03:33.112 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:57:10 +0000 (0:00:00.051) 0:03:33.163 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Thursday 07 December 2023 08:57:10 +0000 (0:00:00.036) 0:03:33.200 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:57:10 +0000 (0:00:00.079) 0:03:33.279 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002533", "end": "2023-12-07 08:57:10.996318", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:10.993785" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.226) 0:03:33.506 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.119402", "end": "2023-12-07 08:57:11.343775", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:11.224373" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.334) 0:03:33.840 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.024) 0:03:33.865 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.023) 0:03:33.888 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.032) 0:03:33.921 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.087) 0:03:34.009 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.023) 0:03:34.033 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.026) 0:03:34.060 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.025) 0:03:34.085 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.045) 0:03:34.131 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.037) 0:03:34.168 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.037) 0:03:34.205 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.055) 0:03:34.261 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.037) 0:03:34.298 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.025) 0:03:34.324 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.058) 0:03:34.383 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.031) 0:03:34.415 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Thursday 07 December 2023 08:57:11 +0000 (0:00:00.025) 0:03:34.440 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.047) 0:03:34.487 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.038) 0:03:34.526 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.021) 0:03:34.547 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.027) 0:03:34.575 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.086) 0:03:34.661 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.023) 0:03:34.685 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.032) 0:03:34.717 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.037) 0:03:34.755 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.042) 0:03:34.797 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.039) 0:03:34.837 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.029) 0:03:34.867 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.030) 0:03:34.897 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.027) 0:03:34.925 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.061) 0:03:34.986 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.048) 0:03:35.034 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.051) 0:03:35.086 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.073) 0:03:35.160 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.033) 0:03:35.194 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.048) 0:03:35.242 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.102) 0:03:35.345 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Thursday 07 December 2023 08:57:12 +0000 (0:00:00.048) 0:03:35.393 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.113) 0:03:35.506 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.035) 0:03:35.542 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.043) 0:03:35.585 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.042) 0:03:35.627 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.051) 0:03:35.679 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.033) 0:03:35.712 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.028) 0:03:35.741 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.029) 0:03:35.770 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.024) 0:03:35.795 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.033) 0:03:35.828 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.042) 0:03:35.871 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.043) 0:03:35.914 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.056) 0:03:35.971 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.037) 0:03:36.008 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.044) 0:03:36.053 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.033) 0:03:36.087 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.154) 0:03:36.242 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.030) 0:03:36.272 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.024) 0:03:36.297 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.026) 0:03:36.323 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 07 December 2023 08:57:13 +0000 (0:00:00.039) 0:03:36.363 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 07 December 2023 08:57:14 +0000 (0:00:00.262) 0:03:36.626 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:56:01 UTC", "ActiveEnterTimestampMonotonic": "975796576", "ActiveExitTimestamp": "Thu 2023-12-07 08:56:45 UTC", "ActiveExitTimestampMonotonic": "1019846744", "ActiveState": "inactive", "After": "basic.target sysinit.target system.slice network.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:56:01 UTC", "AssertTimestampMonotonic": "975795449", "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": "Thu 2023-12-07 08:56:01 UTC", "ConditionTimestampMonotonic": "975795447", "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": "Thu 2023-12-07 08:56:46 UTC", "ExecMainExitTimestampMonotonic": "1020008829", "ExecMainPID": "27954", "ExecMainStartTimestamp": "Thu 2023-12-07 08:56:01 UTC", "ExecMainStartTimestampMonotonic": "975796515", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:56:01 UTC] ; stop_time=[Thu 2023-12-07 08:56:46 UTC] ; pid=27954 ; 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": "Thu 2023-12-07 08:56:46 UTC", "InactiveEnterTimestampMonotonic": "1020008917", "InactiveExitTimestamp": "Thu 2023-12-07 08:56:01 UTC", "InactiveExitTimestampMonotonic": "975796576", "InvocationID": "0be565123ef64220bc752ea9e92b4303", "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": "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:56:46 UTC", "StateChangeTimestampMonotonic": "1020008917", "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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Thursday 07 December 2023 08:57:14 +0000 (0:00:00.466) 0:03:37.092 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Thursday 07 December 2023 08:57:14 +0000 (0:00:00.069) 0:03:37.161 ***** 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-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:73 Thursday 07 December 2023 08:57:14 +0000 (0:00:00.041) 0:03:37.203 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 07 December 2023 08:57:15 +0000 (0:00:00.586) 0:03:37.789 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:57:15 +0000 (0:00:00.037) 0:03:37.827 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 07 December 2023 08:57:15 +0000 (0:00:00.031) 0:03:37.858 ***** 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-selinuxw4jatp8y/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-selinuxw4jatp8y/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-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 07 December 2023 08:57:15 +0000 (0:00:00.065) 0:03:37.924 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 07 December 2023 08:57:15 +0000 (0:00:00.027) 0:03:37.952 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 07 December 2023 08:57:15 +0000 (0:00:00.022) 0:03:37.974 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 07 December 2023 08:57:15 +0000 (0:00:00.059) 0:03:38.034 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 07 December 2023 08:57:15 +0000 (0:00:00.025) 0:03:38.059 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 07 December 2023 08:57:15 +0000 (0:00:00.059) 0:03:38.119 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 07 December 2023 08:57:15 +0000 (0:00:00.051) 0:03:38.171 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Thursday 07 December 2023 08:57:15 +0000 (0:00:00.023) 0:03:38.195 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Thursday 07 December 2023 08:57:15 +0000 (0:00:00.034) 0:03:38.229 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Thursday 07 December 2023 08:57:15 +0000 (0:00:00.127) 0:03:38.356 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Thursday 07 December 2023 08:57:15 +0000 (0:00:00.024) 0:03:38.380 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Thursday 07 December 2023 08:57:15 +0000 (0:00:00.027) 0:03:38.408 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Thursday 07 December 2023 08:57:15 +0000 (0:00:00.041) 0:03:38.450 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Thursday 07 December 2023 08:57:16 +0000 (0:00:00.035) 0:03:38.485 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Thursday 07 December 2023 08:57:17 +0000 (0:00:01.398) 0:03:39.884 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Thursday 07 December 2023 08:57:17 +0000 (0:00:00.115) 0:03:39.999 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Thursday 07 December 2023 08:57:17 +0000 (0:00:00.034) 0:03:40.033 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 07 December 2023 08:57:17 +0000 (0:00:00.048) 0:03:40.082 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Thursday 07 December 2023 08:57:17 +0000 (0:00:00.120) 0:03:40.202 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Thursday 07 December 2023 08:57:19 +0000 (0:00:01.603) 0:03:41.806 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Thursday 07 December 2023 08:57:19 +0000 (0:00:00.028) 0:03:41.835 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Thursday 07 December 2023 08:57:19 +0000 (0:00:00.028) 0:03:41.864 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Thursday 07 December 2023 08:57:19 +0000 (0:00:00.060) 0:03:41.924 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Thursday 07 December 2023 08:57:19 +0000 (0:00:00.058) 0:03:41.983 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Thursday 07 December 2023 08:57:19 +0000 (0:00:00.024) 0:03:42.007 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Thursday 07 December 2023 08:57:19 +0000 (0:00:00.035) 0:03:42.043 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 07 December 2023 08:57:19 +0000 (0:00:00.023) 0:03:42.066 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Thursday 07 December 2023 08:57:19 +0000 (0:00:00.026) 0:03:42.092 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Thursday 07 December 2023 08:57:19 +0000 (0:00:00.044) 0:03:42.137 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Thursday 07 December 2023 08:57:20 +0000 (0:00:01.250) 0:03:43.387 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Thursday 07 December 2023 08:57:20 +0000 (0:00:00.039) 0:03:43.426 ***** 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.005120", "end": "2023-12-07 08:57:21.148048", "rc": 0, "start": "2023-12-07 08:57:21.142928" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Thursday 07 December 2023 08:57:21 +0000 (0:00:00.328) 0:03:43.755 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 07 December 2023 08:57:22 +0000 (0:00:01.474) 0:03:45.229 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Thursday 07 December 2023 08:57:22 +0000 (0:00:00.030) 0:03:45.260 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Thursday 07 December 2023 08:57:22 +0000 (0:00:00.051) 0:03:45.311 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 07 December 2023 08:57:22 +0000 (0:00:00.030) 0:03:45.342 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:57:22 +0000 (0:00:00.048) 0:03:45.390 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939274.011842, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701939273.9688435, "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": 1701939273.9688435, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "3198405695", "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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:57:23 +0000 (0:00:00.232) 0:03:45.623 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Thursday 07 December 2023 08:57:23 +0000 (0:00:00.233) 0:03:45.857 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/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" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Thursday 07 December 2023 08:57:23 +0000 (0:00:00.047) 0:03:45.904 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:57:23 +0000 (0:00:00.046) 0:03:45.951 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.003609", "end": "2023-12-07 08:57:24.654043", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:23.650434" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:57:24 +0000 (0:00:01.201) 0:03:47.152 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:57:24 +0000 (0:00:00.027) 0:03:47.180 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:57:24 +0000 (0:00:00.023) 0:03:47.203 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939439.5266757, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701939439.5346756, "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": 1701939439.5346756, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "4051123585", "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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:57:24 +0000 (0:00:00.213) 0:03:47.417 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Thursday 07 December 2023 08:57:25 +0000 (0:00:00.203) 0:03:47.621 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/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" }, { "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/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Thursday 07 December 2023 08:57:25 +0000 (0:00:00.027) 0:03:47.649 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:57:25 +0000 (0:00:00.041) 0:03:47.690 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002523", "end": "2023-12-07 08:57:25.389855", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:25.387332" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:57:25 +0000 (0:00:00.208) 0:03:47.898 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:57:25 +0000 (0:00:00.028) 0:03:47.927 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Thursday 07 December 2023 08:57:25 +0000 (0:00:00.023) 0:03:47.950 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 07 December 2023 08:57:25 +0000 (0:00:00.094) 0:03:48.044 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 07 December 2023 08:57:26 +0000 (0:00:01.196) 0:03:49.240 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:39:58 UTC", "ActiveEnterTimestampMonotonic": "12203595", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service network.target dbus.service basic.target system.slice polkit.service systemd-journald.socket dbus.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:39:57 UTC", "AssertTimestampMonotonic": "11417660", "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": "Thu 2023-12-07 08:39:57 UTC", "ConditionTimestampMonotonic": "11417658", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target power-profiles-daemon.service auto-cpufreq.service tlp.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": "684", "ExecMainStartTimestamp": "Thu 2023-12-07 08:39:57 UTC", "ExecMainStartTimestampMonotonic": "11418803", "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": "Thu 2023-12-07 08:39:57 UTC", "InactiveExitTimestampMonotonic": "11418841", "InvocationID": "3629d0480da643a2b8f1db10e5142481", "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": "684", "MemoryAccounting": "yes", "MemoryCurrent": "22982656", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.service sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "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": "Thu 2023-12-07 08:39:58 UTC", "StateChangeTimestampMonotonic": "12203595", "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": "Thu 2023-12-07 08:39:58 UTC", "WatchdogTimestampMonotonic": "12203591", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 07 December 2023 08:57:27 +0000 (0:00:00.323) 0:03:49.564 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.111225", "end": "2023-12-07 08:57:27.388445", "rc": 0, "start": "2023-12-07 08:57:27.277220" } 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 07 December 2023 08:57:27 +0000 (0:00:00.326) 0:03:49.890 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 07 December 2023 08:57:27 +0000 (0:00:00.031) 0:03:49.921 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 07 December 2023 08:57:27 +0000 (0:00:00.041) 0:03:49.963 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 07 December 2023 08:57:27 +0000 (0:00:00.041) 0:03:50.004 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 07 December 2023 08:57:27 +0000 (0:00:00.237) 0:03:50.242 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 07 December 2023 08:57:28 +0000 (0:00:01.176) 0:03:51.419 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:57:29 +0000 (0:00:00.121) 0:03:51.540 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:57:14 UTC", "ActiveEnterTimestampMonotonic": "1048480284", "ActiveExitTimestamp": "Thu 2023-12-07 08:56:45 UTC", "ActiveExitTimestampMonotonic": "1019846744", "ActiveState": "active", "After": "basic.target sysinit.target system.slice network.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:57:14 UTC", "AssertTimestampMonotonic": "1048479205", "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": "Thu 2023-12-07 08:57:14 UTC", "ConditionTimestampMonotonic": "1048479204", "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": "29973", "ExecMainStartTimestamp": "Thu 2023-12-07 08:57:14 UTC", "ExecMainStartTimestampMonotonic": "1048480229", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:57:14 UTC] ; stop_time=[n/a] ; pid=29973 ; 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": "Thu 2023-12-07 08:56:46 UTC", "InactiveEnterTimestampMonotonic": "1020008917", "InactiveExitTimestamp": "Thu 2023-12-07 08:57:14 UTC", "InactiveExitTimestampMonotonic": "1048480284", "InvocationID": "562f9006f57c446494b88849f74a4892", "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": "29973", "MemoryAccounting": "yes", "MemoryCurrent": "713306112", "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:57:14 UTC", "StateChangeTimestampMonotonic": "1048480284", "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": "178", "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": "Thu 2023-12-07 08:57:14 UTC", "WatchdogTimestampMonotonic": "1048480281", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:57:29 +0000 (0:00:00.342) 0:03:51.883 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002662", "end": "2023-12-07 08:57:29.597061", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:29.594399" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:57:29 +0000 (0:00:00.237) 0:03:52.120 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002621", "end": "2023-12-07 08:57:29.838629", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:29.836008" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:57:29 +0000 (0:00:00.227) 0:03:52.348 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 07 December 2023 08:57:29 +0000 (0:00:00.040) 0:03:52.389 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 07 December 2023 08:57:31 +0000 (0:00:01.241) 0:03:53.631 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Thursday 07 December 2023 08:57:31 +0000 (0:00:00.256) 0:03:53.887 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:57:14 UTC", "ActiveEnterTimestampMonotonic": "1048480284", "ActiveExitTimestamp": "Thu 2023-12-07 08:56:45 UTC", "ActiveExitTimestampMonotonic": "1019846744", "ActiveState": "active", "After": "basic.target sysinit.target system.slice network.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:57:14 UTC", "AssertTimestampMonotonic": "1048479205", "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": "Thu 2023-12-07 08:57:14 UTC", "ConditionTimestampMonotonic": "1048479204", "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": "29973", "ExecMainStartTimestamp": "Thu 2023-12-07 08:57:14 UTC", "ExecMainStartTimestampMonotonic": "1048480229", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:57:14 UTC] ; stop_time=[n/a] ; pid=29973 ; 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": "Thu 2023-12-07 08:56:46 UTC", "InactiveEnterTimestampMonotonic": "1020008917", "InactiveExitTimestamp": "Thu 2023-12-07 08:57:14 UTC", "InactiveExitTimestampMonotonic": "1048480284", "InvocationID": "562f9006f57c446494b88849f74a4892", "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": "29973", "MemoryAccounting": "yes", "MemoryCurrent": "718581760", "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:57:14 UTC", "StateChangeTimestampMonotonic": "1048480284", "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": "178", "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": "Thu 2023-12-07 08:57:14 UTC", "WatchdogTimestampMonotonic": "1048480281", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Thursday 07 December 2023 08:57:31 +0000 (0:00:00.533) 0:03:54.420 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Thursday 07 December 2023 08:57:33 +0000 (0:00:01.475) 0:03:55.896 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Thursday 07 December 2023 08:57:39 +0000 (0:00:05.654) 0:04:01.551 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Thursday 07 December 2023 08:57:39 +0000 (0:00:00.041) 0:04:01.592 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Thursday 07 December 2023 08:57:39 +0000 (0:00:00.034) 0:04:01.626 ***** 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.004346", "end": "2023-12-07 08:57:39.346746", "rc": 0, "start": "2023-12-07 08:57:39.342400" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Thursday 07 December 2023 08:57:39 +0000 (0:00:00.273) 0:04:01.900 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Thursday 07 December 2023 08:57:39 +0000 (0:00:00.052) 0:04:01.953 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Thursday 07 December 2023 08:57:40 +0000 (0:00:01.258) 0:04:03.211 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Thursday 07 December 2023 08:57:40 +0000 (0:00:00.049) 0:04:03.261 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:57:40 +0000 (0:00:00.046) 0:04:03.307 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002674", "end": "2023-12-07 08:57:41.057781", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:41.055107" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.357) 0:04:03.665 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.073) 0:04:03.739 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.042) 0:04:03.781 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.027) 0:04:03.808 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.046) 0:04:03.855 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.090) 0:04:03.945 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002395", "end": "2023-12-07 08:57:41.683606", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:41.681211" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.257) 0:04:04.202 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.096) 0:04:04.299 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.043) 0:04:04.342 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Thursday 07 December 2023 08:57:41 +0000 (0:00:00.072) 0:04:04.414 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.121) 0:04:04.536 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002380", "end": "2023-12-07 08:57:42.290418", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:42.288038" } STDOUT: enabled = False TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.283) 0:04:04.819 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.069) 0:04:04.888 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Thursday 07 December 2023 08:57:42 +0000 (0:00:00.078) 0:04:04.967 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Thursday 07 December 2023 08:57:43 +0000 (0:00:01.267) 0:04:06.234 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Thursday 07 December 2023 08:57:45 +0000 (0:00:01.232) 0:04:07.466 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002590", "end": "2023-12-07 08:57:45.202686", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:57:45.200096" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Thursday 07 December 2023 08:57:45 +0000 (0:00:00.245) 0:04:07.712 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Thursday 07 December 2023 08:57:45 +0000 (0:00:00.059) 0:04:07.772 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Thursday 07 December 2023 08:57:45 +0000 (0:00:00.043) 0:04:07.815 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:57:45 +0000 (0:00:00.054) 0:04:07.870 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002473", "end": "2023-12-07 08:57:45.732087", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:45.729614" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:57:45 +0000 (0:00:00.434) 0:04:08.305 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:57:45 +0000 (0:00:00.042) 0:04:08.347 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Thursday 07 December 2023 08:57:45 +0000 (0:00:00.046) 0:04:08.394 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:57:45 +0000 (0:00:00.064) 0:04:08.458 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002486", "end": "2023-12-07 08:57:46.245220", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:46.242734" } STDOUT: writethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.325) 0:04:08.784 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.077) 0:04:08.861 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.055) 0:04:08.917 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.205) 0:04:09.122 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.044) 0:04:09.167 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.042) 0:04:09.209 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.028) 0:04:09.238 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.028) 0:04:09.266 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.031) 0:04:09.298 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.037) 0:04:09.336 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.053) 0:04:09.390 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Thursday 07 December 2023 08:57:46 +0000 (0:00:00.049) 0:04:09.439 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.038) 0:04:09.478 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.027) 0:04:09.505 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.046) 0:04:09.552 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.045) 0:04:09.598 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.026) 0:04:09.624 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.044) 0:04:09.669 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.024) 0:04:09.693 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.035) 0:04:09.729 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.102) 0:04:09.832 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.027) 0:04:09.859 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.023) 0:04:09.883 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.022) 0:04:09.905 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.023) 0:04:09.929 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.048) 0:04:09.977 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.025) 0:04:10.003 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.023) 0:04:10.026 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.027) 0:04:10.054 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.027) 0:04:10.082 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.027) 0:04:10.109 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.042) 0:04:10.151 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.024) 0:04:10.176 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.036) 0:04:10.212 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.022) 0:04:10.235 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.023) 0:04:10.258 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Thursday 07 December 2023 08:57:47 +0000 (0:00:00.027) 0:04:10.285 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.197) 0:04:10.483 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.035) 0:04:10.518 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.041) 0:04:10.559 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.023) 0:04:10.582 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.027) 0:04:10.610 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.025) 0:04:10.636 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.024) 0:04:10.660 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.040) 0:04:10.701 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.026) 0:04:10.728 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.040) 0:04:10.768 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.027) 0:04:10.796 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.034) 0:04:10.831 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.037) 0:04:10.869 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.042) 0:04:10.911 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.041) 0:04:10.952 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.023) 0:04:10.976 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.021) 0:04:10.997 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.115) 0:04:11.113 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.026) 0:04:11.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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.035) 0:04:11.175 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.024) 0:04:11.200 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.024) 0:04:11.225 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 07 December 2023 08:57:48 +0000 (0:00:00.023) 0:04:11.248 ***** ok: [sut] => { "changed": false } RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 07 December 2023 08:57:49 +0000 (0:00:00.262) 0:04:11.511 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:57:14 UTC", "ActiveEnterTimestampMonotonic": "1048480284", "ActiveExitTimestamp": "Thu 2023-12-07 08:57:31 UTC", "ActiveExitTimestampMonotonic": "1065652533", "ActiveState": "inactive", "After": "basic.target sysinit.target system.slice network.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:57:14 UTC", "AssertTimestampMonotonic": "1048479205", "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": "Thu 2023-12-07 08:57:14 UTC", "ConditionTimestampMonotonic": "1048479204", "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": "Thu 2023-12-07 08:57:31 UTC", "ExecMainExitTimestampMonotonic": "1065842644", "ExecMainPID": "29973", "ExecMainStartTimestamp": "Thu 2023-12-07 08:57:14 UTC", "ExecMainStartTimestampMonotonic": "1048480229", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:57:14 UTC] ; stop_time=[Thu 2023-12-07 08:57:31 UTC] ; pid=29973 ; 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": "Thu 2023-12-07 08:57:31 UTC", "InactiveEnterTimestampMonotonic": "1065842749", "InactiveExitTimestamp": "Thu 2023-12-07 08:57:14 UTC", "InactiveExitTimestampMonotonic": "1048480284", "InvocationID": "562f9006f57c446494b88849f74a4892", "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": "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:57:31 UTC", "StateChangeTimestampMonotonic": "1065842749", "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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Thursday 07 December 2023 08:57:49 +0000 (0:00:00.438) 0:04:11.950 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Thursday 07 December 2023 08:57:49 +0000 (0:00:00.031) 0:04:11.981 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:88 Thursday 07 December 2023 08:57:49 +0000 (0:00:00.029) 0:04:12.010 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:8 Thursday 07 December 2023 08:57:49 +0000 (0:00:00.315) 0:04:12.326 ***** 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.006203", "end": "2023-12-07 08:57:50.057553", "rc": 0, "start": "2023-12-07 08:57:50.051350" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:23 Thursday 07 December 2023 08:57:50 +0000 (0:00:00.228) 0:04:12.554 ***** 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.005239", "end": "2023-12-07 08:57:50.266758", "rc": 0, "start": "2023-12-07 08:57:50.261519" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:35 Thursday 07 December 2023 08:57:50 +0000 (0:00:00.210) 0:04:12.765 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:39 Thursday 07 December 2023 08:57:50 +0000 (0:00:00.028) 0:04:12.793 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:57:50 +0000 (0:00:00.057) 0:04:12.850 ***** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004424", "end": "2023-12-07 08:57:50.571501", "rc": 0, "start": "2023-12-07 08:57:50.567077" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:57:50 +0000 (0:00:00.246) 0:04:13.097 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:57:50 +0000 (0:00:00.038) 0:04:13.135 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:57:50 +0000 (0:00:00.035) 0:04:13.171 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:57:50 +0000 (0:00:00.067) 0:04:13.239 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004490", "end": "2023-12-07 08:57:50.989665", "rc": 0, "start": "2023-12-07 08:57:50.985175" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:57:51 +0000 (0:00:00.284) 0:04:13.523 ***** 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-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:57:51 +0000 (0:00:00.060) 0:04:13.584 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:57:51 +0000 (0:00:00.035) 0:04:13.619 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:57:51 +0000 (0:00:00.034) 0:04:13.654 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004456", "end": "2023-12-07 08:57:51.399095", "rc": 0, "start": "2023-12-07 08:57:51.394639" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:57:51 +0000 (0:00:00.387) 0:04:14.042 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:57:51 +0000 (0:00:00.044) 0:04:14.086 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:57:51 +0000 (0:00:00.039) 0:04:14.125 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:57:51 +0000 (0:00:00.038) 0:04:14.164 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003918", "end": "2023-12-07 08:57:51.909405", "rc": 0, "start": "2023-12-07 08:57:51.905487" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:57:51 +0000 (0:00:00.254) 0:04:14.419 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:57:52 +0000 (0:00:00.058) 0:04:14.477 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:57:52 +0000 (0:00:00.036) 0:04:14.514 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:57:52 +0000 (0:00:00.047) 0:04:14.562 ***** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004193", "end": "2023-12-07 08:57:52.279583", "rc": 0, "start": "2023-12-07 08:57:52.275390" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:57:52 +0000 (0:00:00.227) 0:04:14.789 ***** 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-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:57:52 +0000 (0:00:00.037) 0:04:14.827 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:57:52 +0000 (0:00:00.067) 0:04:14.894 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:55 Thursday 07 December 2023 08:57:52 +0000 (0:00:00.050) 0:04:14.944 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939274.011842, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701939273.9688435, "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": 1701939273.9688435, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "3198405695", "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-selinuxw4jatp8y/tests/tasks/verify_settings.yml:60 Thursday 07 December 2023 08:57:52 +0000 (0:00:00.441) 0:04:15.386 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:70 Thursday 07 December 2023 08:57:52 +0000 (0:00:00.037) 0:04:15.423 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939472.5326464, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701939472.5536458, "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": 1701939472.5536458, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "4051123585", "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-selinuxw4jatp8y/tests/tasks/verify_settings.yml:75 Thursday 07 December 2023 08:57:53 +0000 (0:00:00.386) 0:04:15.810 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:85 Thursday 07 December 2023 08:57:53 +0000 (0:00:00.133) 0:04:15.944 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:57:53 +0000 (0:00:00.066) 0:04:16.010 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:57:49 UTC", "ActiveEnterTimestampMonotonic": "1083372336", "ActiveExitTimestamp": "Thu 2023-12-07 08:57:31 UTC", "ActiveExitTimestampMonotonic": "1065652533", "ActiveState": "active", "After": "basic.target sysinit.target system.slice network.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:57:49 UTC", "AssertTimestampMonotonic": "1083371263", "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": "Thu 2023-12-07 08:57:49 UTC", "ConditionTimestampMonotonic": "1083371261", "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": "31132", "ExecMainStartTimestamp": "Thu 2023-12-07 08:57:49 UTC", "ExecMainStartTimestampMonotonic": "1083372276", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:57:49 UTC] ; stop_time=[n/a] ; pid=31132 ; 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": "Thu 2023-12-07 08:57:31 UTC", "InactiveEnterTimestampMonotonic": "1065842749", "InactiveExitTimestamp": "Thu 2023-12-07 08:57:49 UTC", "InactiveExitTimestampMonotonic": "1083372336", "InvocationID": "660ba2467ef24fa3949f562b3849b547", "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": "31132", "MemoryAccounting": "yes", "MemoryCurrent": "651849728", "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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:57:49 UTC", "StateChangeTimestampMonotonic": "1083372336", "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": "162", "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": "Thu 2023-12-07 08:57:49 UTC", "WatchdogTimestampMonotonic": "1083372333", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:57:53 +0000 (0:00:00.392) 0:04:16.402 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002780", "end": "2023-12-07 08:57:54.122111", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:54.119331" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:57:54 +0000 (0:00:00.254) 0:04:16.656 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002868", "end": "2023-12-07 08:57:54.367927", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:57:54.365059" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:57:54 +0000 (0:00:00.211) 0:04:16.868 ***** 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-selinuxw4jatp8y/tests/tasks/verify_settings.yml:93 Thursday 07 December 2023 08:57:54 +0000 (0:00:00.056) 0:04:16.924 ***** 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-selinuxw4jatp8y/tests/tasks/verify_settings.yml:100 Thursday 07 December 2023 08:58:12 +0000 (0:00:18.277) 0:04:35.201 ***** 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.027305", "end": "2023-12-07 08:58:12.940146", "rc": 0, "start": "2023-12-07 08:58:12.912841" } 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-selinuxw4jatp8y/tests/tasks/verify_settings.yml:104 Thursday 07 December 2023 08:58:12 +0000 (0:00:00.231) 0:04:35.433 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:108 Thursday 07 December 2023 08:58:12 +0000 (0:00:00.025) 0:04:35.458 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:7 Thursday 07 December 2023 08:58:13 +0000 (0:00:00.139) 0:04:35.598 ***** 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-selinuxw4jatp8y/tests/tasks/verify_package.yml:12 Thursday 07 December 2023 08:58:14 +0000 (0:00:01.234) 0:04:36.832 ***** 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-selinuxw4jatp8y/tests/tasks/verify_package.yml:17 Thursday 07 December 2023 08:58:14 +0000 (0:00:00.023) 0:04:36.856 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:115 Thursday 07 December 2023 08:58:14 +0000 (0:00:00.030) 0:04:36.886 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:7 Thursday 07 December 2023 08:58:14 +0000 (0:00:00.039) 0:04:36.926 ***** 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-selinuxw4jatp8y/tests/tasks/verify_package.yml:12 Thursday 07 December 2023 08:58:15 +0000 (0:00:01.378) 0:04:38.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:17 Thursday 07 December 2023 08:58:15 +0000 (0:00:00.024) 0:04:38.328 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:126 Thursday 07 December 2023 08:58:15 +0000 (0:00:00.033) 0:04:38.362 ***** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003601", "end": "2023-12-07 08:58:16.066619", "rc": 0, "start": "2023-12-07 08:58:16.063018" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:131 Thursday 07 December 2023 08:58:16 +0000 (0:00:00.202) 0:04:38.565 ***** 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-selinuxw4jatp8y/tests/tasks/verify_settings.yml:136 Thursday 07 December 2023 08:58:16 +0000 (0:00:00.023) 0:04:38.588 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:142 Thursday 07 December 2023 08:58:16 +0000 (0:00:00.025) 0:04:38.613 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:58:16 +0000 (0:00:00.037) 0:04:38.651 ***** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003703", "end": "2023-12-07 08:58:16.351744", "rc": 0, "start": "2023-12-07 08:58:16.348041" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:58:16 +0000 (0:00:00.194) 0:04:38.845 ***** 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-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:58:16 +0000 (0:00:00.024) 0:04:38.869 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:58:16 +0000 (0:00:00.028) 0:04:38.898 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:148 Thursday 07 December 2023 08:58:16 +0000 (0:00:00.022) 0:04:38.920 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:58:16 +0000 (0:00:00.039) 0:04:38.960 ***** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003645", "end": "2023-12-07 08:58:16.661202", "rc": 0, "start": "2023-12-07 08:58:16.657557" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:58:16 +0000 (0:00:00.202) 0:04:39.162 ***** 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-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:58:16 +0000 (0:00:00.136) 0:04:39.298 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:58:16 +0000 (0:00:00.041) 0:04:39.340 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:158 Thursday 07 December 2023 08:58:16 +0000 (0:00:00.045) 0:04:39.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:169 Thursday 07 December 2023 08:58:16 +0000 (0:00:00.023) 0:04:39.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:181 Thursday 07 December 2023 08:58:16 +0000 (0:00:00.029) 0:04:39.438 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:189 Thursday 07 December 2023 08:58:16 +0000 (0:00:00.021) 0:04:39.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:199 Thursday 07 December 2023 08:58:17 +0000 (0:00:00.022) 0:04:39.483 ***** 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-selinuxw4jatp8y/tests/tasks/verify_settings.yml:204 Thursday 07 December 2023 08:58:17 +0000 (0:00:00.024) 0:04:39.507 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:212 Thursday 07 December 2023 08:58:17 +0000 (0:00:00.022) 0:04:39.530 ***** 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-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:105 Thursday 07 December 2023 08:58:17 +0000 (0:00:00.027) 0:04:39.557 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/check_header.yml:4 Thursday 07 December 2023 08:58:17 +0000 (0:00:00.209) 0:04:39.767 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.003692", "end": "2023-12-07 08:58:18.592529", "rc": 0, "start": "2023-12-07 08:58:17.588837" } 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-selinuxw4jatp8y/tests/tests_idempotency_2022.yml:22 Thursday 07 December 2023 08:58:18 +0000 (0:00:01.323) 0:04:41.091 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:2 Thursday 07 December 2023 08:58:18 +0000 (0:00:00.036) 0:04:41.127 ***** 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-selinuxw4jatp8y/tests/tasks/cleanup.yml:6 Thursday 07 December 2023 08:58:19 +0000 (0:00:01.263) 0:04:42.390 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:14 Thursday 07 December 2023 08:58:19 +0000 (0:00:00.044) 0:04:42.434 ***** ok: [sut] => { "ansible_python_version": "3.6.8" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:18 Thursday 07 December 2023 08:58:20 +0000 (0:00:00.031) 0:04:42.465 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 07 December 2023 08:58:20 +0000 (0:00:00.110) 0:04:42.575 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/.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-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 07 December 2023 08:58:20 +0000 (0:00:00.046) 0:04:42.622 ***** 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-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Thursday 07 December 2023 08:58:20 +0000 (0:00:00.029) 0:04:42.652 ***** 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-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Thursday 07 December 2023 08:58:20 +0000 (0:00:00.274) 0:04:42.926 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Thursday 07 December 2023 08:58:20 +0000 (0:00:00.026) 0:04:42.952 ***** 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-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 07 December 2023 08:58:21 +0000 (0:00:01.211) 0:04:44.163 ***** 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-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 07 December 2023 08:58:21 +0000 (0:00:00.031) 0:04:44.195 ***** 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-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Thursday 07 December 2023 08:58:21 +0000 (0:00:00.032) 0:04:44.228 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:46:57 UTC", "ActiveEnterTimestampMonotonic": "431584533", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice dbus.service polkit.service basic.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:46:56 UTC", "AssertTimestampMonotonic": "430890398", "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": "Thu 2023-12-07 08:46:56 UTC", "ConditionTimestampMonotonic": "430890397", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ebtables.service ipset.service iptables.service ip6tables.service nftables.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": "Thu 2023-12-07 08:46:57 UTC", "ExecMainStartTimestampMonotonic": "430962760", "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": "Thu 2023-12-07 08:46:57 UTC", "InactiveExitTimestampMonotonic": "430962813", "InvocationID": "7e46661a81a74320b9855fa6e74a12de", "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": "43298816", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:46:57 UTC", "StateChangeTimestampMonotonic": "431584533", "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": "Thu 2023-12-07 08:46:57 UTC", "WatchdogTimestampMonotonic": "431584530", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Thursday 07 December 2023 08:58:22 +0000 (0:00:00.335) 0:04:44.564 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:46:57 UTC", "ActiveEnterTimestampMonotonic": "431584533", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice dbus.service polkit.service basic.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:46:56 UTC", "AssertTimestampMonotonic": "430890398", "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": "Thu 2023-12-07 08:46:56 UTC", "ConditionTimestampMonotonic": "430890397", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ebtables.service ipset.service iptables.service ip6tables.service nftables.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": "Thu 2023-12-07 08:46:57 UTC", "ExecMainStartTimestampMonotonic": "430962760", "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": "Thu 2023-12-07 08:46:57 UTC", "InactiveExitTimestampMonotonic": "430962813", "InvocationID": "7e46661a81a74320b9855fa6e74a12de", "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": "43298816", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:46:57 UTC", "StateChangeTimestampMonotonic": "431584533", "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": "Thu 2023-12-07 08:46:57 UTC", "WatchdogTimestampMonotonic": "431584530", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Thursday 07 December 2023 08:58:22 +0000 (0:00:00.326) 0:04:44.890 ***** 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-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Thursday 07 December 2023 08:58:22 +0000 (0:00:00.039) 0:04:44.929 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.40.47 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Thursday 07 December 2023 08:58:22 +0000 (0:00:00.334) 0:04:45.264 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 07 December 2023 08:58:22 +0000 (0:00:00.034) 0:04:45.298 ***** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Thursday 07 December 2023 08:58:22 +0000 (0:00:00.023) 0:04:45.322 ***** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Thursday 07 December 2023 08:58:22 +0000 (0:00:00.129) 0:04:45.451 ***** 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-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Thursday 07 December 2023 08:58:23 +0000 (0:00:00.038) 0:04:45.490 ***** 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-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Thursday 07 December 2023 08:58:23 +0000 (0:00:00.025) 0:04:45.515 ***** 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-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Thursday 07 December 2023 08:58:23 +0000 (0:00:00.028) 0:04:45.544 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.40.47 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Thursday 07 December 2023 08:58:23 +0000 (0:00:00.330) 0:04:45.874 ***** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Thursday 07 December 2023 08:58:23 +0000 (0:00:00.051) 0:04:45.925 ***** skipping: [sut] => {} TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:27 Thursday 07 December 2023 08:58:23 +0000 (0:00:00.030) 0:04:45.956 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:35 Thursday 07 December 2023 08:58:23 +0000 (0:00:00.042) 0:04:45.998 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:39 Thursday 07 December 2023 08:58:23 +0000 (0:00:00.036) 0:04:46.035 ***** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:45 Thursday 07 December 2023 08:58:23 +0000 (0:00:00.399) 0:04:46.434 ***** 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-selinuxw4jatp8y/tests/tasks/cleanup.yml:58 Thursday 07 December 2023 08:58:27 +0000 (0:00:03.334) 0:04:49.769 ***** changed: [sut] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.011605", "end": "2023-12-07 08:58:27.484393", "rc": 0, "start": "2023-12-07 08:58:27.472788" } 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/35193bb7-2f9d-4f5e-84f5-b4e57146356a' 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_133464128705030000.xel' removed '/var/opt/mssql/log/system_health_0_133464128729280000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464128773190000.xel' removed '/var/opt/mssql/log/system_health_0_133464128794050000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464129270990000.xel' removed '/var/opt/mssql/log/system_health_0_133464129290820000.xel' removed '/var/opt/mssql/log/FDLAUNCHERRORLOG' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464129467850000.xel' removed '/var/opt/mssql/log/system_health_0_133464129483260000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464129650250000.xel' removed '/var/opt/mssql/log/system_health_0_133464129667860000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464130110190000.xel' removed '/var/opt/mssql/log/system_health_0_133464130125350000.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_133464130201330000.xel' removed '/var/opt/mssql/log/system_health_0_133464130218140000.xel' removed '/var/opt/mssql/log/log_6.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464130375940000.xel' removed '/var/opt/mssql/log/system_health_0_133464130395190000.xel' removed '/var/opt/mssql/log/log_7.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464130566620000.xel' removed '/var/opt/mssql/log/system_health_0_133464130582860000.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_133464130725510000.xel' removed '/var/opt/mssql/log/system_health_0_133464130745330000.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' removed directory '/tmp/mssql_data' removed directory '/tmp/mssql_log' TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:72 Thursday 07 December 2023 08:58:27 +0000 (0:00:00.210) 0:04:49.979 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.010156", "end": "2023-12-07 08:58:27.683716", "rc": 0, "start": "2023-12-07 08:58:27.673560" } 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 Thursday 07 December 2023 08:58:27 +0000 (0:00:00.211) 0:04:50.190 ***** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 37.73s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 linux-system-roles.mssql : Ensure the package mssql-server-fts --------- 26.24s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wait for mssql-server to prepare for client connections ---------------- 18.28s /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.23s /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:93 ------- linux-system-roles.mssql : Set up MSSQL --------------------------------- 8.51s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 linux-system-roles.mssql : Ensure the package powershell ---------------- 7.79s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 linux-system-roles.mssql : Change the edition of MSSQL ------------------ 7.47s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 linux-system-roles.mssql : Change the password of sa user --------------- 7.33s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 linux-system-roles.mssql : Change the password of sa user --------------- 7.24s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 linux-system-roles.mssql : Change the password of sa user --------------- 5.65s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 linux-system-roles.mssql : Gather system services facts ----------------- 5.61s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Remove related packages ------------------------------------------------- 3.33s /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:45 --------------- linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 2.16s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 linux-system-roles.mssql : Ensure the package powershell ---------------- 1.75s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 linux-system-roles.mssql : Ensure the package mssql-server-fts ---------- 1.66s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 linux-system-roles.mssql : Gather system services facts ----------------- 1.65s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Gather package facts ------------------------- 1.64s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 linux-system-roles.mssql : Gather package facts ------------------------- 1.62s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories --- 1.60s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 1.56s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---