# 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_2019.yml ******************************************* 1 plays in /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_idempotency_2019.yml PLAY [Ensure that the role is idempotent] ************************************** META: ran handlers TASK [Run tests_idempotency with SQL Server 2019] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_idempotency_2019.yml:14 Wednesday 06 December 2023 13:42:02 +0000 (0:00:00.022) 0:00:00.022 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml for sut TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:2 Wednesday 06 December 2023 13:42:02 +0000 (0:00:00.011) 0:00:00.033 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Wednesday 06 December 2023 13:42:02 +0000 (0:00:00.020) 0:00:00.054 **** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.467) 0:00:00.521 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.020) 0:00:00.542 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run on a fresh host and set all parameters] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:5 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.014) 0:00:00.556 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.183) 0:00:00.740 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.040) 0:00:00.781 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.026) 0:00:00.807 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.065) 0:00:00.873 **** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.021) 0:00:00.895 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.030) 0:00:00.925 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.009) 0:00:00.935 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.007) 0:00:00.942 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.009) 0:00:00.951 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.011) 0:00:00.963 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.017) 0:00:00.981 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.012) 0:00:00.994 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.013) 0:00:01.007 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.008) 0:00:01.015 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.011) 0:00:01.027 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.008) 0:00:01.035 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:42:03 +0000 (0:00:00.010) 0:00:01.046 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:42:05 +0000 (0:00:01.370) 0:00:02.416 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:42:05 +0000 (0:00:00.036) 0:00:02.452 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:42:05 +0000 (0:00:00.019) 0:00:02.472 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:42:05 +0000 (0:00:00.021) 0:00:02.494 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Wednesday 06 December 2023 13:42:05 +0000 (0:00:00.031) 0:00:02.525 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Wednesday 06 December 2023 13:42:06 +0000 (0:00:01.461) 0:00:03.987 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Wednesday 06 December 2023 13:42:06 +0000 (0:00:00.021) 0:00:04.008 **** 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 2019] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Wednesday 06 December 2023 13:42:06 +0000 (0:00:00.029) 0:00:04.038 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Wednesday 06 December 2023 13:42:06 +0000 (0:00:00.023) 0:00:04.061 **** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:42:07 +0000 (0:00:00.299) 0:00:04.360 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Wednesday 06 December 2023 13:42:07 +0000 (0:00:00.031) 0:00:04.392 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Wednesday 06 December 2023 13:42:07 +0000 (0:00:00.030) 0:00:04.422 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 06 December 2023 13:42:07 +0000 (0:00:00.031) 0:00:04.453 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Wednesday 06 December 2023 13:42:07 +0000 (0:00:00.019) 0:00:04.473 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:42:07 +0000 (0:00:00.019) 0:00:04.492 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: libipt-1.6.1-8.el8.x86_64", "Installed: mssql-server-15.0.4335.1-6.x86_64", "Installed: guile-5:2.0.14-7.el8.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: gc-7.6.4-3.el8.x86_64", "Installed: gdb-8.2-20.el8.x86_64", "Installed: libatomic-8.5.0-20.el8.x86_64", "Installed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Installed: gcc-gdb-plugin-8.5.0-20.el8.x86_64", "Installed: gdb-headless-8.2-20.el8.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: libtool-ltdl-2.4.6-25.el8.x86_64", "Installed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Installed: libbabeltrace-1.5.4-4.el8.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:42:42 +0000 (0:00:35.139) 0:00:39.632 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Wednesday 06 December 2023 13:42:42 +0000 (0:00:00.019) 0:00:39.652 **** 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.006052", "end": "2023-12-06 13:42:42.695157", "rc": 0, "start": "2023-12-06 13:42:42.689105" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 06 December 2023 13:42:42 +0000 (0:00:00.269) 0:00:39.921 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Wednesday 06 December 2023 13:42:51 +0000 (0:00:08.693) 0:00:48.614 **** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Wednesday 06 December 2023 13:42:51 +0000 (0:00:00.045) 0:00:48.660 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Wednesday 06 December 2023 13:42:51 +0000 (0:00:00.023) 0:00:48.683 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Wednesday 06 December 2023 13:42:57 +0000 (0:00:05.689) 0:00:54.373 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /tmp/data] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:42:57 +0000 (0:00:00.045) 0:00:54.419 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:42:57 +0000 (0:00:00.315) 0:00:54.734 **** changed: [sut] => { "changed": true, "gid": 988, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:42:57 +0000 (0:00:00.285) 0:00:55.020 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" } ], "selinux_restore_dirs": [ "/tmp/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:42:57 +0000 (0:00:00.034) 0:00:55.055 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:42:57 +0000 (0:00:00.056) 0:00:55.111 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003653", "end": "2023-12-06 13:42:58.109980", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:42:58.106327" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:42:58 +0000 (0:00:00.228) 0:00:55.340 **** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/tmp/data" ], "delta": "0:00:00.127228", "end": "2023-12-06 13:42:58.523424", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:42:58.396196" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:42:58 +0000 (0:00:00.439) 0:00:55.779 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /tmp/log] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:42:58 +0000 (0:00:00.032) 0:00:55.812 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:42:58 +0000 (0:00:00.268) 0:00:56.081 **** changed: [sut] => { "changed": true, "gid": 988, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:42:59 +0000 (0:00:00.254) 0:00:56.336 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:42:59 +0000 (0:00:00.024) 0:00:56.360 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:42:59 +0000 (0:00:00.034) 0:00:56.395 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003612", "end": "2023-12-06 13:42:59.444652", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:42:59.441040" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:42:59 +0000 (0:00:00.279) 0:00:56.674 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/log" ], "delta": "0:00:00.126782", "end": "2023-12-06 13:42:59.793540", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:42:59.666758" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:42:59 +0000 (0:00:00.353) 0:00:57.027 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Wednesday 06 December 2023 13:42:59 +0000 (0:00:00.023) 0:00:57.051 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Wednesday 06 December 2023 13:42:59 +0000 (0:00:00.023) 0:00:57.075 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Wednesday 06 December 2023 13:43:01 +0000 (0:00:01.671) 0:00:58.747 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:29:45 UTC", "ActiveEnterTimestampMonotonic": "13686444", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice systemd-journald.socket systemd-sysctl.service dbus.socket network.target basic.target dbus.service polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:29:44 UTC", "AssertTimestampMonotonic": "12770140", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:29:44 UTC", "ConditionTimestampMonotonic": "12770138", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service power-profiles-daemon.service shutdown.target auto-cpufreq.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "700", "ExecMainStartTimestamp": "Wed 2023-12-06 13:29:44 UTC", "ExecMainStartTimestampMonotonic": "12771484", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:29:44 UTC", "InactiveExitTimestampMonotonic": "12771541", "InvocationID": "eb1c6a6affd14abab16febbbce76eab2", "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": "700", "MemoryAccounting": "yes", "MemoryCurrent": "20832256", "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.service dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:29:45 UTC", "StateChangeTimestampMonotonic": "13686444", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:29:45 UTC", "WatchdogTimestampMonotonic": "13686441", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Wednesday 06 December 2023 13:43:02 +0000 (0:00:00.539) 0:00:59.286 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.119766", "end": "2023-12-06 13:43:02.375578", "rc": 0, "start": "2023-12-06 13:43:02.255812" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Wednesday 06 December 2023 13:43:02 +0000 (0:00:00.317) 0:00:59.604 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 06 December 2023 13:43:02 +0000 (0:00:00.020) 0:00:59.625 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Wednesday 06 December 2023 13:43:02 +0000 (0:00:00.018) 0:00:59.643 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Wednesday 06 December 2023 13:43:02 +0000 (0:00:00.019) 0:00:59.663 **** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 06 December 2023 13:43:02 +0000 (0:00:00.207) 0:00:59.870 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: msodbcsql17-17.10.5.1-1.x86_64", "Installed: unixODBC-devel-2.3.11-1.rh.x86_64", "Installed: unixODBC-2.3.11-1.rh.x86_64", "Installed: mssql-tools-17.10.1.1-1.x86_64" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 06 December 2023 13:43:05 +0000 (0:00:02.370) 0:01:02.240 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.020) 0:01:02.261 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.019) 0:01:02.280 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.018) 0:01:02.299 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.019) 0:01:02.319 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.019) 0:01:02.339 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.022) 0:01:02.361 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.021) 0:01:02.383 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.021) 0:01:02.404 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.021) 0:01:02.426 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.021) 0:01:02.447 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.020) 0:01:02.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 : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.020) 0:01:02.489 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.035) 0:01:02.524 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003326", "end": "2023-12-06 13:43:05.508996", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:43:05.505670" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.212) 0:01:02.737 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.119438", "end": "2023-12-06 13:43:05.833312", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:05.713874" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.352) 0:01:03.090 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.021) 0:01:03.111 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.020) 0:01:03.132 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.020) 0:01:03.152 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:05 +0000 (0:00:00.035) 0:01:03.187 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002847", "end": "2023-12-06 13:43:06.162419", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:43:06.159572" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:06 +0000 (0:00:00.202) 0:01:03.390 **** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.118073", "end": "2023-12-06 13:43:06.477793", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:06.359720" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:06 +0000 (0:00:00.319) 0:01:03.710 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 06 December 2023 13:43:06 +0000 (0:00:00.019) 0:01:03.729 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Wednesday 06 December 2023 13:43:06 +0000 (0:00:00.018) 0:01:03.748 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:06 +0000 (0:00:00.038) 0:01:03.787 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002867", "end": "2023-12-06 13:43:06.758453", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:06.755586" } STDOUT: enabled = false TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:06 +0000 (0:00:00.200) 0:01:03.987 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.118993", "end": "2023-12-06 13:43:07.077618", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:06.958625" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:07 +0000 (0:00:00.322) 0:01:04.310 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wednesday 06 December 2023 13:43:07 +0000 (0:00:00.053) 0:01:04.363 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-fts-15.0.4335.1-6.x86_64" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 06 December 2023 13:43:34 +0000 (0:00:27.094) 0:01:31.458 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: powershell-7.4.0-1.rh.x86_64", "Installed: libicu-60.3-2.el8_1.x86_64" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Wednesday 06 December 2023 13:43:42 +0000 (0:00:08.409) 0:01:39.867 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003000", "end": "2023-12-06 13:43:42.836043", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:43:42.833043" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 06 December 2023 13:43:42 +0000 (0:00:00.195) 0:01:40.063 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.113651", "end": "2023-12-06 13:43:43.144373", "rc": 0, "start": "2023-12-06 13:43:43.030722" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 06 December 2023 13:43:43 +0000 (0:00:00.309) 0:01:40.372 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Wednesday 06 December 2023 13:43:43 +0000 (0:00:00.026) 0:01:40.399 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:43 +0000 (0:00:00.061) 0:01:40.460 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002749", "end": "2023-12-06 13:43:43.430073", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:43:43.427324" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:43 +0000 (0:00:00.198) 0:01:40.659 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.114896", "end": "2023-12-06 13:43:43.744663", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:43.629767" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:43 +0000 (0:00:00.318) 0:01:40.977 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:43:43 +0000 (0:00:00.024) 0:01:41.002 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:43:43 +0000 (0:00:00.038) 0:01:41.040 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002934", "end": "2023-12-06 13:43:44.017985", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:43:44.015051" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.207) 0:01:41.247 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.121889", "end": "2023-12-06 13:43:44.351698", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:43:44.229809" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.336) 0:01:41.584 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.022) 0:01:41.606 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.021) 0:01:41.628 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.021) 0:01:41.649 **** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.025) 0:01:41.675 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.025) 0:01:41.700 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.020) 0:01:41.721 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.050) 0:01:41.772 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.021) 0:01:41.793 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.021) 0:01:41.814 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.020) 0:01:41.835 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.020) 0:01:41.855 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.023) 0:01:41.879 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.022) 0:01:41.902 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.023) 0:01:41.925 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.022) 0:01:41.947 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.022) 0:01:41.970 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.022) 0:01:41.992 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.020) 0:01:42.013 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.020) 0:01:42.033 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.025) 0:01:42.058 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.021) 0:01:42.080 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.021) 0:01:42.102 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.021) 0:01:42.123 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.020) 0:01:42.144 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Wednesday 06 December 2023 13:43:44 +0000 (0:00:00.049) 0:01:42.193 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.020) 0:01:42.214 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.020) 0:01:42.234 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.023) 0:01:42.257 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.021) 0:01:42.279 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.024) 0:01:42.303 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.024) 0:01:42.327 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.027) 0:01:42.354 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.021) 0:01:42.376 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.021) 0:01:42.398 **** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.028) 0:01:42.426 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.022) 0:01:42.449 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.023) 0:01:42.472 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.034) 0:01:42.507 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.026) 0:01:42.534 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.021) 0:01:42.555 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.023) 0:01:42.579 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.029) 0:01:42.608 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.049) 0:01:42.658 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.023) 0:01:42.682 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.022) 0:01:42.704 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.019) 0:01:42.724 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.021) 0:01:42.746 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.021) 0:01:42.767 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.019) 0:01:42.786 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.025) 0:01:42.812 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.018) 0:01:42.831 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.019) 0:01:42.850 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.019) 0:01:42.870 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.019) 0:01:42.890 **** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.023) 0:01:42.914 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.018) 0:01:42.932 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.020) 0:01:42.953 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Wednesday 06 December 2023 13:43:45 +0000 (0:00:00.020) 0:01:42.973 **** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 06 December 2023 13:43:46 +0000 (0:00:00.297) 0:01:43.271 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:42:56 UTC", "ActiveEnterTimestampMonotonic": "805502481", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.mount systemd-journald.socket basic.target system.slice sysinit.target auditd.service network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:42:56 UTC", "AssertTimestampMonotonic": "805501108", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:42:56 UTC", "ConditionTimestampMonotonic": "805501106", "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": "17521", "ExecMainStartTimestamp": "Wed 2023-12-06 13:42:56 UTC", "ExecMainStartTimestampMonotonic": "805502286", "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": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:42:56 UTC", "InactiveExitTimestampMonotonic": "805502481", "InvocationID": "9e9cec3d6b7649d2b86442265b8b8096", "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": "17521", "MemoryAccounting": "yes", "MemoryCurrent": "691974144", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:42:56 UTC", "StateChangeTimestampMonotonic": "805502481", "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": "151", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:42:56 UTC", "WatchdogTimestampMonotonic": "805502478", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Wednesday 06 December 2023 13:43:47 +0000 (0:00:01.472) 0:01:44.744 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Wednesday 06 December 2023 13:43:47 +0000 (0:00:00.019) 0:01:44.763 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:22 Wednesday 06 December 2023 13:43:47 +0000 (0:00:00.021) 0:01:44.785 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 06 December 2023 13:43:47 +0000 (0:00:00.065) 0:01:44.851 **** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 06 December 2023 13:43:47 +0000 (0:00:00.291) 0:01:45.142 **** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 06 December 2023 13:43:48 +0000 (0:00:00.226) 0:01:45.369 **** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:25 Wednesday 06 December 2023 13:43:48 +0000 (0:00:00.535) 0:01:45.904 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:43:48 +0000 (0:00:00.175) 0:01:46.079 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:43:48 +0000 (0:00:00.036) 0:01:46.116 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:43:48 +0000 (0:00:00.029) 0:01:46.145 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:43:48 +0000 (0:00:00.039) 0:01:46.184 **** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:43:49 +0000 (0:00:00.019) 0:01:46.204 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:43:49 +0000 (0:00:00.020) 0:01:46.225 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:43:49 +0000 (0:00:00.021) 0:01:46.246 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:43:49 +0000 (0:00:00.026) 0:01:46.272 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:43:49 +0000 (0:00:00.025) 0:01:46.297 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:43:49 +0000 (0:00:00.053) 0:01:46.351 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:43:49 +0000 (0:00:00.021) 0:01:46.372 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:43:49 +0000 (0:00:00.024) 0:01:46.396 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:43:49 +0000 (0:00:00.021) 0:01:46.417 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:43:49 +0000 (0:00:00.021) 0:01:46.439 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:43:49 +0000 (0:00:00.021) 0:01:46.460 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:43:49 +0000 (0:00:00.020) 0:01:46.481 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:43:49 +0000 (0:00:00.021) 0:01:46.503 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:43:50 +0000 (0:00:01.671) 0:01:48.174 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:43:51 +0000 (0:00:00.088) 0:01:48.262 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:43:51 +0000 (0:00:00.021) 0:01:48.284 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:43:51 +0000 (0:00:00.022) 0:01:48.306 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Wednesday 06 December 2023 13:43:51 +0000 (0:00:00.039) 0:01:48.345 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Wednesday 06 December 2023 13:43:52 +0000 (0:00:01.387) 0:01:49.733 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.026) 0:01:49.760 **** 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 2019] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.033) 0:01:49.793 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.040) 0:01:49.834 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.027) 0:01:49.861 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.021) 0:01:49.882 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.019) 0:01:49.902 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.051) 0:01:49.954 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.023) 0:01:49.977 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:43:52 +0000 (0:00:00.027) 0:01:50.005 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:43:54 +0000 (0:00:01.328) 0:01:51.333 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Wednesday 06 December 2023 13:43:54 +0000 (0:00:00.028) 0:01:51.362 **** 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.005439", "end": "2023-12-06 13:43:54.339056", "rc": 0, "start": "2023-12-06 13:43:54.333617" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 06 December 2023 13:43:54 +0000 (0:00:00.217) 0:01:51.579 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Wednesday 06 December 2023 13:44:03 +0000 (0:00:08.621) 0:02:00.200 **** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Wednesday 06 December 2023 13:44:03 +0000 (0:00:00.056) 0:02:00.256 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Wednesday 06 December 2023 13:44:03 +0000 (0:00:00.021) 0:02:00.278 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Wednesday 06 December 2023 13:44:03 +0000 (0:00:00.019) 0:02:00.298 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /tmp/data] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:44:03 +0000 (0:00:00.045) 0:02:00.343 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870177.7879918, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701870177.7889917, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 988, "gr_name": "mssql", "inode": 385876229, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701870177.7879918, "nlink": 2, "path": "/tmp/data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "2376066527", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:44:03 +0000 (0:00:00.202) 0:02:00.545 **** ok: [sut] => { "changed": false, "gid": 988, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:44:03 +0000 (0:00:00.204) 0:02:00.750 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:44:03 +0000 (0:00:00.027) 0:02:00.778 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:03 +0000 (0:00:00.036) 0:02:00.815 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003068", "end": "2023-12-06 13:44:03.786837", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:03.783769" } STDOUT: defaultdatadir = /tmp/data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:03 +0000 (0:00:00.201) 0:02:01.016 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:03 +0000 (0:00:00.027) 0:02:01.044 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /tmp/log] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:44:03 +0000 (0:00:00.022) 0:02:01.066 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870179.103953, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701870179.1049528, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 988, "gr_name": "mssql", "inode": 427819777, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701870179.103953, "nlink": 2, "path": "/tmp/log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "2669278587", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /tmp/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:44:04 +0000 (0:00:00.199) 0:02:01.266 **** ok: [sut] => { "changed": false, "gid": 988, "group": "mssql", "mode": "0700", "owner": "mssql", "path": "/tmp/log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:44:04 +0000 (0:00:00.214) 0:02:01.480 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:44:04 +0000 (0:00:00.027) 0:02:01.507 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:04 +0000 (0:00:00.035) 0:02:01.543 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003154", "end": "2023-12-06 13:44:04.522185", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:04.519031" } STDOUT: defaultlogdir = /tmp/log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:04 +0000 (0:00:00.209) 0:02:01.753 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:04 +0000 (0:00:00.027) 0:02:01.780 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Wednesday 06 December 2023 13:44:04 +0000 (0:00:00.023) 0:02:01.804 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Wednesday 06 December 2023 13:44:04 +0000 (0:00:00.022) 0:02:01.826 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Wednesday 06 December 2023 13:44:05 +0000 (0:00:01.244) 0:02:03.070 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:29:45 UTC", "ActiveEnterTimestampMonotonic": "13686444", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket polkit.service network.target dbus.socket system.slice sysinit.target systemd-sysctl.service basic.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:29:44 UTC", "AssertTimestampMonotonic": "12770140", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:29:44 UTC", "ConditionTimestampMonotonic": "12770138", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target auto-cpufreq.service power-profiles-daemon.service cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "700", "ExecMainStartTimestamp": "Wed 2023-12-06 13:29:44 UTC", "ExecMainStartTimestampMonotonic": "12771484", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:29:44 UTC", "InactiveExitTimestampMonotonic": "12771541", "InvocationID": "eb1c6a6affd14abab16febbbce76eab2", "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": "700", "MemoryAccounting": "yes", "MemoryCurrent": "20635648", "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 system.slice sysinit.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:29:45 UTC", "StateChangeTimestampMonotonic": "13686444", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:29:45 UTC", "WatchdogTimestampMonotonic": "13686441", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Wednesday 06 December 2023 13:44:06 +0000 (0:00:00.357) 0:02:03.427 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.118028", "end": "2023-12-06 13:44:06.517001", "rc": 0, "start": "2023-12-06 13:44:06.398973" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Wednesday 06 December 2023 13:44:06 +0000 (0:00:00.318) 0:02:03.746 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 06 December 2023 13:44:06 +0000 (0:00:00.020) 0:02:03.767 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Wednesday 06 December 2023 13:44:06 +0000 (0:00:00.021) 0:02:03.788 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Wednesday 06 December 2023 13:44:06 +0000 (0:00:00.019) 0:02:03.808 **** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 06 December 2023 13:44:06 +0000 (0:00:00.203) 0:02:04.011 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 06 December 2023 13:44:08 +0000 (0:00:01.212) 0:02:05.223 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:44:08 +0000 (0:00:00.039) 0:02:05.262 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:43:47 UTC", "ActiveEnterTimestampMonotonic": "856035065", "ActiveExitTimestamp": "Wed 2023-12-06 13:43:46 UTC", "ActiveExitTimestampMonotonic": "854916814", "ActiveState": "active", "After": "network.target auditd.service systemd-journald.socket system.slice basic.target sysinit.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:43:47 UTC", "AssertTimestampMonotonic": "856033819", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:43:47 UTC", "ConditionTimestampMonotonic": "856033817", "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": "18713", "ExecMainStartTimestamp": "Wed 2023-12-06 13:43:47 UTC", "ExecMainStartTimestampMonotonic": "856034972", "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": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:43:47 UTC", "InactiveEnterTimestampMonotonic": "856032819", "InactiveExitTimestamp": "Wed 2023-12-06 13:43:47 UTC", "InactiveExitTimestampMonotonic": "856035065", "InvocationID": "b736570cb9ec464b9abd9b5820f3cf2a", "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": "18713", "MemoryAccounting": "yes", "MemoryCurrent": "834060288", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:43:47 UTC", "StateChangeTimestampMonotonic": "856035065", "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": "168", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:43:47 UTC", "WatchdogTimestampMonotonic": "856035063", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:44:08 +0000 (0:00:00.349) 0:02:05.612 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002996", "end": "2023-12-06 13:44:08.587551", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:44:08.584555" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:44:08 +0000 (0:00:00.202) 0:02:05.814 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002774", "end": "2023-12-06 13:44:08.786913", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:08.784139" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:44:08 +0000 (0:00:00.200) 0:02:06.015 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Wednesday 06 December 2023 13:44:08 +0000 (0:00:00.029) 0:02:06.044 **** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 988, "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": 10866, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 06 December 2023 13:44:10 +0000 (0:00:01.251) 0:02:07.295 **** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Wednesday 06 December 2023 13:44:10 +0000 (0:00:00.236) 0:02:07.531 **** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:43:47 UTC", "ActiveEnterTimestampMonotonic": "856035065", "ActiveExitTimestamp": "Wed 2023-12-06 13:43:46 UTC", "ActiveExitTimestampMonotonic": "854916814", "ActiveState": "active", "After": "network.target auditd.service systemd-journald.socket system.slice basic.target sysinit.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:43:47 UTC", "AssertTimestampMonotonic": "856033819", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:43:47 UTC", "ConditionTimestampMonotonic": "856033817", "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": "18713", "ExecMainStartTimestamp": "Wed 2023-12-06 13:43:47 UTC", "ExecMainStartTimestampMonotonic": "856034972", "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": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:43:47 UTC", "InactiveEnterTimestampMonotonic": "856032819", "InactiveExitTimestamp": "Wed 2023-12-06 13:43:47 UTC", "InactiveExitTimestampMonotonic": "856035065", "InvocationID": "b736570cb9ec464b9abd9b5820f3cf2a", "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": "18713", "MemoryAccounting": "yes", "MemoryCurrent": "764428288", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:43:47 UTC", "StateChangeTimestampMonotonic": "856035065", "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": "161", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:43:47 UTC", "WatchdogTimestampMonotonic": "856035063", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:44:10 +0000 (0:00:00.582) 0:02:08.114 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Wednesday 06 December 2023 13:44:12 +0000 (0:00:01.367) 0:02:09.481 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Wednesday 06 December 2023 13:44:19 +0000 (0:00:06.759) 0:02:16.241 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.020) 0:02:16.261 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.022) 0:02:16.283 **** 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.005094", "end": "2023-12-06 13:44:19.255848", "rc": 0, "start": "2023-12-06 13:44:19.250754" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.202) 0:02:16.486 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Wednesday 06 December 2023 13:44:19 +0000 (0:00:00.028) 0:02:16.514 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 06 December 2023 13:44:20 +0000 (0:00:01.284) 0:02:17.799 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Wednesday 06 December 2023 13:44:20 +0000 (0:00:00.025) 0:02:17.824 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:20 +0000 (0:00:00.040) 0:02:17.865 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002966", "end": "2023-12-06 13:44:20.845330", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:20.842364" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:20 +0000 (0:00:00.208) 0:02:18.074 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:20 +0000 (0:00:00.026) 0:02:18.100 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Wednesday 06 December 2023 13:44:20 +0000 (0:00:00.022) 0:02:18.122 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:44:20 +0000 (0:00:00.022) 0:02:18.145 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Wednesday 06 December 2023 13:44:20 +0000 (0:00:00.023) 0:02:18.168 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:21 +0000 (0:00:00.039) 0:02:18.207 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002912", "end": "2023-12-06 13:44:21.183508", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:44:21.180596" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:21 +0000 (0:00:00.202) 0:02:18.410 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.114737", "end": "2023-12-06 13:44:21.496358", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:21.381621" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:21 +0000 (0:00:00.318) 0:02:18.729 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 06 December 2023 13:44:21 +0000 (0:00:00.021) 0:02:18.751 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Wednesday 06 December 2023 13:44:21 +0000 (0:00:00.023) 0:02:18.775 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:21 +0000 (0:00:00.053) 0:02:18.828 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003057", "end": "2023-12-06 13:44:21.818736", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:21.815679" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:21 +0000 (0:00:00.221) 0:02:19.050 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:21 +0000 (0:00:00.037) 0:02:19.087 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wednesday 06 December 2023 13:44:21 +0000 (0:00:00.027) 0:02:19.114 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 06 December 2023 13:44:23 +0000 (0:00:01.298) 0:02:20.413 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Wednesday 06 December 2023 13:44:24 +0000 (0:00:01.226) 0:02:21.639 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003170", "end": "2023-12-06 13:44:24.626368", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:24.623198" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 06 December 2023 13:44:24 +0000 (0:00:00.264) 0:02:21.904 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 06 December 2023 13:44:24 +0000 (0:00:00.035) 0:02:21.939 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Wednesday 06 December 2023 13:44:24 +0000 (0:00:00.023) 0:02:21.963 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:24 +0000 (0:00:00.040) 0:02:22.003 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003110", "end": "2023-12-06 13:44:25.008031", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:25.004921" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.235) 0:02:22.238 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.035) 0:02:22.274 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.037) 0:02:22.311 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.042) 0:02:22.354 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002848", "end": "2023-12-06 13:44:25.351457", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:25.348609" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.284) 0:02:22.639 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.028) 0:02:22.667 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.029) 0:02:22.696 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.025) 0:02:22.722 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.021) 0:02:22.744 **** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.027) 0:02:22.771 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.022) 0:02:22.793 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.021) 0:02:22.815 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.022) 0:02:22.838 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.032) 0:02:22.870 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.022) 0:02:22.892 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.021) 0:02:22.914 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.021) 0:02:22.936 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.023) 0:02:22.960 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.025) 0:02:22.985 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.023) 0:02:23.009 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.022) 0:02:23.031 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.056) 0:02:23.087 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.023) 0:02:23.111 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.020) 0:02:23.131 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.021) 0:02:23.152 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.021) 0:02:23.173 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Wednesday 06 December 2023 13:44:25 +0000 (0:00:00.021) 0:02:23.195 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.023) 0:02:23.219 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.024) 0:02:23.243 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.022) 0:02:23.266 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.023) 0:02:23.289 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.021) 0:02:23.311 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.028) 0:02:23.340 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.023) 0:02:23.364 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.021) 0:02:23.385 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.024) 0:02:23.410 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.021) 0:02:23.431 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.061) 0:02:23.493 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.028) 0:02:23.521 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.025) 0:02:23.546 **** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.028) 0:02:23.575 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.022) 0:02:23.597 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.022) 0:02:23.620 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.029) 0:02:23.649 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.023) 0:02:23.672 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.022) 0:02:23.695 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.022) 0:02:23.717 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.032) 0:02:23.750 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.027) 0:02:23.777 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.023) 0:02:23.800 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.024) 0:02:23.825 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.031) 0:02:23.856 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.026) 0:02:23.883 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.021) 0:02:23.905 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.058) 0:02:23.963 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.029) 0:02:23.993 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.023) 0:02:24.016 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.035) 0:02:24.052 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.027) 0:02:24.080 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.026) 0:02:24.106 **** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.029) 0:02:24.136 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.030) 0:02:24.166 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:44:26 +0000 (0:00:00.026) 0:02:24.193 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Wednesday 06 December 2023 13:44:27 +0000 (0:00:00.024) 0:02:24.218 **** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 06 December 2023 13:44:27 +0000 (0:00:00.238) 0:02:24.457 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:43:47 UTC", "ActiveEnterTimestampMonotonic": "856035065", "ActiveExitTimestamp": "Wed 2023-12-06 13:44:10 UTC", "ActiveExitTimestampMonotonic": "879173855", "ActiveState": "inactive", "After": "network.target auditd.service systemd-journald.socket system.slice basic.target sysinit.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:43:47 UTC", "AssertTimestampMonotonic": "856033819", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:43:47 UTC", "ConditionTimestampMonotonic": "856033817", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2023-12-06 13:44:10 UTC", "ExecMainExitTimestampMonotonic": "879403663", "ExecMainPID": "18713", "ExecMainStartTimestamp": "Wed 2023-12-06 13:43:47 UTC", "ExecMainStartTimestampMonotonic": "856034972", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:43:47 UTC] ; stop_time=[Wed 2023-12-06 13:44:10 UTC] ; pid=18713 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:44:10 UTC", "InactiveEnterTimestampMonotonic": "879403884", "InactiveExitTimestamp": "Wed 2023-12-06 13:43:47 UTC", "InactiveExitTimestampMonotonic": "856035065", "InvocationID": "b736570cb9ec464b9abd9b5820f3cf2a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:44:10 UTC", "StateChangeTimestampMonotonic": "879403884", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Wednesday 06 December 2023 13:44:27 +0000 (0:00:00.347) 0:02:24.804 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Wednesday 06 December 2023 13:44:27 +0000 (0:00:00.022) 0:02:24.826 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:40 Wednesday 06 December 2023 13:44:27 +0000 (0:00:00.021) 0:02:24.848 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:8 Wednesday 06 December 2023 13:44:27 +0000 (0:00:00.157) 0:02:25.005 **** 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.006877", "end": "2023-12-06 13:44:27.988770", "rc": 0, "start": "2023-12-06 13:44:27.981893" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:23 Wednesday 06 December 2023 13:44:28 +0000 (0:00:00.213) 0:02:25.219 **** 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.005721", "end": "2023-12-06 13:44:28.230996", "rc": 0, "start": "2023-12-06 13:44:28.225275" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:35 Wednesday 06 December 2023 13:44:28 +0000 (0:00:00.239) 0:02:25.459 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:39 Wednesday 06 December 2023 13:44:28 +0000 (0:00:00.029) 0:02:25.488 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:44:28 +0000 (0:00:00.065) 0:02:25.554 **** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004831", "end": "2023-12-06 13:44:28.549163", "rc": 0, "start": "2023-12-06 13:44:28.544332" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:44:28 +0000 (0:00:00.226) 0:02:25.780 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:44:28 +0000 (0:00:00.028) 0:02:25.808 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:44:28 +0000 (0:00:00.022) 0:02:25.831 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:44:28 +0000 (0:00:00.021) 0:02:25.853 **** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005653", "end": "2023-12-06 13:44:28.861614", "rc": 0, "start": "2023-12-06 13:44:28.855961" } STDOUT: tcpport = 1433 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:44:28 +0000 (0:00:00.282) 0:02:26.135 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:44:28 +0000 (0:00:00.024) 0:02:26.159 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:44:28 +0000 (0:00:00.024) 0:02:26.184 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.030) 0:02:26.215 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004898", "end": "2023-12-06 13:44:29.253082", "rc": 0, "start": "2023-12-06 13:44:29.248184" } STDOUT: defaultdatadir = /tmp/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.268) 0:02:26.484 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.029) 0:02:26.513 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/data] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.025) 0:02:26.539 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.023) 0:02:26.562 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005140", "end": "2023-12-06 13:44:29.643105", "rc": 0, "start": "2023-12-06 13:44:29.637965" } STDOUT: defaultlogdir = /tmp/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.320) 0:02:26.883 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.039) 0:02:26.922 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/log] ****************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.024) 0:02:26.946 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.030) 0:02:26.977 **** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004623", "end": "2023-12-06 13:44:29.958045", "rc": 0, "start": "2023-12-06 13:44:29.953422" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:44:29 +0000 (0:00:00.218) 0:02:27.195 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:44:30 +0000 (0:00:00.022) 0:02:27.218 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:44:30 +0000 (0:00:00.094) 0:02:27.312 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:55 Wednesday 06 December 2023 13:44:30 +0000 (0:00:00.025) 0:02:27.338 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870177.7879918, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701870177.7889917, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 988, "gr_name": "mssql", "inode": 385876229, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701870177.7879918, "nlink": 2, "path": "/tmp/data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "2376066527", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:60 Wednesday 06 December 2023 13:44:30 +0000 (0:00:00.214) 0:02:27.552 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:70 Wednesday 06 December 2023 13:44:30 +0000 (0:00:00.026) 0:02:27.579 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870179.103953, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1701870179.1049528, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 988, "gr_name": "mssql", "inode": 427819777, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1701870179.103953, "nlink": 2, "path": "/tmp/log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6, "uid": 990, "version": "2669278587", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:75 Wednesday 06 December 2023 13:44:30 +0000 (0:00:00.294) 0:02:27.873 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:85 Wednesday 06 December 2023 13:44:30 +0000 (0:00:00.026) 0:02:27.899 **** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:44:30 +0000 (0:00:00.051) 0:02:27.951 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:44:27 UTC", "ActiveEnterTimestampMonotonic": "896094925", "ActiveExitTimestamp": "Wed 2023-12-06 13:44:10 UTC", "ActiveExitTimestampMonotonic": "879173855", "ActiveState": "active", "After": "network.target auditd.service systemd-journald.socket system.slice basic.target sysinit.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:44:27 UTC", "AssertTimestampMonotonic": "896093793", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:44:27 UTC", "ConditionTimestampMonotonic": "896093792", "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": "19969", "ExecMainStartTimestamp": "Wed 2023-12-06 13:44:27 UTC", "ExecMainStartTimestampMonotonic": "896094873", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:44:27 UTC] ; stop_time=[n/a] ; pid=19969 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:44:10 UTC", "InactiveEnterTimestampMonotonic": "879403884", "InactiveExitTimestamp": "Wed 2023-12-06 13:44:27 UTC", "InactiveExitTimestampMonotonic": "896094925", "InvocationID": "89ad7a1fe96244dea301ee8480bdd6b5", "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": "19969", "MemoryAccounting": "yes", "MemoryCurrent": "728240128", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:44:27 UTC", "StateChangeTimestampMonotonic": "896094925", "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": "142", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:44:27 UTC", "WatchdogTimestampMonotonic": "896094922", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:44:31 +0000 (0:00:00.461) 0:02:28.412 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003381", "end": "2023-12-06 13:44:31.446150", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:31.442769" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:44:31 +0000 (0:00:00.283) 0:02:28.695 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002862", "end": "2023-12-06 13:44:31.703912", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:44:31.701050" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:44:31 +0000 (0:00:00.249) 0:02:28.944 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:93 Wednesday 06 December 2023 13:44:31 +0000 (0:00:00.036) 0:02:28.981 **** ok: [sut] => { "changed": false, "elapsed": 18, "gid": 988, "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": 11662, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:100 Wednesday 06 December 2023 13:44:50 +0000 (0:00:18.221) 0:02:47.203 **** 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.022270", "end": "2023-12-06 13:44:50.191338", "rc": 0, "start": "2023-12-06 13:44:50.169068" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU23) (KB5030333) - 15.0.4335.1 (X64) Sep 21 2023 17:28:44 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux 8.9 (Ootpa)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:104 Wednesday 06 December 2023 13:44:50 +0000 (0:00:00.217) 0:02:47.420 **** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:108 Wednesday 06 December 2023 13:44:50 +0000 (0:00:00.024) 0:02:47.445 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 13:44:50 +0000 (0:00:00.036) 0:02:47.482 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 13:44:51 +0000 (0:00:01.310) 0:02:48.792 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.143) 0:02:48.936 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:115 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.089) 0:02:49.026 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 13:44:51 +0000 (0:00:00.075) 0:02:49.101 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 13:44:53 +0000 (0:00:01.290) 0:02:50.392 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.034) 0:02:50.427 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:126 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.021) 0:02:50.448 **** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004515", "end": "2023-12-06 13:44:53.423718", "rc": 0, "start": "2023-12-06 13:44:53.419203" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:131 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.205) 0:02:50.653 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:136 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.107) 0:02:50.761 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:142 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.051) 0:02:50.812 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.059) 0:02:50.872 **** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004310", "end": "2023-12-06 13:44:53.857627", "rc": 0, "start": "2023-12-06 13:44:53.853317" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.216) 0:02:51.088 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.053) 0:02:51.142 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:44:53 +0000 (0:00:00.035) 0:02:51.177 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:148 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.036) 0:02:51.214 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.043) 0:02:51.257 **** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004483", "end": "2023-12-06 13:44:54.234508", "rc": 0, "start": "2023-12-06 13:44:54.230025" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.210) 0:02:51.468 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.043) 0:02:51.511 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.034) 0:02:51.546 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:158 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.037) 0:02:51.584 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:169 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.029) 0:02:51.613 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:181 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.023) 0:02:51.636 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:189 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.073) 0:02:51.710 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:199 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.056) 0:02:51.766 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:204 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.024) 0:02:51.791 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:212 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.025) 0:02:51.816 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:56 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.024) 0:02:51.841 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.271) 0:02:52.112 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:44:54 +0000 (0:00:00.034) 0:02:52.147 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.101) 0:02:52.248 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.039) 0:02:52.287 **** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.026) 0:02:52.314 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.021) 0:02:52.336 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.022) 0:02:52.358 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.025) 0:02:52.383 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.025) 0:02:52.409 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.024) 0:02:52.433 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.021) 0:02:52.455 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.025) 0:02:52.480 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.022) 0:02:52.503 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.020) 0:02:52.523 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.021) 0:02:52.545 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.021) 0:02:52.567 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:44:55 +0000 (0:00:00.021) 0:02:52.588 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:44:56 +0000 (0:00:01.289) 0:02:53.878 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:44:56 +0000 (0:00:00.060) 0:02:53.938 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:44:56 +0000 (0:00:00.021) 0:02:53.960 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:44:56 +0000 (0:00:00.025) 0:02:53.986 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Wednesday 06 December 2023 13:44:56 +0000 (0:00:00.041) 0:02:54.027 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Wednesday 06 December 2023 13:44:59 +0000 (0:00:02.343) 0:02:56.371 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Wednesday 06 December 2023 13:44:59 +0000 (0:00:00.073) 0:02:56.445 **** 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 2019] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Wednesday 06 December 2023 13:44:59 +0000 (0:00:00.033) 0:02:56.478 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Wednesday 06 December 2023 13:44:59 +0000 (0:00:00.023) 0:02:56.502 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:44:59 +0000 (0:00:00.029) 0:02:56.531 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Wednesday 06 December 2023 13:44:59 +0000 (0:00:00.021) 0:02:56.552 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Wednesday 06 December 2023 13:44:59 +0000 (0:00:00.020) 0:02:56.573 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 06 December 2023 13:44:59 +0000 (0:00:00.022) 0:02:56.595 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Wednesday 06 December 2023 13:44:59 +0000 (0:00:00.023) 0:02:56.618 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:44:59 +0000 (0:00:00.022) 0:02:56.641 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:45:00 +0000 (0:00:01.224) 0:02:57.865 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Wednesday 06 December 2023 13:45:00 +0000 (0:00:00.021) 0:02:57.887 **** 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.005596", "end": "2023-12-06 13:45:00.859727", "rc": 0, "start": "2023-12-06 13:45:00.854131" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 06 December 2023 13:45:00 +0000 (0:00:00.268) 0:02:58.156 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Wednesday 06 December 2023 13:45:05 +0000 (0:00:04.630) 0:03:02.787 **** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Wednesday 06 December 2023 13:45:05 +0000 (0:00:00.028) 0:03:02.815 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Wednesday 06 December 2023 13:45:05 +0000 (0:00:00.022) 0:03:02.838 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Wednesday 06 December 2023 13:45:05 +0000 (0:00:00.024) 0:03:02.863 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:45:05 +0000 (0:00:00.051) 0:03:02.914 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870176.8520193, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701870176.8190203, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 988, "gr_name": "mssql", "inode": 41943365, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870176.8190203, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "943680260", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:45:05 +0000 (0:00:00.206) 0:03:03.120 **** ok: [sut] => { "changed": false, "gid": 988, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:45:06 +0000 (0:00:00.205) 0:03:03.326 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:45:06 +0000 (0:00:00.071) 0:03:03.397 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:06 +0000 (0:00:00.037) 0:03:03.435 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003167", "end": "2023-12-06 13:45:06.409305", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:06.406138" } STDOUT: defaultdatadir = /tmp/data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:06 +0000 (0:00:00.203) 0:03:03.639 **** 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.114619", "end": "2023-12-06 13:45:06.727113", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:06.612494" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:06 +0000 (0:00:00.320) 0:03:03.960 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:45:06 +0000 (0:00:00.025) 0:03:03.986 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870270.8942635, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701870270.8922637, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 988, "gr_name": "mssql", "inode": 50332421, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870270.8922637, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "2308447465", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:45:06 +0000 (0:00:00.204) 0:03:04.191 **** ok: [sut] => { "changed": false, "gid": 988, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:45:07 +0000 (0:00:00.207) 0:03:04.399 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:45:07 +0000 (0:00:00.027) 0:03:04.426 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:07 +0000 (0:00:00.035) 0:03:04.462 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003131", "end": "2023-12-06 13:45:07.435644", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:07.432513" } STDOUT: defaultlogdir = /tmp/log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:07 +0000 (0:00:00.204) 0:03:04.666 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.113997", "end": "2023-12-06 13:45:07.753816", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:07.639819" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:07 +0000 (0:00:00.337) 0:03:05.003 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Wednesday 06 December 2023 13:45:07 +0000 (0:00:00.024) 0:03:05.028 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Wednesday 06 December 2023 13:45:07 +0000 (0:00:00.020) 0:03:05.048 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Wednesday 06 December 2023 13:45:09 +0000 (0:00:01.210) 0:03:06.259 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:29:45 UTC", "ActiveEnterTimestampMonotonic": "13686444", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket polkit.service network.target dbus.socket system.slice sysinit.target systemd-sysctl.service basic.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:29:44 UTC", "AssertTimestampMonotonic": "12770140", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:29:44 UTC", "ConditionTimestampMonotonic": "12770138", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target auto-cpufreq.service power-profiles-daemon.service cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "700", "ExecMainStartTimestamp": "Wed 2023-12-06 13:29:44 UTC", "ExecMainStartTimestampMonotonic": "12771484", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:29:44 UTC", "InactiveExitTimestampMonotonic": "12771541", "InvocationID": "eb1c6a6affd14abab16febbbce76eab2", "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": "700", "MemoryAccounting": "yes", "MemoryCurrent": "20869120", "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 system.slice sysinit.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:29:45 UTC", "StateChangeTimestampMonotonic": "13686444", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:29:45 UTC", "WatchdogTimestampMonotonic": "13686441", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Wednesday 06 December 2023 13:45:09 +0000 (0:00:00.327) 0:03:06.587 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.117149", "end": "2023-12-06 13:45:09.670770", "rc": 0, "start": "2023-12-06 13:45:09.553621" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Wednesday 06 December 2023 13:45:09 +0000 (0:00:00.312) 0:03:06.900 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 06 December 2023 13:45:09 +0000 (0:00:00.023) 0:03:06.923 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Wednesday 06 December 2023 13:45:09 +0000 (0:00:00.022) 0:03:06.946 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Wednesday 06 December 2023 13:45:09 +0000 (0:00:00.021) 0:03:06.968 **** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 06 December 2023 13:45:09 +0000 (0:00:00.206) 0:03:07.174 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 06 December 2023 13:45:11 +0000 (0:00:01.259) 0:03:08.433 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:45:11 +0000 (0:00:00.041) 0:03:08.475 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:44:27 UTC", "ActiveEnterTimestampMonotonic": "896094925", "ActiveExitTimestamp": "Wed 2023-12-06 13:44:10 UTC", "ActiveExitTimestampMonotonic": "879173855", "ActiveState": "active", "After": "network.target auditd.service systemd-journald.socket system.slice basic.target sysinit.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:44:27 UTC", "AssertTimestampMonotonic": "896093793", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:44:27 UTC", "ConditionTimestampMonotonic": "896093792", "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": "19969", "ExecMainStartTimestamp": "Wed 2023-12-06 13:44:27 UTC", "ExecMainStartTimestampMonotonic": "896094873", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:44:27 UTC] ; stop_time=[n/a] ; pid=19969 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:44:10 UTC", "InactiveEnterTimestampMonotonic": "879403884", "InactiveExitTimestamp": "Wed 2023-12-06 13:44:27 UTC", "InactiveExitTimestampMonotonic": "896094925", "InvocationID": "89ad7a1fe96244dea301ee8480bdd6b5", "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": "19969", "MemoryAccounting": "yes", "MemoryCurrent": "760352768", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:44:27 UTC", "StateChangeTimestampMonotonic": "896094925", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "162", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:44:27 UTC", "WatchdogTimestampMonotonic": "896094922", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:45:11 +0000 (0:00:00.331) 0:03:08.806 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003041", "end": "2023-12-06 13:45:11.779005", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:11.775964" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:45:11 +0000 (0:00:00.203) 0:03:09.010 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002980", "end": "2023-12-06 13:45:11.981826", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:11.978846" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:45:12 +0000 (0:00:00.200) 0:03:09.210 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Wednesday 06 December 2023 13:45:12 +0000 (0:00:00.030) 0:03:09.240 **** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 988, "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": 11662, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 06 December 2023 13:45:13 +0000 (0:00:01.255) 0:03:10.495 **** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Wednesday 06 December 2023 13:45:13 +0000 (0:00:00.223) 0:03:10.719 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:44:27 UTC", "ActiveEnterTimestampMonotonic": "896094925", "ActiveExitTimestamp": "Wed 2023-12-06 13:44:10 UTC", "ActiveExitTimestampMonotonic": "879173855", "ActiveState": "active", "After": "network.target auditd.service systemd-journald.socket system.slice basic.target sysinit.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:44:27 UTC", "AssertTimestampMonotonic": "896093793", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:44:27 UTC", "ConditionTimestampMonotonic": "896093792", "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": "19969", "ExecMainStartTimestamp": "Wed 2023-12-06 13:44:27 UTC", "ExecMainStartTimestampMonotonic": "896094873", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:44:27 UTC] ; stop_time=[n/a] ; pid=19969 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:44:10 UTC", "InactiveEnterTimestampMonotonic": "879403884", "InactiveExitTimestamp": "Wed 2023-12-06 13:44:27 UTC", "InactiveExitTimestampMonotonic": "896094925", "InvocationID": "89ad7a1fe96244dea301ee8480bdd6b5", "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": "19969", "MemoryAccounting": "yes", "MemoryCurrent": "760422400", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:44:27 UTC", "StateChangeTimestampMonotonic": "896094925", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "162", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:44:27 UTC", "WatchdogTimestampMonotonic": "896094922", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:45:14 +0000 (0:00:00.557) 0:03:11.276 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Wednesday 06 December 2023 13:45:15 +0000 (0:00:01.261) 0:03:12.537 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Wednesday 06 December 2023 13:45:21 +0000 (0:00:05.919) 0:03:18.456 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.026) 0:03:18.483 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Wednesday 06 December 2023 13:45:21 +0000 (0:00:00.029) 0:03:18.512 **** 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:01.006149", "end": "2023-12-06 13:45:22.494034", "rc": 0, "start": "2023-12-06 13:45:21.487885" } STDOUT: false TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Wednesday 06 December 2023 13:45:22 +0000 (0:00:01.210) 0:03:19.723 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:44:27 UTC", "ActiveEnterTimestampMonotonic": "896094925", "ActiveExitTimestamp": "Wed 2023-12-06 13:45:13 UTC", "ActiveExitTimestampMonotonic": "942345807", "ActiveState": "inactive", "After": "network.target auditd.service systemd-journald.socket system.slice basic.target sysinit.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:44:27 UTC", "AssertTimestampMonotonic": "896093793", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:44:27 UTC", "ConditionTimestampMonotonic": "896093792", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2023-12-06 13:45:14 UTC", "ExecMainExitTimestampMonotonic": "942566330", "ExecMainPID": "19969", "ExecMainStartTimestamp": "Wed 2023-12-06 13:44:27 UTC", "ExecMainStartTimestampMonotonic": "896094873", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:44:27 UTC] ; stop_time=[Wed 2023-12-06 13:45:14 UTC] ; pid=19969 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:45:14 UTC", "InactiveEnterTimestampMonotonic": "942566426", "InactiveExitTimestamp": "Wed 2023-12-06 13:44:27 UTC", "InactiveExitTimestampMonotonic": "896094925", "InvocationID": "89ad7a1fe96244dea301ee8480bdd6b5", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:45:14 UTC", "StateChangeTimestampMonotonic": "942566426", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Wednesday 06 December 2023 13:45:22 +0000 (0:00:00.331) 0:03:20.054 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 06 December 2023 13:45:24 +0000 (0:00:01.267) 0:03:21.321 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Wednesday 06 December 2023 13:45:29 +0000 (0:00:05.816) 0:03:27.138 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:30 +0000 (0:00:00.105) 0:03:27.243 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003148", "end": "2023-12-06 13:45:30.215470", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:30.212322" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:30 +0000 (0:00:00.205) 0:03:27.448 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.115201", "end": "2023-12-06 13:45:30.537982", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:30.422781" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:30 +0000 (0:00:00.333) 0:03:27.782 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Wednesday 06 December 2023 13:45:30 +0000 (0:00:00.028) 0:03:27.811 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:45:30 +0000 (0:00:00.025) 0:03:27.837 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1435] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Wednesday 06 December 2023 13:45:30 +0000 (0:00:00.029) 0:03:27.866 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:30 +0000 (0:00:00.040) 0:03:27.907 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003075", "end": "2023-12-06 13:45:30.876562", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:30.873487" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:30 +0000 (0:00:00.202) 0:03:28.109 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.114612", "end": "2023-12-06 13:45:31.196365", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:31.081753" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:31 +0000 (0:00:00.327) 0:03:28.437 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 06 December 2023 13:45:31 +0000 (0:00:00.027) 0:03:28.464 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Wednesday 06 December 2023 13:45:31 +0000 (0:00:00.022) 0:03:28.486 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:31 +0000 (0:00:00.119) 0:03:28.605 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003175", "end": "2023-12-06 13:45:31.578721", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:31.575546" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:31 +0000 (0:00:00.203) 0:03:28.809 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.117460", "end": "2023-12-06 13:45:31.902535", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:31.785075" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:31 +0000 (0:00:00.326) 0:03:29.135 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wednesday 06 December 2023 13:45:31 +0000 (0:00:00.024) 0:03:29.160 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: mssql-server-fts-15.0.4335.1-6.x86_64" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 06 December 2023 13:45:33 +0000 (0:00:01.689) 0:03:30.850 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: powershell-7.4.0-1.rh.x86_64" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Wednesday 06 December 2023 13:45:35 +0000 (0:00:01.804) 0:03:32.654 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003132", "end": "2023-12-06 13:45:35.630714", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:35.627582" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 06 December 2023 13:45:35 +0000 (0:00:00.205) 0:03:32.860 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 06 December 2023 13:45:35 +0000 (0:00:00.022) 0:03:32.882 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.114563", "end": "2023-12-06 13:45:35.967719", "rc": 0, "start": "2023-12-06 13:45:35.853156" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Wednesday 06 December 2023 13:45:36 +0000 (0:00:00.406) 0:03:33.289 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:36 +0000 (0:00:00.059) 0:03:33.348 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003080", "end": "2023-12-06 13:45:36.321991", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:36.318911" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:36 +0000 (0:00:00.205) 0:03:33.554 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:36 +0000 (0:00:00.036) 0:03:33.591 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:45:36 +0000 (0:00:00.021) 0:03:33.613 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:36 +0000 (0:00:00.040) 0:03:33.653 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003217", "end": "2023-12-06 13:45:36.627980", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:36.624763" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:36 +0000 (0:00:00.205) 0:03:33.859 **** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.115965", "end": "2023-12-06 13:45:36.949376", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:36.833411" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:36 +0000 (0:00:00.323) 0:03:34.182 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.023) 0:03:34.206 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.022) 0:03:34.229 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.022) 0:03:34.251 **** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.024) 0:03:34.276 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.021) 0:03:34.298 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.083) 0:03:34.381 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.022) 0:03:34.403 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.021) 0:03:34.425 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.024) 0:03:34.449 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.023) 0:03:34.473 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.024) 0:03:34.497 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.026) 0:03:34.523 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.025) 0:03:34.549 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.030) 0:03:34.579 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.038) 0:03:34.618 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.025) 0:03:34.643 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.022) 0:03:34.666 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.022) 0:03:34.689 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.023) 0:03:34.712 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.043) 0:03:34.755 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.043) 0:03:34.799 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.112) 0:03:34.911 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.045) 0:03:34.956 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.037) 0:03:34.993 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.043) 0:03:35.037 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.033) 0:03:35.071 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.045) 0:03:35.116 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.033) 0:03:35.149 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.023) 0:03:35.173 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Wednesday 06 December 2023 13:45:37 +0000 (0:00:00.025) 0:03:35.198 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.023) 0:03:35.222 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.028) 0:03:35.250 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.022) 0:03:35.272 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.023) 0:03:35.295 **** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.032) 0:03:35.328 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.022) 0:03:35.351 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.030) 0:03:35.381 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.043) 0:03:35.425 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.078) 0:03:35.503 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.026) 0:03:35.530 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.025) 0:03:35.556 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.022) 0:03:35.578 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.029) 0:03:35.608 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.022) 0:03:35.631 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.024) 0:03:35.656 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.023) 0:03:35.679 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.023) 0:03:35.702 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.023) 0:03:35.725 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.022) 0:03:35.748 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.028) 0:03:35.777 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.020) 0:03:35.797 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.019) 0:03:35.817 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.020) 0:03:35.838 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.022) 0:03:35.860 **** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.025) 0:03:35.886 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.087) 0:03:35.974 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.029) 0:03:36.003 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Wednesday 06 December 2023 13:45:38 +0000 (0:00:00.035) 0:03:36.039 **** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.237) 0:03:36.276 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:44:27 UTC", "ActiveEnterTimestampMonotonic": "896094925", "ActiveExitTimestamp": "Wed 2023-12-06 13:45:13 UTC", "ActiveExitTimestampMonotonic": "942345807", "ActiveState": "inactive", "After": "network.target auditd.service systemd-journald.socket system.slice basic.target sysinit.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:44:27 UTC", "AssertTimestampMonotonic": "896093793", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:44:27 UTC", "ConditionTimestampMonotonic": "896093792", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2023-12-06 13:45:14 UTC", "ExecMainExitTimestampMonotonic": "942566330", "ExecMainPID": "19969", "ExecMainStartTimestamp": "Wed 2023-12-06 13:44:27 UTC", "ExecMainStartTimestampMonotonic": "896094873", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:44:27 UTC] ; stop_time=[Wed 2023-12-06 13:45:14 UTC] ; pid=19969 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:45:14 UTC", "InactiveEnterTimestampMonotonic": "942566426", "InactiveExitTimestamp": "Wed 2023-12-06 13:44:27 UTC", "InactiveExitTimestampMonotonic": "896094925", "InvocationID": "89ad7a1fe96244dea301ee8480bdd6b5", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:45:14 UTC", "StateChangeTimestampMonotonic": "942566426", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.351) 0:03:36.628 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.024) 0:03:36.652 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run with the edited settings again - should report not changed] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:73 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.021) 0:03:36.674 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.427) 0:03:37.102 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.042) 0:03:37.144 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:45:39 +0000 (0:00:00.038) 0:03:37.183 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.044) 0:03:37.228 **** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.024) 0:03:37.253 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.024) 0:03:37.277 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.033) 0:03:37.310 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.038) 0:03:37.349 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.034) 0:03:37.384 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.023) 0:03:37.407 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.021) 0:03:37.428 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.025) 0:03:37.453 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.082) 0:03:37.536 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.028) 0:03:37.565 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.024) 0:03:37.589 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.024) 0:03:37.613 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:45:40 +0000 (0:00:00.024) 0:03:37.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 : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:45:41 +0000 (0:00:01.557) 0:03:39.196 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:45:42 +0000 (0:00:00.059) 0:03:39.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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:45:42 +0000 (0:00:00.022) 0:03:39.277 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:45:42 +0000 (0:00:00.026) 0:03:39.304 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Wednesday 06 December 2023 13:45:42 +0000 (0:00:00.118) 0:03:39.423 **** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Wednesday 06 December 2023 13:45:42 +0000 (0:00:00.552) 0:03:39.975 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Wednesday 06 December 2023 13:45:42 +0000 (0:00:00.028) 0:03:40.004 **** 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 2019] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Wednesday 06 December 2023 13:45:42 +0000 (0:00:00.024) 0:03:40.029 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Wednesday 06 December 2023 13:45:42 +0000 (0:00:00.029) 0:03:40.058 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:45:42 +0000 (0:00:00.040) 0:03:40.098 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Wednesday 06 December 2023 13:45:42 +0000 (0:00:00.029) 0:03:40.128 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Wednesday 06 December 2023 13:45:42 +0000 (0:00:00.032) 0:03:40.160 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 06 December 2023 13:45:42 +0000 (0:00:00.022) 0:03:40.183 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.022) 0:03:40.205 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:45:43 +0000 (0:00:00.022) 0:03:40.228 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:45:44 +0000 (0:00:01.324) 0:03:41.552 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.109) 0:03:41.661 **** 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.005895", "end": "2023-12-06 13:45:44.662235", "rc": 0, "start": "2023-12-06 13:45:44.656340" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 06 December 2023 13:45:44 +0000 (0:00:00.238) 0:03:41.900 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Wednesday 06 December 2023 13:45:53 +0000 (0:00:08.625) 0:03:50.526 **** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Wednesday 06 December 2023 13:45:53 +0000 (0:00:00.046) 0:03:50.572 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 Wednesday 06 December 2023 13:45:53 +0000 (0:00:00.029) 0:03:50.602 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Wednesday 06 December 2023 13:45:53 +0000 (0:00:00.025) 0:03:50.627 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:45:53 +0000 (0:00:00.051) 0:03:50.678 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870176.8520193, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701870176.8190203, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 988, "gr_name": "mssql", "inode": 41943365, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870176.8190203, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "943680260", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:45:53 +0000 (0:00:00.234) 0:03:50.913 **** ok: [sut] => { "changed": false, "gid": 988, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:45:54 +0000 (0:00:00.329) 0:03:51.243 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:45:54 +0000 (0:00:00.028) 0:03:51.272 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:54 +0000 (0:00:00.038) 0:03:51.310 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003046", "end": "2023-12-06 13:45:54.282433", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:54.279387" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:54 +0000 (0:00:00.202) 0:03:51.513 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:54 +0000 (0:00:00.032) 0:03:51.545 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stat of the directory /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Wednesday 06 December 2023 13:45:54 +0000 (0:00:00.027) 0:03:51.573 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870342.5491989, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701870342.5661983, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 988, "gr_name": "mssql", "inode": 50332421, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870342.5661983, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "2308447465", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.mssql : Ensure the directory and keep present permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:8 Wednesday 06 December 2023 13:45:54 +0000 (0:00:00.208) 0:03:51.781 **** ok: [sut] => { "changed": false, "gid": 988, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 990 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:23 Wednesday 06 December 2023 13:45:54 +0000 (0:00:00.214) 0:03:51.995 **** ok: [sut] => { "ansible_facts": { "selinux_fcontexts": [ { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/tmp/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/tmp/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" }, { "ftype": "d", "setype": "mssql_var_t", "state": "present", "target": "/var/opt/mssql/data" }, { "ftype": "d", "setype": "mssql_db_t", "state": "present", "target": "/var/opt/mssql/log" } ], "selinux_restore_dirs": [ "/tmp/data", "/tmp/log", "/tmp/data", "/tmp/log", "/var/opt/mssql/data", "/var/opt/mssql/log", "/var/opt/mssql/data", "/var/opt/mssql/log" ] }, "changed": false } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:39 Wednesday 06 December 2023 13:45:54 +0000 (0:00:00.035) 0:03:52.031 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:45:54 +0000 (0:00:00.048) 0:03:52.079 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003024", "end": "2023-12-06 13:45:55.053876", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:55.050852" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:45:55 +0000 (0:00:00.208) 0:03:52.288 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:45:55 +0000 (0:00:00.026) 0:03:52.315 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for {{ __mssql_storage_path }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:345 Wednesday 06 December 2023 13:45:55 +0000 (0:00:00.025) 0:03:52.340 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Wednesday 06 December 2023 13:45:55 +0000 (0:00:00.102) 0:03:52.443 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Wednesday 06 December 2023 13:45:56 +0000 (0:00:01.205) 0:03:53.648 **** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:29:45 UTC", "ActiveEnterTimestampMonotonic": "13686444", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket polkit.service network.target dbus.socket system.slice sysinit.target systemd-sysctl.service basic.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:29:44 UTC", "AssertTimestampMonotonic": "12770140", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:29:44 UTC", "ConditionTimestampMonotonic": "12770138", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target auto-cpufreq.service power-profiles-daemon.service cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "700", "ExecMainStartTimestamp": "Wed 2023-12-06 13:29:44 UTC", "ExecMainStartTimestampMonotonic": "12771484", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:29:44 UTC", "InactiveExitTimestampMonotonic": "12771541", "InvocationID": "eb1c6a6affd14abab16febbbce76eab2", "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": "700", "MemoryAccounting": "yes", "MemoryCurrent": "20848640", "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 system.slice sysinit.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:29:45 UTC", "StateChangeTimestampMonotonic": "13686444", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:29:45 UTC", "WatchdogTimestampMonotonic": "13686441", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Wednesday 06 December 2023 13:45:56 +0000 (0:00:00.339) 0:03:53.988 **** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.115438", "end": "2023-12-06 13:45:57.076672", "rc": 0, "start": "2023-12-06 13:45:56.961234" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Wednesday 06 December 2023 13:45:57 +0000 (0:00:00.324) 0:03:54.312 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 06 December 2023 13:45:57 +0000 (0:00:00.039) 0:03:54.352 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Wednesday 06 December 2023 13:45:57 +0000 (0:00:00.029) 0:03:54.381 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Wednesday 06 December 2023 13:45:57 +0000 (0:00:00.039) 0:03:54.421 **** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 06 December 2023 13:45:57 +0000 (0:00:00.228) 0:03:54.649 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 06 December 2023 13:45:58 +0000 (0:00:01.231) 0:03:55.880 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:45:58 +0000 (0:00:00.120) 0:03:56.001 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:45:39 UTC", "ActiveEnterTimestampMonotonic": "967917079", "ActiveExitTimestamp": "Wed 2023-12-06 13:45:13 UTC", "ActiveExitTimestampMonotonic": "942345807", "ActiveState": "active", "After": "network.target auditd.service systemd-journald.socket system.slice basic.target sysinit.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:45:39 UTC", "AssertTimestampMonotonic": "967915804", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:45:39 UTC", "ConditionTimestampMonotonic": "967915802", "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": "21891", "ExecMainStartTimestamp": "Wed 2023-12-06 13:45:39 UTC", "ExecMainStartTimestampMonotonic": "967916988", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:45:39 UTC] ; stop_time=[n/a] ; pid=21891 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:45:14 UTC", "InactiveEnterTimestampMonotonic": "942566426", "InactiveExitTimestamp": "Wed 2023-12-06 13:45:39 UTC", "InactiveExitTimestampMonotonic": "967917079", "InvocationID": "dfdbf19b56494a8f8f5cfde36b437d36", "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": "21891", "MemoryAccounting": "yes", "MemoryCurrent": "683610112", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:45:39 UTC", "StateChangeTimestampMonotonic": "967917079", "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": "148", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:45:39 UTC", "WatchdogTimestampMonotonic": "967917076", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:45:59 +0000 (0:00:00.338) 0:03:56.339 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003160", "end": "2023-12-06 13:45:59.318565", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:59.315405" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:45:59 +0000 (0:00:00.208) 0:03:56.548 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003071", "end": "2023-12-06 13:45:59.525795", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:45:59.522724" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:45:59 +0000 (0:00:00.207) 0:03:56.755 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Wednesday 06 December 2023 13:45:59 +0000 (0:00:00.030) 0:03:56.786 **** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 988, "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": 7545, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 06 December 2023 13:46:00 +0000 (0:00:01.208) 0:03:57.994 **** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result" } ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:444 Wednesday 06 December 2023 13:46:01 +0000 (0:00:00.222) 0:03:58.217 **** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:45:39 UTC", "ActiveEnterTimestampMonotonic": "967917079", "ActiveExitTimestamp": "Wed 2023-12-06 13:45:13 UTC", "ActiveExitTimestampMonotonic": "942345807", "ActiveState": "active", "After": "network.target auditd.service systemd-journald.socket system.slice basic.target sysinit.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:45:39 UTC", "AssertTimestampMonotonic": "967915804", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:45:39 UTC", "ConditionTimestampMonotonic": "967915802", "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": "21891", "ExecMainStartTimestamp": "Wed 2023-12-06 13:45:39 UTC", "ExecMainStartTimestampMonotonic": "967916988", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:45:39 UTC] ; stop_time=[n/a] ; pid=21891 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:45:14 UTC", "InactiveEnterTimestampMonotonic": "942566426", "InactiveExitTimestamp": "Wed 2023-12-06 13:45:39 UTC", "InactiveExitTimestampMonotonic": "967917079", "InvocationID": "dfdbf19b56494a8f8f5cfde36b437d36", "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": "21891", "MemoryAccounting": "yes", "MemoryCurrent": "684617728", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:45:39 UTC", "StateChangeTimestampMonotonic": "967917079", "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": "146", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2023-12-06 13:45:39 UTC", "WatchdogTimestampMonotonic": "967917076", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:451 Wednesday 06 December 2023 13:46:01 +0000 (0:00:00.564) 0:03:58.781 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 Wednesday 06 December 2023 13:46:02 +0000 (0:00:01.410) 0:04:00.191 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:481 Wednesday 06 December 2023 13:46:07 +0000 (0:00:04.233) 0:04:04.424 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Wednesday 06 December 2023 13:46:07 +0000 (0:00:00.022) 0:04:04.447 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:507 Wednesday 06 December 2023 13:46:07 +0000 (0:00:00.022) 0:04:04.470 **** 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.005092", "end": "2023-12-06 13:46:07.445079", "rc": 0, "start": "2023-12-06 13:46:07.439987" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Wednesday 06 December 2023 13:46:07 +0000 (0:00:00.204) 0:04:04.674 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:527 Wednesday 06 December 2023 13:46:07 +0000 (0:00:00.027) 0:04:04.702 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 06 December 2023 13:46:08 +0000 (0:00:01.281) 0:04:05.983 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:553 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.039) 0:04:06.022 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:46:08 +0000 (0:00:00.150) 0:04:06.173 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003068", "end": "2023-12-06 13:46:09.146747", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:09.143679" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:46:09 +0000 (0:00:00.220) 0:04:06.393 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:46:09 +0000 (0:00:00.026) 0:04:06.420 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:560 Wednesday 06 December 2023 13:46:09 +0000 (0:00:00.024) 0:04:06.444 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 06 December 2023 13:46:09 +0000 (0:00:00.023) 0:04:06.468 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1435] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Wednesday 06 December 2023 13:46:09 +0000 (0:00:00.022) 0:04:06.490 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:46:09 +0000 (0:00:00.036) 0:04:06.527 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003017", "end": "2023-12-06 13:46:09.497451", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:09.494434" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:46:09 +0000 (0:00:00.200) 0:04:06.727 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:46:09 +0000 (0:00:00.027) 0:04:06.754 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 06 December 2023 13:46:09 +0000 (0:00:00.022) 0:04:06.776 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:605 Wednesday 06 December 2023 13:46:09 +0000 (0:00:00.022) 0:04:06.799 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:46:09 +0000 (0:00:00.041) 0:04:06.841 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002877", "end": "2023-12-06 13:46:09.814078", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:09.811201" } STDOUT: enabled = False TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:46:09 +0000 (0:00:00.264) 0:04:07.105 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:46:09 +0000 (0:00:00.027) 0:04:07.133 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wednesday 06 December 2023 13:46:09 +0000 (0:00:00.025) 0:04:07.158 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 06 December 2023 13:46:11 +0000 (0:00:01.279) 0:04:08.438 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Wednesday 06 December 2023 13:46:12 +0000 (0:00:01.294) 0:04:09.732 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003017", "end": "2023-12-06 13:46:12.748100", "failed_when_result": false, "rc": 1, "start": "2023-12-06 13:46:12.745083" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 06 December 2023 13:46:12 +0000 (0:00:00.245) 0:04:09.977 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 06 December 2023 13:46:12 +0000 (0:00:00.023) 0:04:10.001 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Wednesday 06 December 2023 13:46:12 +0000 (0:00:00.023) 0:04:10.024 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:46:12 +0000 (0:00:00.038) 0:04:10.063 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003020", "end": "2023-12-06 13:46:13.035317", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:13.032297" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.295) 0:04:10.358 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.052) 0:04:10.411 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:655 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.048) 0:04:10.459 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.067) 0:04:10.526 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003081", "end": "2023-12-06 13:46:13.510316", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:13.507235" } STDOUT: writethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.213) 0:04:10.740 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.028) 0:04:10.768 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.027) 0:04:10.796 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:687 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.030) 0:04:10.827 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.051) 0:04:10.879 **** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:710 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.044) 0:04:10.923 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:719 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.050) 0:04:10.974 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:728 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.041) 0:04:11.015 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:735 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.069) 0:04:11.085 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 06 December 2023 13:46:13 +0000 (0:00:00.062) 0:04:11.147 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.152) 0:04:11.300 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:760 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.039) 0:04:11.340 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.030) 0:04:11.370 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.035) 0:04:11.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-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.043) 0:04:11.449 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:796 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.056) 0:04:11.506 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:805 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.030) 0:04:11.537 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.025) 0:04:11.562 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.023) 0:04:11.586 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.022) 0:04:11.608 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.020) 0:04:11.628 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.022) 0:04:11.651 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:855 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.022) 0:04:11.674 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:881 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.021) 0:04:11.695 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:902 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.021) 0:04:11.717 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:910 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.045) 0:04:11.763 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.021) 0:04:11.784 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:926 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.088) 0:04:11.872 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:943 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.022) 0:04:11.895 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:958 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.024) 0:04:11.919 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.022) 0:04:11.942 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1032 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.030) 0:04:11.972 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.024) 0:04:11.997 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1046 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.026) 0:04:12.024 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1057 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.024) 0:04:12.048 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1063 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.022) 0:04:12.071 **** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.030) 0:04:12.101 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.024) 0:04:12.125 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1088 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.025) 0:04:12.151 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1103 Wednesday 06 December 2023 13:46:14 +0000 (0:00:00.030) 0:04:12.181 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.052) 0:04:12.233 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1135 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.049) 0:04:12.283 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.033) 0:04:12.317 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1154 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.030) 0:04:12.347 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1165 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.093) 0:04:12.441 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.022) 0:04:12.463 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1191 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.022) 0:04:12.486 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1198 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.023) 0:04:12.509 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1205 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.022) 0:04:12.532 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1214 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.022) 0:04:12.554 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1221 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.029) 0:04:12.584 **** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1233 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.045) 0:04:12.629 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1242 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.024) 0:04:12.653 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1249 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.023) 0:04:12.677 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.034) 0:04:12.711 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1263 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.022) 0:04:12.734 **** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.027) 0:04:12.761 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.024) 0:04:12.786 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.024) 0:04:12.811 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.024) 0:04:12.835 **** ok: [sut] => { "changed": false } RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 06 December 2023 13:46:15 +0000 (0:00:00.343) 0:04:13.179 **** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:45:39 UTC", "ActiveEnterTimestampMonotonic": "967917079", "ActiveExitTimestamp": "Wed 2023-12-06 13:46:01 UTC", "ActiveExitTimestampMonotonic": "989847537", "ActiveState": "inactive", "After": "network.target auditd.service systemd-journald.socket system.slice basic.target sysinit.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:45:39 UTC", "AssertTimestampMonotonic": "967915804", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:45:39 UTC", "ConditionTimestampMonotonic": "967915802", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2023-12-06 13:46:01 UTC", "ExecMainExitTimestampMonotonic": "990074478", "ExecMainPID": "21891", "ExecMainStartTimestamp": "Wed 2023-12-06 13:45:39 UTC", "ExecMainStartTimestampMonotonic": "967916988", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:45:39 UTC] ; stop_time=[Wed 2023-12-06 13:46:01 UTC] ; pid=21891 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:46:01 UTC", "InactiveEnterTimestampMonotonic": "990074566", "InactiveExitTimestamp": "Wed 2023-12-06 13:45:39 UTC", "InactiveExitTimestampMonotonic": "967917079", "InvocationID": "dfdbf19b56494a8f8f5cfde36b437d36", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:46:01 UTC", "StateChangeTimestampMonotonic": "990074566", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1316 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.349) 0:04:13.528 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.021) 0:04:13.550 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:88 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.022) 0:04:13.573 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:8 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.199) 0:04:13.772 **** 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.006702", "end": "2023-12-06 13:46:16.760398", "rc": 0, "start": "2023-12-06 13:46:16.753696" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:23 Wednesday 06 December 2023 13:46:16 +0000 (0:00:00.223) 0:04:13.996 **** 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.005587", "end": "2023-12-06 13:46:16.984495", "rc": 0, "start": "2023-12-06 13:46:16.978908" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:35 Wednesday 06 December 2023 13:46:17 +0000 (0:00:00.217) 0:04:14.214 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:39 Wednesday 06 December 2023 13:46:17 +0000 (0:00:00.024) 0:04:14.238 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:46:17 +0000 (0:00:00.131) 0:04:14.370 **** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005284", "end": "2023-12-06 13:46:17.363192", "rc": 0, "start": "2023-12-06 13:46:17.357908" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:46:17 +0000 (0:00:00.227) 0:04:14.597 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:46:17 +0000 (0:00:00.032) 0:04:14.629 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:46:17 +0000 (0:00:00.025) 0:04:14.655 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:46:17 +0000 (0:00:00.025) 0:04:14.681 **** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004486", "end": "2023-12-06 13:46:17.748772", "rc": 0, "start": "2023-12-06 13:46:17.744286" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:46:17 +0000 (0:00:00.327) 0:04:15.009 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:46:17 +0000 (0:00:00.050) 0:04:15.059 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:46:17 +0000 (0:00:00.024) 0:04:15.083 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:46:17 +0000 (0:00:00.034) 0:04:15.118 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004788", "end": "2023-12-06 13:46:18.130705", "rc": 0, "start": "2023-12-06 13:46:18.125917" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.242) 0:04:15.360 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.032) 0:04:15.393 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.025) 0:04:15.418 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.025) 0:04:15.443 **** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004926", "end": "2023-12-06 13:46:18.453205", "rc": 0, "start": "2023-12-06 13:46:18.448279" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.244) 0:04:15.687 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.036) 0:04:15.724 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.027) 0:04:15.751 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.025) 0:04:15.776 **** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004811", "end": "2023-12-06 13:46:18.759482", "rc": 0, "start": "2023-12-06 13:46:18.754671" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.212) 0:04:15.989 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.025) 0:04:16.014 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.034) 0:04:16.049 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:55 Wednesday 06 December 2023 13:46:18 +0000 (0:00:00.023) 0:04:16.073 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870176.8520193, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701870176.8190203, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 988, "gr_name": "mssql", "inode": 41943365, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870176.8190203, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "943680260", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:60 Wednesday 06 December 2023 13:46:19 +0000 (0:00:00.278) 0:04:16.351 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:70 Wednesday 06 December 2023 13:46:19 +0000 (0:00:00.055) 0:04:16.406 **** ok: [sut] => { "changed": false, "stat": { "atime": 1701870379.4601502, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1701870379.47815, "dev": 51715, "device_type": 0, "executable": true, "exists": true, "gid": 988, "gr_name": "mssql", "inode": 50332421, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1701870379.47815, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 990, "version": "2308447465", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:75 Wednesday 06 December 2023 13:46:19 +0000 (0:00:00.329) 0:04:16.736 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:85 Wednesday 06 December 2023 13:46:19 +0000 (0:00:00.031) 0:04:16.767 **** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 06 December 2023 13:46:19 +0000 (0:00:00.037) 0:04:16.804 **** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:46:16 UTC", "ActiveEnterTimestampMonotonic": "1004819567", "ActiveExitTimestamp": "Wed 2023-12-06 13:46:01 UTC", "ActiveExitTimestampMonotonic": "989847537", "ActiveState": "active", "After": "network.target auditd.service systemd-journald.socket system.slice basic.target sysinit.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:46:16 UTC", "AssertTimestampMonotonic": "1004818340", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:46:16 UTC", "ConditionTimestampMonotonic": "1004818339", "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": "23028", "ExecMainStartTimestamp": "Wed 2023-12-06 13:46:16 UTC", "ExecMainStartTimestampMonotonic": "1004819509", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2023-12-06 13:46:16 UTC] ; stop_time=[n/a] ; pid=23028 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2023-12-06 13:46:01 UTC", "InactiveEnterTimestampMonotonic": "990074566", "InactiveExitTimestamp": "Wed 2023-12-06 13:46:16 UTC", "InactiveExitTimestampMonotonic": "1004819567", "InvocationID": "6bb2f0e2cc294f1fb64e4a7013a9cdd5", "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": "23028", "MemoryAccounting": "yes", "MemoryCurrent": "664809472", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:46:16 UTC", "StateChangeTimestampMonotonic": "1004819567", "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": "Wed 2023-12-06 13:46:16 UTC", "WatchdogTimestampMonotonic": "1004819564", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 06 December 2023 13:46:20 +0000 (0:00:00.450) 0:04:17.255 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003379", "end": "2023-12-06 13:46:20.247813", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:20.244434" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 06 December 2023 13:46:20 +0000 (0:00:00.226) 0:04:17.481 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003080", "end": "2023-12-06 13:46:20.472150", "failed_when_result": false, "rc": 0, "start": "2023-12-06 13:46:20.469070" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 06 December 2023 13:46:20 +0000 (0:00:00.221) 0:04:17.703 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:93 Wednesday 06 December 2023 13:46:20 +0000 (0:00:00.030) 0:04:17.734 **** ok: [sut] => { "changed": false, "elapsed": 18, "gid": 988, "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": 7545, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:100 Wednesday 06 December 2023 13:46:38 +0000 (0:00:18.254) 0:04:35.989 **** 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.022808", "end": "2023-12-06 13:46:39.029339", "rc": 0, "start": "2023-12-06 13:46:39.006531" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU23) (KB5030333) - 15.0.4335.1 (X64) Sep 21 2023 17:28:44 Copyright (C) 2019 Microsoft Corporation Standard Edition (64-bit) on Linux (Red Hat Enterprise Linux 8.9 (Ootpa)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:104 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.275) 0:04:36.264 **** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:108 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.045) 0:04:36.310 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 13:46:39 +0000 (0:00:00.052) 0:04:36.363 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 13:46:40 +0000 (0:00:01.535) 0:04:37.898 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 13:46:40 +0000 (0:00:00.052) 0:04:37.951 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:115 Wednesday 06 December 2023 13:46:40 +0000 (0:00:00.074) 0:04:38.025 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:7 Wednesday 06 December 2023 13:46:40 +0000 (0:00:00.049) 0:04:38.074 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:12 Wednesday 06 December 2023 13:46:42 +0000 (0:00:01.260) 0:04:39.335 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_package.yml:17 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.025) 0:04:39.360 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:126 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.035) 0:04:39.396 **** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004208", "end": "2023-12-06 13:46:42.375710", "rc": 0, "start": "2023-12-06 13:46:42.371502" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:131 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.208) 0:04:39.604 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:136 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.022) 0:04:39.627 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:142 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.049) 0:04:39.677 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.141) 0:04:39.819 **** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004302", "end": "2023-12-06 13:46:42.792756", "rc": 0, "start": "2023-12-06 13:46:42.788454" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.203) 0:04:40.022 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.025) 0:04:40.048 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.032) 0:04:40.080 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:148 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.028) 0:04:40.109 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:7 Wednesday 06 December 2023 13:46:42 +0000 (0:00:00.049) 0:04:40.158 **** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004439", "end": "2023-12-06 13:46:43.131537", "rc": 0, "start": "2023-12-06 13:46:43.127098" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:14 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.211) 0:04:40.369 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:25 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.031) 0:04:40.401 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/mssql_conf_verify.yml:40 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.044) 0:04:40.446 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:158 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.042) 0:04:40.488 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:169 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.022) 0:04:40.511 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:181 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.024) 0:04:40.535 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:189 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.047) 0:04:40.582 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:199 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.139) 0:04:40.722 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:204 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.025) 0:04:40.747 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:212 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.026) 0:04:40.773 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/tests_idempotency.yml:105 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.022) 0:04:40.796 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/check_header.yml:4 Wednesday 06 December 2023 13:46:43 +0000 (0:00:00.209) 0:04:41.005 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002897", "end": "2023-12-06 13:46:44.064382", "rc": 0, "start": "2023-12-06 13:46:44.061485" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = False [EULA] accepteula = Y [filelocation] defaultdatadir = /var/opt/mssql/data defaultlogdir = /var/opt/mssql/log [network] ipaddress = 127.0.0.1 tcpport = 1435 [traceflag] [control] alternatewritethrough = 0 writethrough = 0 TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_idempotency_2019.yml:17 Wednesday 06 December 2023 13:46:44 +0000 (0:00:00.286) 0:04:41.292 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:2 Wednesday 06 December 2023 13:46:44 +0000 (0:00:00.038) 0:04:41.331 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:6 Wednesday 06 December 2023 13:46:45 +0000 (0:00:01.370) 0:04:42.701 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:14 Wednesday 06 December 2023 13:46:45 +0000 (0:00:00.032) 0:04:42.733 **** ok: [sut] => { "ansible_python_version": "3.6.8" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:18 Wednesday 06 December 2023 13:46:45 +0000 (0:00:00.031) 0:04:42.765 **** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 06 December 2023 13:46:45 +0000 (0:00:00.087) 0:04:42.853 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 06 December 2023 13:46:45 +0000 (0:00:00.054) 0:04:42.907 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Wednesday 06 December 2023 13:46:45 +0000 (0:00:00.035) 0:04:42.943 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Wednesday 06 December 2023 13:46:45 +0000 (0:00:00.233) 0:04:43.177 **** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Wednesday 06 December 2023 13:46:46 +0000 (0:00:00.025) 0:04:43.202 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 06 December 2023 13:46:47 +0000 (0:00:01.273) 0:04:44.475 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 06 December 2023 13:46:47 +0000 (0:00:00.024) 0:04:44.500 **** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 06 December 2023 13:46:47 +0000 (0:00:00.038) 0:04:44.538 **** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:39:40 UTC", "ActiveEnterTimestampMonotonic": "609240091", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice sysinit.target dbus.socket polkit.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:39:40 UTC", "AssertTimestampMonotonic": "608535966", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:39:40 UTC", "ConditionTimestampMonotonic": "608535963", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service shutdown.target nftables.service iptables.service ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10417", "ExecMainStartTimestamp": "Wed 2023-12-06 13:39:40 UTC", "ExecMainStartTimestampMonotonic": "608605063", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:39:40 UTC", "InactiveExitTimestampMonotonic": "608605154", "InvocationID": "facb5b46b26a460a93cd07b372716d32", "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": "10417", "MemoryAccounting": "yes", "MemoryCurrent": "43642880", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:39:40 UTC", "StateChangeTimestampMonotonic": "609240091", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2023-12-06 13:39:40 UTC", "WatchdogTimestampMonotonic": "609240087", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 06 December 2023 13:46:47 +0000 (0:00:00.340) 0:04:44.879 **** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2023-12-06 13:39:40 UTC", "ActiveEnterTimestampMonotonic": "609240091", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice sysinit.target dbus.socket polkit.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2023-12-06 13:39:40 UTC", "AssertTimestampMonotonic": "608535966", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2023-12-06 13:39:40 UTC", "ConditionTimestampMonotonic": "608535963", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service shutdown.target nftables.service iptables.service ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10417", "ExecMainStartTimestamp": "Wed 2023-12-06 13:39:40 UTC", "ExecMainStartTimestampMonotonic": "608605063", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2023-12-06 13:39:40 UTC", "InactiveExitTimestampMonotonic": "608605154", "InvocationID": "facb5b46b26a460a93cd07b372716d32", "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": "10417", "MemoryAccounting": "yes", "MemoryCurrent": "43642880", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2023-12-06 13:39:40 UTC", "StateChangeTimestampMonotonic": "609240091", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2023-12-06 13:39:40 UTC", "WatchdogTimestampMonotonic": "609240087", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 06 December 2023 13:46:48 +0000 (0:00:00.328) 0:04:45.208 **** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python3", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 06 December 2023 13:46:48 +0000 (0:00:00.028) 0:04:45.237 **** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.41.22 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 06 December 2023 13:46:48 +0000 (0:00:00.281) 0:04:45.519 **** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 06 December 2023 13:46:48 +0000 (0:00:00.024) 0:04:45.543 **** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 06 December 2023 13:46:48 +0000 (0:00:00.021) 0:04:45.565 **** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 06 December 2023 13:46:48 +0000 (0:00:00.021) 0:04:45.587 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 06 December 2023 13:46:48 +0000 (0:00:00.023) 0:04:45.611 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 06 December 2023 13:46:48 +0000 (0:00:00.096) 0:04:45.707 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 06 December 2023 13:46:48 +0000 (0:00:00.025) 0:04:45.733 **** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.41.22 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 06 December 2023 13:46:48 +0000 (0:00:00.377) 0:04:46.110 **** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 06 December 2023 13:46:48 +0000 (0:00:00.042) 0:04:46.153 **** skipping: [sut] => {} TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:27 Wednesday 06 December 2023 13:46:48 +0000 (0:00:00.043) 0:04:46.197 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:35 Wednesday 06 December 2023 13:46:49 +0000 (0:00:00.034) 0:04:46.231 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:39 Wednesday 06 December 2023 13:46:49 +0000 (0:00:00.051) 0:04:46.283 **** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:45 Wednesday 06 December 2023 13:46:49 +0000 (0:00:00.393) 0:04:46.677 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: lsof-4.93.2-1.el8.x86_64", "Removed: libtool-ltdl-2.4.6-25.el8.x86_64", "Removed: libatomic-8.5.0-20.el8.x86_64", "Removed: libatomic_ops-7.6.2-3.el8.x86_64", "Removed: libicu-60.3-2.el8_1.x86_64", "Removed: libbabeltrace-1.5.4-4.el8.x86_64", "Removed: libipt-1.6.1-8.el8.x86_64", "Removed: msodbcsql17-17.10.5.1-1.x86_64", "Removed: mssql-server-15.0.4335.1-6.x86_64", "Removed: gc-7.6.4-3.el8.x86_64", "Removed: mssql-tools-17.10.1.1-1.x86_64", "Removed: gcc-gdb-plugin-8.5.0-20.el8.x86_64", "Removed: gdb-8.2-20.el8.x86_64", "Removed: gdb-headless-8.2-20.el8.x86_64", "Removed: unixODBC-2.3.11-1.rh.x86_64", "Removed: unixODBC-devel-2.3.11-1.rh.x86_64", "Removed: guile-5:2.0.14-7.el8.x86_64", "Removed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Removed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Removed: bzip2-1.0.6-26.el8.x86_64" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:58 Wednesday 06 December 2023 13:46:53 +0000 (0:00:04.394) 0:04:51.071 **** changed: [sut] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.012677", "end": "2023-12-06 13:46:54.052030", "rc": 0, "start": "2023-12-06 13:46:54.039353" } STDOUT: removed directory '/var/opt/mssql/.system/system/Temp' removed '/var/opt/mssql/.system/system/lsasetup.log' removed '/var/opt/mssql/.system/system/debug/PASSWD.LOG' removed directory '/var/opt/mssql/.system/system/debug' removed '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/8179d1b2-2afd-4db3-ac27-30f5b96040aa' removed '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect' removed directory '/var/opt/mssql/.system/system/system32/Microsoft' removed directory '/var/opt/mssql/.system/system/system32/LogFiles/Scm' removed directory '/var/opt/mssql/.system/system/system32/LogFiles' removed directory '/var/opt/mssql/.system/system/system32' removed '/var/opt/mssql/.system/system/licensing.hiv' removed '/var/opt/mssql/.system/system/security.hiv' removed '/var/opt/mssql/.system/system/lsa.hiv' removed directory '/var/opt/mssql/.system/system' removed directory '/var/opt/mssql/.system/profiles/Client/Desktop' removed directory '/var/opt/mssql/.system/profiles/Client/Documents' removed directory '/var/opt/mssql/.system/profiles/Client/Temp' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/LocalLow' removed directory '/var/opt/mssql/.system/profiles/Client/AppData' removed directory '/var/opt/mssql/.system/profiles/Client' removed directory '/var/opt/mssql/.system/profiles' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed directory '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore' removed directory '/var/opt/mssql/.system/programdata/Microsoft/NetFramework' removed directory '/var/opt/mssql/.system/programdata/Microsoft' removed directory '/var/opt/mssql/.system/programdata' removed '/var/opt/mssql/.system/instance_id' removed directory '/var/opt/mssql/.system' removed '/var/opt/mssql/data/master.mdf' removed '/var/opt/mssql/data/mastlog.ldf' removed '/var/opt/mssql/data/model.mdf' removed '/var/opt/mssql/data/modellog.ldf' removed '/var/opt/mssql/data/msdbdata.mdf' removed '/var/opt/mssql/data/msdblog.ldf' removed '/var/opt/mssql/data/model_replicatedmaster.mdf' removed '/var/opt/mssql/data/model_replicatedmaster.ldf' removed '/var/opt/mssql/data/model_msdbdata.mdf' removed '/var/opt/mssql/data/model_msdblog.ldf' removed '/var/opt/mssql/data/Entropy.bin' removed '/var/opt/mssql/data/tempdb.mdf' removed '/var/opt/mssql/data/templog.ldf' removed '/var/opt/mssql/data/tempdb2.ndf' removed '/var/opt/mssql/data/tempdb3.ndf' removed '/var/opt/mssql/data/tempdb4.ndf' removed directory '/var/opt/mssql/data' removed '/var/opt/mssql/log/mssql-conf/mssql-conf.log' removed directory '/var/opt/mssql/log/mssql-conf' removed '/var/opt/mssql/log/sqlagentstartup.log' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463437748400000.xel' removed '/var/opt/mssql/log/system_health_0_133463437755490000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463437798230000.xel' removed '/var/opt/mssql/log/system_health_0_133463437803430000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463438303060000.xel' removed '/var/opt/mssql/log/system_health_0_133463438307530000.xel' removed '/var/opt/mssql/log/FDLAUNCHERRORLOG' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463438551760000.xel' removed '/var/opt/mssql/log/system_health_0_133463438555980000.xel' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463438703930000.xel' removed '/var/opt/mssql/log/system_health_0_133463438708680000.xel' removed '/var/opt/mssql/log/log_9.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463439183160000.xel' removed '/var/opt/mssql/log/system_health_0_133463439187600000.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_133463439270420000.xel' removed '/var/opt/mssql/log/system_health_0_133463439274710000.xel' removed '/var/opt/mssql/log/log_6.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463439420840000.xel' removed '/var/opt/mssql/log/system_health_0_133463439425380000.xel' removed '/var/opt/mssql/log/log_7.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133463439657840000.xel' removed '/var/opt/mssql/log/system_health_0_133463439661970000.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_133463439789820000.xel' removed '/var/opt/mssql/log/system_health_0_133463439794510000.xel' removed directory '/var/opt/mssql/log' removed '/var/opt/mssql/mssql.conf' removed '/var/opt/mssql/secrets/machine-key' removed directory '/var/opt/mssql/secrets' removed '/var/opt/mssql/FTData/tsara.xml' removed '/var/opt/mssql/FTData/tsben.xml' removed '/var/opt/mssql/FTData/tsbgr.xml' removed '/var/opt/mssql/FTData/tscat.xml' removed '/var/opt/mssql/FTData/tschs.xml' removed '/var/opt/mssql/FTData/tscht.xml' removed '/var/opt/mssql/FTData/tscze.xml' removed '/var/opt/mssql/FTData/tsdan.xml' removed '/var/opt/mssql/FTData/tsdeu.xml' removed '/var/opt/mssql/FTData/tseng.xml' removed '/var/opt/mssql/FTData/tsenu.xml' removed '/var/opt/mssql/FTData/tsesn.xml' removed '/var/opt/mssql/FTData/tsfra.xml' removed '/var/opt/mssql/FTData/tsgrk.xml' removed '/var/opt/mssql/FTData/tsguj.xml' removed '/var/opt/mssql/FTData/tsheb.xml' removed '/var/opt/mssql/FTData/tshin.xml' removed '/var/opt/mssql/FTData/tshrv.xml' removed '/var/opt/mssql/FTData/tsind.xml' removed '/var/opt/mssql/FTData/tsisl.xml' removed '/var/opt/mssql/FTData/tsita.xml' removed '/var/opt/mssql/FTData/tsjpn.xml' removed '/var/opt/mssql/FTData/tskan.xml' removed '/var/opt/mssql/FTData/tskor.xml' removed '/var/opt/mssql/FTData/tslth.xml' removed '/var/opt/mssql/FTData/tslvi.xml' removed '/var/opt/mssql/FTData/tsmal.xml' removed '/var/opt/mssql/FTData/tsmar.xml' removed '/var/opt/mssql/FTData/tsmsl.xml' removed '/var/opt/mssql/FTData/tsglobal.xml' removed '/var/opt/mssql/FTData/tsnld.xml' removed '/var/opt/mssql/FTData/tsnor.xml' removed '/var/opt/mssql/FTData/tspan.xml' removed '/var/opt/mssql/FTData/tsplk.xml' removed '/var/opt/mssql/FTData/tsptb.xml' removed '/var/opt/mssql/FTData/tsptg.xml' removed '/var/opt/mssql/FTData/tsrom.xml' removed '/var/opt/mssql/FTData/tsrus.xml' removed '/var/opt/mssql/FTData/tssky.xml' removed '/var/opt/mssql/FTData/tsslv.xml' removed '/var/opt/mssql/FTData/tssrb.xml' removed '/var/opt/mssql/FTData/tssrl.xml' removed '/var/opt/mssql/FTData/tssve.xml' removed '/var/opt/mssql/FTData/tstam.xml' removed '/var/opt/mssql/FTData/tstel.xml' removed '/var/opt/mssql/FTData/tstha.xml' removed '/var/opt/mssql/FTData/tstrk.xml' removed '/var/opt/mssql/FTData/tsukr.xml' removed '/var/opt/mssql/FTData/tsurd.xml' removed '/var/opt/mssql/FTData/tsvit.xml' removed directory '/var/opt/mssql/FTData/FilterData' removed directory '/var/opt/mssql/FTData' removed directory '/var/opt/mssql' removed directory '/opt/mssql/misc' removed directory '/opt/mssql' removed directory '/opt/mssql-tools' removed '/etc/yum.repos.d/packages-microsoft-com-mssql-server-2019.repo' removed '/etc/yum.repos.d/packages-microsoft-com-prod.repo' TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:72 Wednesday 06 December 2023 13:46:54 +0000 (0:00:00.213) 0:04:51.284 **** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.010467", "end": "2023-12-06 13:46:54.264311", "rc": 0, "start": "2023-12-06 13:46:54.253844" } STDERR: Failed to stop mssql-server.service: Unit mssql-server.service not loaded. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=347 changed=44 unreachable=0 failed=0 skipped=498 rescued=0 ignored=3 Wednesday 06 December 2023 13:46:54 +0000 (0:00:00.194) 0:04:51.479 **** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 35.14s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 linux-system-roles.mssql : Ensure the package mssql-server-fts --------- 27.09s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Wait for mssql-server to prepare for client connections ---------------- 18.25s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:93 ------- Wait for mssql-server to prepare for client connections ---------------- 18.22s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/verify_settings.yml:93 ------- linux-system-roles.mssql : Gather system services facts ----------------- 8.69s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Gather system services facts ----------------- 8.63s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Gather system services facts ----------------- 8.62s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Ensure the package powershell ---------------- 8.41s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 linux-system-roles.mssql : Change the password of sa user --------------- 6.76s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 linux-system-roles.mssql : Change the password of sa user --------------- 5.92s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 linux-system-roles.mssql : Change the edition of MSSQL ------------------ 5.82s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 linux-system-roles.mssql : Set up MSSQL --------------------------------- 5.69s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:310 linux-system-roles.mssql : Gather system services facts ----------------- 4.63s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Remove related packages ------------------------------------------------- 4.39s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:45 --------------- linux-system-roles.mssql : Change the password of sa user --------------- 4.23s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:459 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 2.37s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories --- 2.34s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 linux-system-roles.mssql : Ensure the package powershell ---------------- 1.80s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 linux-system-roles.mssql : Ensure the package mssql-server-fts ---------- 1.69s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 1.67s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---