# 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-selinuxw4jatp8y/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-selinuxw4jatp8y/tests/tests_idempotency_2017.yml:14 Thursday 07 December 2023 08:50:10 +0000 (0:00:00.034) 0:00:00.034 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml for sut TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:2 Thursday 07 December 2023 08:50:10 +0000 (0:00:00.014) 0:00:00.049 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Thursday 07 December 2023 08:50:10 +0000 (0:00:00.039) 0:00:00.089 ***** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.556) 0:00:00.645 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.035) 0:00:00.681 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run on a fresh host and set all parameters] ****************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:5 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.009) 0:00:00.690 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.179) 0:00:00.870 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.016) 0:00:00.886 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.009) 0:00:00.896 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.033) 0:00:00.930 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.013) 0:00:00.944 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.013) 0:00:00.957 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.025) 0:00:00.982 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.011) 0:00:00.994 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.008) 0:00:01.002 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.008) 0:00:01.010 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.009) 0:00:01.020 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.017) 0:00:01.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.015) 0:00:01.052 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.020) 0:00:01.072 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.032) 0:00:01.105 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.016) 0:00:01.122 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Thursday 07 December 2023 08:50:11 +0000 (0:00:00.018) 0:00:01.140 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Thursday 07 December 2023 08:50:12 +0000 (0:00:01.468) 0:00:02.608 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Thursday 07 December 2023 08:50:13 +0000 (0:00:00.038) 0:00:02.647 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Thursday 07 December 2023 08:50:13 +0000 (0:00:00.018) 0:00:02.665 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 07 December 2023 08:50:13 +0000 (0:00:00.020) 0:00:02.686 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Thursday 07 December 2023 08:50:13 +0000 (0:00:00.031) 0:00:02.717 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Thursday 07 December 2023 08:50:13 +0000 (0:00:00.430) 0:00:03.147 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Thursday 07 December 2023 08:50:13 +0000 (0:00:00.039) 0:00:03.186 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Thursday 07 December 2023 08:50:13 +0000 (0:00:00.020) 0:00:03.207 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Thursday 07 December 2023 08:50:13 +0000 (0:00:00.034) 0:00:03.242 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Thursday 07 December 2023 08:50:13 +0000 (0:00:00.294) 0:00:03.536 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Thursday 07 December 2023 08:50:13 +0000 (0:00:00.018) 0:00:03.555 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Thursday 07 December 2023 08:50:13 +0000 (0:00:00.019) 0:00:03.575 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 07 December 2023 08:50:13 +0000 (0:00:00.019) 0:00:03.594 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Thursday 07 December 2023 08:50:13 +0000 (0:00:00.028) 0:00:03.623 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Thursday 07 December 2023 08:50:14 +0000 (0:00:00.020) 0:00:03.644 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: guile-5:2.0.14-7.el8.x86_64", "Installed: python2-pip-wheel-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: mssql-server-14.0.3465.1-1.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: libipt-1.6.1-8.el8.x86_64", "Installed: gc-7.6.4-3.el8.x86_64", "Installed: gdb-8.2-20.el8.x86_64", "Installed: libatomic-8.5.0-20.el8.x86_64", "Installed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Installed: gcc-gdb-plugin-8.5.0-20.el8.x86_64", "Installed: gdb-headless-8.2-20.el8.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: python2-libs-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: python2-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Thursday 07 December 2023 08:50:55 +0000 (0:00:41.454) 0:00:45.099 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Thursday 07 December 2023 08:50:55 +0000 (0:00:00.077) 0:00:45.176 ***** 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.005427", "end": "2023-12-07 08:50:55.789486", "rc": 0, "start": "2023-12-07 08:50:55.784059" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Thursday 07 December 2023 08:50:55 +0000 (0:00:00.300) 0:00:45.477 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 07 December 2023 08:51:17 +0000 (0:00:21.716) 0:01:07.194 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Thursday 07 December 2023 08:51:17 +0000 (0:00:00.115) 0:01:07.309 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Thursday 07 December 2023 08:51:17 +0000 (0:00:00.062) 0:01:07.372 ***** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 07 December 2023 08:51:22 +0000 (0:00:04.964) 0:01:12.336 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /tmp/mssql_data] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:51:22 +0000 (0:00:00.069) 0:01:12.405 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_data] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:51:23 +0000 (0:00:00.295) 0:01:12.701 ***** changed: [sut] => { "changed": true, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Thursday 07 December 2023 08:51:23 +0000 (0:00:00.298) 0:01:12.999 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Thursday 07 December 2023 08:51:23 +0000 (0:00:00.044) 0:01:13.043 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:51:23 +0000 (0:00:00.076) 0:01:13.120 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004411", "end": "2023-12-07 08:51:23.705937", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:51:23.701526" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:51:23 +0000 (0:00:00.301) 0:01:13.421 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/tmp/mssql_data" ], "delta": "0:00:00.056523", "end": "2023-12-07 08:51:24.082984", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:51:24.026461" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:51:24 +0000 (0:00:00.341) 0:01:13.763 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /tmp/mssql_log] ***** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:51:24 +0000 (0:00:00.030) 0:01:13.794 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_log] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:51:24 +0000 (0:00:00.332) 0:01:14.126 ***** changed: [sut] => { "changed": true, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Thursday 07 December 2023 08:51:24 +0000 (0:00:00.274) 0:01:14.401 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Thursday 07 December 2023 08:51:24 +0000 (0:00:00.052) 0:01:14.453 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:51:24 +0000 (0:00:00.050) 0:01:14.503 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003098", "end": "2023-12-07 08:51:25.063921", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:51:25.060823" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:51:25 +0000 (0:00:00.307) 0:01:14.810 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.062273", "end": "2023-12-07 08:51:25.596477", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:51:25.534204" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:51:25 +0000 (0:00:00.511) 0:01:15.322 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Thursday 07 December 2023 08:51:25 +0000 (0:00:00.087) 0:01:15.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 07 December 2023 08:51:25 +0000 (0:00:00.060) 0:01:15.469 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 07 December 2023 08:51:27 +0000 (0:00:01.306) 0:01:16.776 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:40:09 UTC", "ActiveEnterTimestampMonotonic": "12582588", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket basic.target sysinit.target systemd-sysctl.service system.slice network.target systemd-journald.socket polkit.service dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:40:08 UTC", "AssertTimestampMonotonic": "11680624", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:40:08 UTC", "ConditionTimestampMonotonic": "11680617", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service shutdown.target tlp.service auto-cpufreq.service cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "697", "ExecMainStartTimestamp": "Thu 2023-12-07 08:40:08 UTC", "ExecMainStartTimestampMonotonic": "11682131", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:40:08 UTC", "InactiveExitTimestampMonotonic": "11682189", "InvocationID": "fc5c52929d83490fb4debc20ed7c95bf", "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": "697", "MemoryAccounting": "yes", "MemoryCurrent": "20795392", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket dbus.service sysinit.target 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": "Thu 2023-12-07 08:40:09 UTC", "StateChangeTimestampMonotonic": "12582588", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:40:09 UTC", "WatchdogTimestampMonotonic": "12582583", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 07 December 2023 08:51:28 +0000 (0:00:01.579) 0:01:18.355 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.118575", "end": "2023-12-07 08:51:29.045503", "rc": 0, "start": "2023-12-07 08:51:28.926928" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 07 December 2023 08:51:29 +0000 (0:00:00.378) 0:01:18.734 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 07 December 2023 08:51:29 +0000 (0:00:00.026) 0:01:18.760 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 07 December 2023 08:51:29 +0000 (0:00:00.032) 0:01:18.793 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 07 December 2023 08:51:29 +0000 (0:00:00.027) 0:01:18.820 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 07 December 2023 08:51:29 +0000 (0:00:00.265) 0:01:19.086 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 07 December 2023 08:51:31 +0000 (0:00:02.235) 0:01:21.321 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 07 December 2023 08:51:31 +0000 (0:00:00.084) 0:01:21.405 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 07 December 2023 08:51:31 +0000 (0:00:00.063) 0:01:21.468 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Thursday 07 December 2023 08:51:31 +0000 (0:00:00.065) 0:01:21.534 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Thursday 07 December 2023 08:51:31 +0000 (0:00:00.038) 0:01:21.572 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Thursday 07 December 2023 08:51:32 +0000 (0:00:00.082) 0:01:21.655 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Thursday 07 December 2023 08:51:32 +0000 (0:00:00.035) 0:01:21.691 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Thursday 07 December 2023 08:51:32 +0000 (0:00:00.029) 0:01:21.720 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Thursday 07 December 2023 08:51:32 +0000 (0:00:00.032) 0:01:21.753 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Thursday 07 December 2023 08:51:32 +0000 (0:00:00.102) 0:01:21.855 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Thursday 07 December 2023 08:51:32 +0000 (0:00:00.109) 0:01:21.965 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Thursday 07 December 2023 08:51:32 +0000 (0:00:00.131) 0:01:22.097 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Thursday 07 December 2023 08:51:32 +0000 (0:00:00.211) 0:01:22.308 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:51:32 +0000 (0:00:00.126) 0:01:22.434 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003083", "end": "2023-12-07 08:51:33.026060", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:51:33.022977" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:51:33 +0000 (0:00:00.269) 0:01:22.704 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.046823", "end": "2023-12-07 08:51:33.325570", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:51:33.278747" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:51:33 +0000 (0:00:00.317) 0:01:23.021 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Thursday 07 December 2023 08:51:33 +0000 (0:00:00.048) 0:01:23.070 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Thursday 07 December 2023 08:51:33 +0000 (0:00:00.060) 0:01:23.130 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 07 December 2023 08:51:33 +0000 (0:00:00.071) 0:01:23.202 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:51:33 +0000 (0:00:00.060) 0:01:23.262 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002766", "end": "2023-12-07 08:51:33.868378", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:51:33.865612" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:51:33 +0000 (0:00:00.296) 0:01:23.558 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047190", "end": "2023-12-07 08:51:34.154737", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:51:34.107547" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:51:34 +0000 (0:00:00.299) 0:01:23.858 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Thursday 07 December 2023 08:51:34 +0000 (0:00:00.048) 0:01:23.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Thursday 07 December 2023 08:51:34 +0000 (0:00:00.033) 0:01:23.940 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:51:34 +0000 (0:00:00.072) 0:01:24.013 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002961", "end": "2023-12-07 08:51:34.549732", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:51:34.546771" } STDOUT: enabled = false TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:51:34 +0000 (0:00:00.239) 0:01:24.252 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.047027", "end": "2023-12-07 08:51:34.847590", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:51:34.800563" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:51:34 +0000 (0:00:00.294) 0:01:24.547 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Thursday 07 December 2023 08:51:34 +0000 (0:00:00.053) 0:01:24.600 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Thursday 07 December 2023 08:52:00 +0000 (0:00:25.265) 0:01:49.866 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: libicu-60.3-2.el8_1.x86_64", "Installed: powershell-7.4.0-1.rh.x86_64" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Thursday 07 December 2023 08:52:08 +0000 (0:00:08.117) 0:01:57.983 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003227", "end": "2023-12-07 08:52:08.521594", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:52:08.518367" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Thursday 07 December 2023 08:52:08 +0000 (0:00:00.212) 0:01:58.196 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.049341", "end": "2023-12-07 08:52:08.786204", "rc": 0, "start": "2023-12-07 08:52:08.736863" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Thursday 07 December 2023 08:52:08 +0000 (0:00:00.252) 0:01:58.448 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Thursday 07 December 2023 08:52:08 +0000 (0:00:00.045) 0:01:58.494 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:52:08 +0000 (0:00:00.036) 0:01:58.530 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003093", "end": "2023-12-07 08:52:09.068796", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:52:09.065703" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:52:09 +0000 (0:00:00.211) 0:01:58.742 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.047993", "end": "2023-12-07 08:52:09.329402", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:52:09.281409" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:52:09 +0000 (0:00:00.256) 0:01:58.999 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Thursday 07 December 2023 08:52:09 +0000 (0:00:00.027) 0:01:59.026 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:52:09 +0000 (0:00:00.071) 0:01:59.098 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002999", "end": "2023-12-07 08:52:09.684929", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:52:09.681930" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:52:09 +0000 (0:00:00.258) 0:01:59.357 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.046584", "end": "2023-12-07 08:52:09.967381", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:52:09.920797" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.299) 0:01:59.656 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.023) 0:01:59.680 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.026) 0:01:59.706 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.025) 0:01:59.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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.026) 0:01:59.758 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.026) 0:01:59.784 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.050) 0:01:59.835 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.022) 0:01:59.858 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.020) 0:01:59.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.021) 0:01:59.900 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.023) 0:01:59.924 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.020) 0:01:59.944 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.023) 0:01:59.968 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.024) 0:01:59.992 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.024) 0:02:00.017 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.022) 0:02:00.039 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.028) 0:02:00.068 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.028) 0:02:00.096 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.034) 0:02:00.130 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.023) 0:02:00.153 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.021) 0:02:00.175 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.020) 0:02:00.196 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.021) 0:02:00.217 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.065) 0:02:00.283 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.025) 0:02:00.308 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.021) 0:02:00.330 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.022) 0:02:00.352 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.030) 0:02:00.383 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.030) 0:02:00.413 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.046) 0:02:00.459 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.058) 0:02:00.517 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.024) 0:02:00.542 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.029) 0:02:00.571 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.022) 0:02:00.593 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Thursday 07 December 2023 08:52:10 +0000 (0:00:00.022) 0:02:00.616 ***** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.036) 0:02:00.653 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.021) 0:02:00.675 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.023) 0:02:00.698 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.029) 0:02:00.728 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.022) 0:02:00.750 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.035) 0:02:00.785 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.021) 0:02:00.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.063) 0:02:00.871 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.039) 0:02:00.910 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.021) 0:02:00.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.028) 0:02:00.960 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.037) 0:02:00.998 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.027) 0:02:01.026 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.029) 0:02:01.055 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.024) 0:02:01.080 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.054) 0:02:01.135 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.052) 0:02:01.187 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.042) 0:02:01.230 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.048) 0:02:01.278 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.039) 0:02:01.318 ***** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.036) 0:02:01.354 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.068) 0:02:01.422 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.030) 0:02:01.453 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 07 December 2023 08:52:11 +0000 (0:00:00.025) 0:02:01.479 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 07 December 2023 08:52:12 +0000 (0:00:00.364) 0:02:01.843 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:51:22 UTC", "ActiveEnterTimestampMonotonic": "685407860", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "auditd.service systemd-journald.socket system.slice basic.target sysinit.target network.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:51:22 UTC", "AssertTimestampMonotonic": "685406640", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:51:22 UTC", "ConditionTimestampMonotonic": "685406638", "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": "12881", "ExecMainStartTimestamp": "Thu 2023-12-07 08:51:22 UTC", "ExecMainStartTimestampMonotonic": "685407788", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:51:22 UTC", "InactiveExitTimestampMonotonic": "685407860", "InvocationID": "55286300e71a4552ac6dd8563bb0b011", "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": "12881", "MemoryAccounting": "yes", "MemoryCurrent": "646774784", "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 -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:51:22 UTC", "StateChangeTimestampMonotonic": "685407860", "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": "141", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:51:22 UTC", "WatchdogTimestampMonotonic": "685407858", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Thursday 07 December 2023 08:52:14 +0000 (0:00:01.983) 0:02:03.827 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Thursday 07 December 2023 08:52:14 +0000 (0:00:00.040) 0:02:03.868 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:22 Thursday 07 December 2023 08:52:14 +0000 (0:00:00.043) 0:02:03.911 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql-sever-increase-start-limit.yml:3 Thursday 07 December 2023 08:52:14 +0000 (0:00:00.090) 0:02:04.002 ***** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql-sever-increase-start-limit.yml:10 Thursday 07 December 2023 08:52:14 +0000 (0:00:00.356) 0:02:04.358 ***** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql-sever-increase-start-limit.yml:17 Thursday 07 December 2023 08:52:14 +0000 (0:00:00.224) 0:02:04.583 ***** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:25 Thursday 07 December 2023 08:52:15 +0000 (0:00:00.518) 0:02:05.101 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 07 December 2023 08:52:15 +0000 (0:00:00.194) 0:02:05.296 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:52:15 +0000 (0:00:00.037) 0:02:05.333 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 07 December 2023 08:52:15 +0000 (0:00:00.060) 0:02:05.394 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 07 December 2023 08:52:15 +0000 (0:00:00.056) 0:02:05.450 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 07 December 2023 08:52:15 +0000 (0:00:00.034) 0:02:05.485 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 07 December 2023 08:52:15 +0000 (0:00:00.032) 0:02:05.518 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 07 December 2023 08:52:15 +0000 (0:00:00.047) 0:02:05.566 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 07 December 2023 08:52:16 +0000 (0:00:00.100) 0:02:05.667 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 07 December 2023 08:52:16 +0000 (0:00:00.025) 0:02:05.692 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 07 December 2023 08:52:16 +0000 (0:00:00.025) 0:02:05.718 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Thursday 07 December 2023 08:52:16 +0000 (0:00:00.030) 0:02:05.748 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Thursday 07 December 2023 08:52:16 +0000 (0:00:00.031) 0:02:05.780 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Thursday 07 December 2023 08:52:16 +0000 (0:00:00.036) 0:02:05.816 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Thursday 07 December 2023 08:52:16 +0000 (0:00:00.046) 0:02:05.863 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Thursday 07 December 2023 08:52:16 +0000 (0:00:00.033) 0:02:05.897 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Thursday 07 December 2023 08:52:16 +0000 (0:00:00.035) 0:02:05.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Thursday 07 December 2023 08:52:16 +0000 (0:00:00.035) 0:02:05.968 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Thursday 07 December 2023 08:52:17 +0000 (0:00:01.584) 0:02:07.553 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Thursday 07 December 2023 08:52:18 +0000 (0:00:00.192) 0:02:07.746 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Thursday 07 December 2023 08:52:18 +0000 (0:00:00.043) 0:02:07.789 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 07 December 2023 08:52:18 +0000 (0:00:00.049) 0:02:07.839 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Thursday 07 December 2023 08:52:18 +0000 (0:00:00.073) 0:02:07.912 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Thursday 07 December 2023 08:52:18 +0000 (0:00:00.395) 0:02:08.307 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Thursday 07 December 2023 08:52:18 +0000 (0:00:00.023) 0:02:08.330 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Thursday 07 December 2023 08:52:18 +0000 (0:00:00.024) 0:02:08.355 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Thursday 07 December 2023 08:52:18 +0000 (0:00:00.021) 0:02:08.376 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Thursday 07 December 2023 08:52:18 +0000 (0:00:00.025) 0:02:08.402 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Thursday 07 December 2023 08:52:18 +0000 (0:00:00.021) 0:02:08.423 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Thursday 07 December 2023 08:52:18 +0000 (0:00:00.020) 0:02:08.444 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 07 December 2023 08:52:18 +0000 (0:00:00.023) 0:02:08.468 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Thursday 07 December 2023 08:52:18 +0000 (0:00:00.024) 0:02:08.493 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Thursday 07 December 2023 08:52:18 +0000 (0:00:00.035) 0:02:08.528 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Thursday 07 December 2023 08:52:20 +0000 (0:00:01.293) 0:02:09.821 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Thursday 07 December 2023 08:52:20 +0000 (0:00:00.032) 0:02:09.854 ***** 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.005341", "end": "2023-12-07 08:52:20.417353", "rc": 0, "start": "2023-12-07 08:52:20.412012" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Thursday 07 December 2023 08:52:20 +0000 (0:00:00.256) 0:02:10.110 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 07 December 2023 08:52:41 +0000 (0:00:20.584) 0:02:30.694 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Thursday 07 December 2023 08:52:41 +0000 (0:00:00.050) 0:02:30.745 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Thursday 07 December 2023 08:52:41 +0000 (0:00:00.065) 0:02:30.811 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 07 December 2023 08:52:41 +0000 (0:00:00.129) 0:02:30.941 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /tmp/mssql_data] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:52:41 +0000 (0:00:00.105) 0:02:31.046 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939083.3282197, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701939083.3302195, "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": 1701939083.3282197, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "2901151894", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_data] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:52:42 +0000 (0:00:01.292) 0:02:32.339 ***** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Thursday 07 December 2023 08:52:42 +0000 (0:00:00.250) 0:02:32.590 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Thursday 07 December 2023 08:52:42 +0000 (0:00:00.039) 0:02:32.629 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:52:43 +0000 (0:00:00.060) 0:02:32.690 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002821", "end": "2023-12-07 08:52:43.268401", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:52:43.265580" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:52:43 +0000 (0:00:00.246) 0:02:32.936 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:52:43 +0000 (0:00:00.048) 0:02:32.985 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /tmp/mssql_log] ***** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:52:43 +0000 (0:00:00.044) 0:02:33.029 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939084.7032204, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701939084.7042203, "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": 1701939084.7032204, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "2270339778", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/mssql_log] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:52:43 +0000 (0:00:00.309) 0:02:33.339 ***** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Thursday 07 December 2023 08:52:44 +0000 (0:00:00.303) 0:02:33.643 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Thursday 07 December 2023 08:52:44 +0000 (0:00:00.129) 0:02:33.772 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:52:44 +0000 (0:00:00.066) 0:02:33.839 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002909", "end": "2023-12-07 08:52:44.378701", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:52:44.375792" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:52:44 +0000 (0:00:00.272) 0:02:34.112 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:52:44 +0000 (0:00:00.043) 0:02:34.156 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Thursday 07 December 2023 08:52:44 +0000 (0:00:00.092) 0:02:34.248 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 07 December 2023 08:52:44 +0000 (0:00:00.043) 0:02:34.292 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 07 December 2023 08:52:45 +0000 (0:00:01.216) 0:02:35.509 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:40:09 UTC", "ActiveEnterTimestampMonotonic": "12582588", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket dbus.service network.target polkit.service systemd-journald.socket sysinit.target basic.target systemd-sysctl.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:40:08 UTC", "AssertTimestampMonotonic": "11680624", "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": "Thu 2023-12-07 08:40:08 UTC", "ConditionTimestampMonotonic": "11680617", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service power-profiles-daemon.service tlp.service shutdown.target auto-cpufreq.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": "697", "ExecMainStartTimestamp": "Thu 2023-12-07 08:40:08 UTC", "ExecMainStartTimestampMonotonic": "11682131", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:40:08 UTC", "InactiveExitTimestampMonotonic": "11682189", "InvocationID": "fc5c52929d83490fb4debc20ed7c95bf", "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": "697", "MemoryAccounting": "yes", "MemoryCurrent": "20578304", "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 system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:40:09 UTC", "StateChangeTimestampMonotonic": "12582588", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:40:09 UTC", "WatchdogTimestampMonotonic": "12582583", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 07 December 2023 08:52:46 +0000 (0:00:00.409) 0:02:35.918 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.114321", "end": "2023-12-07 08:52:46.585539", "rc": 0, "start": "2023-12-07 08:52:46.471218" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 07 December 2023 08:52:46 +0000 (0:00:00.343) 0:02:36.262 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 07 December 2023 08:52:46 +0000 (0:00:00.048) 0:02:36.310 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 07 December 2023 08:52:46 +0000 (0:00:00.025) 0:02:36.336 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 07 December 2023 08:52:46 +0000 (0:00:00.025) 0:02:36.362 ***** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 07 December 2023 08:52:47 +0000 (0:00:00.431) 0:02:36.793 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 07 December 2023 08:52:48 +0000 (0:00:01.232) 0:02:38.025 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:52:48 +0000 (0:00:00.059) 0:02:38.085 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:52:14 UTC", "ActiveEnterTimestampMonotonic": "737077917", "ActiveExitTimestamp": "Thu 2023-12-07 08:52:13 UTC", "ActiveExitTimestampMonotonic": "736439293", "ActiveState": "active", "After": "-.mount sysinit.target network.target system.slice basic.target auditd.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:52:14 UTC", "AssertTimestampMonotonic": "737076722", "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": "Thu 2023-12-07 08:52:14 UTC", "ConditionTimestampMonotonic": "737076720", "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": "14007", "ExecMainStartTimestamp": "Thu 2023-12-07 08:52:14 UTC", "ExecMainStartTimestampMonotonic": "737077860", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 08:52:14 UTC", "InactiveEnterTimestampMonotonic": "737075669", "InactiveExitTimestamp": "Thu 2023-12-07 08:52:14 UTC", "InactiveExitTimestampMonotonic": "737077917", "InvocationID": "b73011656c334e3ca38111bbde229e94", "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": "14007", "MemoryAccounting": "yes", "MemoryCurrent": "783187968", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:52:14 UTC", "StateChangeTimestampMonotonic": "737077917", "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": "157", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:52:14 UTC", "WatchdogTimestampMonotonic": "737077914", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:52:48 +0000 (0:00:00.355) 0:02:38.441 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002813", "end": "2023-12-07 08:52:48.999477", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:52:48.996664" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:52:49 +0000 (0:00:00.236) 0:02:38.678 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002910", "end": "2023-12-07 08:52:49.258281", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:52:49.255371" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:52:49 +0000 (0:00:00.253) 0:02:38.931 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 07 December 2023 08:52:49 +0000 (0:00:00.052) 0:02:38.983 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 07 December 2023 08:52:50 +0000 (0:00:01.361) 0:02:40.345 ***** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Thursday 07 December 2023 08:52:51 +0000 (0:00:00.291) 0:02:40.636 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:52:14 UTC", "ActiveEnterTimestampMonotonic": "737077917", "ActiveExitTimestamp": "Thu 2023-12-07 08:52:13 UTC", "ActiveExitTimestampMonotonic": "736439293", "ActiveState": "active", "After": "-.mount sysinit.target network.target system.slice basic.target auditd.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:52:14 UTC", "AssertTimestampMonotonic": "737076722", "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": "Thu 2023-12-07 08:52:14 UTC", "ConditionTimestampMonotonic": "737076720", "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": "14007", "ExecMainStartTimestamp": "Thu 2023-12-07 08:52:14 UTC", "ExecMainStartTimestampMonotonic": "737077860", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 08:52:14 UTC", "InactiveEnterTimestampMonotonic": "737075669", "InactiveExitTimestamp": "Thu 2023-12-07 08:52:14 UTC", "InactiveExitTimestampMonotonic": "737077917", "InvocationID": "b73011656c334e3ca38111bbde229e94", "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": "14007", "MemoryAccounting": "yes", "MemoryCurrent": "784412672", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:52:14 UTC", "StateChangeTimestampMonotonic": "737077917", "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": "157", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:52:14 UTC", "WatchdogTimestampMonotonic": "737077914", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Thursday 07 December 2023 08:52:53 +0000 (0:00:02.145) 0:02:42.782 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Thursday 07 December 2023 08:52:54 +0000 (0:00:01.312) 0:02:44.094 ***** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Thursday 07 December 2023 08:52:59 +0000 (0:00:05.129) 0:02:49.224 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Thursday 07 December 2023 08:52:59 +0000 (0:00:00.030) 0:02:49.255 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Thursday 07 December 2023 08:52:59 +0000 (0:00:00.091) 0:02:49.347 ***** 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.004923", "end": "2023-12-07 08:52:59.934547", "rc": 0, "start": "2023-12-07 08:52:59.929624" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Thursday 07 December 2023 08:52:59 +0000 (0:00:00.258) 0:02:49.605 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Thursday 07 December 2023 08:53:00 +0000 (0:00:00.032) 0:02:49.638 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Thursday 07 December 2023 08:53:01 +0000 (0:00:01.296) 0:02:50.934 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Thursday 07 December 2023 08:53:01 +0000 (0:00:00.045) 0:02:50.980 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:53:01 +0000 (0:00:00.062) 0:02:51.042 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003015", "end": "2023-12-07 08:53:01.592824", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:53:01.589809" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:53:01 +0000 (0:00:00.222) 0:02:51.265 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:53:01 +0000 (0:00:00.030) 0:02:51.295 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Thursday 07 December 2023 08:53:01 +0000 (0:00:00.023) 0:02:51.319 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Thursday 07 December 2023 08:53:01 +0000 (0:00:00.062) 0:02:51.381 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 07 December 2023 08:53:01 +0000 (0:00:00.023) 0:02:51.404 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:53:01 +0000 (0:00:00.040) 0:02:51.445 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002928", "end": "2023-12-07 08:53:01.983145", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:53:01.980217" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:53:02 +0000 (0:00:00.230) 0:02:51.675 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049547", "end": "2023-12-07 08:53:02.272385", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:53:02.222838" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:53:02 +0000 (0:00:00.277) 0:02:51.953 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Thursday 07 December 2023 08:53:02 +0000 (0:00:00.025) 0:02:51.979 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Thursday 07 December 2023 08:53:02 +0000 (0:00:00.032) 0:02:52.011 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:53:02 +0000 (0:00:00.055) 0:02:52.067 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003025", "end": "2023-12-07 08:53:02.655740", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:53:02.652715" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:53:02 +0000 (0:00:00.263) 0:02:52.330 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:53:02 +0000 (0:00:00.035) 0:02:52.366 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Thursday 07 December 2023 08:53:02 +0000 (0:00:00.025) 0:02:52.391 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Thursday 07 December 2023 08:53:03 +0000 (0:00:01.229) 0:02:53.620 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Thursday 07 December 2023 08:53:05 +0000 (0:00:01.221) 0:02:54.842 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003051", "end": "2023-12-07 08:53:05.379095", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:53:05.376044" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Thursday 07 December 2023 08:53:05 +0000 (0:00:00.214) 0:02:55.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Thursday 07 December 2023 08:53:05 +0000 (0:00:00.038) 0:02:55.095 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Thursday 07 December 2023 08:53:05 +0000 (0:00:00.027) 0:02:55.122 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:53:05 +0000 (0:00:00.041) 0:02:55.164 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002825", "end": "2023-12-07 08:53:05.735318", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:53:05.732493" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:53:05 +0000 (0:00:00.245) 0:02:55.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:53:05 +0000 (0:00:00.041) 0:02:55.451 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Thursday 07 December 2023 08:53:05 +0000 (0:00:00.022) 0:02:55.473 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:53:05 +0000 (0:00:00.125) 0:02:55.599 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002948", "end": "2023-12-07 08:53:06.151590", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:53:06.148642" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.226) 0:02:55.826 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.064) 0:02:55.890 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.069) 0:02:55.959 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.056) 0:02:56.015 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.091) 0:02:56.107 ***** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.028) 0:02:56.135 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.050) 0:02:56.186 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.056) 0:02:56.243 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.028) 0:02:56.271 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.049) 0:02:56.321 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.035) 0:02:56.356 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.029) 0:02:56.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.032) 0:02:56.417 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.024) 0:02:56.442 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.023) 0:02:56.466 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.022) 0:02:56.488 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.056) 0:02:56.545 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.022) 0:02:56.567 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.021) 0:02:56.589 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Thursday 07 December 2023 08:53:06 +0000 (0:00:00.022) 0:02:56.612 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.031) 0:02:56.644 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.022) 0:02:56.666 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.034) 0:02:56.700 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.035) 0:02:56.736 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.029) 0:02:56.765 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.043) 0:02:56.809 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.027) 0:02:56.837 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.032) 0:02:56.869 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.044) 0:02:56.914 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.056) 0:02:56.970 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.046) 0:02:57.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.026) 0:02:57.043 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.061) 0:02:57.105 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.023) 0:02:57.128 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.022) 0:02:57.151 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.022) 0:02:57.174 ***** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.026) 0:02:57.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.024) 0:02:57.225 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.026) 0:02:57.252 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.050) 0:02:57.302 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.041) 0:02:57.344 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.024) 0:02:57.368 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.021) 0:02:57.390 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.022) 0:02:57.412 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.022) 0:02:57.434 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.022) 0:02:57.456 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.024) 0:02:57.480 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.021) 0:02:57.502 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.020) 0:02:57.522 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.051) 0:02:57.574 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Thursday 07 December 2023 08:53:07 +0000 (0:00:00.040) 0:02:57.615 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Thursday 07 December 2023 08:53:08 +0000 (0:00:00.035) 0:02:57.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Thursday 07 December 2023 08:53:08 +0000 (0:00:00.046) 0:02:57.696 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Thursday 07 December 2023 08:53:08 +0000 (0:00:00.041) 0:02:57.738 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Thursday 07 December 2023 08:53:08 +0000 (0:00:00.022) 0:02:57.761 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Thursday 07 December 2023 08:53:08 +0000 (0:00:00.033) 0:02:57.794 ***** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Thursday 07 December 2023 08:53:08 +0000 (0:00:00.029) 0:02:57.824 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Thursday 07 December 2023 08:53:08 +0000 (0:00:00.023) 0:02:57.847 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:53:08 +0000 (0:00:00.030) 0:02:57.877 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 07 December 2023 08:53:08 +0000 (0:00:00.037) 0:02:57.914 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 07 December 2023 08:53:08 +0000 (0:00:00.222) 0:02:58.137 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:52:14 UTC", "ActiveEnterTimestampMonotonic": "737077917", "ActiveExitTimestamp": "Thu 2023-12-07 08:52:52 UTC", "ActiveExitTimestampMonotonic": "775290294", "ActiveState": "inactive", "After": "-.mount sysinit.target network.target system.slice basic.target auditd.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:52:14 UTC", "AssertTimestampMonotonic": "737076722", "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": "Thu 2023-12-07 08:52:14 UTC", "ConditionTimestampMonotonic": "737076720", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2023-12-07 08:52:53 UTC", "ExecMainExitTimestampMonotonic": "776038498", "ExecMainPID": "14007", "ExecMainStartTimestamp": "Thu 2023-12-07 08:52:14 UTC", "ExecMainStartTimestampMonotonic": "737077860", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:52:14 UTC] ; stop_time=[Thu 2023-12-07 08:52:53 UTC] ; pid=14007 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 08:52:53 UTC", "InactiveEnterTimestampMonotonic": "776038605", "InactiveExitTimestamp": "Thu 2023-12-07 08:52:14 UTC", "InactiveExitTimestampMonotonic": "737077917", "InvocationID": "b73011656c334e3ca38111bbde229e94", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:52:53 UTC", "StateChangeTimestampMonotonic": "776038605", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Thursday 07 December 2023 08:53:08 +0000 (0:00:00.351) 0:02:58.489 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Thursday 07 December 2023 08:53:08 +0000 (0:00:00.051) 0:02:58.540 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:40 Thursday 07 December 2023 08:53:08 +0000 (0:00:00.075) 0:02:58.616 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:8 Thursday 07 December 2023 08:53:09 +0000 (0:00:00.123) 0:02:58.739 ***** 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.006476", "end": "2023-12-07 08:53:09.287485", "rc": 0, "start": "2023-12-07 08:53:09.281009" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:23 Thursday 07 December 2023 08:53:09 +0000 (0:00:00.231) 0:02:58.971 ***** 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.005222", "end": "2023-12-07 08:53:09.563532", "rc": 0, "start": "2023-12-07 08:53:09.558310" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:35 Thursday 07 December 2023 08:53:09 +0000 (0:00:00.279) 0:02:59.250 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:39 Thursday 07 December 2023 08:53:09 +0000 (0:00:00.034) 0:02:59.285 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:53:09 +0000 (0:00:00.075) 0:02:59.361 ***** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004654", "end": "2023-12-07 08:53:09.903261", "rc": 0, "start": "2023-12-07 08:53:09.898607" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:53:09 +0000 (0:00:00.240) 0:02:59.602 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:53:10 +0000 (0:00:00.065) 0:02:59.668 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:53:10 +0000 (0:00:00.044) 0:02:59.712 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:53:10 +0000 (0:00:00.037) 0:02:59.749 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005685", "end": "2023-12-07 08:53:10.402419", "rc": 0, "start": "2023-12-07 08:53:10.396734" } STDOUT: tcpport = 1433 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:53:10 +0000 (0:00:00.400) 0:03:00.150 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:53:10 +0000 (0:00:00.027) 0:03:00.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:53:10 +0000 (0:00:00.039) 0:03:00.217 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:53:10 +0000 (0:00:00.036) 0:03:00.254 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005471", "end": "2023-12-07 08:53:10.860611", "rc": 0, "start": "2023-12-07 08:53:10.855140" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:53:10 +0000 (0:00:00.290) 0:03:00.545 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:53:10 +0000 (0:00:00.076) 0:03:00.622 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_data] *********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:53:11 +0000 (0:00:00.046) 0:03:00.669 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:53:11 +0000 (0:00:00.045) 0:03:00.714 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005862", "end": "2023-12-07 08:53:11.261361", "rc": 0, "start": "2023-12-07 08:53:11.255499" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:53:11 +0000 (0:00:00.249) 0:03:00.964 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:53:11 +0000 (0:00:00.130) 0:03:01.095 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_log] ************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:53:11 +0000 (0:00:00.055) 0:03:01.150 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:53:11 +0000 (0:00:00.094) 0:03:01.244 ***** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004675", "end": "2023-12-07 08:53:11.907853", "rc": 0, "start": "2023-12-07 08:53:11.903178" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:53:11 +0000 (0:00:00.364) 0:03:01.609 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:53:12 +0000 (0:00:00.039) 0:03:01.648 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:53:12 +0000 (0:00:00.071) 0:03:01.720 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:55 Thursday 07 December 2023 08:53:12 +0000 (0:00:00.102) 0:03:01.823 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939083.3282197, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701939083.3302195, "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": 1701939083.3282197, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "2901151894", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:60 Thursday 07 December 2023 08:53:12 +0000 (0:00:00.222) 0:03:02.045 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:70 Thursday 07 December 2023 08:53:12 +0000 (0:00:00.031) 0:03:02.077 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939084.7032204, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701939084.7042203, "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": 1701939084.7032204, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "2270339778", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:75 Thursday 07 December 2023 08:53:12 +0000 (0:00:00.226) 0:03:02.303 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:85 Thursday 07 December 2023 08:53:12 +0000 (0:00:00.028) 0:03:02.332 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:53:12 +0000 (0:00:00.048) 0:03:02.381 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:53:08 UTC", "ActiveEnterTimestampMonotonic": "791744924", "ActiveExitTimestamp": "Thu 2023-12-07 08:52:52 UTC", "ActiveExitTimestampMonotonic": "775290294", "ActiveState": "active", "After": "-.mount sysinit.target network.target system.slice basic.target auditd.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:53:08 UTC", "AssertTimestampMonotonic": "791743821", "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": "Thu 2023-12-07 08:53:08 UTC", "ConditionTimestampMonotonic": "791743820", "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": "15221", "ExecMainStartTimestamp": "Thu 2023-12-07 08:53:08 UTC", "ExecMainStartTimestampMonotonic": "791744861", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:53:08 UTC] ; stop_time=[n/a] ; pid=15221 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 08:52:53 UTC", "InactiveEnterTimestampMonotonic": "776038605", "InactiveExitTimestamp": "Thu 2023-12-07 08:53:08 UTC", "InactiveExitTimestampMonotonic": "791744924", "InvocationID": "088b0f8ab02642a19c349228e1a40597", "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": "15221", "MemoryAccounting": "yes", "MemoryCurrent": "710647808", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:53:08 UTC", "StateChangeTimestampMonotonic": "791744924", "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": "Thu 2023-12-07 08:53:08 UTC", "WatchdogTimestampMonotonic": "791744921", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:53:14 +0000 (0:00:01.398) 0:03:03.779 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.003897", "end": "2023-12-07 08:53:15.399893", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:53:14.395996" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:53:15 +0000 (0:00:01.313) 0:03:05.093 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002800", "end": "2023-12-07 08:53:15.639939", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:53:15.637139" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:53:15 +0000 (0:00:00.229) 0:03:05.322 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:93 Thursday 07 December 2023 08:53:15 +0000 (0:00:00.057) 0:03:05.380 ***** 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-selinuxw4jatp8y/tests/tasks/verify_settings.yml:100 Thursday 07 December 2023 08:53:34 +0000 (0:00:18.299) 0:03:23.680 ***** 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.022521", "end": "2023-12-07 08:53:34.245014", "rc": 0, "start": "2023-12-07 08:53:34.222493" } 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-selinuxw4jatp8y/tests/tasks/verify_settings.yml:104 Thursday 07 December 2023 08:53:34 +0000 (0:00:00.236) 0:03:23.917 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:108 Thursday 07 December 2023 08:53:34 +0000 (0:00:00.027) 0:03:23.944 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:7 Thursday 07 December 2023 08:53:34 +0000 (0:00:00.065) 0:03:24.009 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:12 Thursday 07 December 2023 08:53:35 +0000 (0:00:01.482) 0:03:25.492 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:17 Thursday 07 December 2023 08:53:36 +0000 (0:00:00.179) 0:03:25.671 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:115 Thursday 07 December 2023 08:53:36 +0000 (0:00:00.050) 0:03:25.722 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:7 Thursday 07 December 2023 08:53:36 +0000 (0:00:00.111) 0:03:25.833 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:12 Thursday 07 December 2023 08:53:37 +0000 (0:00:01.447) 0:03:27.281 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:17 Thursday 07 December 2023 08:53:37 +0000 (0:00:00.117) 0:03:27.398 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:126 Thursday 07 December 2023 08:53:37 +0000 (0:00:00.041) 0:03:27.440 ***** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004099", "end": "2023-12-07 08:53:38.027814", "rc": 0, "start": "2023-12-07 08:53:38.023715" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:131 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.267) 0:03:27.708 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:136 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.072) 0:03:27.780 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:142 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.054) 0:03:27.835 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.063) 0:03:27.899 ***** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004330", "end": "2023-12-07 08:53:38.441147", "rc": 0, "start": "2023-12-07 08:53:38.436817" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.296) 0:03:28.195 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.070) 0:03:28.266 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.058) 0:03:28.324 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:148 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.042) 0:03:28.367 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:53:38 +0000 (0:00:00.085) 0:03:28.452 ***** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004325", "end": "2023-12-07 08:53:39.032118", "rc": 0, "start": "2023-12-07 08:53:39.027793" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:53:39 +0000 (0:00:00.296) 0:03:28.749 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:53:39 +0000 (0:00:00.041) 0:03:28.790 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:53:39 +0000 (0:00:00.121) 0:03:28.911 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:158 Thursday 07 December 2023 08:53:39 +0000 (0:00:00.047) 0:03:28.958 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:169 Thursday 07 December 2023 08:53:39 +0000 (0:00:00.041) 0:03:29.000 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:181 Thursday 07 December 2023 08:53:39 +0000 (0:00:00.058) 0:03:29.058 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:189 Thursday 07 December 2023 08:53:39 +0000 (0:00:00.053) 0:03:29.112 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:199 Thursday 07 December 2023 08:53:39 +0000 (0:00:00.081) 0:03:29.194 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:204 Thursday 07 December 2023 08:53:39 +0000 (0:00:00.032) 0:03:29.226 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:212 Thursday 07 December 2023 08:53:39 +0000 (0:00:00.090) 0:03:29.317 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:56 Thursday 07 December 2023 08:53:39 +0000 (0:00:00.168) 0:03:29.486 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.401) 0:03:29.887 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.098) 0:03:29.985 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.094) 0:03:30.080 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.040) 0:03:30.120 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.053) 0:03:30.173 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.037) 0:03:30.211 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.129) 0:03:30.341 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.029) 0:03:30.371 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.031) 0:03:30.402 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.039) 0:03:30.442 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.069) 0:03:30.511 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.045) 0:03:30.557 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Thursday 07 December 2023 08:53:40 +0000 (0:00:00.056) 0:03:30.613 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Thursday 07 December 2023 08:53:41 +0000 (0:00:00.049) 0:03:30.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Thursday 07 December 2023 08:53:41 +0000 (0:00:00.054) 0:03:30.717 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Thursday 07 December 2023 08:53:41 +0000 (0:00:00.050) 0:03:30.768 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Thursday 07 December 2023 08:53:41 +0000 (0:00:00.046) 0:03:30.814 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Thursday 07 December 2023 08:53:42 +0000 (0:00:01.298) 0:03:32.113 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Thursday 07 December 2023 08:53:42 +0000 (0:00:00.246) 0:03:32.359 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Thursday 07 December 2023 08:53:42 +0000 (0:00:00.029) 0:03:32.389 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 07 December 2023 08:53:42 +0000 (0:00:00.028) 0:03:32.417 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Thursday 07 December 2023 08:53:42 +0000 (0:00:00.044) 0:03:32.462 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Thursday 07 December 2023 08:53:43 +0000 (0:00:00.409) 0:03:32.872 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Thursday 07 December 2023 08:53:43 +0000 (0:00:00.063) 0:03:32.936 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Thursday 07 December 2023 08:53:43 +0000 (0:00:00.050) 0:03:32.986 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Thursday 07 December 2023 08:53:43 +0000 (0:00:00.078) 0:03:33.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Thursday 07 December 2023 08:53:43 +0000 (0:00:00.062) 0:03:33.127 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Thursday 07 December 2023 08:53:43 +0000 (0:00:00.035) 0:03:33.162 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Thursday 07 December 2023 08:53:43 +0000 (0:00:00.038) 0:03:33.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 07 December 2023 08:53:43 +0000 (0:00:00.041) 0:03:33.242 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Thursday 07 December 2023 08:53:43 +0000 (0:00:00.052) 0:03:33.295 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Thursday 07 December 2023 08:53:43 +0000 (0:00:00.076) 0:03:33.371 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Thursday 07 December 2023 08:53:45 +0000 (0:00:01.313) 0:03:34.684 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Thursday 07 December 2023 08:53:45 +0000 (0:00:00.046) 0:03:34.730 ***** 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.005527", "end": "2023-12-07 08:53:45.310372", "rc": 0, "start": "2023-12-07 08:53:45.304845" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Thursday 07 December 2023 08:53:45 +0000 (0:00:00.265) 0:03:34.996 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 07 December 2023 08:54:04 +0000 (0:00:19.567) 0:03:54.563 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Thursday 07 December 2023 08:54:04 +0000 (0:00:00.030) 0:03:54.594 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Thursday 07 December 2023 08:54:04 +0000 (0:00:00.022) 0:03:54.617 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 07 December 2023 08:54:05 +0000 (0:00:00.026) 0:03:54.643 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:54:05 +0000 (0:00:00.054) 0:03:54.697 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939081.9972188, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701939081.929219, "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": 1701939081.929219, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 156, "uid": 990, "version": "2805006438", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:54:05 +0000 (0:00:00.234) 0:03:54.932 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Thursday 07 December 2023 08:54:05 +0000 (0:00:00.300) 0:03:55.232 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Thursday 07 December 2023 08:54:05 +0000 (0:00:00.028) 0:03:55.261 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:54:05 +0000 (0:00:00.037) 0:03:55.298 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002914", "end": "2023-12-07 08:54:05.834795", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:05.831881" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:54:05 +0000 (0:00:00.201) 0:03:55.500 ***** 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.049111", "end": "2023-12-07 08:54:06.085982", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:06.036871" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:54:06 +0000 (0:00:00.279) 0:03:55.780 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:54:06 +0000 (0:00:00.033) 0:03:55.813 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939191.602333, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701939191.6013331, "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": 1701939191.6013331, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "2997655446", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:54:06 +0000 (0:00:00.219) 0:03:56.032 ***** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Thursday 07 December 2023 08:54:06 +0000 (0:00:00.216) 0:03:56.249 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Thursday 07 December 2023 08:54:06 +0000 (0:00:00.030) 0:03:56.280 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:54:06 +0000 (0:00:00.046) 0:03:56.327 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002866", "end": "2023-12-07 08:54:06.870652", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:06.867786" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:54:06 +0000 (0:00:00.233) 0:03:56.561 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.046749", "end": "2023-12-07 08:54:07.158954", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:07.112205" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:54:07 +0000 (0:00:00.269) 0:03:56.830 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Thursday 07 December 2023 08:54:07 +0000 (0:00:00.147) 0:03:56.978 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 07 December 2023 08:54:07 +0000 (0:00:00.027) 0:03:57.005 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 07 December 2023 08:54:08 +0000 (0:00:01.220) 0:03:58.226 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:40:09 UTC", "ActiveEnterTimestampMonotonic": "12582588", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket dbus.service network.target polkit.service systemd-journald.socket sysinit.target basic.target systemd-sysctl.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:40:08 UTC", "AssertTimestampMonotonic": "11680624", "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": "Thu 2023-12-07 08:40:08 UTC", "ConditionTimestampMonotonic": "11680617", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service power-profiles-daemon.service tlp.service shutdown.target auto-cpufreq.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": "697", "ExecMainStartTimestamp": "Thu 2023-12-07 08:40:08 UTC", "ExecMainStartTimestampMonotonic": "11682131", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:40:08 UTC", "InactiveExitTimestampMonotonic": "11682189", "InvocationID": "fc5c52929d83490fb4debc20ed7c95bf", "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": "697", "MemoryAccounting": "yes", "MemoryCurrent": "20561920", "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 system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:40:09 UTC", "StateChangeTimestampMonotonic": "12582588", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:40:09 UTC", "WatchdogTimestampMonotonic": "12582583", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 07 December 2023 08:54:08 +0000 (0:00:00.317) 0:03:58.544 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.113805", "end": "2023-12-07 08:54:09.186640", "rc": 0, "start": "2023-12-07 08:54:09.072835" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 07 December 2023 08:54:09 +0000 (0:00:00.311) 0:03:58.855 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 07 December 2023 08:54:09 +0000 (0:00:00.023) 0:03:58.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 07 December 2023 08:54:09 +0000 (0:00:00.022) 0:03:58.901 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 07 December 2023 08:54:09 +0000 (0:00:00.040) 0:03:58.941 ***** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 07 December 2023 08:54:09 +0000 (0:00:00.202) 0:03:59.143 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 07 December 2023 08:54:10 +0000 (0:00:01.211) 0:04:00.355 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:54:10 +0000 (0:00:00.047) 0:04:00.403 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:53:08 UTC", "ActiveEnterTimestampMonotonic": "791744924", "ActiveExitTimestamp": "Thu 2023-12-07 08:52:52 UTC", "ActiveExitTimestampMonotonic": "775290294", "ActiveState": "active", "After": "-.mount sysinit.target network.target system.slice basic.target auditd.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:53:08 UTC", "AssertTimestampMonotonic": "791743821", "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": "Thu 2023-12-07 08:53:08 UTC", "ConditionTimestampMonotonic": "791743820", "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": "15221", "ExecMainStartTimestamp": "Thu 2023-12-07 08:53:08 UTC", "ExecMainStartTimestampMonotonic": "791744861", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:53:08 UTC] ; stop_time=[n/a] ; pid=15221 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 08:52:53 UTC", "InactiveEnterTimestampMonotonic": "776038605", "InactiveExitTimestamp": "Thu 2023-12-07 08:53:08 UTC", "InactiveExitTimestampMonotonic": "791744924", "InvocationID": "088b0f8ab02642a19c349228e1a40597", "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": "15221", "MemoryAccounting": "yes", "MemoryCurrent": "700846080", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:53:08 UTC", "StateChangeTimestampMonotonic": "791744924", "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": "Thu 2023-12-07 08:53:08 UTC", "WatchdogTimestampMonotonic": "791744921", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:54:11 +0000 (0:00:00.333) 0:04:00.736 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002852", "end": "2023-12-07 08:54:11.291479", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:11.288627" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:54:11 +0000 (0:00:00.217) 0:04:00.954 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002677", "end": "2023-12-07 08:54:11.488201", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:11.485524" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:54:11 +0000 (0:00:00.203) 0:04:01.158 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 07 December 2023 08:54:11 +0000 (0:00:00.039) 0:04:01.197 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 07 December 2023 08:54:12 +0000 (0:00:01.240) 0:04:02.438 ***** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Thursday 07 December 2023 08:54:13 +0000 (0:00:00.230) 0:04:02.668 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:53:08 UTC", "ActiveEnterTimestampMonotonic": "791744924", "ActiveExitTimestamp": "Thu 2023-12-07 08:52:52 UTC", "ActiveExitTimestampMonotonic": "775290294", "ActiveState": "active", "After": "-.mount sysinit.target network.target system.slice basic.target auditd.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:53:08 UTC", "AssertTimestampMonotonic": "791743821", "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": "Thu 2023-12-07 08:53:08 UTC", "ConditionTimestampMonotonic": "791743820", "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": "15221", "ExecMainStartTimestamp": "Thu 2023-12-07 08:53:08 UTC", "ExecMainStartTimestampMonotonic": "791744861", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:53:08 UTC] ; stop_time=[n/a] ; pid=15221 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 08:52:53 UTC", "InactiveEnterTimestampMonotonic": "776038605", "InactiveExitTimestamp": "Thu 2023-12-07 08:53:08 UTC", "InactiveExitTimestampMonotonic": "791744924", "InvocationID": "088b0f8ab02642a19c349228e1a40597", "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": "15221", "MemoryAccounting": "yes", "MemoryCurrent": "701059072", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:53:08 UTC", "StateChangeTimestampMonotonic": "791744924", "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": "150", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:53:08 UTC", "WatchdogTimestampMonotonic": "791744921", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Thursday 07 December 2023 08:54:14 +0000 (0:00:01.203) 0:04:03.872 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Thursday 07 December 2023 08:54:15 +0000 (0:00:01.247) 0:04:05.120 ***** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Thursday 07 December 2023 08:54:20 +0000 (0:00:04.972) 0:04:10.093 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Thursday 07 December 2023 08:54:20 +0000 (0:00:00.023) 0:04:10.117 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Thursday 07 December 2023 08:54:20 +0000 (0:00:00.024) 0:04:10.142 ***** 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.005037", "end": "2023-12-07 08:54:20.700771", "rc": 0, "start": "2023-12-07 08:54:20.695734" } STDOUT: false TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Thursday 07 December 2023 08:54:20 +0000 (0:00:00.220) 0:04:10.363 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:53:08 UTC", "ActiveEnterTimestampMonotonic": "791744924", "ActiveExitTimestamp": "Thu 2023-12-07 08:54:13 UTC", "ActiveExitTimestampMonotonic": "856328038", "ActiveState": "inactive", "After": "-.mount sysinit.target network.target system.slice basic.target auditd.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:53:08 UTC", "AssertTimestampMonotonic": "791743821", "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": "Thu 2023-12-07 08:53:08 UTC", "ConditionTimestampMonotonic": "791743820", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2023-12-07 08:54:14 UTC", "ExecMainExitTimestampMonotonic": "857127410", "ExecMainPID": "15221", "ExecMainStartTimestamp": "Thu 2023-12-07 08:53:08 UTC", "ExecMainStartTimestampMonotonic": "791744861", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:53:08 UTC] ; stop_time=[Thu 2023-12-07 08:54:14 UTC] ; pid=15221 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 08:54:14 UTC", "InactiveEnterTimestampMonotonic": "857127500", "InactiveExitTimestamp": "Thu 2023-12-07 08:53:08 UTC", "InactiveExitTimestampMonotonic": "791744924", "InvocationID": "088b0f8ab02642a19c349228e1a40597", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:54:14 UTC", "StateChangeTimestampMonotonic": "857127500", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Thursday 07 December 2023 08:54:22 +0000 (0:00:01.322) 0:04:11.685 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Thursday 07 December 2023 08:54:23 +0000 (0:00:01.270) 0:04:12.956 ***** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Thursday 07 December 2023 08:54:28 +0000 (0:00:05.044) 0:04:18.000 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:54:28 +0000 (0:00:00.073) 0:04:18.073 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002891", "end": "2023-12-07 08:54:28.641191", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:28.638300" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:54:28 +0000 (0:00:00.362) 0:04:18.436 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.047326", "end": "2023-12-07 08:54:29.038756", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:28.991430" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:54:29 +0000 (0:00:00.296) 0:04:18.732 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Thursday 07 December 2023 08:54:29 +0000 (0:00:00.063) 0:04:18.796 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Thursday 07 December 2023 08:54:29 +0000 (0:00:00.113) 0:04:18.909 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1435] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 07 December 2023 08:54:29 +0000 (0:00:00.104) 0:04:19.013 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:54:29 +0000 (0:00:00.161) 0:04:19.174 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002811", "end": "2023-12-07 08:54:29.772228", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:29.769417" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:54:29 +0000 (0:00:00.283) 0:04:19.458 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.047627", "end": "2023-12-07 08:54:30.053234", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:30.005607" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:54:30 +0000 (0:00:00.277) 0:04:19.735 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Thursday 07 December 2023 08:54:30 +0000 (0:00:00.049) 0:04:19.785 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Thursday 07 December 2023 08:54:30 +0000 (0:00:00.083) 0:04:19.869 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:54:30 +0000 (0:00:00.103) 0:04:19.973 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002973", "end": "2023-12-07 08:54:30.556884", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:30.553911" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:54:30 +0000 (0:00:00.284) 0:04:20.257 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.048587", "end": "2023-12-07 08:54:30.871303", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:30.822716" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:54:30 +0000 (0:00:00.306) 0:04:20.563 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Thursday 07 December 2023 08:54:30 +0000 (0:00:00.054) 0:04:20.618 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Thursday 07 December 2023 08:54:32 +0000 (0:00:01.708) 0:04:22.326 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: powershell-7.4.0-1.rh.x86_64" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Thursday 07 December 2023 08:54:34 +0000 (0:00:01.771) 0:04:24.098 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003098", "end": "2023-12-07 08:54:34.638191", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:34.635093" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Thursday 07 December 2023 08:54:34 +0000 (0:00:00.233) 0:04:24.332 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Thursday 07 December 2023 08:54:34 +0000 (0:00:00.100) 0:04:24.432 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.048168", "end": "2023-12-07 08:54:35.064230", "rc": 0, "start": "2023-12-07 08:54:35.016062" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Thursday 07 December 2023 08:54:35 +0000 (0:00:00.368) 0:04:24.801 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:54:35 +0000 (0:00:00.072) 0:04:24.873 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002810", "end": "2023-12-07 08:54:35.424681", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:35.421871" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:54:35 +0000 (0:00:00.228) 0:04:25.102 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:54:35 +0000 (0:00:00.054) 0:04:25.156 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Thursday 07 December 2023 08:54:35 +0000 (0:00:00.040) 0:04:25.196 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:54:35 +0000 (0:00:00.124) 0:04:25.321 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002946", "end": "2023-12-07 08:54:35.885733", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:35.882787" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:54:35 +0000 (0:00:00.249) 0:04:25.570 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.047727", "end": "2023-12-07 08:54:36.168765", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:36.121038" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.278) 0:04:25.849 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.077) 0:04:25.926 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.064) 0:04:25.991 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.026) 0:04:26.018 ***** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.050) 0:04:26.068 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.040) 0:04:26.108 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.037) 0:04:26.146 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.063) 0:04:26.210 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.037) 0:04:26.247 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.039) 0:04:26.287 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.031) 0:04:26.318 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.050) 0:04:26.368 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.037) 0:04:26.406 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.166) 0:04:26.572 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Thursday 07 December 2023 08:54:36 +0000 (0:00:00.025) 0:04:26.598 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.040) 0:04:26.639 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.049) 0:04:26.688 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.026) 0:04:26.715 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.025) 0:04:26.740 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.031) 0:04:26.771 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.024) 0:04:26.795 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.030) 0:04:26.825 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.054) 0:04:26.880 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.025) 0:04:26.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.037) 0:04:26.944 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.053) 0:04:26.997 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.037) 0:04:27.035 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.063) 0:04:27.098 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.080) 0:04:27.178 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.095) 0:04:27.274 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.274) 0:04:27.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Thursday 07 December 2023 08:54:37 +0000 (0:00:00.061) 0:04:27.610 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.033) 0:04:27.643 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.046) 0:04:27.690 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.063) 0:04:27.754 ***** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.033) 0:04:27.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.027) 0:04:27.815 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.024) 0:04:27.839 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.056) 0:04:27.896 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.068) 0:04:27.964 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.033) 0:04:27.998 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.053) 0:04:28.051 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.048) 0:04:28.100 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.039) 0:04:28.139 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.054) 0:04:28.194 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.052) 0:04:28.246 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.154) 0:04:28.400 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.057) 0:04:28.457 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.057) 0:04:28.515 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.049) 0:04:28.564 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Thursday 07 December 2023 08:54:38 +0000 (0:00:00.045) 0:04:28.610 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Thursday 07 December 2023 08:54:39 +0000 (0:00:00.048) 0:04:28.659 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Thursday 07 December 2023 08:54:39 +0000 (0:00:00.033) 0:04:28.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Thursday 07 December 2023 08:54:39 +0000 (0:00:00.053) 0:04:28.746 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Thursday 07 December 2023 08:54:39 +0000 (0:00:00.028) 0:04:28.774 ***** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Thursday 07 December 2023 08:54:39 +0000 (0:00:00.051) 0:04:28.825 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Thursday 07 December 2023 08:54:39 +0000 (0:00:00.030) 0:04:28.856 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:54:39 +0000 (0:00:00.042) 0:04:28.898 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 07 December 2023 08:54:39 +0000 (0:00:00.060) 0:04:28.959 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 07 December 2023 08:54:39 +0000 (0:00:00.484) 0:04:29.443 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:53:08 UTC", "ActiveEnterTimestampMonotonic": "791744924", "ActiveExitTimestamp": "Thu 2023-12-07 08:54:13 UTC", "ActiveExitTimestampMonotonic": "856328038", "ActiveState": "inactive", "After": "-.mount sysinit.target network.target system.slice basic.target auditd.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:53:08 UTC", "AssertTimestampMonotonic": "791743821", "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": "Thu 2023-12-07 08:53:08 UTC", "ConditionTimestampMonotonic": "791743820", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2023-12-07 08:54:14 UTC", "ExecMainExitTimestampMonotonic": "857127410", "ExecMainPID": "15221", "ExecMainStartTimestamp": "Thu 2023-12-07 08:53:08 UTC", "ExecMainStartTimestampMonotonic": "791744861", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:53:08 UTC] ; stop_time=[Thu 2023-12-07 08:54:14 UTC] ; pid=15221 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 08:54:14 UTC", "InactiveEnterTimestampMonotonic": "857127500", "InactiveExitTimestamp": "Thu 2023-12-07 08:53:08 UTC", "InactiveExitTimestampMonotonic": "791744924", "InvocationID": "088b0f8ab02642a19c349228e1a40597", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:54:14 UTC", "StateChangeTimestampMonotonic": "857127500", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Thursday 07 December 2023 08:54:40 +0000 (0:00:00.423) 0:04:29.866 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Thursday 07 December 2023 08:54:40 +0000 (0:00:00.046) 0:04:29.912 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run with the edited settings again - should report not changed] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:73 Thursday 07 December 2023 08:54:40 +0000 (0:00:00.099) 0:04:30.012 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 07 December 2023 08:54:40 +0000 (0:00:00.432) 0:04:30.445 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 07 December 2023 08:54:40 +0000 (0:00:00.040) 0:04:30.485 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 07 December 2023 08:54:40 +0000 (0:00:00.044) 0:04:30.530 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 07 December 2023 08:54:40 +0000 (0:00:00.070) 0:04:30.601 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 07 December 2023 08:54:41 +0000 (0:00:00.205) 0:04:30.806 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 07 December 2023 08:54:41 +0000 (0:00:00.072) 0:04:30.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 07 December 2023 08:54:41 +0000 (0:00:00.069) 0:04:30.947 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 07 December 2023 08:54:41 +0000 (0:00:00.046) 0:04:30.993 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 07 December 2023 08:54:41 +0000 (0:00:00.089) 0:04:31.083 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 07 December 2023 08:54:41 +0000 (0:00:00.032) 0:04:31.115 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Thursday 07 December 2023 08:54:41 +0000 (0:00:00.026) 0:04:31.142 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Thursday 07 December 2023 08:54:41 +0000 (0:00:00.044) 0:04:31.186 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Thursday 07 December 2023 08:54:41 +0000 (0:00:00.066) 0:04:31.253 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Thursday 07 December 2023 08:54:41 +0000 (0:00:00.060) 0:04:31.313 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Thursday 07 December 2023 08:54:41 +0000 (0:00:00.044) 0:04:31.358 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Thursday 07 December 2023 08:54:41 +0000 (0:00:00.036) 0:04:31.394 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Thursday 07 December 2023 08:54:41 +0000 (0:00:00.027) 0:04:31.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 [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Thursday 07 December 2023 08:54:43 +0000 (0:00:01.763) 0:04:33.185 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.069) 0:04:33.255 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.027) 0:04:33.283 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.077) 0:04:33.360 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Thursday 07 December 2023 08:54:43 +0000 (0:00:00.086) 0:04:33.447 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.383) 0:04:33.830 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.024) 0:04:33.855 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.024) 0:04:33.879 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.024) 0:04:33.903 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.044) 0:04:33.947 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.035) 0:04:33.983 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.045) 0:04:34.029 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.031) 0:04:34.060 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.104) 0:04:34.165 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Thursday 07 December 2023 08:54:44 +0000 (0:00:00.025) 0:04:34.190 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Thursday 07 December 2023 08:54:45 +0000 (0:00:01.210) 0:04:35.401 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Thursday 07 December 2023 08:54:45 +0000 (0:00:00.037) 0:04:35.439 ***** 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.005312", "end": "2023-12-07 08:54:45.976703", "rc": 0, "start": "2023-12-07 08:54:45.971391" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Thursday 07 December 2023 08:54:46 +0000 (0:00:00.226) 0:04:35.665 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 07 December 2023 08:54:57 +0000 (0:00:11.554) 0:04:47.220 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Thursday 07 December 2023 08:54:57 +0000 (0:00:00.028) 0:04:47.248 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Thursday 07 December 2023 08:54:57 +0000 (0:00:00.030) 0:04:47.279 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 07 December 2023 08:54:57 +0000 (0:00:00.021) 0:04:47.300 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:54:57 +0000 (0:00:00.065) 0:04:47.366 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939081.9972188, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701939081.929219, "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": 1701939081.929219, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 156, "uid": 990, "version": "2805006438", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:54:57 +0000 (0:00:00.239) 0:04:47.605 ***** 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-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Thursday 07 December 2023 08:54:58 +0000 (0:00:00.323) 0:04:47.929 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Thursday 07 December 2023 08:54:58 +0000 (0:00:00.071) 0:04:48.000 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:54:58 +0000 (0:00:00.052) 0:04:48.052 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002693", "end": "2023-12-07 08:54:58.589313", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:54:58.586620" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:54:58 +0000 (0:00:00.204) 0:04:48.257 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:54:58 +0000 (0:00:00.034) 0:04:48.291 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 07 December 2023 08:54:58 +0000 (0:00:00.033) 0:04:48.324 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939282.8544567, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701939282.8644567, "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": 1701939282.8644567, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "2997655446", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Thursday 07 December 2023 08:54:59 +0000 (0:00:01.206) 0:04:49.530 ***** ok: [sut] => { "changed": false, "gid": 990, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Thursday 07 December 2023 08:55:00 +0000 (0:00:00.227) 0:04:49.758 ***** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/mssql_data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/mssql_log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/mssql_data", "/tmp/mssql_log", "/tmp/mssql_data", "/tmp/mssql_log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Thursday 07 December 2023 08:55:00 +0000 (0:00:00.044) 0:04:49.802 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:55:00 +0000 (0:00:00.041) 0:04:49.844 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002760", "end": "2023-12-07 08:55:00.381771", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:00.379011" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:55:00 +0000 (0:00:00.203) 0:04:50.047 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:55:00 +0000 (0:00:00.100) 0:04:50.148 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Thursday 07 December 2023 08:55:00 +0000 (0:00:00.028) 0:04:50.176 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 07 December 2023 08:55:00 +0000 (0:00:00.046) 0:04:50.223 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 07 December 2023 08:55:01 +0000 (0:00:01.212) 0:04:51.435 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:40:09 UTC", "ActiveEnterTimestampMonotonic": "12582588", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket dbus.service network.target polkit.service systemd-journald.socket sysinit.target basic.target systemd-sysctl.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:40:08 UTC", "AssertTimestampMonotonic": "11680624", "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": "Thu 2023-12-07 08:40:08 UTC", "ConditionTimestampMonotonic": "11680617", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service power-profiles-daemon.service tlp.service shutdown.target auto-cpufreq.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": "697", "ExecMainStartTimestamp": "Thu 2023-12-07 08:40:08 UTC", "ExecMainStartTimestampMonotonic": "11682131", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:40:08 UTC", "InactiveExitTimestampMonotonic": "11682189", "InvocationID": "fc5c52929d83490fb4debc20ed7c95bf", "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": "697", "MemoryAccounting": "yes", "MemoryCurrent": "20774912", "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 system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:40:09 UTC", "StateChangeTimestampMonotonic": "12582588", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:40:09 UTC", "WatchdogTimestampMonotonic": "12582583", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 07 December 2023 08:55:03 +0000 (0:00:01.330) 0:04:52.765 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.113621", "end": "2023-12-07 08:55:03.405150", "rc": 0, "start": "2023-12-07 08:55:03.291529" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 07 December 2023 08:55:03 +0000 (0:00:00.302) 0:04:53.068 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 07 December 2023 08:55:03 +0000 (0:00:00.021) 0:04:53.090 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 07 December 2023 08:55:03 +0000 (0:00:00.021) 0:04:53.111 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 07 December 2023 08:55:03 +0000 (0:00:00.023) 0:04:53.135 ***** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 07 December 2023 08:55:03 +0000 (0:00:00.206) 0:04:53.341 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 07 December 2023 08:55:05 +0000 (0:00:01.302) 0:04:54.644 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:55:05 +0000 (0:00:00.046) 0:04:54.690 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:54:40 UTC", "ActiveEnterTimestampMonotonic": "883097113", "ActiveExitTimestamp": "Thu 2023-12-07 08:54:13 UTC", "ActiveExitTimestampMonotonic": "856328038", "ActiveState": "active", "After": "-.mount sysinit.target network.target system.slice basic.target auditd.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:54:40 UTC", "AssertTimestampMonotonic": "883095874", "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": "Thu 2023-12-07 08:54:40 UTC", "ConditionTimestampMonotonic": "883095872", "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": "17060", "ExecMainStartTimestamp": "Thu 2023-12-07 08:54:40 UTC", "ExecMainStartTimestampMonotonic": "883097037", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:54:40 UTC] ; stop_time=[n/a] ; pid=17060 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 08:54:14 UTC", "InactiveEnterTimestampMonotonic": "857127500", "InactiveExitTimestamp": "Thu 2023-12-07 08:54:40 UTC", "InactiveExitTimestampMonotonic": "883097113", "InvocationID": "683bf2c089fa47d5ab32397dad712acf", "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": "17060", "MemoryAccounting": "yes", "MemoryCurrent": "621907968", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:54:40 UTC", "StateChangeTimestampMonotonic": "883097113", "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": "137", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:54:40 UTC", "WatchdogTimestampMonotonic": "883097111", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:55:06 +0000 (0:00:01.320) 0:04:56.011 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002995", "end": "2023-12-07 08:55:06.567224", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:06.564229" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:55:06 +0000 (0:00:00.222) 0:04:56.234 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002943", "end": "2023-12-07 08:55:06.772474", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:06.769531" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:55:06 +0000 (0:00:00.202) 0:04:56.437 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 07 December 2023 08:55:06 +0000 (0:00:00.034) 0:04:56.471 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 990, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6904, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 07 December 2023 08:55:08 +0000 (0:00:01.203) 0:04:57.675 ***** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Thursday 07 December 2023 08:55:08 +0000 (0:00:00.220) 0:04:57.896 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:54:40 UTC", "ActiveEnterTimestampMonotonic": "883097113", "ActiveExitTimestamp": "Thu 2023-12-07 08:54:13 UTC", "ActiveExitTimestampMonotonic": "856328038", "ActiveState": "active", "After": "-.mount sysinit.target network.target system.slice basic.target auditd.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:54:40 UTC", "AssertTimestampMonotonic": "883095874", "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": "Thu 2023-12-07 08:54:40 UTC", "ConditionTimestampMonotonic": "883095872", "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": "17060", "ExecMainStartTimestamp": "Thu 2023-12-07 08:54:40 UTC", "ExecMainStartTimestampMonotonic": "883097037", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:54:40 UTC] ; stop_time=[n/a] ; pid=17060 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 08:54:14 UTC", "InactiveEnterTimestampMonotonic": "857127500", "InactiveExitTimestamp": "Thu 2023-12-07 08:54:40 UTC", "InactiveExitTimestampMonotonic": "883097113", "InvocationID": "683bf2c089fa47d5ab32397dad712acf", "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": "17060", "MemoryAccounting": "yes", "MemoryCurrent": "622977024", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:54:40 UTC", "StateChangeTimestampMonotonic": "883097113", "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": "137", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:54:40 UTC", "WatchdogTimestampMonotonic": "883097111", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Thursday 07 December 2023 08:55:09 +0000 (0:00:01.008) 0:04:58.904 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Thursday 07 December 2023 08:55:10 +0000 (0:00:01.403) 0:05:00.308 ***** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Thursday 07 December 2023 08:55:14 +0000 (0:00:03.522) 0:05:03.831 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Thursday 07 December 2023 08:55:14 +0000 (0:00:00.040) 0:05:03.871 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Thursday 07 December 2023 08:55:14 +0000 (0:00:00.040) 0:05:03.912 ***** 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.005153", "end": "2023-12-07 08:55:14.463906", "rc": 0, "start": "2023-12-07 08:55:14.458753" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Thursday 07 December 2023 08:55:14 +0000 (0:00:00.216) 0:05:04.128 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Thursday 07 December 2023 08:55:14 +0000 (0:00:00.049) 0:05:04.178 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Thursday 07 December 2023 08:55:16 +0000 (0:00:01.476) 0:05:05.654 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Thursday 07 December 2023 08:55:16 +0000 (0:00:00.201) 0:05:05.855 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:55:16 +0000 (0:00:00.048) 0:05:05.904 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002962", "end": "2023-12-07 08:55:16.489007", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:16.486045" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:55:16 +0000 (0:00:00.260) 0:05:06.164 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:55:16 +0000 (0:00:00.057) 0:05:06.222 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Thursday 07 December 2023 08:55:16 +0000 (0:00:00.043) 0:05:06.265 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Thursday 07 December 2023 08:55:16 +0000 (0:00:00.040) 0:05:06.306 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1435] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 07 December 2023 08:55:16 +0000 (0:00:00.039) 0:05:06.346 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:55:16 +0000 (0:00:00.038) 0:05:06.385 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003076", "end": "2023-12-07 08:55:16.918461", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:16.915385" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:55:16 +0000 (0:00:00.203) 0:05:06.588 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:55:17 +0000 (0:00:00.048) 0:05:06.637 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Thursday 07 December 2023 08:55:17 +0000 (0:00:00.041) 0:05:06.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Thursday 07 December 2023 08:55:17 +0000 (0:00:00.051) 0:05:06.730 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:55:17 +0000 (0:00:00.110) 0:05:06.840 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002739", "end": "2023-12-07 08:55:17.382760", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:17.380021" } STDOUT: enabled = False TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:55:17 +0000 (0:00:00.206) 0:05:07.047 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:55:17 +0000 (0:00:00.038) 0:05:07.086 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Thursday 07 December 2023 08:55:17 +0000 (0:00:00.026) 0:05:07.112 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Thursday 07 December 2023 08:55:18 +0000 (0:00:01.218) 0:05:08.331 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Thursday 07 December 2023 08:55:19 +0000 (0:00:01.222) 0:05:09.554 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002899", "end": "2023-12-07 08:55:20.129555", "failed_when_result": false, "rc": 1, "start": "2023-12-07 08:55:20.126656" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Thursday 07 December 2023 08:55:20 +0000 (0:00:00.256) 0:05:09.811 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Thursday 07 December 2023 08:55:20 +0000 (0:00:00.043) 0:05:09.854 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Thursday 07 December 2023 08:55:20 +0000 (0:00:00.034) 0:05:09.889 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:55:20 +0000 (0:00:00.051) 0:05:09.941 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002898", "end": "2023-12-07 08:55:20.477553", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:20.474655" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:55:20 +0000 (0:00:00.204) 0:05:10.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:55:20 +0000 (0:00:00.130) 0:05:10.276 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Thursday 07 December 2023 08:55:20 +0000 (0:00:00.035) 0:05:10.311 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 07 December 2023 08:55:20 +0000 (0:00:00.072) 0:05:10.384 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002850", "end": "2023-12-07 08:55:20.917957", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:20.915107" } STDOUT: writethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 07 December 2023 08:55:20 +0000 (0:00:00.201) 0:05:10.585 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 07 December 2023 08:55:20 +0000 (0:00:00.029) 0:05:10.615 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.036) 0:05:10.652 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.049) 0:05:10.701 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.043) 0:05:10.745 ***** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.034) 0:05:10.780 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.032) 0:05:10.812 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.023) 0:05:10.835 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.022) 0:05:10.858 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.022) 0:05:10.881 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.027) 0:05:10.908 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.025) 0:05:10.934 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.115) 0:05:11.049 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.038) 0:05:11.087 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.029) 0:05:11.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 : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.029) 0:05:11.146 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.037) 0:05:11.183 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.056) 0:05:11.239 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.027) 0:05:11.267 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.027) 0:05:11.295 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.032) 0:05:11.328 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.025) 0:05:11.353 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.034) 0:05:11.388 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.021) 0:05:11.410 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.033) 0:05:11.443 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.021) 0:05:11.465 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.022) 0:05:11.487 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.024) 0:05:11.512 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Thursday 07 December 2023 08:55:21 +0000 (0:00:00.027) 0:05:11.540 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.106) 0:05:11.647 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.025) 0:05:11.673 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.028) 0:05:11.701 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.032) 0:05:11.733 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.030) 0:05:11.763 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.029) 0:05:11.792 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.026) 0:05:11.819 ***** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.040) 0:05:11.860 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.025) 0:05:11.885 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.024) 0:05:11.909 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.053) 0:05:11.963 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.022) 0:05:11.986 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.032) 0:05:12.018 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.023) 0:05:12.042 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.023) 0:05:12.066 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.022) 0:05:12.089 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.051) 0:05:12.140 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.097) 0:05:12.237 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.023) 0:05:12.261 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.021) 0:05:12.283 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.027) 0:05:12.310 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.022) 0:05:12.333 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.039) 0:05:12.373 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.030) 0:05:12.403 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.026) 0:05:12.429 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.021) 0:05:12.451 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.025) 0:05:12.477 ***** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.031) 0:05:12.508 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.033) 0:05:12.541 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.039) 0:05:12.581 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 07 December 2023 08:55:22 +0000 (0:00:00.025) 0:05:12.607 ***** ok: [sut] => { "changed": false } RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 07 December 2023 08:55:23 +0000 (0:00:00.253) 0:05:12.861 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:54:40 UTC", "ActiveEnterTimestampMonotonic": "883097113", "ActiveExitTimestamp": "Thu 2023-12-07 08:55:08 UTC", "ActiveExitTimestampMonotonic": "911488934", "ActiveState": "inactive", "After": "-.mount sysinit.target network.target system.slice basic.target auditd.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:54:40 UTC", "AssertTimestampMonotonic": "883095874", "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": "Thu 2023-12-07 08:54:40 UTC", "ConditionTimestampMonotonic": "883095872", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2023-12-07 08:55:09 UTC", "ExecMainExitTimestampMonotonic": "912162848", "ExecMainPID": "17060", "ExecMainStartTimestamp": "Thu 2023-12-07 08:54:40 UTC", "ExecMainStartTimestampMonotonic": "883097037", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:54:40 UTC] ; stop_time=[Thu 2023-12-07 08:55:09 UTC] ; pid=17060 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 08:55:09 UTC", "InactiveEnterTimestampMonotonic": "912162980", "InactiveExitTimestamp": "Thu 2023-12-07 08:54:40 UTC", "InactiveExitTimestampMonotonic": "883097113", "InvocationID": "683bf2c089fa47d5ab32397dad712acf", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:55:09 UTC", "StateChangeTimestampMonotonic": "912162980", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Thursday 07 December 2023 08:55:23 +0000 (0:00:00.448) 0:05:13.309 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Thursday 07 December 2023 08:55:23 +0000 (0:00:00.029) 0:05:13.339 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:88 Thursday 07 December 2023 08:55:23 +0000 (0:00:00.026) 0:05:13.365 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:8 Thursday 07 December 2023 08:55:23 +0000 (0:00:00.239) 0:05:13.605 ***** 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.006453", "end": "2023-12-07 08:55:24.167545", "rc": 0, "start": "2023-12-07 08:55:24.161092" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:23 Thursday 07 December 2023 08:55:24 +0000 (0:00:00.244) 0:05:13.849 ***** 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.005278", "end": "2023-12-07 08:55:24.413966", "rc": 0, "start": "2023-12-07 08:55:24.408688" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:35 Thursday 07 December 2023 08:55:24 +0000 (0:00:00.233) 0:05:14.082 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:39 Thursday 07 December 2023 08:55:24 +0000 (0:00:00.035) 0:05:14.117 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:55:24 +0000 (0:00:00.070) 0:05:14.188 ***** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.006461", "end": "2023-12-07 08:55:24.790366", "rc": 0, "start": "2023-12-07 08:55:24.783905" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:55:24 +0000 (0:00:00.338) 0:05:14.527 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:55:24 +0000 (0:00:00.032) 0:05:14.560 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:55:24 +0000 (0:00:00.036) 0:05:14.597 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.053) 0:05:14.651 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004567", "end": "2023-12-07 08:55:25.273522", "rc": 0, "start": "2023-12-07 08:55:25.268955" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.298) 0:05:14.949 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.050) 0:05:15.000 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.044) 0:05:15.044 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.039) 0:05:15.084 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004337", "end": "2023-12-07 08:55:25.661470", "rc": 0, "start": "2023-12-07 08:55:25.657133" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.257) 0:05:15.341 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.046) 0:05:15.388 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.053) 0:05:15.441 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:55:25 +0000 (0:00:00.036) 0:05:15.477 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005865", "end": "2023-12-07 08:55:26.128158", "rc": 0, "start": "2023-12-07 08:55:26.122293" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:55:26 +0000 (0:00:00.332) 0:05:15.810 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:55:26 +0000 (0:00:00.053) 0:05:15.864 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:55:26 +0000 (0:00:00.045) 0:05:15.909 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:55:26 +0000 (0:00:00.113) 0:05:16.022 ***** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005350", "end": "2023-12-07 08:55:26.635420", "rc": 0, "start": "2023-12-07 08:55:26.630070" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:55:26 +0000 (0:00:00.276) 0:05:16.299 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:55:26 +0000 (0:00:00.025) 0:05:16.324 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:55:26 +0000 (0:00:00.031) 0:05:16.356 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:55 Thursday 07 December 2023 08:55:26 +0000 (0:00:00.023) 0:05:16.379 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939081.9972188, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701939081.929219, "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": 1701939081.929219, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 156, "uid": 990, "version": "2805006438", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:60 Thursday 07 December 2023 08:55:28 +0000 (0:00:01.254) 0:05:17.633 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:70 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.028) 0:05:17.662 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701939326.2625155, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701939326.2685156, "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": 1701939326.2685156, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "2997655446", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:75 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.230) 0:05:17.892 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:85 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.025) 0:05:17.918 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.039) 0:05:17.957 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:55:23 UTC", "ActiveEnterTimestampMonotonic": "926493142", "ActiveExitTimestamp": "Thu 2023-12-07 08:55:08 UTC", "ActiveExitTimestampMonotonic": "911488934", "ActiveState": "active", "After": "-.mount sysinit.target network.target system.slice basic.target auditd.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:55:23 UTC", "AssertTimestampMonotonic": "926491995", "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": "Thu 2023-12-07 08:55:23 UTC", "ConditionTimestampMonotonic": "926491994", "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": "18170", "ExecMainStartTimestamp": "Thu 2023-12-07 08:55:23 UTC", "ExecMainStartTimestampMonotonic": "926493078", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2023-12-07 08:55:23 UTC] ; stop_time=[n/a] ; pid=18170 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2023-12-07 08:55:09 UTC", "InactiveEnterTimestampMonotonic": "912162980", "InactiveExitTimestamp": "Thu 2023-12-07 08:55:23 UTC", "InactiveExitTimestampMonotonic": "926493142", "InvocationID": "f0429074f2644533a25f239d95ac07ca", "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": "18170", "MemoryAccounting": "yes", "MemoryCurrent": "622325760", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:55:23 UTC", "StateChangeTimestampMonotonic": "926493142", "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": "134", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2023-12-07 08:55:23 UTC", "WatchdogTimestampMonotonic": "926493139", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.325) 0:05:18.282 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002918", "end": "2023-12-07 08:55:28.831380", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:28.828462" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 07 December 2023 08:55:28 +0000 (0:00:00.278) 0:05:18.561 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002975", "end": "2023-12-07 08:55:29.094626", "failed_when_result": false, "rc": 0, "start": "2023-12-07 08:55:29.091651" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 07 December 2023 08:55:29 +0000 (0:00:00.201) 0:05:18.762 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:93 Thursday 07 December 2023 08:55:29 +0000 (0:00:00.057) 0:05:18.820 ***** 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-selinuxw4jatp8y/tests/tasks/verify_settings.yml:100 Thursday 07 December 2023 08:55:47 +0000 (0:00:18.249) 0:05:37.069 ***** 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.022337", "end": "2023-12-07 08:55:47.623257", "rc": 0, "start": "2023-12-07 08:55:47.600920" } 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-selinuxw4jatp8y/tests/tasks/verify_settings.yml:104 Thursday 07 December 2023 08:55:47 +0000 (0:00:00.216) 0:05:37.286 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:108 Thursday 07 December 2023 08:55:47 +0000 (0:00:00.025) 0:05:37.312 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:7 Thursday 07 December 2023 08:55:47 +0000 (0:00:00.083) 0:05:37.395 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:12 Thursday 07 December 2023 08:55:49 +0000 (0:00:01.321) 0:05:38.716 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:17 Thursday 07 December 2023 08:55:49 +0000 (0:00:00.082) 0:05:38.799 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:115 Thursday 07 December 2023 08:55:49 +0000 (0:00:00.039) 0:05:38.839 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:7 Thursday 07 December 2023 08:55:49 +0000 (0:00:00.040) 0:05:38.879 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:12 Thursday 07 December 2023 08:55:50 +0000 (0:00:01.236) 0:05:40.115 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_package.yml:17 Thursday 07 December 2023 08:55:50 +0000 (0:00:00.035) 0:05:40.151 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:126 Thursday 07 December 2023 08:55:50 +0000 (0:00:00.030) 0:05:40.181 ***** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004350", "end": "2023-12-07 08:55:50.717214", "rc": 0, "start": "2023-12-07 08:55:50.712864" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:131 Thursday 07 December 2023 08:55:50 +0000 (0:00:00.198) 0:05:40.380 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:136 Thursday 07 December 2023 08:55:50 +0000 (0:00:00.031) 0:05:40.412 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:142 Thursday 07 December 2023 08:55:50 +0000 (0:00:00.109) 0:05:40.522 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:55:50 +0000 (0:00:00.041) 0:05:40.564 ***** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004175", "end": "2023-12-07 08:55:51.100187", "rc": 0, "start": "2023-12-07 08:55:51.096012" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.200) 0:05:40.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.023) 0:05:40.787 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.031) 0:05:40.819 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:148 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.023) 0:05:40.843 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:7 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.041) 0:05:40.885 ***** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004311", "end": "2023-12-07 08:55:51.432559", "rc": 0, "start": "2023-12-07 08:55:51.428248" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:14 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.217) 0:05:41.102 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:25 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.028) 0:05:41.130 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/mssql_conf_verify.yml:40 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.041) 0:05:41.172 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:158 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.028) 0:05:41.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:169 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.021) 0:05:41.222 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:181 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.021) 0:05:41.244 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:189 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.104) 0:05:41.348 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:199 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.021) 0:05:41.370 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:204 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.023) 0:05:41.394 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:212 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.023) 0:05:41.417 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/tests_idempotency.yml:105 Thursday 07 December 2023 08:55:51 +0000 (0:00:00.020) 0:05:41.438 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/check_header.yml:4 Thursday 07 December 2023 08:55:52 +0000 (0:00:00.268) 0:05:41.707 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002719", "end": "2023-12-07 08:55:52.313766", "rc": 0, "start": "2023-12-07 08:55:52.311047" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = False [EULA] accepteula = Y [filelocation] defaultdatadir = /var/opt/mssql/data defaultlogdir = /var/opt/mssql/log [network] ipaddress = 127.0.0.1 tcpport = 1435 [traceflag] [control] alternatewritethrough = 0 writethrough = 0 TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tests_idempotency_2017.yml:17 Thursday 07 December 2023 08:55:52 +0000 (0:00:00.272) 0:05:41.980 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:2 Thursday 07 December 2023 08:55:52 +0000 (0:00:00.043) 0:05:42.023 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:6 Thursday 07 December 2023 08:55:53 +0000 (0:00:01.496) 0:05:43.520 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:14 Thursday 07 December 2023 08:55:53 +0000 (0:00:00.053) 0:05:43.574 ***** ok: [sut] => { "ansible_python_version": "3.6.8" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:18 Thursday 07 December 2023 08:55:53 +0000 (0:00:00.030) 0:05:43.604 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 07 December 2023 08:55:54 +0000 (0:00:00.104) 0:05:43.709 ***** included: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 07 December 2023 08:55:54 +0000 (0:00:00.054) 0:05:43.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Thursday 07 December 2023 08:55:54 +0000 (0:00:00.053) 0:05:43.818 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Thursday 07 December 2023 08:55:54 +0000 (0:00:00.215) 0:05:44.034 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Thursday 07 December 2023 08:55:54 +0000 (0:00:00.038) 0:05:44.072 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 07 December 2023 08:55:55 +0000 (0:00:01.218) 0:05:45.290 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 07 December 2023 08:55:55 +0000 (0:00:00.032) 0:05:45.323 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Thursday 07 December 2023 08:55:55 +0000 (0:00:00.033) 0:05:45.357 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:49:43 UTC", "ActiveEnterTimestampMonotonic": "586061545", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.service dbus.socket sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:49:42 UTC", "AssertTimestampMonotonic": "585484091", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:49:42 UTC", "ConditionTimestampMonotonic": "585484089", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service ipset.service shutdown.target iptables.service ebtables.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10529", "ExecMainStartTimestamp": "Thu 2023-12-07 08:49:42 UTC", "ExecMainStartTimestampMonotonic": "585552673", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:49:42 UTC", "InactiveExitTimestampMonotonic": "585552746", "InvocationID": "02f44407c22f4c689718cd6fe44fee54", "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": "10529", "MemoryAccounting": "yes", "MemoryCurrent": "43687936", "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": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:49:43 UTC", "StateChangeTimestampMonotonic": "586061545", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2023-12-07 08:49:43 UTC", "WatchdogTimestampMonotonic": "586061542", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Thursday 07 December 2023 08:55:57 +0000 (0:00:01.384) 0:05:46.741 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-12-07 08:49:43 UTC", "ActiveEnterTimestampMonotonic": "586061545", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.service dbus.socket sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-07 08:49:42 UTC", "AssertTimestampMonotonic": "585484091", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-12-07 08:49:42 UTC", "ConditionTimestampMonotonic": "585484089", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service ipset.service shutdown.target iptables.service ebtables.service nftables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10529", "ExecMainStartTimestamp": "Thu 2023-12-07 08:49:42 UTC", "ExecMainStartTimestampMonotonic": "585552673", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-12-07 08:49:42 UTC", "InactiveExitTimestampMonotonic": "585552746", "InvocationID": "02f44407c22f4c689718cd6fe44fee54", "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": "10529", "MemoryAccounting": "yes", "MemoryCurrent": "43687936", "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": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-07 08:49:43 UTC", "StateChangeTimestampMonotonic": "586061545", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2023-12-07 08:49:43 UTC", "WatchdogTimestampMonotonic": "586061542", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Thursday 07 December 2023 08:55:58 +0000 (0:00:01.404) 0:05:48.146 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python3", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Thursday 07 December 2023 08:55:58 +0000 (0:00:00.065) 0:05:48.212 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.42.161 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.592) 0:05:48.805 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.046) 0:05:48.851 ***** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.069) 0:05:48.921 ***** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.022) 0:05:48.944 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.138) 0:05:49.082 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.046) 0:05:49.129 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Thursday 07 December 2023 08:55:59 +0000 (0:00:00.047) 0:05:49.176 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.42.161 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.539) 0:05:49.716 ***** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.080) 0:05:49.796 ***** skipping: [sut] => {} TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:27 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.073) 0:05:49.870 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:35 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.039) 0:05:49.909 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:39 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.080) 0:05:49.989 ***** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:45 Thursday 07 December 2023 08:56:00 +0000 (0:00:00.486) 0:05:50.476 ***** 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-selinuxw4jatp8y/tests/tasks/cleanup.yml:58 Thursday 07 December 2023 08:56:04 +0000 (0:00:04.034) 0:05:54.511 ***** changed: [sut] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.011251", "end": "2023-12-07 08:56:05.110955", "rc": 0, "start": "2023-12-07 08:56:05.099704" } 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/2b5b646e-694e-4205-bba7-d50cc95f79a5' 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-3480397198-2765307293-2163295036-500/42e7704ae40b0d75de00736cc66b813a_c3970791-53d6-4fc7-963a-7b08dc8c23a6' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-3480397198-2765307293-2163295036-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-3480397198-2765307293-2163295036-500/83344fd1-9fdd-484c-a05b-f82ccc69a19a' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3480397198-2765307293-2163295036-500/Preferred' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3480397198-2765307293-2163295036-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_133464126808690000.xel' removed '/var/opt/mssql/log/system_health_0_133464126814420000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464126849900000.xel' removed '/var/opt/mssql/log/system_health_0_133464126853340000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464127367130000.xel' removed '/var/opt/mssql/log/system_health_0_133464127370560000.xel' removed '/var/opt/mssql/log/FDLAUNCHERRORLOG' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464127771410000.xel' removed '/var/opt/mssql/log/system_health_0_133464127773770000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464127913270000.xel' removed '/var/opt/mssql/log/system_health_0_133464127915870000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464128580640000.xel' removed '/var/opt/mssql/log/system_health_0_133464128583030000.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_133464128659950000.xel' removed '/var/opt/mssql/log/system_health_0_133464128662140000.xel' removed '/var/opt/mssql/log/log_6.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464128825690000.xel' removed '/var/opt/mssql/log/system_health_0_133464128828440000.xel' removed '/var/opt/mssql/log/log_7.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133464129131670000.xel' removed '/var/opt/mssql/log/system_health_0_133464129134280000.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_133464129259660000.xel' removed '/var/opt/mssql/log/system_health_0_133464129262510000.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' removed directory '/tmp/mssql_data' removed directory '/tmp/mssql_log' TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:72 Thursday 07 December 2023 08:56:05 +0000 (0:00:00.273) 0:05:54.784 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.010441", "end": "2023-12-07 08:56:05.348357", "rc": 0, "start": "2023-12-07 08:56:05.337916" } STDERR: Failed to stop mssql-server.service: Unit mssql-server.service not loaded. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=347 changed=44 unreachable=0 failed=0 skipped=498 rescued=0 ignored=3 Thursday 07 December 2023 08:56:05 +0000 (0:00:00.236) 0:05:55.021 ***** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 41.46s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 linux-system-roles.mssql : Ensure the package mssql-server-fts --------- 25.27s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 linux-system-roles.mssql : Gather system services facts ---------------- 21.72s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Gather system services facts ---------------- 20.58s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Gather system services facts ---------------- 19.57s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wait for mssql-server to prepare for client connections ---------------- 18.30s /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.25s /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/verify_settings.yml:93 ------- linux-system-roles.mssql : Gather system services facts ---------------- 11.55s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Ensure the package powershell ---------------- 8.12s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 linux-system-roles.mssql : Change the password of sa user --------------- 5.13s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 linux-system-roles.mssql : Change the edition of MSSQL ------------------ 5.04s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 linux-system-roles.mssql : Change the password of sa user --------------- 4.97s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 linux-system-roles.mssql : Set up MSSQL --------------------------------- 4.96s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Remove related packages ------------------------------------------------- 4.03s /WORKDIR/git-storage-selinuxw4jatp8y/tests/tasks/cleanup.yml:45 --------------- linux-system-roles.mssql : Change the password of sa user --------------- 3.52s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 2.24s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 linux-system-roles.mssql : Ensure that the mssql-server service is stopped --- 2.15s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 linux-system-roles.mssql : Restart the mssql-server service ------------- 1.98s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 linux-system-roles.mssql : Ensure the package powershell ---------------- 1.77s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 linux-system-roles.mssql : Gather package facts ------------------------- 1.76s /WORKDIR/git-storage-selinuxw4jatp8y/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---