# 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_2017.yml ******************************************* 1 plays in /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_idempotency_2017.yml PLAY [Ensure that the role is idempotent] ************************************** META: ran handlers TASK [Run tests_idempotency with SQL Server 2017] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_idempotency_2017.yml:14 Wednesday 06 December 2023 13:40:39 +0000 (0:00:00.023) 0:00:00.023 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml for sut TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:2 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.017) 0:00:00.040 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.054) 0:00:00.094 **** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.459) 0:00:00.554 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.010) 0:00:00.565 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run on a fresh host and set all parameters] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:5 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.010) 0:00:00.575 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.146) 0:00:00.721 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.010) 0:00:00.732 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.010) 0:00:00.742 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.024) 0:00:00.767 **** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.008) 0:00:00.775 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.008) 0:00:00.784 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.008) 0:00:00.792 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.007) 0:00:00.799 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.007) 0:00:00.807 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.007) 0:00:00.815 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.009) 0:00:00.824 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.011) 0:00:00.835 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.008) 0:00:00.844 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.007) 0:00:00.852 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.010) 0:00:00.863 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.011) 0:00:00.874 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:40:40 +0000 (0:00:00.013) 0:00:00.888 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:40:42 +0000 (0:00:01.330) 0:00:02.218 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:40:42 +0000 (0:00:00.042) 0:00:02.261 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:40:42 +0000 (0:00:00.019) 0:00:02.280 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:40:42 +0000 (0:00:00.022) 0:00:02.303 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Wednesday 06 December 2023 13:40:42 +0000 (0:00:00.031) 0:00:02.334 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Wednesday 06 December 2023 13:40:42 +0000 (0:00:00.452) 0:00:02.786 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Wednesday 06 December 2023 13:40:42 +0000 (0:00:00.018) 0:00:02.805 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Wednesday 06 December 2023 13:40:42 +0000 (0:00:00.018) 0:00:02.824 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Wednesday 06 December 2023 13:40:42 +0000 (0:00:00.019) 0:00:02.844 **** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:40:43 +0000 (0:00:00.255) 0:00:03.099 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Wednesday 06 December 2023 13:40:43 +0000 (0:00:00.020) 0:00:03.119 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Wednesday 06 December 2023 13:40:43 +0000 (0:00:00.018) 0:00:03.138 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 06 December 2023 13:40:43 +0000 (0:00:00.018) 0:00:03.157 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Wednesday 06 December 2023 13:40:43 +0000 (0:00:00.019) 0:00:03.176 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:40:43 +0000 (0:00:00.019) 0:00:03.195 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python2-libs-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: mssql-server-14.0.3465.1-1.x86_64", "Installed: libipt-1.6.1-8.el8.x86_64", "Installed: python2-pip-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Installed: python2-setuptools-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Installed: python2-setuptools-wheel-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Installed: python2-pip-wheel-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "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: python2-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Installed: libtool-ltdl-2.4.6-25.el8.x86_64", "Installed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Installed: libbabeltrace-1.5.4-4.el8.x86_64", "Installed: guile-5:2.0.14-7.el8.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:41:24 +0000 (0:00:41.051) 0:00:44.247 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Wednesday 06 December 2023 13:41:24 +0000 (0:00:00.037) 0:00:44.285 **** 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.005553", "end": "2023-12-06 13:41:24.511616", "rc": 0, "start": "2023-12-06 13:41:24.506063" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 06 December 2023 13:41:24 +0000 (0:00:00.278) 0:00:44.563 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Wednesday 06 December 2023 13:41:46 +0000 (0:00:21.681) 0:01:06.245 **** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Wednesday 06 December 2023 13:41:46 +0000 (0:00:00.060) 0:01:06.305 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Wednesday 06 December 2023 13:41:46 +0000 (0:00:00.038) 0:01:06.344 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Wednesday 06 December 2023 13:41:51 +0000 (0:00:04.880) 0:01:11.225 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /tmp/data] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:41:51 +0000 (0:00:00.056) 0:01:11.281 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:41:51 +0000 (0:00:00.316) 0:01:11.597 **** changed: [sut] => { "changed": true, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:41:51 +0000 (0:00:00.338) 0:01:11.936 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" } ], "selinux_restore_dirs": [ "/tmp/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:41:51 +0000 (0:00:00.027) 0:01:11.964 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:41:51 +0000 (0:00:00.041) 0:01:12.006 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003344", "end": "2023-12-06 13:41:52.182910", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:41:52.179566" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:41:52 +0000 (0:00:00.241) 0:01:12.247 **** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/tmp/data" ], "delta": "0:00:00.049970", "end": "2023-12-06 13:41:52.492109", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:41:52.442139" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:41:52 +0000 (0:00:00.304) 0:01:12.552 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /tmp/log] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:41:52 +0000 (0:00:00.022) 0:01:12.574 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:41:52 +0000 (0:00:00.240) 0:01:12.815 **** changed: [sut] => { "changed": true, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:41:53 +0000 (0:00:00.267) 0:01:13.083 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:41:53 +0000 (0:00:00.026) 0:01:13.110 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:41:53 +0000 (0:00:00.034) 0:01:13.144 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003537", "end": "2023-12-06 13:41:53.297949", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:41:53.294412" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:41:53 +0000 (0:00:00.220) 0:01:13.365 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/log" ], "delta": "0:00:00.057534", "end": "2023-12-06 13:41:53.577659", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:41:53.520125" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:41:53 +0000 (0:00:00.274) 0:01:13.639 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Wednesday 06 December 2023 13:41:53 +0000 (0:00:00.026) 0:01:13.666 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Wednesday 06 December 2023 13:41:53 +0000 (0:00:00.021) 0:01:13.688 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Wednesday 06 December 2023 13:41:55 +0000 (0:00:01.451) 0:01:15.139 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:29:31 UTC", "ActiveEnterTimestampMonotonic": "12034246", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target polkit.service dbus.service systemd-sysctl.service dbus.socket system.slice sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:29:30 UTC", "AssertTimestampMonotonic": "11040759", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:29:30 UTC", "ConditionTimestampMonotonic": "11040758", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service tlp.service shutdown.target cpupower.service power-profiles-daemon.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "684", "ExecMainStartTimestamp": "Wed 2023-12-06 13:29:30 UTC", "ExecMainStartTimestampMonotonic": "11041951", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:29:30 UTC", "InactiveExitTimestampMonotonic": "11041992", "InvocationID": "ce0621a2929b411f940556261e3010d1", "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": "22446080", "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": "sysinit.target dbus.socket dbus.service system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:29:31 UTC", "StateChangeTimestampMonotonic": "12034246", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:29:31 UTC", "WatchdogTimestampMonotonic": "12034243", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Wednesday 06 December 2023 13:41:55 +0000 (0:00:00.493) 0:01:15.633 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.114211", "end": "2023-12-06 13:41:55.880256", "rc": 0, "start": "2023-12-06 13:41:55.766045" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Wednesday 06 December 2023 13:41:55 +0000 (0:00:00.304) 0:01:15.937 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 06 December 2023 13:41:55 +0000 (0:00:00.048) 0:01:15.986 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Wednesday 06 December 2023 13:41:55 +0000 (0:00:00.021) 0:01:16.007 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Wednesday 06 December 2023 13:41:56 +0000 (0:00:00.021) 0:01:16.029 **** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 06 December 2023 13:41:56 +0000 (0:00:00.205) 0:01:16.234 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: msodbcsql17-17.10.5.1-1.x86_64", "Installed: unixODBC-devel-2.3.11-1.rh.x86_64", "Installed: unixODBC-2.3.11-1.rh.x86_64", "Installed: mssql-tools-17.10.1.1-1.x86_64" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 06 December 2023 13:41:58 +0000 (0:00:02.163) 0:01:18.397 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Wednesday 06 December 2023 13:41:58 +0000 (0:00:00.035) 0:01:18.433 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 06 December 2023 13:41:58 +0000 (0:00:00.021) 0:01:18.455 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Wednesday 06 December 2023 13:41:58 +0000 (0:00:00.029) 0:01:18.485 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:41:58 +0000 (0:00:00.052) 0:01:18.537 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Wednesday 06 December 2023 13:41:58 +0000 (0:00:00.070) 0:01:18.607 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Wednesday 06 December 2023 13:41:58 +0000 (0:00:00.029) 0:01:18.637 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Wednesday 06 December 2023 13:41:58 +0000 (0:00:00.045) 0:01:18.682 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Wednesday 06 December 2023 13:41:58 +0000 (0:00:00.047) 0:01:18.730 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Wednesday 06 December 2023 13:41:58 +0000 (0:00:00.053) 0:01:18.783 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Wednesday 06 December 2023 13:41:58 +0000 (0:00:00.057) 0:01:18.841 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 06 December 2023 13:41:58 +0000 (0:00:00.024) 0:01:18.865 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Wednesday 06 December 2023 13:41:58 +0000 (0:00:00.059) 0:01:18.925 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:41:58 +0000 (0:00:00.053) 0:01:18.978 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002725", "end": "2023-12-06 13:41:59.149706", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:41:59.146981" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:41:59 +0000 (0:00:00.240) 0:01:19.218 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.047679", "end": "2023-12-06 13:41:59.423034", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:41:59.375355" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:41:59 +0000 (0:00:00.267) 0:01:19.485 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Wednesday 06 December 2023 13:41:59 +0000 (0:00:00.033) 0:01:19.519 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:41:59 +0000 (0:00:00.023) 0:01:19.543 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Wednesday 06 December 2023 13:41:59 +0000 (0:00:00.022) 0:01:19.565 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:41:59 +0000 (0:00:00.065) 0:01:19.630 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002453", "end": "2023-12-06 13:41:59.774845", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:41:59.772392" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:41:59 +0000 (0:00:00.197) 0:01:19.828 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047643", "end": "2023-12-06 13:42:00.015126", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:41:59.967483" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:42:00 +0000 (0:00:00.250) 0:01:20.079 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 06 December 2023 13:42:00 +0000 (0:00:00.022) 0:01:20.101 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Wednesday 06 December 2023 13:42:00 +0000 (0:00:00.020) 0:01:20.122 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:42:00 +0000 (0:00:00.042) 0:01:20.164 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003231", "end": "2023-12-06 13:42:00.316479", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:42:00.313248" } STDOUT: enabled = false TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:42:00 +0000 (0:00:00.211) 0:01:20.376 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.047520", "end": "2023-12-06 13:42:00.574949", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:42:00.527429" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:42:00 +0000 (0:00:00.257) 0:01:20.633 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wednesday 06 December 2023 13:42:00 +0000 (0:00:00.020) 0:01:20.653 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-fts-14.0.3465.1-1.x86_64" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 06 December 2023 13:42:25 +0000 (0:00:25.126) 0:01:45.780 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: powershell-7.4.0-1.rh.x86_64", "Installed: libicu-60.3-2.el8_1.x86_64" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Wednesday 06 December 2023 13:42:34 +0000 (0:00:08.397) 0:01:54.177 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002835", "end": "2023-12-06 13:42:34.318522", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:42:34.315687" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 06 December 2023 13:42:34 +0000 (0:00:00.194) 0:01:54.372 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.056430", "end": "2023-12-06 13:42:34.571547", "rc": 0, "start": "2023-12-06 13:42:34.515117" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 06 December 2023 13:42:34 +0000 (0:00:00.254) 0:01:54.626 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Wednesday 06 December 2023 13:42:34 +0000 (0:00:00.044) 0:01:54.671 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:42:34 +0000 (0:00:00.038) 0:01:54.709 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002896", "end": "2023-12-06 13:42:34.854614", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:42:34.851718" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:42:34 +0000 (0:00:00.207) 0:01:54.917 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.047156", "end": "2023-12-06 13:42:35.113608", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:42:35.066452" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:42:35 +0000 (0:00:00.255) 0:01:55.173 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:42:35 +0000 (0:00:00.020) 0:01:55.194 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:42:35 +0000 (0:00:00.035) 0:01:55.229 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002607", "end": "2023-12-06 13:42:35.369142", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:42:35.366535" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:42:35 +0000 (0:00:00.193) 0:01:55.422 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.046966", "end": "2023-12-06 13:42:35.610428", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:42:35.563462" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:42:35 +0000 (0:00:00.250) 0:01:55.673 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Wednesday 06 December 2023 13:42:35 +0000 (0:00:00.031) 0:01:55.704 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Wednesday 06 December 2023 13:42:35 +0000 (0:00:00.026) 0:01:55.730 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:42:35 +0000 (0:00:00.022) 0:01:55.752 **** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:42:35 +0000 (0:00:00.026) 0:01:55.779 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Wednesday 06 December 2023 13:42:35 +0000 (0:00:00.036) 0:01:55.816 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Wednesday 06 December 2023 13:42:35 +0000 (0:00:00.068) 0:01:55.884 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Wednesday 06 December 2023 13:42:35 +0000 (0:00:00.035) 0:01:55.919 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 06 December 2023 13:42:35 +0000 (0:00:00.022) 0:01:55.942 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Wednesday 06 December 2023 13:42:35 +0000 (0:00:00.023) 0:01:55.966 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Wednesday 06 December 2023 13:42:35 +0000 (0:00:00.020) 0:01:55.986 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Wednesday 06 December 2023 13:42:35 +0000 (0:00:00.021) 0:01:56.008 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.030) 0:01:56.039 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.024) 0:01:56.064 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.023) 0:01:56.088 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.027) 0:01:56.116 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.023) 0:01:56.139 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.026) 0:01:56.165 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.020) 0:01:56.186 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.020) 0:01:56.207 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.026) 0:01:56.233 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.020) 0:01:56.253 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.273 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.293 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.046) 0:01:56.339 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.020) 0:01:56.359 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.378 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.398 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.418 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.437 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.457 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.477 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.496 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.516 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.535 **** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.023) 0:01:56.559 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.578 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.598 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.024) 0:01:56.623 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.642 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.018) 0:01:56.661 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.680 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.045) 0:01:56.726 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.021) 0:01:56.747 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.021) 0:01:56.769 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.022) 0:01:56.791 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.020) 0:01:56.812 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.832 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.019) 0:01:56.851 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.020) 0:01:56.872 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.026) 0:01:56.898 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.020) 0:01:56.919 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.018) 0:01:56.938 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.020) 0:01:56.958 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.020) 0:01:56.978 **** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.023) 0:01:57.002 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Wednesday 06 December 2023 13:42:36 +0000 (0:00:00.018) 0:01:57.021 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:42:37 +0000 (0:00:00.019) 0:01:57.040 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Wednesday 06 December 2023 13:42:37 +0000 (0:00:00.021) 0:01:57.062 **** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 06 December 2023 13:42:37 +0000 (0:00:00.285) 0:01:57.347 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:41:51 UTC", "ActiveEnterTimestampMonotonic": "752032643", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.mount basic.target systemd-journald.socket auditd.service system.slice sysinit.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:41:51 UTC", "AssertTimestampMonotonic": "752031390", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:41:51 UTC", "ConditionTimestampMonotonic": "752031389", "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": "12873", "ExecMainStartTimestamp": "Wed 2023-12-06 13:41:51 UTC", "ExecMainStartTimestampMonotonic": "752032593", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:41:51 UTC", "InactiveExitTimestampMonotonic": "752032643", "InvocationID": "35d442b5197443aab04e635d3ea33ed3", "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": "12873", "MemoryAccounting": "yes", "MemoryCurrent": "635711488", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:41:51 UTC", "StateChangeTimestampMonotonic": "752032643", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "138", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:41:51 UTC", "WatchdogTimestampMonotonic": "752032640", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Wednesday 06 December 2023 13:42:38 +0000 (0:00:01.474) 0:01:58.821 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Wednesday 06 December 2023 13:42:38 +0000 (0:00:00.020) 0:01:58.841 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:22 Wednesday 06 December 2023 13:42:38 +0000 (0:00:00.019) 0:01:58.861 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 06 December 2023 13:42:38 +0000 (0:00:00.065) 0:01:58.926 **** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 06 December 2023 13:42:39 +0000 (0:00:00.277) 0:01:59.204 **** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 06 December 2023 13:42:39 +0000 (0:00:00.227) 0:01:59.431 **** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:25 Wednesday 06 December 2023 13:42:39 +0000 (0:00:00.488) 0:01:59.920 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.165) 0:02:00.085 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.031) 0:02:00.116 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.024) 0:02:00.141 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.035) 0:02:00.177 **** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.018) 0:02:00.195 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.019) 0:02:00.215 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.019) 0:02:00.234 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.018) 0:02:00.252 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.050) 0:02:00.303 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.020) 0:02:00.324 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.019) 0:02:00.344 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.023) 0:02:00.367 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.019) 0:02:00.387 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.020) 0:02:00.407 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.019) 0:02:00.427 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.020) 0:02:00.447 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:42:40 +0000 (0:00:00.021) 0:02:00.469 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:42:42 +0000 (0:00:01.686) 0:02:02.156 **** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:42:42 +0000 (0:00:00.063) 0:02:02.219 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:42:42 +0000 (0:00:00.024) 0:02:02.243 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:42:42 +0000 (0:00:00.024) 0:02:02.268 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Wednesday 06 December 2023 13:42:42 +0000 (0:00:00.053) 0:02:02.321 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Wednesday 06 December 2023 13:42:42 +0000 (0:00:00.357) 0:02:02.678 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Wednesday 06 December 2023 13:42:42 +0000 (0:00:00.020) 0:02:02.699 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Wednesday 06 December 2023 13:42:42 +0000 (0:00:00.022) 0:02:02.721 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Wednesday 06 December 2023 13:42:42 +0000 (0:00:00.022) 0:02:02.743 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:42:42 +0000 (0:00:00.025) 0:02:02.769 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Wednesday 06 December 2023 13:42:42 +0000 (0:00:00.023) 0:02:02.792 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Wednesday 06 December 2023 13:42:42 +0000 (0:00:00.022) 0:02:02.814 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 06 December 2023 13:42:42 +0000 (0:00:00.020) 0:02:02.835 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Wednesday 06 December 2023 13:42:42 +0000 (0:00:00.022) 0:02:02.858 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:42:42 +0000 (0:00:00.022) 0:02:02.880 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:42:44 +0000 (0:00:01.336) 0:02:04.216 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Wednesday 06 December 2023 13:42:44 +0000 (0:00:00.021) 0:02:04.238 **** 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.005433", "end": "2023-12-06 13:42:44.379934", "rc": 0, "start": "2023-12-06 13:42:44.374501" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 06 December 2023 13:42:44 +0000 (0:00:00.197) 0:02:04.435 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Wednesday 06 December 2023 13:43:00 +0000 (0:00:16.515) 0:02:20.951 **** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Wednesday 06 December 2023 13:43:00 +0000 (0:00:00.028) 0:02:20.979 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Wednesday 06 December 2023 13:43:01 +0000 (0:00:00.049) 0:02:21.029 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Wednesday 06 December 2023 13:43:01 +0000 (0:00:00.022) 0:02:21.051 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /tmp/data] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:43:01 +0000 (0:00:00.048) 0:02:21.099 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870111.8543046, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701870111.8563044, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 150995660, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701870111.8543046, "nlink": 2, "path": "/tmp/data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "1328559172", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:43:03 +0000 (0:00:02.207) 0:02:23.306 **** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:43:03 +0000 (0:00:00.199) 0:02:23.506 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:43:03 +0000 (0:00:00.028) 0:02:23.534 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:03 +0000 (0:00:00.065) 0:02:23.600 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002979", "end": "2023-12-06 13:43:03.742894", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:03.739915" } STDOUT: defaultdatadir = /tmp/data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:03 +0000 (0:00:00.198) 0:02:23.799 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:03 +0000 (0:00:00.026) 0:02:23.826 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /tmp/log] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:43:03 +0000 (0:00:00.023) 0:02:23.849 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870113.021302, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701870113.0223022, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 192938602, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701870113.021302, "nlink": 2, "path": "/tmp/log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "2840556502", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:43:04 +0000 (0:00:00.199) 0:02:24.048 **** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:43:04 +0000 (0:00:00.205) 0:02:24.254 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:43:04 +0000 (0:00:00.027) 0:02:24.281 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:04 +0000 (0:00:00.037) 0:02:24.318 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002810", "end": "2023-12-06 13:43:04.459922", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:04.457112" } STDOUT: defaultlogdir = /tmp/log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:04 +0000 (0:00:00.197) 0:02:24.516 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:04 +0000 (0:00:00.026) 0:02:24.542 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Wednesday 06 December 2023 13:43:04 +0000 (0:00:00.023) 0:02:24.566 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Wednesday 06 December 2023 13:43:04 +0000 (0:00:00.051) 0:02:24.617 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Wednesday 06 December 2023 13:43:05 +0000 (0:00:01.185) 0:02:25.803 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:29:31 UTC", "ActiveEnterTimestampMonotonic": "12034246", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service systemd-sysctl.service sysinit.target dbus.socket systemd-journald.socket network.target system.slice dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:29:30 UTC", "AssertTimestampMonotonic": "11040759", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:29:30 UTC", "ConditionTimestampMonotonic": "11040758", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service power-profiles-daemon.service cpupower.service auto-cpufreq.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "684", "ExecMainStartTimestamp": "Wed 2023-12-06 13:29:30 UTC", "ExecMainStartTimestampMonotonic": "11041951", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:29:30 UTC", "InactiveExitTimestampMonotonic": "11041992", "InvocationID": "ce0621a2929b411f940556261e3010d1", "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": "22491136", "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": "Wed 2023-12-06 13:29:31 UTC", "StateChangeTimestampMonotonic": "12034246", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:29:31 UTC", "WatchdogTimestampMonotonic": "12034243", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Wednesday 06 December 2023 13:43:06 +0000 (0:00:00.317) 0:02:26.120 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.113790", "end": "2023-12-06 13:43:06.367212", "rc": 0, "start": "2023-12-06 13:43:06.253422" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Wednesday 06 December 2023 13:43:06 +0000 (0:00:00.302) 0:02:26.423 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 06 December 2023 13:43:06 +0000 (0:00:00.022) 0:02:26.445 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Wednesday 06 December 2023 13:43:06 +0000 (0:00:00.021) 0:02:26.466 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Wednesday 06 December 2023 13:43:06 +0000 (0:00:00.020) 0:02:26.487 **** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 06 December 2023 13:43:06 +0000 (0:00:00.195) 0:02:26.683 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 06 December 2023 13:43:07 +0000 (0:00:01.201) 0:02:27.885 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:43:07 +0000 (0:00:00.077) 0:02:27.962 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:42:38 UTC", "ActiveEnterTimestampMonotonic": "799781157", "ActiveExitTimestamp": "Wed 2023-12-06 13:42:37 UTC", "ActiveExitTimestampMonotonic": "798671858", "ActiveState": "active", "After": "auditd.service sysinit.target systemd-journald.socket network.target -.mount basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:42:38 UTC", "AssertTimestampMonotonic": "799780025", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:42:38 UTC", "ConditionTimestampMonotonic": "799780023", "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": "13996", "ExecMainStartTimestamp": "Wed 2023-12-06 13:42:38 UTC", "ExecMainStartTimestampMonotonic": "799781106", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:42:38 UTC", "InactiveEnterTimestampMonotonic": "799778821", "InactiveExitTimestamp": "Wed 2023-12-06 13:42:38 UTC", "InactiveExitTimestampMonotonic": "799781157", "InvocationID": "cd49a67dab8748f1bcd7284af591af80", "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": "13996", "MemoryAccounting": "yes", "MemoryCurrent": "779894784", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:42:38 UTC", "StateChangeTimestampMonotonic": "799781157", "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": "160", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:42:38 UTC", "WatchdogTimestampMonotonic": "799781154", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:43:08 +0000 (0:00:00.317) 0:02:28.280 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002723", "end": "2023-12-06 13:43:08.424078", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:43:08.421355" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:43:08 +0000 (0:00:00.199) 0:02:28.479 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002679", "end": "2023-12-06 13:43:08.619547", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:08.616868" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:43:08 +0000 (0:00:00.193) 0:02:28.673 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Wednesday 06 December 2023 13:43:08 +0000 (0:00:00.029) 0:02:28.703 **** 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": 6337, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 06 December 2023 13:43:09 +0000 (0:00:01.277) 0:02:29.980 **** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Wednesday 06 December 2023 13:43:10 +0000 (0:00:00.213) 0:02:30.194 **** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:42:38 UTC", "ActiveEnterTimestampMonotonic": "799781157", "ActiveExitTimestamp": "Wed 2023-12-06 13:42:37 UTC", "ActiveExitTimestampMonotonic": "798671858", "ActiveState": "active", "After": "auditd.service sysinit.target systemd-journald.socket network.target -.mount basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:42:38 UTC", "AssertTimestampMonotonic": "799780025", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:42:38 UTC", "ConditionTimestampMonotonic": "799780023", "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": "13996", "ExecMainStartTimestamp": "Wed 2023-12-06 13:42:38 UTC", "ExecMainStartTimestampMonotonic": "799781106", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:42:38 UTC", "InactiveEnterTimestampMonotonic": "799778821", "InactiveExitTimestamp": "Wed 2023-12-06 13:42:38 UTC", "InactiveExitTimestampMonotonic": "799781157", "InvocationID": "cd49a67dab8748f1bcd7284af591af80", "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": "13996", "MemoryAccounting": "yes", "MemoryCurrent": "785326080", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:42:38 UTC", "StateChangeTimestampMonotonic": "799781157", "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": "Wed 2023-12-06 13:42:38 UTC", "WatchdogTimestampMonotonic": "799781154", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:43:11 +0000 (0:00:01.546) 0:02:31.741 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Wednesday 06 December 2023 13:43:12 +0000 (0:00:01.259) 0:02:33.001 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Wednesday 06 December 2023 13:43:17 +0000 (0:00:04.984) 0:02:37.985 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Wednesday 06 December 2023 13:43:17 +0000 (0:00:00.022) 0:02:38.007 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Wednesday 06 December 2023 13:43:18 +0000 (0:00:00.025) 0:02:38.032 **** 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.004504", "end": "2023-12-06 13:43:18.174179", "rc": 0, "start": "2023-12-06 13:43:18.169675" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Wednesday 06 December 2023 13:43:18 +0000 (0:00:00.195) 0:02:38.228 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Wednesday 06 December 2023 13:43:18 +0000 (0:00:00.023) 0:02:38.251 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 06 December 2023 13:43:19 +0000 (0:00:01.299) 0:02:39.551 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Wednesday 06 December 2023 13:43:19 +0000 (0:00:00.024) 0:02:39.576 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:19 +0000 (0:00:00.037) 0:02:39.613 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002704", "end": "2023-12-06 13:43:19.752072", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:19.749368" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:19 +0000 (0:00:00.193) 0:02:39.807 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:19 +0000 (0:00:00.025) 0:02:39.833 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Wednesday 06 December 2023 13:43:19 +0000 (0:00:00.020) 0:02:39.854 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:43:19 +0000 (0:00:00.021) 0:02:39.875 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Wednesday 06 December 2023 13:43:19 +0000 (0:00:00.020) 0:02:39.896 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:19 +0000 (0:00:00.034) 0:02:39.931 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002732", "end": "2023-12-06 13:43:20.071464", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:43:20.068732" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:20 +0000 (0:00:00.194) 0:02:40.125 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.046386", "end": "2023-12-06 13:43:20.312523", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:20.266137" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:20 +0000 (0:00:00.249) 0:02:40.375 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 06 December 2023 13:43:20 +0000 (0:00:00.057) 0:02:40.432 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Wednesday 06 December 2023 13:43:20 +0000 (0:00:00.022) 0:02:40.454 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:20 +0000 (0:00:00.040) 0:02:40.494 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002406", "end": "2023-12-06 13:43:20.632456", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:20.630050" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:20 +0000 (0:00:00.194) 0:02:40.689 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:20 +0000 (0:00:00.026) 0:02:40.715 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wednesday 06 December 2023 13:43:20 +0000 (0:00:00.027) 0:02:40.743 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 06 December 2023 13:43:21 +0000 (0:00:01.178) 0:02:41.921 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Wednesday 06 December 2023 13:43:23 +0000 (0:00:01.192) 0:02:43.114 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002867", "end": "2023-12-06 13:43:23.257592", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:23.254725" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 06 December 2023 13:43:23 +0000 (0:00:00.198) 0:02:43.313 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 06 December 2023 13:43:23 +0000 (0:00:00.025) 0:02:43.339 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Wednesday 06 December 2023 13:43:23 +0000 (0:00:00.025) 0:02:43.364 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:23 +0000 (0:00:00.050) 0:02:43.414 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002781", "end": "2023-12-06 13:43:23.557499", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:23.554718" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:23 +0000 (0:00:00.200) 0:02:43.615 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:23 +0000 (0:00:00.037) 0:02:43.653 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:43:23 +0000 (0:00:00.030) 0:02:43.683 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:23 +0000 (0:00:00.046) 0:02:43.730 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002985", "end": "2023-12-06 13:43:23.894003", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:23.891018" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:23 +0000 (0:00:00.219) 0:02:43.950 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:23 +0000 (0:00:00.027) 0:02:43.977 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Wednesday 06 December 2023 13:43:23 +0000 (0:00:00.023) 0:02:44.001 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.073) 0:02:44.074 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.039) 0:02:44.114 **** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.026) 0:02:44.141 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.036) 0:02:44.177 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.026) 0:02:44.203 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.029) 0:02:44.233 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.028) 0:02:44.261 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.027) 0:02:44.289 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.042) 0:02:44.331 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.047) 0:02:44.379 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.035) 0:02:44.415 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.028) 0:02:44.443 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.023) 0:02:44.467 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.024) 0:02:44.492 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.021) 0:02:44.513 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.034) 0:02:44.548 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.026) 0:02:44.574 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.078) 0:02:44.652 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.033) 0:02:44.685 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.023) 0:02:44.709 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.023) 0:02:44.733 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.022) 0:02:44.755 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.022) 0:02:44.778 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.027) 0:02:44.805 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.023) 0:02:44.829 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.022) 0:02:44.851 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.023) 0:02:44.874 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.022) 0:02:44.897 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.020) 0:02:44.917 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.019) 0:02:44.937 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.019) 0:02:44.957 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.020) 0:02:44.978 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Wednesday 06 December 2023 13:43:24 +0000 (0:00:00.021) 0:02:44.999 **** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.059) 0:02:45.058 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.028) 0:02:45.086 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.021) 0:02:45.108 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.027) 0:02:45.135 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.022) 0:02:45.158 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.022) 0:02:45.181 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.021) 0:02:45.202 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.021) 0:02:45.223 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.021) 0:02:45.245 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.020) 0:02:45.266 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.020) 0:02:45.286 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.020) 0:02:45.307 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.021) 0:02:45.328 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.019) 0:02:45.347 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.020) 0:02:45.368 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.030) 0:02:45.398 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.031) 0:02:45.430 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.084) 0:02:45.514 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.027) 0:02:45.541 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.024) 0:02:45.566 **** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.026) 0:02:45.593 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.022) 0:02:45.615 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.023) 0:02:45.638 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.025) 0:02:45.664 **** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 06 December 2023 13:43:25 +0000 (0:00:00.223) 0:02:45.888 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:42:38 UTC", "ActiveEnterTimestampMonotonic": "799781157", "ActiveExitTimestamp": "Wed 2023-12-06 13:43:11 UTC", "ActiveExitTimestampMonotonic": "832478114", "ActiveState": "inactive", "After": "auditd.service sysinit.target systemd-journald.socket network.target -.mount basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:42:38 UTC", "AssertTimestampMonotonic": "799780025", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:42:38 UTC", "ConditionTimestampMonotonic": "799780023", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2023-12-06 13:43:11 UTC", "ExecMainExitTimestampMonotonic": "832697565", "ExecMainPID": "13996", "ExecMainStartTimestamp": "Wed 2023-12-06 13:42:38 UTC", "ExecMainStartTimestampMonotonic": "799781106", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:42:38 UTC] ; stop_time=[Wed 2023-12-06 13:43:11 UTC] ; pid=13996 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:43:11 UTC", "InactiveEnterTimestampMonotonic": "832697661", "InactiveExitTimestamp": "Wed 2023-12-06 13:42:38 UTC", "InactiveExitTimestampMonotonic": "799781157", "InvocationID": "cd49a67dab8748f1bcd7284af591af80", "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": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:43:11 UTC", "StateChangeTimestampMonotonic": "832697661", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Wednesday 06 December 2023 13:43:27 +0000 (0:00:01.341) 0:02:47.229 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Wednesday 06 December 2023 13:43:27 +0000 (0:00:00.021) 0:02:47.251 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:40 Wednesday 06 December 2023 13:43:27 +0000 (0:00:00.029) 0:02:47.281 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:8 Wednesday 06 December 2023 13:43:27 +0000 (0:00:00.160) 0:02:47.442 **** 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.006217", "end": "2023-12-06 13:43:27.600845", "rc": 0, "start": "2023-12-06 13:43:27.594628" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:23 Wednesday 06 December 2023 13:43:27 +0000 (0:00:00.221) 0:02:47.664 **** 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.005552", "end": "2023-12-06 13:43:27.813410", "rc": 0, "start": "2023-12-06 13:43:27.807858" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:35 Wednesday 06 December 2023 13:43:27 +0000 (0:00:00.208) 0:02:47.872 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:39 Wednesday 06 December 2023 13:43:27 +0000 (0:00:00.024) 0:02:47.897 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:43:27 +0000 (0:00:00.067) 0:02:47.965 **** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004363", "end": "2023-12-06 13:43:28.135424", "rc": 0, "start": "2023-12-06 13:43:28.131061" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.228) 0:02:48.193 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.031) 0:02:48.225 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.023) 0:02:48.248 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.023) 0:02:48.271 **** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005612", "end": "2023-12-06 13:43:28.443113", "rc": 0, "start": "2023-12-06 13:43:28.437501" } STDOUT: tcpport = 1433 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.234) 0:02:48.505 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.028) 0:02:48.534 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.024) 0:02:48.559 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.029) 0:02:48.588 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004301", "end": "2023-12-06 13:43:28.743885", "rc": 0, "start": "2023-12-06 13:43:28.739584" } STDOUT: defaultdatadir = /tmp/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.227) 0:02:48.815 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.041) 0:02:48.857 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/data] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.024) 0:02:48.881 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:43:28 +0000 (0:00:00.031) 0:02:48.913 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004695", "end": "2023-12-06 13:43:29.134997", "rc": 0, "start": "2023-12-06 13:43:29.130302" } STDOUT: defaultlogdir = /tmp/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:43:29 +0000 (0:00:00.281) 0:02:49.194 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:43:29 +0000 (0:00:00.031) 0:02:49.226 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/log] ****************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:43:29 +0000 (0:00:00.023) 0:02:49.249 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:43:29 +0000 (0:00:00.027) 0:02:49.277 **** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004239", "end": "2023-12-06 13:43:29.426239", "rc": 0, "start": "2023-12-06 13:43:29.422000" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:43:29 +0000 (0:00:00.205) 0:02:49.482 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:43:29 +0000 (0:00:00.064) 0:02:49.547 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:43:29 +0000 (0:00:00.030) 0:02:49.577 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:55 Wednesday 06 December 2023 13:43:29 +0000 (0:00:00.022) 0:02:49.600 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870111.8543046, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701870111.8563044, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 150995660, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701870111.8543046, "nlink": 2, "path": "/tmp/data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "1328559172", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:60 Wednesday 06 December 2023 13:43:29 +0000 (0:00:00.234) 0:02:49.835 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:70 Wednesday 06 December 2023 13:43:29 +0000 (0:00:00.032) 0:02:49.868 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870113.021302, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701870113.0223022, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 192938602, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701870113.021302, "nlink": 2, "path": "/tmp/log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "2840556502", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:75 Wednesday 06 December 2023 13:43:30 +0000 (0:00:00.324) 0:02:50.192 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:85 Wednesday 06 December 2023 13:43:30 +0000 (0:00:00.025) 0:02:50.218 **** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:43:30 +0000 (0:00:00.039) 0:02:50.257 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:43:27 UTC", "ActiveEnterTimestampMonotonic": "848181798", "ActiveExitTimestamp": "Wed 2023-12-06 13:43:11 UTC", "ActiveExitTimestampMonotonic": "832478114", "ActiveState": "active", "After": "auditd.service sysinit.target systemd-journald.socket network.target -.mount basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:43:27 UTC", "AssertTimestampMonotonic": "848180676", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:43:27 UTC", "ConditionTimestampMonotonic": "848180675", "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": "15212", "ExecMainStartTimestamp": "Wed 2023-12-06 13:43:27 UTC", "ExecMainStartTimestampMonotonic": "848181738", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:43:27 UTC] ; stop_time=[n/a] ; pid=15212 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:43:11 UTC", "InactiveEnterTimestampMonotonic": "832697661", "InactiveExitTimestamp": "Wed 2023-12-06 13:43:27 UTC", "InactiveExitTimestampMonotonic": "848181798", "InvocationID": "48cd4a7adce649d28d86797f72506525", "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": "15212", "MemoryAccounting": "yes", "MemoryCurrent": "712540160", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:43:27 UTC", "StateChangeTimestampMonotonic": "848181798", "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": "136", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:43:27 UTC", "WatchdogTimestampMonotonic": "848181795", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:43:30 +0000 (0:00:00.413) 0:02:50.670 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002549", "end": "2023-12-06 13:43:30.810241", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:30.807692" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:43:30 +0000 (0:00:00.195) 0:02:50.866 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002762", "end": "2023-12-06 13:43:31.007625", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:31.004863" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:43:31 +0000 (0:00:00.196) 0:02:51.062 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:93 Wednesday 06 December 2023 13:43:31 +0000 (0:00:00.062) 0:02:51.125 **** 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": 7134, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:100 Wednesday 06 December 2023 13:43:49 +0000 (0:00:18.215) 0:03:09.341 **** 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.022799", "end": "2023-12-06 13:43:49.503762", "rc": 0, "start": "2023-12-06 13:43:49.480963" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux 8.9 (Ootpa)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:104 Wednesday 06 December 2023 13:43:49 +0000 (0:00:00.229) 0:03:09.571 **** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:108 Wednesday 06 December 2023 13:43:49 +0000 (0:00:00.024) 0:03:09.595 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 13:43:49 +0000 (0:00:00.037) 0:03:09.632 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 13:43:50 +0000 (0:00:01.312) 0:03:10.945 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 13:43:50 +0000 (0:00:00.032) 0:03:10.977 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:115 Wednesday 06 December 2023 13:43:50 +0000 (0:00:00.022) 0:03:11.000 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 13:43:51 +0000 (0:00:00.040) 0:03:11.040 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 13:43:52 +0000 (0:00:01.237) 0:03:12.278 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.031) 0:03:12.309 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:126 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.020) 0:03:12.330 **** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003992", "end": "2023-12-06 13:43:52.471560", "rc": 0, "start": "2023-12-06 13:43:52.467568" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:131 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.206) 0:03:12.537 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:136 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.029) 0:03:12.566 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:142 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.023) 0:03:12.590 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.038) 0:03:12.628 **** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004279", "end": "2023-12-06 13:43:52.770633", "rc": 0, "start": "2023-12-06 13:43:52.766354" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.198) 0:03:12.826 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.031) 0:03:12.858 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.027) 0:03:12.885 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:148 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.021) 0:03:12.906 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.036) 0:03:12.942 **** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004199", "end": "2023-12-06 13:43:53.083495", "rc": 0, "start": "2023-12-06 13:43:53.079296" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.195) 0:03:13.138 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.022) 0:03:13.161 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.029) 0:03:13.191 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:158 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.022) 0:03:13.214 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:169 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.057) 0:03:13.272 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:181 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.022) 0:03:13.294 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:189 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.020) 0:03:13.314 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:199 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.020) 0:03:13.334 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:204 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.021) 0:03:13.356 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:212 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.020) 0:03:13.377 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:56 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.020) 0:03:13.397 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.259) 0:03:13.656 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.077) 0:03:13.734 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.027) 0:03:13.761 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.038) 0:03:13.799 **** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.020) 0:03:13.820 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.019) 0:03:13.839 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.020) 0:03:13.860 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.020) 0:03:13.880 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.019) 0:03:13.899 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.020) 0:03:13.919 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.021) 0:03:13.941 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.023) 0:03:13.965 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.021) 0:03:13.986 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:43:53 +0000 (0:00:00.022) 0:03:14.008 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:43:54 +0000 (0:00:00.022) 0:03:14.031 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:43:54 +0000 (0:00:00.037) 0:03:14.068 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:43:54 +0000 (0:00:00.127) 0:03:14.195 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:43:55 +0000 (0:00:01.261) 0:03:15.457 **** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:43:55 +0000 (0:00:00.089) 0:03:15.546 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:43:55 +0000 (0:00:00.040) 0:03:15.586 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:43:55 +0000 (0:00:00.041) 0:03:15.628 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Wednesday 06 December 2023 13:43:55 +0000 (0:00:00.047) 0:03:15.675 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Wednesday 06 December 2023 13:43:55 +0000 (0:00:00.342) 0:03:16.018 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Wednesday 06 December 2023 13:43:56 +0000 (0:00:00.022) 0:03:16.041 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Wednesday 06 December 2023 13:43:56 +0000 (0:00:00.021) 0:03:16.062 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Wednesday 06 December 2023 13:43:56 +0000 (0:00:00.071) 0:03:16.133 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:43:56 +0000 (0:00:00.030) 0:03:16.164 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Wednesday 06 December 2023 13:43:56 +0000 (0:00:00.021) 0:03:16.185 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Wednesday 06 December 2023 13:43:56 +0000 (0:00:00.023) 0:03:16.209 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 06 December 2023 13:43:56 +0000 (0:00:00.022) 0:03:16.231 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Wednesday 06 December 2023 13:43:56 +0000 (0:00:00.022) 0:03:16.253 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:43:56 +0000 (0:00:00.023) 0:03:16.277 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:43:57 +0000 (0:00:01.190) 0:03:17.467 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Wednesday 06 December 2023 13:43:57 +0000 (0:00:00.022) 0:03:17.489 **** 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.005398", "end": "2023-12-06 13:43:57.630488", "rc": 0, "start": "2023-12-06 13:43:57.625090" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 06 December 2023 13:43:57 +0000 (0:00:00.194) 0:03:17.684 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Wednesday 06 December 2023 13:44:19 +0000 (0:00:21.533) 0:03:39.217 **** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.028) 0:03:39.246 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.022) 0:03:39.268 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.020) 0:03:39.289 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.054) 0:03:39.344 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870110.5553071, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701870110.4663074, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 645923486, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870110.4663074, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 156, "uid": 990, "version": "1680012844", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.202) 0:03:39.546 **** 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": 156, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.219) 0:03:39.765 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.098) 0:03:39.864 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.053) 0:03:39.917 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002473", "end": "2023-12-06 13:44:20.061354", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:20.058881" } STDOUT: defaultdatadir = /tmp/data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:20 +0000 (0:00:00.230) 0:03:40.147 **** 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.046204", "end": "2023-12-06 13:44:20.366039", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:20.319835" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:20 +0000 (0:00:00.285) 0:03:40.433 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:44:20 +0000 (0:00:00.038) 0:03:40.471 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870210.0871232, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701870210.0851233, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 654311915, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870210.0851233, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "1619541260", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:44:21 +0000 (0:00:01.215) 0:03:41.687 **** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:44:21 +0000 (0:00:00.219) 0:03:41.907 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:44:21 +0000 (0:00:00.046) 0:03:41.953 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:21 +0000 (0:00:00.044) 0:03:41.997 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002971", "end": "2023-12-06 13:44:22.144535", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:22.141564" } STDOUT: defaultlogdir = /tmp/log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.280) 0:03:42.277 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.049139", "end": "2023-12-06 13:44:22.478590", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:22.429451" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.262) 0:03:42.540 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.024) 0:03:42.564 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Wednesday 06 December 2023 13:44:22 +0000 (0:00:00.029) 0:03:42.594 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Wednesday 06 December 2023 13:44:23 +0000 (0:00:01.232) 0:03:43.827 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:29:31 UTC", "ActiveEnterTimestampMonotonic": "12034246", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service systemd-sysctl.service sysinit.target dbus.socket systemd-journald.socket network.target system.slice dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:29:30 UTC", "AssertTimestampMonotonic": "11040759", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:29:30 UTC", "ConditionTimestampMonotonic": "11040758", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service power-profiles-daemon.service cpupower.service auto-cpufreq.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "684", "ExecMainStartTimestamp": "Wed 2023-12-06 13:29:30 UTC", "ExecMainStartTimestampMonotonic": "11041951", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:29:30 UTC", "InactiveExitTimestampMonotonic": "11041992", "InvocationID": "ce0621a2929b411f940556261e3010d1", "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": "22716416", "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": "Wed 2023-12-06 13:29:31 UTC", "StateChangeTimestampMonotonic": "12034246", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:29:31 UTC", "WatchdogTimestampMonotonic": "12034243", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Wednesday 06 December 2023 13:44:24 +0000 (0:00:00.335) 0:03:44.162 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.117402", "end": "2023-12-06 13:44:24.415528", "rc": 0, "start": "2023-12-06 13:44:24.298126" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Wednesday 06 December 2023 13:44:24 +0000 (0:00:00.330) 0:03:44.492 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 06 December 2023 13:44:24 +0000 (0:00:00.035) 0:03:44.527 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Wednesday 06 December 2023 13:44:24 +0000 (0:00:00.104) 0:03:44.632 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Wednesday 06 December 2023 13:44:24 +0000 (0:00:00.024) 0:03:44.657 **** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 06 December 2023 13:44:24 +0000 (0:00:00.228) 0:03:44.885 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 06 December 2023 13:44:26 +0000 (0:00:01.206) 0:03:46.092 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.048) 0:03:46.141 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:43:27 UTC", "ActiveEnterTimestampMonotonic": "848181798", "ActiveExitTimestamp": "Wed 2023-12-06 13:43:11 UTC", "ActiveExitTimestampMonotonic": "832478114", "ActiveState": "active", "After": "auditd.service sysinit.target systemd-journald.socket network.target -.mount basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:43:27 UTC", "AssertTimestampMonotonic": "848180676", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:43:27 UTC", "ConditionTimestampMonotonic": "848180675", "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": "15212", "ExecMainStartTimestamp": "Wed 2023-12-06 13:43:27 UTC", "ExecMainStartTimestampMonotonic": "848181738", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:43:27 UTC] ; stop_time=[n/a] ; pid=15212 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:43:11 UTC", "InactiveEnterTimestampMonotonic": "832697661", "InactiveExitTimestamp": "Wed 2023-12-06 13:43:27 UTC", "InactiveExitTimestampMonotonic": "848181798", "InvocationID": "48cd4a7adce649d28d86797f72506525", "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": "15212", "MemoryAccounting": "yes", "MemoryCurrent": "704094208", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:43:27 UTC", "StateChangeTimestampMonotonic": "848181798", "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": "149", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:43:27 UTC", "WatchdogTimestampMonotonic": "848181795", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.326) 0:03:46.468 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002897", "end": "2023-12-06 13:44:26.610021", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:26.607124" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.208) 0:03:46.676 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002775", "end": "2023-12-06 13:44:26.821882", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:26.819107" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.210) 0:03:46.886 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.035) 0:03:46.921 **** 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": 7134, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 06 December 2023 13:44:28 +0000 (0:00:01.200) 0:03:48.122 **** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Wednesday 06 December 2023 13:44:28 +0000 (0:00:00.230) 0:03:48.353 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:43:27 UTC", "ActiveEnterTimestampMonotonic": "848181798", "ActiveExitTimestamp": "Wed 2023-12-06 13:43:11 UTC", "ActiveExitTimestampMonotonic": "832478114", "ActiveState": "active", "After": "auditd.service sysinit.target systemd-journald.socket network.target -.mount basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:43:27 UTC", "AssertTimestampMonotonic": "848180676", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:43:27 UTC", "ConditionTimestampMonotonic": "848180675", "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": "15212", "ExecMainStartTimestamp": "Wed 2023-12-06 13:43:27 UTC", "ExecMainStartTimestampMonotonic": "848181738", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:43:27 UTC] ; stop_time=[n/a] ; pid=15212 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:43:11 UTC", "InactiveEnterTimestampMonotonic": "832697661", "InactiveExitTimestamp": "Wed 2023-12-06 13:43:27 UTC", "InactiveExitTimestampMonotonic": "848181798", "InvocationID": "48cd4a7adce649d28d86797f72506525", "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": "15212", "MemoryAccounting": "yes", "MemoryCurrent": "705077248", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:43:27 UTC", "StateChangeTimestampMonotonic": "848181798", "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": "149", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:43:27 UTC", "WatchdogTimestampMonotonic": "848181795", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:44:28 +0000 (0:00:00.545) 0:03:48.899 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Wednesday 06 December 2023 13:44:30 +0000 (0:00:01.245) 0:03:50.144 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Wednesday 06 December 2023 13:44:35 +0000 (0:00:05.066) 0:03:55.210 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Wednesday 06 December 2023 13:44:35 +0000 (0:00:00.022) 0:03:55.233 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Wednesday 06 December 2023 13:44:35 +0000 (0:00:00.074) 0:03:55.307 **** 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.004539", "end": "2023-12-06 13:44:35.450581", "rc": 0, "start": "2023-12-06 13:44:35.446042" } STDOUT: false TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Wednesday 06 December 2023 13:44:35 +0000 (0:00:00.198) 0:03:55.505 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:43:27 UTC", "ActiveEnterTimestampMonotonic": "848181798", "ActiveExitTimestamp": "Wed 2023-12-06 13:44:28 UTC", "ActiveExitTimestampMonotonic": "909638873", "ActiveState": "inactive", "After": "auditd.service sysinit.target systemd-journald.socket network.target -.mount basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:43:27 UTC", "AssertTimestampMonotonic": "848180676", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:43:27 UTC", "ConditionTimestampMonotonic": "848180675", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2023-12-06 13:44:28 UTC", "ExecMainExitTimestampMonotonic": "909855380", "ExecMainPID": "15212", "ExecMainStartTimestamp": "Wed 2023-12-06 13:43:27 UTC", "ExecMainStartTimestampMonotonic": "848181738", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:43:27 UTC] ; stop_time=[Wed 2023-12-06 13:44:28 UTC] ; pid=15212 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:44:28 UTC", "InactiveEnterTimestampMonotonic": "909855470", "InactiveExitTimestamp": "Wed 2023-12-06 13:43:27 UTC", "InactiveExitTimestampMonotonic": "848181798", "InvocationID": "48cd4a7adce649d28d86797f72506525", "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": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:44:28 UTC", "StateChangeTimestampMonotonic": "909855470", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Wednesday 06 December 2023 13:44:35 +0000 (0:00:00.315) 0:03:55.821 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 06 December 2023 13:44:37 +0000 (0:00:01.255) 0:03:57.076 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Wednesday 06 December 2023 13:44:42 +0000 (0:00:05.141) 0:04:02.217 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:42 +0000 (0:00:00.086) 0:04:02.304 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002781", "end": "2023-12-06 13:44:42.446569", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:42.443788" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:42 +0000 (0:00:00.197) 0:04:02.502 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.046213", "end": "2023-12-06 13:44:42.689225", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:42.643012" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:42 +0000 (0:00:00.249) 0:04:02.752 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Wednesday 06 December 2023 13:44:42 +0000 (0:00:00.023) 0:04:02.775 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:44:42 +0000 (0:00:00.023) 0:04:02.799 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1435] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Wednesday 06 December 2023 13:44:42 +0000 (0:00:00.025) 0:04:02.824 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:42 +0000 (0:00:00.039) 0:04:02.864 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002990", "end": "2023-12-06 13:44:43.006117", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:43.003127" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:43 +0000 (0:00:00.198) 0:04:03.063 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.046799", "end": "2023-12-06 13:44:43.249626", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:43.202827" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:43 +0000 (0:00:00.245) 0:04:03.308 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 06 December 2023 13:44:43 +0000 (0:00:00.021) 0:04:03.330 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Wednesday 06 December 2023 13:44:43 +0000 (0:00:00.021) 0:04:03.351 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:43 +0000 (0:00:00.102) 0:04:03.453 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002646", "end": "2023-12-06 13:44:43.607322", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:43.604676" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:43 +0000 (0:00:00.209) 0:04:03.663 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.046449", "end": "2023-12-06 13:44:43.848355", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:43.801906" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:43 +0000 (0:00:00.244) 0:04:03.907 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wednesday 06 December 2023 13:44:43 +0000 (0:00:00.022) 0:04:03.929 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: mssql-server-fts-14.0.3465.1-1.x86_64" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 06 December 2023 13:44:45 +0000 (0:00:01.665) 0:04:05.595 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: powershell-7.4.0-1.rh.x86_64" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Wednesday 06 December 2023 13:44:47 +0000 (0:00:01.722) 0:04:07.317 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003026", "end": "2023-12-06 13:44:47.458038", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:47.455012" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 06 December 2023 13:44:47 +0000 (0:00:00.195) 0:04:07.513 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 06 December 2023 13:44:47 +0000 (0:00:00.022) 0:04:07.536 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.047662", "end": "2023-12-06 13:44:47.725210", "rc": 0, "start": "2023-12-06 13:44:47.677548" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Wednesday 06 December 2023 13:44:47 +0000 (0:00:00.245) 0:04:07.781 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:47 +0000 (0:00:00.106) 0:04:07.888 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002728", "end": "2023-12-06 13:44:48.030446", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:48.027718" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.197) 0:04:08.086 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.032) 0:04:08.118 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.043) 0:04:08.161 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.059) 0:04:08.221 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002712", "end": "2023-12-06 13:44:48.361021", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:48.358309" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.196) 0:04:08.417 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.046656", "end": "2023-12-06 13:44:48.608037", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:48.561381" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.249) 0:04:08.667 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.022) 0:04:08.690 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.021) 0:04:08.711 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.020) 0:04:08.732 **** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.023) 0:04:08.755 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.022) 0:04:08.778 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.021) 0:04:08.800 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.020) 0:04:08.821 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.096) 0:04:08.917 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.026) 0:04:08.943 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.024) 0:04:08.968 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Wednesday 06 December 2023 13:44:48 +0000 (0:00:00.027) 0:04:08.995 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.032) 0:04:09.028 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.023) 0:04:09.052 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.029) 0:04:09.081 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.027) 0:04:09.109 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.023) 0:04:09.132 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.023) 0:04:09.156 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.020) 0:04:09.177 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.021) 0:04:09.198 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.022) 0:04:09.220 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.025) 0:04:09.245 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.022) 0:04:09.268 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.022) 0:04:09.290 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.074) 0:04:09.365 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.022) 0:04:09.387 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.028) 0:04:09.415 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.022) 0:04:09.438 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.024) 0:04:09.462 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.023) 0:04:09.486 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.022) 0:04:09.509 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.020) 0:04:09.529 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.021) 0:04:09.550 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.020) 0:04:09.571 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.021) 0:04:09.592 **** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.026) 0:04:09.619 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.022) 0:04:09.641 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.021) 0:04:09.663 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.031) 0:04:09.694 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.023) 0:04:09.717 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.025) 0:04:09.743 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.086) 0:04:09.829 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.024) 0:04:09.853 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.026) 0:04:09.880 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.022) 0:04:09.902 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.023) 0:04:09.926 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.022) 0:04:09.948 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.022) 0:04:09.971 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.022) 0:04:09.994 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Wednesday 06 December 2023 13:44:49 +0000 (0:00:00.022) 0:04:10.016 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Wednesday 06 December 2023 13:44:50 +0000 (0:00:00.032) 0:04:10.048 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Wednesday 06 December 2023 13:44:50 +0000 (0:00:00.021) 0:04:10.070 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Wednesday 06 December 2023 13:44:50 +0000 (0:00:00.020) 0:04:10.091 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 06 December 2023 13:44:50 +0000 (0:00:00.022) 0:04:10.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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Wednesday 06 December 2023 13:44:50 +0000 (0:00:00.022) 0:04:10.136 **** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 06 December 2023 13:44:50 +0000 (0:00:00.025) 0:04:10.161 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Wednesday 06 December 2023 13:44:50 +0000 (0:00:00.021) 0:04:10.183 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:44:50 +0000 (0:00:00.021) 0:04:10.205 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Wednesday 06 December 2023 13:44:50 +0000 (0:00:00.084) 0:04:10.289 **** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 06 December 2023 13:44:50 +0000 (0:00:00.220) 0:04:10.509 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:43:27 UTC", "ActiveEnterTimestampMonotonic": "848181798", "ActiveExitTimestamp": "Wed 2023-12-06 13:44:28 UTC", "ActiveExitTimestampMonotonic": "909638873", "ActiveState": "inactive", "After": "auditd.service sysinit.target systemd-journald.socket network.target -.mount basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:43:27 UTC", "AssertTimestampMonotonic": "848180676", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:43:27 UTC", "ConditionTimestampMonotonic": "848180675", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2023-12-06 13:44:28 UTC", "ExecMainExitTimestampMonotonic": "909855380", "ExecMainPID": "15212", "ExecMainStartTimestamp": "Wed 2023-12-06 13:43:27 UTC", "ExecMainStartTimestampMonotonic": "848181738", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:43:27 UTC] ; stop_time=[Wed 2023-12-06 13:44:28 UTC] ; pid=15212 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:44:28 UTC", "InactiveEnterTimestampMonotonic": "909855470", "InactiveExitTimestamp": "Wed 2023-12-06 13:43:27 UTC", "InactiveExitTimestampMonotonic": "848181798", "InvocationID": "48cd4a7adce649d28d86797f72506525", "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": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:44:28 UTC", "StateChangeTimestampMonotonic": "909855470", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Wednesday 06 December 2023 13:44:50 +0000 (0:00:00.337) 0:04:10.847 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Wednesday 06 December 2023 13:44:50 +0000 (0:00:00.025) 0:04:10.873 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run with the edited settings again - should report not changed] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:73 Wednesday 06 December 2023 13:44:50 +0000 (0:00:00.025) 0:04:10.898 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.398) 0:04:11.297 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.034) 0:04:11.332 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.030) 0:04:11.362 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.038) 0:04:11.400 **** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.020) 0:04:11.421 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.020) 0:04:11.441 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.019) 0:04:11.460 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.019) 0:04:11.480 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.020) 0:04:11.500 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.043) 0:04:11.544 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.046) 0:04:11.591 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.031) 0:04:11.622 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.022) 0:04:11.644 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.024) 0:04:11.668 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.113) 0:04:11.781 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.074) 0:04:11.856 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.057) 0:04:11.913 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:44:53 +0000 (0:00:01.643) 0:04:13.556 **** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.104) 0:04:13.661 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.057) 0:04:13.718 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.031) 0:04:13.750 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.044) 0:04:13.795 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.388) 0:04:14.183 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.027) 0:04:14.211 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.094) 0:04:14.305 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.024) 0:04:14.330 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.034) 0:04:14.364 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.038) 0:04:14.403 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.025) 0:04:14.429 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.037) 0:04:14.467 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.057) 0:04:14.524 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.030) 0:04:14.554 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:44:55 +0000 (0:00:01.182) 0:04:15.737 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.028) 0:04:15.765 **** 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.005391", "end": "2023-12-06 13:44:55.908795", "rc": 0, "start": "2023-12-06 13:44:55.903404" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.198) 0:04:15.963 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Wednesday 06 December 2023 13:45:21 +0000 (0:00:25.529) 0:04:41.493 **** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.041) 0:04:41.534 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.030) 0:04:41.565 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.024) 0:04:41.590 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.050) 0:04:41.640 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870110.5553071, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701870110.4663074, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 645923486, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870110.4663074, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 156, "uid": 990, "version": "1680012844", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:45:22 +0000 (0:00:01.202) 0:04:42.843 **** 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": 156, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:45:23 +0000 (0:00:00.205) 0:04:43.049 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:45:23 +0000 (0:00:00.093) 0:04:43.142 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:23 +0000 (0:00:00.044) 0:04:43.186 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002565", "end": "2023-12-06 13:45:23.328828", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:23.326263" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:23 +0000 (0:00:00.199) 0:04:43.385 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:23 +0000 (0:00:00.027) 0:04:43.413 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:45:23 +0000 (0:00:00.025) 0:04:43.438 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870293.4540248, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701870293.4610248, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 654311915, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870293.4610248, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "1619541260", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:45:23 +0000 (0:00:00.208) 0:04:43.646 **** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:45:23 +0000 (0:00:00.215) 0:04:43.862 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:45:23 +0000 (0:00:00.029) 0:04:43.891 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:23 +0000 (0:00:00.054) 0:04:43.946 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002852", "end": "2023-12-06 13:45:24.088764", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:24.085912" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.204) 0:04:44.150 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.027) 0:04:44.177 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.042) 0:04:44.220 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Wednesday 06 December 2023 13:45:24 +0000 (0:00:00.106) 0:04:44.326 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Wednesday 06 December 2023 13:45:25 +0000 (0:00:01.209) 0:04:45.535 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:29:31 UTC", "ActiveEnterTimestampMonotonic": "12034246", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service systemd-sysctl.service sysinit.target dbus.socket systemd-journald.socket network.target system.slice dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:29:30 UTC", "AssertTimestampMonotonic": "11040759", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:29:30 UTC", "ConditionTimestampMonotonic": "11040758", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service power-profiles-daemon.service cpupower.service auto-cpufreq.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "684", "ExecMainStartTimestamp": "Wed 2023-12-06 13:29:30 UTC", "ExecMainStartTimestampMonotonic": "11041951", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:29:30 UTC", "InactiveExitTimestampMonotonic": "11041992", "InvocationID": "ce0621a2929b411f940556261e3010d1", "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": "22683648", "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": "Wed 2023-12-06 13:29:31 UTC", "StateChangeTimestampMonotonic": "12034246", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:29:31 UTC", "WatchdogTimestampMonotonic": "12034243", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Wednesday 06 December 2023 13:45:26 +0000 (0:00:01.366) 0:04:46.902 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.118013", "end": "2023-12-06 13:45:27.156228", "rc": 0, "start": "2023-12-06 13:45:27.038215" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Wednesday 06 December 2023 13:45:27 +0000 (0:00:00.311) 0:04:47.213 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 06 December 2023 13:45:27 +0000 (0:00:00.023) 0:04:47.237 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Wednesday 06 December 2023 13:45:27 +0000 (0:00:00.023) 0:04:47.260 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Wednesday 06 December 2023 13:45:27 +0000 (0:00:00.023) 0:04:47.284 **** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 06 December 2023 13:45:27 +0000 (0:00:00.206) 0:04:47.491 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 06 December 2023 13:45:28 +0000 (0:00:01.186) 0:04:48.677 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:45:28 +0000 (0:00:00.092) 0:04:48.770 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:44:50 UTC", "ActiveEnterTimestampMonotonic": "931804687", "ActiveExitTimestamp": "Wed 2023-12-06 13:44:28 UTC", "ActiveExitTimestampMonotonic": "909638873", "ActiveState": "active", "After": "auditd.service sysinit.target systemd-journald.socket network.target -.mount basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:44:50 UTC", "AssertTimestampMonotonic": "931803582", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:44:50 UTC", "ConditionTimestampMonotonic": "931803581", "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": "17047", "ExecMainStartTimestamp": "Wed 2023-12-06 13:44:50 UTC", "ExecMainStartTimestampMonotonic": "931804632", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:44:50 UTC] ; stop_time=[n/a] ; pid=17047 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:44:28 UTC", "InactiveEnterTimestampMonotonic": "909855470", "InactiveExitTimestamp": "Wed 2023-12-06 13:44:50 UTC", "InactiveExitTimestampMonotonic": "931804687", "InvocationID": "8953419a51c34ec8b27a604e2ca62aff", "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": "17047", "MemoryAccounting": "yes", "MemoryCurrent": "629092352", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:44:50 UTC", "StateChangeTimestampMonotonic": "931804687", "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": "136", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:44:50 UTC", "WatchdogTimestampMonotonic": "931804684", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:45:29 +0000 (0:00:00.318) 0:04:49.088 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002628", "end": "2023-12-06 13:45:29.230509", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:29.227881" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:45:29 +0000 (0:00:00.197) 0:04:49.285 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002614", "end": "2023-12-06 13:45:29.426738", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:29.424124" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:45:29 +0000 (0:00:00.195) 0:04:49.481 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Wednesday 06 December 2023 13:45:29 +0000 (0:00:00.030) 0:04:49.511 **** 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": 6905, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 06 December 2023 13:45:30 +0000 (0:00:01.204) 0:04:50.716 **** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Wednesday 06 December 2023 13:45:30 +0000 (0:00:00.218) 0:04:50.935 **** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:44:50 UTC", "ActiveEnterTimestampMonotonic": "931804687", "ActiveExitTimestamp": "Wed 2023-12-06 13:44:28 UTC", "ActiveExitTimestampMonotonic": "909638873", "ActiveState": "active", "After": "auditd.service sysinit.target systemd-journald.socket network.target -.mount basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:44:50 UTC", "AssertTimestampMonotonic": "931803582", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:44:50 UTC", "ConditionTimestampMonotonic": "931803581", "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": "17047", "ExecMainStartTimestamp": "Wed 2023-12-06 13:44:50 UTC", "ExecMainStartTimestampMonotonic": "931804632", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:44:50 UTC] ; stop_time=[n/a] ; pid=17047 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:44:28 UTC", "InactiveEnterTimestampMonotonic": "909855470", "InactiveExitTimestamp": "Wed 2023-12-06 13:44:50 UTC", "InactiveExitTimestampMonotonic": "931804687", "InvocationID": "8953419a51c34ec8b27a604e2ca62aff", "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": "17047", "MemoryAccounting": "yes", "MemoryCurrent": "630185984", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:44:50 UTC", "StateChangeTimestampMonotonic": "931804687", "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": "136", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:44:50 UTC", "WatchdogTimestampMonotonic": "931804684", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:45:32 +0000 (0:00:01.561) 0:04:52.497 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Wednesday 06 December 2023 13:45:33 +0000 (0:00:01.288) 0:04:53.785 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Wednesday 06 December 2023 13:45:37 +0000 (0:00:03.597) 0:04:57.383 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.023) 0:04:57.407 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.023) 0:04:57.430 **** 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.005134", "end": "2023-12-06 13:45:37.574859", "rc": 0, "start": "2023-12-06 13:45:37.569725" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.213) 0:04:57.644 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.078) 0:04:57.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 : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 06 December 2023 13:45:38 +0000 (0:00:01.257) 0:04:58.979 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.023) 0:04:59.003 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.096) 0:04:59.099 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002590", "end": "2023-12-06 13:45:39.250501", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:39.247911" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.206) 0:04:59.305 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.026) 0:04:59.332 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.022) 0:04:59.354 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.022) 0:04:59.377 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1435] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.023) 0:04:59.400 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.037) 0:04:59.437 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002712", "end": "2023-12-06 13:45:39.578017", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:39.575305" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.212) 0:04:59.650 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.048) 0:04:59.699 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.026) 0:04:59.725 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.056) 0:04:59.781 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.048) 0:04:59.830 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002607", "end": "2023-12-06 13:45:39.979469", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:39.976862" } STDOUT: enabled = False TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.310) 0:05:00.140 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.039) 0:05:00.180 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.025) 0:05:00.205 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 06 December 2023 13:45:41 +0000 (0:00:01.176) 0:05:01.382 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Wednesday 06 December 2023 13:45:42 +0000 (0:00:01.177) 0:05:02.559 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002559", "end": "2023-12-06 13:45:42.707785", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:45:42.705226" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 06 December 2023 13:45:42 +0000 (0:00:00.201) 0:05:02.761 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 06 December 2023 13:45:42 +0000 (0:00:00.031) 0:05:02.793 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Wednesday 06 December 2023 13:45:42 +0000 (0:00:00.028) 0:05:02.822 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:42 +0000 (0:00:00.038) 0:05:02.861 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002577", "end": "2023-12-06 13:45:43.018209", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:43.015632" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.228) 0:05:03.089 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.028) 0:05:03.118 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.103) 0:05:03.221 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.055) 0:05:03.276 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002681", "end": "2023-12-06 13:45:43.420093", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:43.417412" } STDOUT: writethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.200) 0:05:03.477 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.030) 0:05:03.508 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.026) 0:05:03.534 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.026) 0:05:03.560 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.022) 0:05:03.583 **** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.034) 0:05:03.617 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.028) 0:05:03.645 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.021) 0:05:03.667 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.025) 0:05:03.692 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.021) 0:05:03.714 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.022) 0:05:03.737 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.022) 0:05:03.759 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.021) 0:05:03.781 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.130) 0:05:03.911 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.044) 0:05:03.955 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.025) 0:05:03.980 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.025) 0:05:04.006 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.024) 0:05:04.030 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.024) 0:05:04.054 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.028) 0:05:04.082 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.022) 0:05:04.105 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.023) 0:05:04.129 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.032) 0:05:04.161 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.033) 0:05:04.194 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.022) 0:05:04.216 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.025) 0:05:04.242 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.038) 0:05:04.281 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.021) 0:05:04.302 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.023) 0:05:04.326 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.092) 0:05:04.418 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.034) 0:05:04.453 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.025) 0:05:04.478 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.037) 0:05:04.515 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.026) 0:05:04.542 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.030) 0:05:04.572 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.033) 0:05:04.605 **** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.030) 0:05:04.636 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.046) 0:05:04.682 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.058) 0:05:04.741 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.067) 0:05:04.809 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.031) 0:05:04.840 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.029) 0:05:04.870 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.037) 0:05:04.907 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.059) 0:05:04.967 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.082) 0:05:05.049 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.026) 0:05:05.075 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.112) 0:05:05.188 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.028) 0:05:05.217 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.026) 0:05:05.244 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.035) 0:05:05.279 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.039) 0:05:05.319 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.052) 0:05:05.371 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.026) 0:05:05.397 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.023) 0:05:05.420 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.023) 0:05:05.444 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.025) 0:05:05.470 **** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.026) 0:05:05.496 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.023) 0:05:05.520 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.022) 0:05:05.543 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.025) 0:05:05.568 **** ok: [sut] => { "changed": false } RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 06 December 2023 13:45:45 +0000 (0:00:00.237) 0:05:05.806 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:44:50 UTC", "ActiveEnterTimestampMonotonic": "931804687", "ActiveExitTimestamp": "Wed 2023-12-06 13:45:32 UTC", "ActiveExitTimestampMonotonic": "973221442", "ActiveState": "inactive", "After": "auditd.service sysinit.target systemd-journald.socket network.target -.mount basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:44:50 UTC", "AssertTimestampMonotonic": "931803582", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:44:50 UTC", "ConditionTimestampMonotonic": "931803581", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2023-12-06 13:45:32 UTC", "ExecMainExitTimestampMonotonic": "973455703", "ExecMainPID": "17047", "ExecMainStartTimestamp": "Wed 2023-12-06 13:44:50 UTC", "ExecMainStartTimestampMonotonic": "931804632", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:44:50 UTC] ; stop_time=[Wed 2023-12-06 13:45:32 UTC] ; pid=17047 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:45:32 UTC", "InactiveEnterTimestampMonotonic": "973455792", "InactiveExitTimestamp": "Wed 2023-12-06 13:44:50 UTC", "InactiveExitTimestampMonotonic": "931804687", "InvocationID": "8953419a51c34ec8b27a604e2ca62aff", "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": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:45:32 UTC", "StateChangeTimestampMonotonic": "973455792", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Wednesday 06 December 2023 13:45:46 +0000 (0:00:00.501) 0:05:06.307 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Wednesday 06 December 2023 13:45:46 +0000 (0:00:00.037) 0:05:06.344 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:88 Wednesday 06 December 2023 13:45:46 +0000 (0:00:00.025) 0:05:06.369 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:8 Wednesday 06 December 2023 13:45:46 +0000 (0:00:00.317) 0:05:06.687 **** 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.007470", "end": "2023-12-06 13:45:46.886386", "rc": 0, "start": "2023-12-06 13:45:46.878916" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:23 Wednesday 06 December 2023 13:45:46 +0000 (0:00:00.273) 0:05:06.961 **** 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.005508", "end": "2023-12-06 13:45:47.142769", "rc": 0, "start": "2023-12-06 13:45:47.137261" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:35 Wednesday 06 December 2023 13:45:47 +0000 (0:00:00.260) 0:05:07.221 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:39 Wednesday 06 December 2023 13:45:47 +0000 (0:00:00.046) 0:05:07.268 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:45:47 +0000 (0:00:00.079) 0:05:07.347 **** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004458", "end": "2023-12-06 13:45:47.518035", "rc": 0, "start": "2023-12-06 13:45:47.513577" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:45:47 +0000 (0:00:00.236) 0:05:07.584 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:45:47 +0000 (0:00:00.164) 0:05:07.748 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:45:47 +0000 (0:00:00.029) 0:05:07.778 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:45:47 +0000 (0:00:00.042) 0:05:07.820 **** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004087", "end": "2023-12-06 13:45:48.003110", "rc": 0, "start": "2023-12-06 13:45:47.999023" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:45:48 +0000 (0:00:00.264) 0:05:08.085 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:45:48 +0000 (0:00:00.054) 0:05:08.140 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:45:48 +0000 (0:00:00.033) 0:05:08.174 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:45:48 +0000 (0:00:00.031) 0:05:08.205 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004333", "end": "2023-12-06 13:45:48.377543", "rc": 0, "start": "2023-12-06 13:45:48.373210" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:45:48 +0000 (0:00:00.236) 0:05:08.441 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:45:48 +0000 (0:00:00.048) 0:05:08.490 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:45:48 +0000 (0:00:00.024) 0:05:08.515 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:45:48 +0000 (0:00:00.036) 0:05:08.551 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.006138", "end": "2023-12-06 13:45:48.756522", "rc": 0, "start": "2023-12-06 13:45:48.750384" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:45:48 +0000 (0:00:00.281) 0:05:08.833 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:45:48 +0000 (0:00:00.035) 0:05:08.868 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:45:48 +0000 (0:00:00.027) 0:05:08.895 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:45:48 +0000 (0:00:00.035) 0:05:08.931 **** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005045", "end": "2023-12-06 13:45:49.203977", "rc": 0, "start": "2023-12-06 13:45:49.198932" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:45:49 +0000 (0:00:00.416) 0:05:09.347 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:45:49 +0000 (0:00:00.096) 0:05:09.444 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:45:49 +0000 (0:00:00.094) 0:05:09.538 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:55 Wednesday 06 December 2023 13:45:49 +0000 (0:00:00.032) 0:05:09.570 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870110.5553071, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701870110.4663074, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 645923486, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870110.4663074, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 156, "uid": 990, "version": "1680012844", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:60 Wednesday 06 December 2023 13:45:49 +0000 (0:00:00.237) 0:05:09.807 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:70 Wednesday 06 December 2023 13:45:49 +0000 (0:00:00.027) 0:05:09.834 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870348.860024, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701870348.8670242, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 990, "gr_name": "mssql", "inode": 654311915, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870348.8670242, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "1619541260", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:75 Wednesday 06 December 2023 13:45:50 +0000 (0:00:00.221) 0:05:10.056 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:85 Wednesday 06 December 2023 13:45:50 +0000 (0:00:00.025) 0:05:10.082 **** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:45:50 +0000 (0:00:00.035) 0:05:10.118 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:45:46 UTC", "ActiveEnterTimestampMonotonic": "987114687", "ActiveExitTimestamp": "Wed 2023-12-06 13:45:32 UTC", "ActiveExitTimestampMonotonic": "973221442", "ActiveState": "active", "After": "auditd.service sysinit.target systemd-journald.socket network.target -.mount basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:45:46 UTC", "AssertTimestampMonotonic": "987113609", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:45:46 UTC", "ConditionTimestampMonotonic": "987113608", "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": "18156", "ExecMainStartTimestamp": "Wed 2023-12-06 13:45:46 UTC", "ExecMainStartTimestampMonotonic": "987114636", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:45:46 UTC] ; stop_time=[n/a] ; pid=18156 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:45:32 UTC", "InactiveEnterTimestampMonotonic": "973455792", "InactiveExitTimestamp": "Wed 2023-12-06 13:45:46 UTC", "InactiveExitTimestampMonotonic": "987114687", "InvocationID": "9b4b3e214deb4031a0a496acb364625d", "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": "18156", "MemoryAccounting": "yes", "MemoryCurrent": "621531136", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:45:46 UTC", "StateChangeTimestampMonotonic": "987114687", "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": "135", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:45:46 UTC", "WatchdogTimestampMonotonic": "987114685", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:45:51 +0000 (0:00:01.324) 0:05:11.443 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002558", "end": "2023-12-06 13:45:51.588910", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:51.586352" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:45:51 +0000 (0:00:00.266) 0:05:11.709 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002691", "end": "2023-12-06 13:45:51.852259", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:51.849568" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:45:51 +0000 (0:00:00.197) 0:05:11.907 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:93 Wednesday 06 December 2023 13:45:51 +0000 (0:00:00.029) 0:05:11.937 **** 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": 6904, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:100 Wednesday 06 December 2023 13:46:10 +0000 (0:00:18.221) 0:05:30.158 **** 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.022122", "end": "2023-12-06 13:46:10.320600", "rc": 0, "start": "2023-12-06 13:46:10.298478" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Standard Edition (64-bit) on Linux (Red Hat Enterprise Linux 8.9 (Ootpa)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:104 Wednesday 06 December 2023 13:46:10 +0000 (0:00:00.220) 0:05:30.379 **** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:108 Wednesday 06 December 2023 13:46:10 +0000 (0:00:00.042) 0:05:30.422 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 13:46:10 +0000 (0:00:00.040) 0:05:30.462 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 13:46:11 +0000 (0:00:01.364) 0:05:31.826 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 13:46:11 +0000 (0:00:00.135) 0:05:31.961 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:115 Wednesday 06 December 2023 13:46:12 +0000 (0:00:00.077) 0:05:32.038 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 13:46:12 +0000 (0:00:00.082) 0:05:32.121 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 13:46:13 +0000 (0:00:01.261) 0:05:33.382 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.028) 0:05:33.411 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:126 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.046) 0:05:33.457 **** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003978", "end": "2023-12-06 13:46:13.607139", "rc": 0, "start": "2023-12-06 13:46:13.603161" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:131 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.220) 0:05:33.678 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:136 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.027) 0:05:33.706 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:142 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.033) 0:05:33.740 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.191) 0:05:33.931 **** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004170", "end": "2023-12-06 13:46:14.109599", "rc": 0, "start": "2023-12-06 13:46:14.105429" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.245) 0:05:34.177 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.040) 0:05:34.217 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.045) 0:05:34.263 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:148 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.037) 0:05:34.300 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.051) 0:05:34.352 **** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004121", "end": "2023-12-06 13:46:14.497864", "rc": 0, "start": "2023-12-06 13:46:14.493743" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.203) 0:05:34.555 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.027) 0:05:34.582 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.036) 0:05:34.619 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:158 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.021) 0:05:34.640 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:169 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.024) 0:05:34.664 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:181 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.022) 0:05:34.687 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:189 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.037) 0:05:34.725 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:199 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.022) 0:05:34.747 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:204 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.112) 0:05:34.860 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:212 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.029) 0:05:34.889 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:105 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.025) 0:05:34.914 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/check_header.yml:4 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.230) 0:05:35.145 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002782", "end": "2023-12-06 13:46:15.327798", "rc": 0, "start": "2023-12-06 13:46:15.325016" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = False [EULA] accepteula = Y [filelocation] defaultdatadir = /var/opt/mssql/data defaultlogdir = /var/opt/mssql/log [network] ipaddress = 127.0.0.1 tcpport = 1435 [traceflag] [control] alternatewritethrough = 0 writethrough = 0 TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_idempotency_2017.yml:17 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.238) 0:05:35.383 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:2 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.039) 0:05:35.422 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:6 Wednesday 06 December 2023 13:46:16 +0000 (0:00:01.342) 0:05:36.764 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:14 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.026) 0:05:36.791 **** ok: [sut] => { "ansible_python_version": "3.6.8" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:18 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.022) 0:05:36.813 **** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.072) 0:05:36.886 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.049) 0:05:36.935 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.027) 0:05:36.963 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Wednesday 06 December 2023 13:46:17 +0000 (0:00:00.193) 0:05:37.157 **** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Wednesday 06 December 2023 13:46:17 +0000 (0:00:00.025) 0:05:37.182 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 06 December 2023 13:46:18 +0000 (0:00:01.204) 0:05:38.387 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.025) 0:05:38.413 **** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.031) 0:05:38.445 **** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:40:20 UTC", "ActiveEnterTimestampMonotonic": "661543201", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket system.slice basic.target dbus.service sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:40:19 UTC", "AssertTimestampMonotonic": "660952468", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:40:19 UTC", "ConditionTimestampMonotonic": "660952467", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ip6tables.service ebtables.service iptables.service shutdown.target ipset.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": "10520", "ExecMainStartTimestamp": "Wed 2023-12-06 13:40:19 UTC", "ExecMainStartTimestampMonotonic": "661006171", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:40:19 UTC", "InactiveExitTimestampMonotonic": "661006237", "InvocationID": "3a96ce5d213e4dbbaaa792e58d557ec2", "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": "10520", "MemoryAccounting": "yes", "MemoryCurrent": "42852352", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:40:20 UTC", "StateChangeTimestampMonotonic": "661543201", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2023-12-06 13:40:20 UTC", "WatchdogTimestampMonotonic": "661543197", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 06 December 2023 13:46:19 +0000 (0:00:01.368) 0:05:39.813 **** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:40:20 UTC", "ActiveEnterTimestampMonotonic": "661543201", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket system.slice basic.target dbus.service sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:40:19 UTC", "AssertTimestampMonotonic": "660952468", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:40:19 UTC", "ConditionTimestampMonotonic": "660952467", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ip6tables.service ebtables.service iptables.service shutdown.target ipset.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": "10520", "ExecMainStartTimestamp": "Wed 2023-12-06 13:40:19 UTC", "ExecMainStartTimestampMonotonic": "661006171", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:40:19 UTC", "InactiveExitTimestampMonotonic": "661006237", "InvocationID": "3a96ce5d213e4dbbaaa792e58d557ec2", "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": "10520", "MemoryAccounting": "yes", "MemoryCurrent": "42852352", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:40:20 UTC", "StateChangeTimestampMonotonic": "661543201", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2023-12-06 13:40:20 UTC", "WatchdogTimestampMonotonic": "661543197", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 06 December 2023 13:46:21 +0000 (0:00:01.327) 0:05:41.141 **** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python3", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 06 December 2023 13:46:21 +0000 (0:00:00.026) 0:05:41.167 **** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.43.156 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 06 December 2023 13:46:21 +0000 (0:00:00.297) 0:05:41.464 **** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 06 December 2023 13:46:21 +0000 (0:00:00.028) 0:05:41.493 **** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 06 December 2023 13:46:21 +0000 (0:00:00.037) 0:05:41.530 **** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 06 December 2023 13:46:21 +0000 (0:00:00.090) 0:05:41.621 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 06 December 2023 13:46:21 +0000 (0:00:00.026) 0:05:41.647 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 06 December 2023 13:46:21 +0000 (0:00:00.023) 0:05:41.671 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 06 December 2023 13:46:21 +0000 (0:00:00.024) 0:05:41.696 **** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.43.156 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 06 December 2023 13:46:22 +0000 (0:00:00.337) 0:05:42.033 **** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 06 December 2023 13:46:22 +0000 (0:00:00.034) 0:05:42.068 **** skipping: [sut] => {} TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:27 Wednesday 06 December 2023 13:46:22 +0000 (0:00:00.033) 0:05:42.102 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:35 Wednesday 06 December 2023 13:46:22 +0000 (0:00:00.033) 0:05:42.136 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:39 Wednesday 06 December 2023 13:46:22 +0000 (0:00:00.040) 0:05:42.176 **** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:45 Wednesday 06 December 2023 13:46:22 +0000 (0:00:00.389) 0:05:42.565 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: guile-5:2.0.14-7.el8.x86_64", "Removed: bzip2-1.0.6-26.el8.x86_64", "Removed: libtool-ltdl-2.4.6-25.el8.x86_64", "Removed: python2-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Removed: python2-libs-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Removed: python2-pip-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Removed: python2-pip-wheel-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Removed: python2-setuptools-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Removed: python2-setuptools-wheel-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Removed: unixODBC-2.3.11-1.rh.x86_64", "Removed: unixODBC-devel-2.3.11-1.rh.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: msodbcsql17-17.10.5.1-1.x86_64", "Removed: libatomic-8.5.0-20.el8.x86_64", "Removed: libatomic_ops-7.6.2-3.el8.x86_64", "Removed: mssql-server-14.0.3465.1-1.x86_64", "Removed: libbabeltrace-1.5.4-4.el8.x86_64", "Removed: mssql-tools-17.10.1.1-1.x86_64", "Removed: libicu-60.3-2.el8_1.x86_64", "Removed: libipt-1.6.1-8.el8.x86_64", "Removed: gc-7.6.4-3.el8.x86_64", "Removed: gcc-gdb-plugin-8.5.0-20.el8.x86_64", "Removed: gdb-8.2-20.el8.x86_64", "Removed: gdb-headless-8.2-20.el8.x86_64" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:58 Wednesday 06 December 2023 13:46:27 +0000 (0:00:04.694) 0:05:47.260 **** changed: [sut] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.011083", "end": "2023-12-06 13:46:27.409937", "rc": 0, "start": "2023-12-06 13:46:27.398854" } STDOUT: removed '/var/opt/mssql/mssql.conf' removed directory '/var/opt/mssql/.system/system/Temp' removed '/var/opt/mssql/.system/system/licensing.hiv' 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/02514d08-8538-4dd0-b5d1-2f140b28bce0' 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/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' 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 '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-3706072653-1588978246-1502500246-500/42e7704ae40b0d75de00736cc66b813a_92ede8be-320f-4241-ab5a-de20223fb39a' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-3706072653-1588978246-1502500246-500' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3706072653-1588978246-1502500246-500/2b39ee22-db27-408f-a2e4-e8439a87b0c4' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3706072653-1588978246-1502500246-500/Preferred' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3706072653-1588978246-1502500246-500' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect' 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/tempdb.mdf' removed '/var/opt/mssql/data/templog.ldf' removed directory '/var/opt/mssql/data' removed '/var/opt/mssql/log/sqlagentstartup.log' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463437092830000.xel' removed '/var/opt/mssql/log/system_health_0_133463437099060000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463437135350000.xel' removed '/var/opt/mssql/log/system_health_0_133463437139620000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463437613640000.xel' removed '/var/opt/mssql/log/system_health_0_133463437616180000.xel' removed '/var/opt/mssql/log/FDLAUNCHERRORLOG' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463437956010000.xel' removed '/var/opt/mssql/log/system_health_0_133463437958160000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463438097270000.xel' removed '/var/opt/mssql/log/system_health_0_133463438100710000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463438727400000.xel' removed '/var/opt/mssql/log/system_health_0_133463438729680000.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_133463438796990000.xel' removed '/var/opt/mssql/log/system_health_0_133463438799190000.xel' removed '/var/opt/mssql/log/log_6.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463438931710000.xel' removed '/var/opt/mssql/log/system_health_0_133463438934440000.xel' removed '/var/opt/mssql/log/log_7.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463439362940000.xel' removed '/var/opt/mssql/log/system_health_0_133463439365500000.xel' removed '/var/opt/mssql/log/log_8.trc' removed '/var/opt/mssql/log/errorlog.10' removed '/var/opt/mssql/log/errorlog.9' removed '/var/opt/mssql/log/errorlog.8' removed '/var/opt/mssql/log/errorlog.7' 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_133463439485010000.xel' removed '/var/opt/mssql/log/system_health_0_133463439488450000.xel' removed '/var/opt/mssql/log/log_9.trc' removed directory '/var/opt/mssql/log' 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-2017.repo' removed '/etc/yum.repos.d/packages-microsoft-com-prod.repo' TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:72 Wednesday 06 December 2023 13:46:27 +0000 (0:00:00.210) 0:05:47.470 **** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.010126", "end": "2023-12-06 13:46:27.615991", "rc": 0, "start": "2023-12-06 13:46:27.605865" } STDERR: Failed to stop mssql-server.service: Unit mssql-server.service not loaded. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=347 changed=44 unreachable=0 failed=0 skipped=498 rescued=0 ignored=3 Wednesday 06 December 2023 13:46:27 +0000 (0:00:00.187) 0:05:47.658 **** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 41.05s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 linux-system-roles.mssql : Gather system services facts ---------------- 25.53s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Ensure the package mssql-server-fts --------- 25.13s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 linux-system-roles.mssql : Gather system services facts ---------------- 21.68s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Gather system services facts ---------------- 21.53s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wait for mssql-server to prepare for client connections ---------------- 18.22s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.22s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:93 ------- linux-system-roles.mssql : Gather system services facts ---------------- 16.52s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Ensure the package powershell ---------------- 8.40s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 linux-system-roles.mssql : Change the edition of MSSQL ------------------ 5.14s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 linux-system-roles.mssql : Change the password of sa user --------------- 5.07s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 linux-system-roles.mssql : Change the password of sa user --------------- 4.98s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 linux-system-roles.mssql : Set up MSSQL --------------------------------- 4.88s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Remove related packages ------------------------------------------------- 4.69s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:45 --------------- linux-system-roles.mssql : Change the password of sa user --------------- 3.60s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 linux-system-roles.mssql : Get stat of the directory /tmp/data ---------- 2.21s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 2.16s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 linux-system-roles.mssql : Ensure that the mssql-server service is started --- 1.74s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 linux-system-roles.mssql : Ensure the package powershell ---------------- 1.72s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 linux-system-roles.mssql : Gather package facts ------------------------- 1.69s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---