# 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_tls_2017.yml *************************************************** 2 plays in /WORKDIR/git-rhel-9-unconff0755jgg/tests/tests_tls_2017.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tests_tls_2017.yml:4 Thursday 22 February 2024 18:53:06 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconff0755jgg/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Ensure that tls encryption configuration works] ************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tests_tls_2017.yml:9 Thursday 22 February 2024 18:53:06 +0000 (0:00:00.009) 0:00:00.022 ***** ok: [sut] META: ran handlers TASK [Run tests_tls with SQL Server 2017] ************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tests_tls_2017.yml:23 Thursday 22 February 2024 18:53:07 +0000 (0:00:00.583) 0:00:00.606 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml for sut TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:2 Thursday 22 February 2024 18:53:07 +0000 (0:00:00.026) 0:00:00.632 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Thursday 22 February 2024 18:53:07 +0000 (0:00:00.015) 0:00:00.648 ***** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Thursday 22 February 2024 18:53:07 +0000 (0:00:00.228) 0:00:00.876 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Thursday 22 February 2024 18:53:07 +0000 (0:00:00.011) 0:00:00.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:5 Thursday 22 February 2024 18:53:07 +0000 (0:00:00.011) 0:00:00.899 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-26.el7_9.x86_64 providing openssl is already installed" ] } TASK [Create a tempfile for a certificate on hosts] **************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:11 Thursday 22 February 2024 18:53:08 +0000 (0:00:00.481) 0:00:01.381 ***** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.0e6VAd", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Create a tempfile for a private key on hosts] **************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:17 Thursday 22 February 2024 18:53:08 +0000 (0:00:00.197) 0:00:01.578 ***** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.RxE8yH", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Generate a self-signed certificate and public key] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:23 Thursday 22 February 2024 18:53:08 +0000 (0:00:00.157) 0:00:01.736 ***** changed: [sut] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.8.225", "-out", "/tmp/ansible.0e6VAd", "-keyout", "/tmp/ansible.RxE8yH", "-days", "365" ], "delta": "0:00:00.267466", "end": "2024-02-22 18:53:08.971961", "rc": 0, "start": "2024-02-22 18:53:08.704495" } STDERR: Generating a 2048 bit RSA private key ..........................................+++ ........................+++ writing new private key to '/tmp/ansible.RxE8yH' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:32 Thursday 22 February 2024 18:53:09 +0000 (0:00:00.468) 0:00:02.204 ***** changed: [sut] => (item=/tmp/ansible.0e6VAd) => { "ansible_loop_var": "item", "changed": true, "checksum": "aef9c53e0a80fb21fea85566fba13060947392cb", "dest": "/tmp/ansible.0e6VAd", "item": "/tmp/ansible.0e6VAd", "md5sum": "8c9629be473eff40154261b6ebbfa828", "remote_checksum": "aef9c53e0a80fb21fea85566fba13060947392cb", "remote_md5sum": null } changed: [sut] => (item=/tmp/ansible.RxE8yH) => { "ansible_loop_var": "item", "changed": true, "checksum": "e35d4aaafaf5c0340fe55ccdc8016a14478f57ed", "dest": "/tmp/ansible.RxE8yH", "item": "/tmp/ansible.RxE8yH", "md5sum": "b204c578589b5bbd25ed3865d1852a67", "remote_checksum": "e35d4aaafaf5c0340fe55ccdc8016a14478f57ed", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:44 Thursday 22 February 2024 18:53:09 +0000 (0:00:00.424) 0:00:02.628 ***** changed: [sut -> localhost] => { "changed": true, "checksum": "e35d4aaafaf5c0340fe55ccdc8016a14478f57ed", "dest": "./ansible.RxE8yH", "gid": 1001, "group": "jenkins", "md5sum": "b204c578589b5bbd25ed3865d1852a67", "mode": "0600", "owner": "jenkins", "size": 1704, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708627989.4519963-22734-263682347948860/source", "state": "file", "uid": 1000090000 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:52 Thursday 22 February 2024 18:53:09 +0000 (0:00:00.322) 0:00:02.950 ***** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.0e6VAd", "mssql_tls_private_key": "ansible.RxE8yH" }, "changed": false } TASK [Run role] **************************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:59 Thursday 22 February 2024 18:53:09 +0000 (0:00:00.010) 0:00:02.961 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 18:53:09 +0000 (0:00:00.131) 0:00:03.093 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 18:53:09 +0000 (0:00:00.011) 0:00:03.104 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 18:53:09 +0000 (0:00:00.009) 0:00:03.114 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 18:53:09 +0000 (0:00:00.022) 0:00:03.137 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 18:53:09 +0000 (0:00:00.008) 0:00:03.146 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 18:53:09 +0000 (0:00:00.014) 0:00:03.160 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 18:53:09 +0000 (0:00:00.009) 0:00:03.170 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 18:53:09 +0000 (0:00:00.016) 0:00:03.187 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 18:53:10 +0000 (0:00:00.018) 0:00:03.205 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 18:53:10 +0000 (0:00:00.009) 0:00:03.215 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 18:53:10 +0000 (0:00:00.010) 0:00:03.226 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 18:53:10 +0000 (0:00:00.008) 0:00:03.234 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 18:53:10 +0000 (0:00:00.008) 0:00:03.243 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 18:53:10 +0000 (0:00:00.011) 0:00:03.255 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 18:53:10 +0000 (0:00:00.008) 0:00:03.263 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 18:53:10 +0000 (0:00:00.008) 0:00:03.271 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 18:53:10 +0000 (0:00:00.008) 0:00:03.280 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 18:53:10 +0000 (0:00:00.008) 0:00:03.288 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 18:53:10 +0000 (0:00:00.009) 0:00:03.297 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Thursday 22 February 2024 18:53:10 +0000 (0:00:00.008) 0:00:03.305 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:146 Thursday 22 February 2024 18:53:11 +0000 (0:00:01.200) 0:00:04.506 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:155 Thursday 22 February 2024 18:53:11 +0000 (0:00:00.049) 0:00:04.555 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:162 Thursday 22 February 2024 18:53:11 +0000 (0:00:00.062) 0:00:04.617 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:169 Thursday 22 February 2024 18:53:11 +0000 (0:00:00.036) 0:00:04.654 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:184 Thursday 22 February 2024 18:53:11 +0000 (0:00:00.041) 0:00:04.695 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Thursday 22 February 2024 18:53:11 +0000 (0:00:00.463) 0:00:05.159 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 18:53:11 +0000 (0:00:00.019) 0:00:05.179 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:218 Thursday 22 February 2024 18:53:11 +0000 (0:00:00.020) 0:00:05.200 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Thursday 22 February 2024 18:53:12 +0000 (0:00:00.026) 0:00:05.226 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [linux-system-roles.mssql : Configure to run as a confined application with SELinux] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 22 February 2024 18:53:12 +0000 (0:00:00.254) 0:00:05.481 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Thursday 22 February 2024 18:53:12 +0000 (0:00:00.425) 0:00:05.906 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3465.1-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal size: 203 M\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libatomic-4.8.5-44.el7.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libatomic-4.8.5-44.el7.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Thursday 22 February 2024 18:53:52 +0000 (0:00:39.828) 0:00:45.735 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:257 Thursday 22 February 2024 18:53:52 +0000 (0:00:00.017) 0:00:45.752 ***** 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.006087", "end": "2024-02-22 18:53:52.670395", "rc": 0, "start": "2024-02-22 18:53:52.664308" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Thursday 22 February 2024 18:53:52 +0000 (0:00:00.143) 0:00:45.896 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:276 Thursday 22 February 2024 18:53:53 +0000 (0:00:00.825) 0:00:46.722 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 22 February 2024 18:53:53 +0000 (0:00:00.025) 0:00:46.747 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:301 Thursday 22 February 2024 18:53:53 +0000 (0:00:00.043) 0:00:46.791 ***** changed: [sut] => { "attempts": 1, "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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:326 Thursday 22 February 2024 18:53:58 +0000 (0:00:05.114) 0:00:51.905 ***** skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:341 Thursday 22 February 2024 18:53:58 +0000 (0:00:00.024) 0:00:51.930 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Thursday 22 February 2024 18:53:58 +0000 (0:00:00.018) 0:00:51.949 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Thursday 22 February 2024 18:53:58 +0000 (0:00:00.017) 0:00:51.966 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Thursday 22 February 2024 18:53:59 +0000 (0:00:00.372) 0:00:52.339 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:21:17 UTC", "ActiveEnterTimestampMonotonic": "23304235", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target network.target dbus.service systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:21:15 UTC", "AssertTimestampMonotonic": "22018389", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ConditionTimestampMonotonic": "22018388", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "886", "ExecMainStartTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ExecMainStartTimestampMonotonic": "22019020", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-02-22 18:21:15 UTC", "InactiveExitTimestampMonotonic": "22019064", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "886", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:21:17 UTC", "WatchdogTimestampMonotonic": "23303924", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Thursday 22 February 2024 18:53:59 +0000 (0:00:00.381) 0:00:52.721 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.106389", "end": "2024-02-22 18:53:59.738254", "rc": 0, "start": "2024-02-22 18:53:59.631865" } 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Thursday 22 February 2024 18:53:59 +0000 (0:00:00.249) 0:00:52.971 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Thursday 22 February 2024 18:53:59 +0000 (0:00:00.019) 0:00:52.990 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Thursday 22 February 2024 18:53:59 +0000 (0:00:00.019) 0:00:53.009 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Thursday 22 February 2024 18:53:59 +0000 (0:00:00.018) 0:00:53.027 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Thursday 22 February 2024 18:54:00 +0000 (0:00:00.186) 0:00:53.214 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql17 x86_64 17.10.5.1-1 packages-microsoft-com-prod 913 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql17-17.10.5.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.5.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Thursday 22 February 2024 18:54:05 +0000 (0:00:05.031) 0:00:58.246 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Thursday 22 February 2024 18:54:05 +0000 (0:00:00.021) 0:00:58.267 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Thursday 22 February 2024 18:54:05 +0000 (0:00:00.021) 0:00:58.289 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Thursday 22 February 2024 18:54:05 +0000 (0:00:00.020) 0:00:58.309 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Thursday 22 February 2024 18:54:05 +0000 (0:00:00.019) 0:00:58.329 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Thursday 22 February 2024 18:54:05 +0000 (0:00:00.019) 0:00:58.348 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Thursday 22 February 2024 18:54:05 +0000 (0:00:00.018) 0:00:58.366 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Thursday 22 February 2024 18:54:05 +0000 (0:00:00.020) 0:00:58.387 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Thursday 22 February 2024 18:54:05 +0000 (0:00:00.019) 0:00:58.406 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Thursday 22 February 2024 18:54:05 +0000 (0:00:00.019) 0:00:58.425 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Thursday 22 February 2024 18:54:05 +0000 (0:00:00.020) 0:00:58.446 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Thursday 22 February 2024 18:54:05 +0000 (0:00:00.044) 0:00:58.490 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 18:54:05 +0000 (0:00:00.020) 0:00:58.511 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 22 February 2024 18:54:05 +0000 (0:00:00.021) 0:00:58.533 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Thursday 22 February 2024 18:54:05 +0000 (0:00:00.020) 0:00:58.553 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Thursday 22 February 2024 18:54:05 +0000 (0:00:00.024) 0:00:58.578 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:54:05 +0000 (0:00:00.036) 0:00:58.614 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004534", "end": "2024-02-22 18:54:06.531953", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:05.527419" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:54:06 +0000 (0:00:01.145) 0:00:59.760 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.053437", "end": "2024-02-22 18:54:06.726325", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:06.672888" } 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:54:06 +0000 (0:00:00.199) 0:00:59.959 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Thursday 22 February 2024 18:54:06 +0000 (0:00:00.019) 0:00:59.979 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 18:54:06 +0000 (0:00:00.018) 0:00:59.998 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Thursday 22 February 2024 18:54:06 +0000 (0:00:00.019) 0:01:00.017 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Thursday 22 February 2024 18:54:06 +0000 (0:00:00.019) 0:01:00.036 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Thursday 22 February 2024 18:54:06 +0000 (0:00:00.038) 0:01:00.075 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Thursday 22 February 2024 18:54:06 +0000 (0:00:00.019) 0:01:00.095 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 18:54:06 +0000 (0:00:00.018) 0:01:00.114 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Thursday 22 February 2024 18:54:06 +0000 (0:00:00.018) 0:01:00.133 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Thursday 22 February 2024 18:54:06 +0000 (0:00:00.020) 0:01:00.153 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 18:54:06 +0000 (0:00:00.020) 0:01:00.173 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Thursday 22 February 2024 18:54:06 +0000 (0:00:00.020) 0:01:00.194 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Thursday 22 February 2024 18:54:07 +0000 (0:00:00.020) 0:01:00.215 ***** changed: [sut] => (item=/tmp/ansible.0e6VAd) => { "ansible_loop_var": "item", "changed": true, "checksum": "aef9c53e0a80fb21fea85566fba13060947392cb", "dest": "/etc/pki/tls/certs/ansible.0e6VAd", "gid": 994, "group": "mssql", "item": "/tmp/ansible.0e6VAd", "md5sum": "8c9629be473eff40154261b6ebbfa828", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/root/.ansible/tmp/ansible-tmp-1708628047.0482652-23317-48524709637435/source", "state": "file", "uid": 996 } changed: [sut] => (item=ansible.RxE8yH) => { "ansible_loop_var": "item", "changed": true, "checksum": "e35d4aaafaf5c0340fe55ccdc8016a14478f57ed", "dest": "/etc/pki/tls/private/ansible.RxE8yH", "gid": 994, "group": "mssql", "item": "ansible.RxE8yH", "md5sum": "b204c578589b5bbd25ed3865d1852a67", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1708628047.4205394-23317-26572553416440/source", "state": "file", "uid": 996 } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Thursday 22 February 2024 18:54:07 +0000 (0:00:00.797) 0:01:01.013 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlscert] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:54:07 +0000 (0:00:00.036) 0:01:01.049 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004179", "end": "2024-02-22 18:54:08.966257", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:07.962078" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:54:08 +0000 (0:00:01.144) 0:01:02.193 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.0e6VAd" ], "delta": "0:00:00.052502", "end": "2024-02-22 18:54:09.163085", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:09.110583" } 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 tlscert] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:54:09 +0000 (0:00:00.202) 0:01:02.396 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Thursday 22 February 2024 18:54:09 +0000 (0:00:00.023) 0:01:02.420 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlskey] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:54:09 +0000 (0:00:00.036) 0:01:02.456 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003537", "end": "2024-02-22 18:54:09.373716", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:09.370179" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:54:09 +0000 (0:00:00.145) 0:01:02.602 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.RxE8yH" ], "delta": "0:00:00.053080", "end": "2024-02-22 18:54:09.572921", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:09.519841" } 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 tlskey] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:54:09 +0000 (0:00:00.202) 0:01:02.805 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Thursday 22 February 2024 18:54:09 +0000 (0:00:00.022) 0:01:02.827 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlsprotocols] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:54:09 +0000 (0:00:00.036) 0:01:02.863 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003439", "end": "2024-02-22 18:54:09.780017", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:09.776578" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:54:09 +0000 (0:00:00.144) 0:01:03.008 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.052084", "end": "2024-02-22 18:54:09.975522", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:09.923438" } 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 tlsprotocols] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.198) 0:01:03.207 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.020) 0:01:03.227 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network forceencryption] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.060) 0:01:03.287 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003456", "end": "2024-02-22 18:54:10.203901", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:10.200445" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.143) 0:01:03.431 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.053392", "end": "2024-02-22 18:54:10.401493", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:10.348101" } 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 forceencryption] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.203) 0:01:03.635 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.021) 0:01:03.656 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.021) 0:01:03.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.021) 0:01:03.699 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.020) 0:01:03.720 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.022) 0:01:03.742 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.021) 0:01:03.764 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.021) 0:01:03.786 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.020) 0:01:03.806 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.021) 0:01:03.828 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.019) 0:01:03.847 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.019) 0:01:03.866 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.020) 0:01:03.887 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.019) 0:01:03.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.020) 0:01:03.927 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.019) 0:01:03.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 : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.044) 0:01:03.991 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.020) 0:01:04.011 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.018) 0:01:04.030 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.019) 0:01:04.049 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.018) 0:01:04.068 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.019) 0:01:04.087 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:998 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.018) 0:01:04.106 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.021) 0:01:04.127 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.019) 0:01:04.146 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.020) 0:01:04.167 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 18:54:10 +0000 (0:00:00.020) 0:01:04.187 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.019) 0:01:04.207 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.025) 0:01:04.232 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.019) 0:01:04.252 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.019) 0:01:04.271 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1121 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.024) 0:01:04.296 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1128 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.018) 0:01:04.314 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1153 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.018) 0:01:04.332 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1162 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.018) 0:01:04.351 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1172 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.045) 0:01:04.396 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1183 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.019) 0:01:04.416 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1196 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.019) 0:01:04.435 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.020) 0:01:04.455 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1216 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.027) 0:01:04.482 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1223 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.020) 0:01:04.503 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.018) 0:01:04.521 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.019) 0:01:04.541 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1251 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.036) 0:01:04.577 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1260 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.020) 0:01:04.598 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.022) 0:01:04.621 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1273 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.022) 0:01:04.643 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1281 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.023) 0:01:04.666 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.025) 0:01:04.692 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1306 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.020) 0:01:04.712 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for the cluster to finish configuration] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1311 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.020) 0:01:04.733 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1317 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.021) 0:01:04.754 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1326 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.021) 0:01:04.776 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 22 February 2024 18:54:11 +0000 (0:00:00.243) 0:01:05.020 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:53:58 UTC", "ActiveEnterTimestampMonotonic": "1984640558", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "auditd.service -.mount system.slice network.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:53:58 UTC", "AssertTimestampMonotonic": "1984639509", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:53:58 UTC", "ConditionTimestampMonotonic": "1984639507", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "26068", "ExecMainStartTimestamp": "Thu 2024-02-22 18:53:58 UTC", "ExecMainStartTimestampMonotonic": "1984640484", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-02-22 18:53:58 UTC", "InactiveExitTimestampMonotonic": "1984640558", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "26068", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:53:58 UTC", "WatchdogTimestampMonotonic": "1984640534", "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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1339 Thursday 22 February 2024 18:54:12 +0000 (0:00:00.658) 0:01:05.679 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Thursday 22 February 2024 18:54:12 +0000 (0:00:00.020) 0:01:05.699 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:68 Thursday 22 February 2024 18:54:12 +0000 (0:00:00.020) 0:01:05.720 ***** changed: [sut -> localhost] => { "changed": true, "path": "ansible.RxE8yH", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:75 Thursday 22 February 2024 18:54:12 +0000 (0:00:00.184) 0:01:05.905 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql-sever-increase-start-limit.yml:3 Thursday 22 February 2024 18:54:12 +0000 (0:00:00.033) 0:01:05.938 ***** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql-sever-increase-start-limit.yml:10 Thursday 22 February 2024 18:54:12 +0000 (0:00:00.236) 0:01:06.174 ***** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql-sever-increase-start-limit.yml:17 Thursday 22 February 2024 18:54:13 +0000 (0:00:00.144) 0:01:06.319 ***** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:78 Thursday 22 February 2024 18:54:13 +0000 (0:00:00.270) 0:01:06.589 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:8 Thursday 22 February 2024 18:54:13 +0000 (0:00:00.043) 0:01:06.632 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:23 Thursday 22 February 2024 18:54:13 +0000 (0:00:00.046) 0:01:06.679 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:35 Thursday 22 February 2024 18:54:13 +0000 (0:00:00.020) 0:01:06.699 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:39 Thursday 22 February 2024 18:54:13 +0000 (0:00:00.020) 0:01:06.719 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:55 Thursday 22 February 2024 18:54:13 +0000 (0:00:00.019) 0:01:06.739 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:60 Thursday 22 February 2024 18:54:13 +0000 (0:00:00.018) 0:01:06.758 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:70 Thursday 22 February 2024 18:54:13 +0000 (0:00:00.019) 0:01:06.777 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:75 Thursday 22 February 2024 18:54:13 +0000 (0:00:00.018) 0:01:06.796 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:85 Thursday 22 February 2024 18:54:13 +0000 (0:00:00.019) 0:01:06.815 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 18:54:13 +0000 (0:00:00.037) 0:01:06.852 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:54:12 UTC", "ActiveEnterTimestampMonotonic": "1998497881", "ActiveExitTimestamp": "Thu 2024-02-22 18:54:12 UTC", "ActiveExitTimestampMonotonic": "1998126207", "ActiveState": "active", "After": "system.slice systemd-journald.socket auditd.service network.target basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:54:12 UTC", "AssertTimestampMonotonic": "1998496472", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:54:12 UTC", "ConditionTimestampMonotonic": "1998496469", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "26572", "ExecMainStartTimestamp": "Thu 2024-02-22 18:54:12 UTC", "ExecMainStartTimestampMonotonic": "1998497337", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-02-22 18:54:12 UTC", "InactiveEnterTimestampMonotonic": "1998495851", "InactiveExitTimestamp": "Thu 2024-02-22 18:54:12 UTC", "InactiveExitTimestampMonotonic": "1998497881", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "26572", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:54:12 UTC", "WatchdogTimestampMonotonic": "1998497850", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 18:54:13 +0000 (0:00:00.270) 0:01:07.123 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005259", "end": "2024-02-22 18:54:14.044147", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:14.038888" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 18:54:14 +0000 (0:00:00.153) 0:01:07.277 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003663", "end": "2024-02-22 18:54:14.220762", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:14.217099" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 18:54:14 +0000 (0:00:00.169) 0:01:07.447 ***** 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-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:93 Thursday 22 February 2024 18:54:14 +0000 (0:00:00.026) 0:01:07.474 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 994, "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": 5816, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:99 Thursday 22 February 2024 18:54:15 +0000 (0:00:01.248) 0:01:08.722 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.035867", "end": "2024-02-22 18:54:15.677722", "rc": 0, "start": "2024-02-22 18:54:15.641855" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:118 Thursday 22 February 2024 18:54:15 +0000 (0:00:00.187) 0:01:08.910 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:122 Thursday 22 February 2024 18:54:15 +0000 (0:00:00.021) 0:01:08.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:129 Thursday 22 February 2024 18:54:15 +0000 (0:00:00.019) 0:01:08.952 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:140 Thursday 22 February 2024 18:54:15 +0000 (0:00:00.018) 0:01:08.971 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:145 Thursday 22 February 2024 18:54:15 +0000 (0:00:00.019) 0:01:08.990 ***** 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-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:150 Thursday 22 February 2024 18:54:15 +0000 (0:00:00.018) 0:01:09.008 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:156 Thursday 22 February 2024 18:54:15 +0000 (0:00:00.018) 0:01:09.027 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:162 Thursday 22 February 2024 18:54:15 +0000 (0:00:00.019) 0:01:09.047 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:172 Thursday 22 February 2024 18:54:15 +0000 (0:00:00.018) 0:01:09.065 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:54:15 +0000 (0:00:00.037) 0:01:09.102 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005050", "end": "2024-02-22 18:54:16.023655", "rc": 0, "start": "2024-02-22 18:54:16.018605" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.0e6VAd TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.150) 0:01:09.253 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.028) 0:01:09.281 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.0e6VAd] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.023) 0:01:09.305 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:183 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.047) 0:01:09.352 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.036) 0:01:09.389 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004775", "end": "2024-02-22 18:54:16.305282", "rc": 0, "start": "2024-02-22 18:54:16.300507" } STDOUT: tlskey = /etc/pki/tls/private/ansible.RxE8yH TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.145) 0:01:09.535 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.030) 0:01:09.565 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.RxE8yH] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.024) 0:01:09.589 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:195 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.020) 0:01:09.609 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.037) 0:01:09.647 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004847", "end": "2024-02-22 18:54:16.566716", "rc": 0, "start": "2024-02-22 18:54:16.561869" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.150) 0:01:09.798 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.031) 0:01:09.829 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.024) 0:01:09.853 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:203 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.022) 0:01:09.876 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.039) 0:01:09.915 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004785", "end": "2024-02-22 18:54:16.832546", "rc": 0, "start": "2024-02-22 18:54:16.827761" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.148) 0:01:10.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.027) 0:01:10.092 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:54:16 +0000 (0:00:00.089) 0:01:10.181 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:210 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.022) 0:01:10.204 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:85 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.034) 0:01:10.238 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.102) 0:01:10.341 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.030) 0:01:10.372 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.025) 0:01:10.397 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.033) 0:01:10.431 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.019) 0:01:10.450 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.018) 0:01:10.469 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.018) 0:01:10.487 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.018) 0:01:10.506 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.019) 0:01:10.526 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.049) 0:01:10.576 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.021) 0:01:10.597 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.019) 0:01:10.617 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.018) 0:01:10.635 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.022) 0:01:10.658 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.018) 0:01:10.676 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.022) 0:01:10.699 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.020) 0:01:10.720 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.020) 0:01:10.741 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.022) 0:01:10.763 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Thursday 22 February 2024 18:54:17 +0000 (0:00:00.026) 0:01:10.789 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:146 Thursday 22 February 2024 18:54:18 +0000 (0:00:01.004) 0:01:11.794 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:155 Thursday 22 February 2024 18:54:18 +0000 (0:00:00.130) 0:01:11.924 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:162 Thursday 22 February 2024 18:54:18 +0000 (0:00:00.022) 0:01:11.947 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:169 Thursday 22 February 2024 18:54:18 +0000 (0:00:00.023) 0:01:11.970 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:184 Thursday 22 February 2024 18:54:18 +0000 (0:00:00.038) 0:01:12.009 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Thursday 22 February 2024 18:54:19 +0000 (0:00:00.358) 0:01:12.368 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 18:54:19 +0000 (0:00:00.022) 0:01:12.390 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:218 Thursday 22 February 2024 18:54:19 +0000 (0:00:00.021) 0:01:12.411 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Thursday 22 February 2024 18:54:19 +0000 (0:00:00.021) 0:01:12.433 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure to run as a confined application with SELinux] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 22 February 2024 18:54:19 +0000 (0:00:00.023) 0:01:12.456 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Thursday 22 February 2024 18:54:19 +0000 (0:00:00.395) 0:01:12.852 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Thursday 22 February 2024 18:54:20 +0000 (0:00:00.353) 0:01:13.206 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:257 Thursday 22 February 2024 18:54:20 +0000 (0:00:00.020) 0:01:13.226 ***** 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.005882", "end": "2024-02-22 18:54:20.144901", "rc": 0, "start": "2024-02-22 18:54:20.139019" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Thursday 22 February 2024 18:54:20 +0000 (0:00:00.147) 0:01:13.374 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:276 Thursday 22 February 2024 18:54:20 +0000 (0:00:00.746) 0:01:14.120 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 22 February 2024 18:54:20 +0000 (0:00:00.027) 0:01:14.147 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:301 Thursday 22 February 2024 18:54:20 +0000 (0:00:00.021) 0:01:14.169 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:326 Thursday 22 February 2024 18:54:20 +0000 (0:00:00.022) 0:01:14.191 ***** skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:341 Thursday 22 February 2024 18:54:21 +0000 (0:00:00.030) 0:01:14.222 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Thursday 22 February 2024 18:54:21 +0000 (0:00:00.023) 0:01:14.245 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Thursday 22 February 2024 18:54:21 +0000 (0:00:00.020) 0:01:14.266 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Thursday 22 February 2024 18:54:21 +0000 (0:00:00.351) 0:01:14.617 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:21:17 UTC", "ActiveEnterTimestampMonotonic": "23304235", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target systemd-sysctl.service basic.target dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:21:15 UTC", "AssertTimestampMonotonic": "22018389", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ConditionTimestampMonotonic": "22018388", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "886", "ExecMainStartTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ExecMainStartTimestampMonotonic": "22019020", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-02-22 18:21:15 UTC", "InactiveExitTimestampMonotonic": "22019064", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "886", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:21:17 UTC", "WatchdogTimestampMonotonic": "23303924", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Thursday 22 February 2024 18:54:21 +0000 (0:00:00.218) 0:01:14.836 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.101397", "end": "2024-02-22 18:54:21.847668", "rc": 0, "start": "2024-02-22 18:54:21.746271" } 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Thursday 22 February 2024 18:54:21 +0000 (0:00:00.241) 0:01:15.077 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Thursday 22 February 2024 18:54:21 +0000 (0:00:00.021) 0:01:15.099 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Thursday 22 February 2024 18:54:21 +0000 (0:00:00.022) 0:01:15.121 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Thursday 22 February 2024 18:54:21 +0000 (0:00:00.057) 0:01:15.179 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Thursday 22 February 2024 18:54:22 +0000 (0:00:00.147) 0:01:15.326 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Thursday 22 February 2024 18:54:22 +0000 (0:00:00.353) 0:01:15.679 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Thursday 22 February 2024 18:54:22 +0000 (0:00:00.021) 0:01:15.701 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Thursday 22 February 2024 18:54:22 +0000 (0:00:00.021) 0:01:15.722 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Thursday 22 February 2024 18:54:22 +0000 (0:00:00.022) 0:01:15.744 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Thursday 22 February 2024 18:54:22 +0000 (0:00:00.021) 0:01:15.766 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Thursday 22 February 2024 18:54:22 +0000 (0:00:00.023) 0:01:15.790 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Thursday 22 February 2024 18:54:22 +0000 (0:00:00.029) 0:01:15.820 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Thursday 22 February 2024 18:54:22 +0000 (0:00:00.020) 0:01:15.841 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Thursday 22 February 2024 18:54:22 +0000 (0:00:00.033) 0:01:15.874 ***** 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.005795", "end": "2024-02-22 18:54:22.796975", "rc": 0, "start": "2024-02-22 18:54:22.791180" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Thursday 22 February 2024 18:54:22 +0000 (0:00:00.165) 0:01:16.039 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Thursday 22 February 2024 18:54:22 +0000 (0:00:00.043) 0:01:16.083 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Thursday 22 February 2024 18:54:23 +0000 (0:00:01.042) 0:01:17.125 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 18:54:23 +0000 (0:00:00.024) 0:01:17.150 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 22 February 2024 18:54:23 +0000 (0:00:00.030) 0:01:17.181 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Thursday 22 February 2024 18:54:24 +0000 (0:00:00.023) 0:01:17.204 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Thursday 22 February 2024 18:54:24 +0000 (0:00:00.025) 0:01:17.229 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:54:24 +0000 (0:00:00.071) 0:01:17.301 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004888", "end": "2024-02-22 18:54:25.222346", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:24.217458" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:54:25 +0000 (0:00:01.150) 0:01:18.451 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.053702", "end": "2024-02-22 18:54:25.418567", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:25.364865" } 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:54:25 +0000 (0:00:00.200) 0:01:18.652 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Thursday 22 February 2024 18:54:25 +0000 (0:00:00.020) 0:01:18.673 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 18:54:25 +0000 (0:00:00.053) 0:01:18.726 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Thursday 22 February 2024 18:54:25 +0000 (0:00:00.023) 0:01:18.749 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Thursday 22 February 2024 18:54:25 +0000 (0:00:00.021) 0:01:18.771 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Thursday 22 February 2024 18:54:25 +0000 (0:00:00.022) 0:01:18.794 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Thursday 22 February 2024 18:54:25 +0000 (0:00:00.021) 0:01:18.815 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 18:54:25 +0000 (0:00:00.021) 0:01:18.837 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Thursday 22 February 2024 18:54:25 +0000 (0:00:00.022) 0:01:18.859 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Thursday 22 February 2024 18:54:25 +0000 (0:00:00.021) 0:01:18.881 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 18:54:25 +0000 (0:00:00.021) 0:01:18.902 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Thursday 22 February 2024 18:54:25 +0000 (0:00:00.021) 0:01:18.923 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Thursday 22 February 2024 18:54:25 +0000 (0:00:00.022) 0:01:18.946 ***** skipping: [sut] => (item=/tmp/ansible.0e6VAd) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.0e6VAd", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ansible.RxE8yH) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.RxE8yH", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Thursday 22 February 2024 18:54:25 +0000 (0:00:00.027) 0:01:18.973 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlscert] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:54:25 +0000 (0:00:00.037) 0:01:19.011 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003502", "end": "2024-02-22 18:54:25.936205", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:25.932703" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.0e6VAd TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:54:25 +0000 (0:00:00.159) 0:01:19.170 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlscert] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:54:26 +0000 (0:00:00.051) 0:01:19.222 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.053005", "end": "2024-02-22 18:54:26.191130", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:26.138125" } 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 tlskey setting] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Thursday 22 February 2024 18:54:26 +0000 (0:00:00.199) 0:01:19.422 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlskey] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:54:26 +0000 (0:00:00.085) 0:01:19.507 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003672", "end": "2024-02-22 18:54:26.425396", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:26.421724" } STDOUT: tlskey = /etc/pki/tls/private/ansible.RxE8yH TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:54:26 +0000 (0:00:00.169) 0:01:19.677 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlskey] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:54:26 +0000 (0:00:00.042) 0:01:19.720 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.052061", "end": "2024-02-22 18:54:26.726207", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:26.674146" } 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 tlsprotocols setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Thursday 22 February 2024 18:54:26 +0000 (0:00:00.239) 0:01:19.959 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlsprotocols] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:54:26 +0000 (0:00:00.053) 0:01:20.013 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003652", "end": "2024-02-22 18:54:26.929363", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:26.925711" } STDOUT: tlsprotocols = 1.2 TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:54:26 +0000 (0:00:00.148) 0:01:20.162 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlsprotocols] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:54:26 +0000 (0:00:00.028) 0:01:20.191 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.052251", "end": "2024-02-22 18:54:27.161910", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:27.109659" } 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 forceencryption setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.202) 0:01:20.393 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network forceencryption] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.039) 0:01:20.432 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003553", "end": "2024-02-22 18:54:27.347005", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:27.343452" } STDOUT: forceencryption = 1 TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.144) 0:01:20.576 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network forceencryption] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.025) 0:01:20.602 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.053458", "end": "2024-02-22 18:54:27.569877", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:27.516419" } 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 : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.227) 0:01:20.830 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.021) 0:01:20.851 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.019) 0:01:20.871 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.018) 0:01:20.890 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.023) 0:01:20.913 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.023) 0:01:20.937 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.022) 0:01:20.960 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.020) 0:01:20.980 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.019) 0:01:21.000 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.020) 0:01:21.020 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.018) 0:01:21.039 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.019) 0:01:21.059 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.020) 0:01:21.079 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.019) 0:01:21.099 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.021) 0:01:21.120 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.021) 0:01:21.141 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.020) 0:01:21.162 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.018) 0:01:21.181 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Thursday 22 February 2024 18:54:27 +0000 (0:00:00.020) 0:01:21.201 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.047) 0:01:21.249 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.021) 0:01:21.270 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:998 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.019) 0:01:21.290 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.021) 0:01:21.312 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.021) 0:01:21.333 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.020) 0:01:21.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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.021) 0:01:21.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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.021) 0:01:21.397 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.025) 0:01:21.423 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.020) 0:01:21.444 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.022) 0:01:21.466 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1121 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.026) 0:01:21.493 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1128 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.019) 0:01:21.513 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1153 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.018) 0:01:21.531 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1162 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.019) 0:01:21.551 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1172 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.018) 0:01:21.569 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1183 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.019) 0:01:21.589 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1196 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.018) 0:01:21.608 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.020) 0:01:21.628 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1216 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.048) 0:01:21.676 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1223 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.020) 0:01:21.697 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.019) 0:01:21.717 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.020) 0:01:21.737 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1251 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.026) 0:01:21.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1260 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.019) 0:01:21.783 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.019) 0:01:21.802 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1273 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.026) 0:01:21.829 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1281 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.021) 0:01:21.850 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.024) 0:01:21.875 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1306 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.020) 0:01:21.895 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for the cluster to finish configuration] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1311 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.019) 0:01:21.914 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1317 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.020) 0:01:21.934 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1326 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.019) 0:01:21.954 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 22 February 2024 18:54:28 +0000 (0:00:00.164) 0:01:22.119 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:54:12 UTC", "ActiveEnterTimestampMonotonic": "1998497881", "ActiveExitTimestamp": "Thu 2024-02-22 18:54:12 UTC", "ActiveExitTimestampMonotonic": "1998126207", "ActiveState": "active", "After": "system.slice systemd-journald.socket auditd.service network.target basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:54:12 UTC", "AssertTimestampMonotonic": "1998496472", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:54:12 UTC", "ConditionTimestampMonotonic": "1998496469", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "26572", "ExecMainStartTimestamp": "Thu 2024-02-22 18:54:12 UTC", "ExecMainStartTimestampMonotonic": "1998497337", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-02-22 18:54:12 UTC", "InactiveEnterTimestampMonotonic": "1998495851", "InactiveExitTimestamp": "Thu 2024-02-22 18:54:12 UTC", "InactiveExitTimestampMonotonic": "1998497881", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "26572", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:54:12 UTC", "WatchdogTimestampMonotonic": "1998497850", "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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1339 Thursday 22 February 2024 18:54:29 +0000 (0:00:00.499) 0:01:22.619 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Thursday 22 February 2024 18:54:29 +0000 (0:00:00.053) 0:01:22.672 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:92 Thursday 22 February 2024 18:54:29 +0000 (0:00:00.020) 0:01:22.693 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:8 Thursday 22 February 2024 18:54:29 +0000 (0:00:00.085) 0:01:22.778 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:23 Thursday 22 February 2024 18:54:29 +0000 (0:00:00.022) 0:01:22.801 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:35 Thursday 22 February 2024 18:54:29 +0000 (0:00:00.021) 0:01:22.823 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:39 Thursday 22 February 2024 18:54:29 +0000 (0:00:00.024) 0:01:22.847 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:55 Thursday 22 February 2024 18:54:29 +0000 (0:00:00.023) 0:01:22.871 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:60 Thursday 22 February 2024 18:54:29 +0000 (0:00:00.022) 0:01:22.893 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:70 Thursday 22 February 2024 18:54:29 +0000 (0:00:00.021) 0:01:22.915 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:75 Thursday 22 February 2024 18:54:29 +0000 (0:00:00.023) 0:01:22.938 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:85 Thursday 22 February 2024 18:54:29 +0000 (0:00:00.044) 0:01:22.982 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 18:54:29 +0000 (0:00:00.047) 0:01:23.030 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:54:29 UTC", "ActiveEnterTimestampMonotonic": "2015435858", "ActiveExitTimestamp": "Thu 2024-02-22 18:54:29 UTC", "ActiveExitTimestampMonotonic": "2015176441", "ActiveState": "active", "After": "system.slice systemd-journald.socket auditd.service network.target basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:54:29 UTC", "AssertTimestampMonotonic": "2015435118", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:54:29 UTC", "ConditionTimestampMonotonic": "2015435116", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "27272", "ExecMainStartTimestamp": "Thu 2024-02-22 18:54:29 UTC", "ExecMainStartTimestampMonotonic": "2015435799", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 18:54:29 UTC] ; stop_time=[n/a] ; pid=27272 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-02-22 18:54:29 UTC", "InactiveEnterTimestampMonotonic": "2015433698", "InactiveExitTimestamp": "Thu 2024-02-22 18:54:29 UTC", "InactiveExitTimestampMonotonic": "2015435858", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "27272", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:54:29 UTC", "WatchdogTimestampMonotonic": "2015435839", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 18:54:30 +0000 (0:00:00.228) 0:01:23.258 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003668", "end": "2024-02-22 18:54:30.181785", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:30.178117" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 18:54:30 +0000 (0:00:00.154) 0:01:23.413 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003612", "end": "2024-02-22 18:54:30.343174", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:30.339562" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 18:54:30 +0000 (0:00:00.158) 0:01:23.572 ***** 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-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:93 Thursday 22 February 2024 18:54:30 +0000 (0:00:00.028) 0:01:23.600 ***** ok: [sut] => { "changed": false, "elapsed": 2, "gid": 994, "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": 5726, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:99 Thursday 22 February 2024 18:54:32 +0000 (0:00:02.155) 0:01:25.756 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.059451", "end": "2024-02-22 18:54:32.779809", "rc": 0, "start": "2024-02-22 18:54:32.720358" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:118 Thursday 22 February 2024 18:54:32 +0000 (0:00:00.257) 0:01:26.013 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:122 Thursday 22 February 2024 18:54:32 +0000 (0:00:00.023) 0:01:26.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:129 Thursday 22 February 2024 18:54:32 +0000 (0:00:00.021) 0:01:26.058 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:140 Thursday 22 February 2024 18:54:32 +0000 (0:00:00.030) 0:01:26.089 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:145 Thursday 22 February 2024 18:54:32 +0000 (0:00:00.026) 0:01:26.116 ***** 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-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:150 Thursday 22 February 2024 18:54:32 +0000 (0:00:00.064) 0:01:26.180 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:156 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.025) 0:01:26.206 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:162 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.051) 0:01:26.257 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:172 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.021) 0:01:26.279 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.038) 0:01:26.317 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004776", "end": "2024-02-22 18:54:33.232442", "rc": 0, "start": "2024-02-22 18:54:33.227666" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.153) 0:01:26.471 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.029) 0:01:26.500 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.024) 0:01:26.525 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:183 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.019) 0:01:26.545 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.042) 0:01:26.587 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004881", "end": "2024-02-22 18:54:33.508453", "rc": 0, "start": "2024-02-22 18:54:33.503572" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.150) 0:01:26.738 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.034) 0:01:26.772 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.026) 0:01:26.799 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:195 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.023) 0:01:26.823 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.076) 0:01:26.900 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004765", "end": "2024-02-22 18:54:33.819262", "rc": 0, "start": "2024-02-22 18:54:33.814497" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.148) 0:01:27.048 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.033) 0:01:27.081 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.026) 0:01:27.108 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:203 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.024) 0:01:27.133 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:54:33 +0000 (0:00:00.041) 0:01:27.175 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004883", "end": "2024-02-22 18:54:34.091247", "rc": 0, "start": "2024-02-22 18:54:34.086364" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:54:34 +0000 (0:00:00.148) 0:01:27.323 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:54:34 +0000 (0:00:00.028) 0:01:27.351 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:54:34 +0000 (0:00:00.029) 0:01:27.381 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:210 Thursday 22 February 2024 18:54:34 +0000 (0:00:00.020) 0:01:27.401 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:99 Thursday 22 February 2024 18:54:34 +0000 (0:00:00.019) 0:01:27.421 ***** changed: [sut] => (item=/etc/pki/tls/certs/ansible.0e6VAd) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.0e6VAd", "path": "/etc/pki/tls/certs/ansible.0e6VAd", "state": "absent" } changed: [sut] => (item=/etc/pki/tls/private/ansible.RxE8yH) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.RxE8yH", "path": "/etc/pki/tls/private/ansible.RxE8yH", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:107 Thursday 22 February 2024 18:54:34 +0000 (0:00:00.275) 0:01:27.697 ***** ok: [sut] => (item=/tmp/ansible.0e6VAd) => { "ansible_loop_var": "item", "changed": false, "checksum": "aef9c53e0a80fb21fea85566fba13060947392cb", "dest": "/tmp/ansible.0e6VAd", "gid": 0, "group": "root", "item": "/tmp/ansible.0e6VAd", "mode": "0600", "owner": "root", "path": "/tmp/ansible.0e6VAd", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1099, "state": "file", "uid": 0 } ok: [sut] => (item=/tmp/ansible.RxE8yH) => { "ansible_loop_var": "item", "changed": false, "checksum": "e35d4aaafaf5c0340fe55ccdc8016a14478f57ed", "dest": "/tmp/ansible.RxE8yH", "gid": 0, "group": "root", "item": "/tmp/ansible.RxE8yH", "mode": "0600", "owner": "root", "path": "/tmp/ansible.RxE8yH", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1704, "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:116 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.690) 0:01:28.387 ***** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.0e6VAd", "mssql_tls_private_key": "ansible.RxE8yH" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:121 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.051) 0:01:28.439 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.190) 0:01:28.629 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.032) 0:01:28.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.024) 0:01:28.687 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.034) 0:01:28.721 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.019) 0:01:28.740 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.025) 0:01:28.766 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.021) 0:01:28.788 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.020) 0:01:28.809 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.023) 0:01:28.832 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.079) 0:01:28.912 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.034) 0:01:28.946 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.021) 0:01:28.968 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.022) 0:01:28.990 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.024) 0:01:29.014 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.019) 0:01:29.034 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.020) 0:01:29.054 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.022) 0:01:29.077 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.021) 0:01:29.098 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.023) 0:01:29.122 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Thursday 22 February 2024 18:54:35 +0000 (0:00:00.019) 0:01:29.142 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:146 Thursday 22 February 2024 18:54:36 +0000 (0:00:00.979) 0:01:30.122 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:155 Thursday 22 February 2024 18:54:37 +0000 (0:00:00.149) 0:01:30.271 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:162 Thursday 22 February 2024 18:54:37 +0000 (0:00:00.021) 0:01:30.293 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:169 Thursday 22 February 2024 18:54:37 +0000 (0:00:00.022) 0:01:30.315 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:184 Thursday 22 February 2024 18:54:37 +0000 (0:00:00.039) 0:01:30.354 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Thursday 22 February 2024 18:54:37 +0000 (0:00:00.335) 0:01:30.690 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 18:54:37 +0000 (0:00:00.022) 0:01:30.712 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:218 Thursday 22 February 2024 18:54:37 +0000 (0:00:00.027) 0:01:30.739 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Thursday 22 February 2024 18:54:37 +0000 (0:00:00.025) 0:01:30.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure to run as a confined application with SELinux] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 22 February 2024 18:54:37 +0000 (0:00:00.027) 0:01:30.792 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Thursday 22 February 2024 18:54:37 +0000 (0:00:00.403) 0:01:31.195 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Thursday 22 February 2024 18:54:38 +0000 (0:00:00.361) 0:01:31.556 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:257 Thursday 22 February 2024 18:54:38 +0000 (0:00:00.020) 0:01:31.577 ***** 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.005784", "end": "2024-02-22 18:54:38.491928", "rc": 0, "start": "2024-02-22 18:54:38.486144" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Thursday 22 February 2024 18:54:38 +0000 (0:00:00.157) 0:01:31.734 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:276 Thursday 22 February 2024 18:54:39 +0000 (0:00:00.770) 0:01:32.505 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 22 February 2024 18:54:39 +0000 (0:00:00.028) 0:01:32.534 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:301 Thursday 22 February 2024 18:54:39 +0000 (0:00:00.021) 0:01:32.556 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:326 Thursday 22 February 2024 18:54:39 +0000 (0:00:00.028) 0:01:32.584 ***** skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:341 Thursday 22 February 2024 18:54:39 +0000 (0:00:00.028) 0:01:32.613 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Thursday 22 February 2024 18:54:39 +0000 (0:00:00.022) 0:01:32.635 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Thursday 22 February 2024 18:54:39 +0000 (0:00:00.020) 0:01:32.656 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Thursday 22 February 2024 18:54:39 +0000 (0:00:00.363) 0:01:33.020 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:21:17 UTC", "ActiveEnterTimestampMonotonic": "23304235", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target systemd-sysctl.service basic.target dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:21:15 UTC", "AssertTimestampMonotonic": "22018389", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ConditionTimestampMonotonic": "22018388", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "886", "ExecMainStartTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ExecMainStartTimestampMonotonic": "22019020", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-02-22 18:21:15 UTC", "InactiveExitTimestampMonotonic": "22019064", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "886", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:21:17 UTC", "WatchdogTimestampMonotonic": "23303924", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Thursday 22 February 2024 18:54:40 +0000 (0:00:00.224) 0:01:33.244 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.095092", "end": "2024-02-22 18:54:40.246077", "rc": 0, "start": "2024-02-22 18:54:40.150985" } 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Thursday 22 February 2024 18:54:40 +0000 (0:00:00.233) 0:01:33.477 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Thursday 22 February 2024 18:54:40 +0000 (0:00:00.038) 0:01:33.516 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Thursday 22 February 2024 18:54:40 +0000 (0:00:00.047) 0:01:33.564 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Thursday 22 February 2024 18:54:40 +0000 (0:00:00.093) 0:01:33.657 ***** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Thursday 22 February 2024 18:54:40 +0000 (0:00:00.183) 0:01:33.841 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Thursday 22 February 2024 18:54:41 +0000 (0:00:00.362) 0:01:34.204 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Thursday 22 February 2024 18:54:41 +0000 (0:00:00.025) 0:01:34.229 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Thursday 22 February 2024 18:54:41 +0000 (0:00:00.024) 0:01:34.253 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Thursday 22 February 2024 18:54:41 +0000 (0:00:00.024) 0:01:34.278 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Thursday 22 February 2024 18:54:41 +0000 (0:00:00.047) 0:01:34.325 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Thursday 22 February 2024 18:54:41 +0000 (0:00:00.031) 0:01:34.357 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Thursday 22 February 2024 18:54:41 +0000 (0:00:00.034) 0:01:34.391 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Thursday 22 February 2024 18:54:41 +0000 (0:00:00.023) 0:01:34.414 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Thursday 22 February 2024 18:54:41 +0000 (0:00:00.027) 0:01:34.442 ***** 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.005680", "end": "2024-02-22 18:54:41.375542", "rc": 0, "start": "2024-02-22 18:54:41.369862" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Thursday 22 February 2024 18:54:41 +0000 (0:00:00.168) 0:01:34.611 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Thursday 22 February 2024 18:54:41 +0000 (0:00:00.050) 0:01:34.661 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Thursday 22 February 2024 18:54:42 +0000 (0:00:01.040) 0:01:35.702 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 18:54:42 +0000 (0:00:00.023) 0:01:35.726 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 22 February 2024 18:54:42 +0000 (0:00:00.021) 0:01:35.747 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Thursday 22 February 2024 18:54:42 +0000 (0:00:00.020) 0:01:35.767 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Thursday 22 February 2024 18:54:42 +0000 (0:00:00.019) 0:01:35.787 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:54:42 +0000 (0:00:00.033) 0:01:35.821 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003393", "end": "2024-02-22 18:54:42.734734", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:42.731341" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:54:42 +0000 (0:00:00.142) 0:01:35.964 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.053866", "end": "2024-02-22 18:54:42.935268", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:42.881402" } 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:54:42 +0000 (0:00:00.215) 0:01:36.179 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Thursday 22 February 2024 18:54:43 +0000 (0:00:00.033) 0:01:36.212 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 18:54:43 +0000 (0:00:00.044) 0:01:36.257 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Thursday 22 February 2024 18:54:43 +0000 (0:00:00.056) 0:01:36.314 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Thursday 22 February 2024 18:54:43 +0000 (0:00:00.048) 0:01:36.362 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Thursday 22 February 2024 18:54:43 +0000 (0:00:00.022) 0:01:36.384 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Thursday 22 February 2024 18:54:43 +0000 (0:00:00.067) 0:01:36.452 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 18:54:43 +0000 (0:00:00.022) 0:01:36.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Thursday 22 February 2024 18:54:43 +0000 (0:00:00.020) 0:01:36.494 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Thursday 22 February 2024 18:54:43 +0000 (0:00:00.022) 0:01:36.517 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 18:54:43 +0000 (0:00:00.027) 0:01:36.544 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Thursday 22 February 2024 18:54:43 +0000 (0:00:00.033) 0:01:36.578 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Thursday 22 February 2024 18:54:43 +0000 (0:00:00.023) 0:01:36.602 ***** changed: [sut] => (item=/tmp/ansible.0e6VAd) => { "ansible_loop_var": "item", "changed": true, "checksum": "aef9c53e0a80fb21fea85566fba13060947392cb", "dest": "/etc/pki/tls/certs/ansible.0e6VAd", "gid": 994, "group": "mssql", "item": "/tmp/ansible.0e6VAd", "md5sum": "8c9629be473eff40154261b6ebbfa828", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/tmp/ansible.0e6VAd", "state": "file", "uid": 996 } changed: [sut] => (item=/tmp/ansible.RxE8yH) => { "ansible_loop_var": "item", "changed": true, "checksum": "e35d4aaafaf5c0340fe55ccdc8016a14478f57ed", "dest": "/etc/pki/tls/private/ansible.RxE8yH", "gid": 994, "group": "mssql", "item": "/tmp/ansible.RxE8yH", "md5sum": "b204c578589b5bbd25ed3865d1852a67", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.RxE8yH", "state": "file", "uid": 996 } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Thursday 22 February 2024 18:54:43 +0000 (0:00:00.440) 0:01:37.042 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlscert] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:54:43 +0000 (0:00:00.037) 0:01:37.079 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003444", "end": "2024-02-22 18:54:43.994177", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:43.990733" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:54:44 +0000 (0:00:00.144) 0:01:37.223 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.0e6VAd" ], "delta": "0:00:00.054924", "end": "2024-02-22 18:54:44.202152", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:44.147228" } 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 tlscert] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:54:44 +0000 (0:00:00.212) 0:01:37.436 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Thursday 22 February 2024 18:54:44 +0000 (0:00:00.023) 0:01:37.460 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlskey] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:54:44 +0000 (0:00:00.038) 0:01:37.499 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003447", "end": "2024-02-22 18:54:44.415954", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:44.412507" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:54:44 +0000 (0:00:00.184) 0:01:37.683 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.RxE8yH" ], "delta": "0:00:00.053460", "end": "2024-02-22 18:54:44.657022", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:44.603562" } 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 tlskey] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:54:44 +0000 (0:00:00.208) 0:01:37.892 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Thursday 22 February 2024 18:54:44 +0000 (0:00:00.025) 0:01:37.917 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlsprotocols] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:54:44 +0000 (0:00:00.041) 0:01:37.959 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003393", "end": "2024-02-22 18:54:44.875277", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:44.871884" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:54:44 +0000 (0:00:00.145) 0:01:38.105 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.052337", "end": "2024-02-22 18:54:45.074770", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:45.022433" } 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 tlsprotocols] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.204) 0:01:38.309 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.031) 0:01:38.340 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network forceencryption] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.042) 0:01:38.382 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003489", "end": "2024-02-22 18:54:45.298058", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:45.294569" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.150) 0:01:38.533 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.052833", "end": "2024-02-22 18:54:45.501766", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:54:45.448933" } 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 forceencryption] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.202) 0:01:38.736 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.022) 0:01:38.758 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.021) 0:01:38.780 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.020) 0:01:38.800 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.062) 0:01:38.862 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.023) 0:01:38.886 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.023) 0:01:38.910 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.022) 0:01:38.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.023) 0:01:38.956 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.023) 0:01:38.979 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.022) 0:01:39.001 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.022) 0:01:39.023 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.021) 0:01:39.045 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.020) 0:01:39.065 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.021) 0:01:39.087 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.021) 0:01:39.108 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.020) 0:01:39.129 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.025) 0:01:39.155 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Thursday 22 February 2024 18:54:45 +0000 (0:00:00.028) 0:01:39.183 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.021) 0:01:39.204 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.020) 0:01:39.225 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.022) 0:01:39.247 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:998 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.020) 0:01:39.267 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.062) 0:01:39.329 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.022) 0:01:39.352 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.022) 0:01:39.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.024) 0:01:39.399 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.023) 0:01:39.422 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.027) 0:01:39.449 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.021) 0:01:39.470 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.022) 0:01:39.493 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1121 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.027) 0:01:39.521 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1128 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.020) 0:01:39.541 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1153 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.021) 0:01:39.563 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1162 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.020) 0:01:39.584 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1172 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.021) 0:01:39.605 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1183 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.022) 0:01:39.627 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1196 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.020) 0:01:39.648 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.020) 0:01:39.669 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1216 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.018) 0:01:39.688 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1223 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.041) 0:01:39.730 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.024) 0:01:39.754 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.077) 0:01:39.831 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1251 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.029) 0:01:39.861 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1260 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.021) 0:01:39.882 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.021) 0:01:39.903 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1273 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.020) 0:01:39.924 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1281 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.022) 0:01:39.946 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.024) 0:01:39.971 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1306 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.024) 0:01:39.996 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for the cluster to finish configuration] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1311 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.035) 0:01:40.031 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1317 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.029) 0:01:40.061 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1326 Thursday 22 February 2024 18:54:46 +0000 (0:00:00.036) 0:01:40.098 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 22 February 2024 18:54:47 +0000 (0:00:00.193) 0:01:40.291 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:54:29 UTC", "ActiveEnterTimestampMonotonic": "2015435858", "ActiveExitTimestamp": "Thu 2024-02-22 18:54:29 UTC", "ActiveExitTimestampMonotonic": "2015176441", "ActiveState": "active", "After": "system.slice systemd-journald.socket auditd.service network.target basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:54:29 UTC", "AssertTimestampMonotonic": "2015435118", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:54:29 UTC", "ConditionTimestampMonotonic": "2015435116", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "27272", "ExecMainStartTimestamp": "Thu 2024-02-22 18:54:29 UTC", "ExecMainStartTimestampMonotonic": "2015435799", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 18:54:29 UTC] ; stop_time=[n/a] ; pid=27272 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-02-22 18:54:29 UTC", "InactiveEnterTimestampMonotonic": "2015433698", "InactiveExitTimestamp": "Thu 2024-02-22 18:54:29 UTC", "InactiveExitTimestampMonotonic": "2015435858", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "27272", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:54:29 UTC", "WatchdogTimestampMonotonic": "2015435839", "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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1339 Thursday 22 February 2024 18:54:48 +0000 (0:00:01.151) 0:01:41.443 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Thursday 22 February 2024 18:54:48 +0000 (0:00:00.021) 0:01:41.465 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:131 Thursday 22 February 2024 18:54:48 +0000 (0:00:00.071) 0:01:41.536 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:8 Thursday 22 February 2024 18:54:48 +0000 (0:00:00.129) 0:01:41.665 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:23 Thursday 22 February 2024 18:54:48 +0000 (0:00:00.022) 0:01:41.688 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:35 Thursday 22 February 2024 18:54:48 +0000 (0:00:00.022) 0:01:41.710 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:39 Thursday 22 February 2024 18:54:48 +0000 (0:00:00.022) 0:01:41.733 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:55 Thursday 22 February 2024 18:54:48 +0000 (0:00:00.021) 0:01:41.755 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:60 Thursday 22 February 2024 18:54:48 +0000 (0:00:00.019) 0:01:41.774 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:70 Thursday 22 February 2024 18:54:48 +0000 (0:00:00.018) 0:01:41.793 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:75 Thursday 22 February 2024 18:54:48 +0000 (0:00:00.025) 0:01:41.819 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:85 Thursday 22 February 2024 18:54:48 +0000 (0:00:00.025) 0:01:41.844 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 18:54:48 +0000 (0:00:00.036) 0:01:41.881 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:54:48 UTC", "ActiveEnterTimestampMonotonic": "2034260495", "ActiveExitTimestamp": "Thu 2024-02-22 18:54:47 UTC", "ActiveExitTimestampMonotonic": "2033404536", "ActiveState": "active", "After": "system.slice systemd-journald.socket auditd.service network.target basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:54:48 UTC", "AssertTimestampMonotonic": "2034259818", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:54:48 UTC", "ConditionTimestampMonotonic": "2034259817", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "28156", "ExecMainStartTimestamp": "Thu 2024-02-22 18:54:48 UTC", "ExecMainStartTimestampMonotonic": "2034260440", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 18:54:48 UTC] ; stop_time=[n/a] ; pid=28156 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-02-22 18:54:48 UTC", "InactiveEnterTimestampMonotonic": "2034259232", "InactiveExitTimestamp": "Thu 2024-02-22 18:54:48 UTC", "InactiveExitTimestampMonotonic": "2034260495", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "28156", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:54:48 UTC", "WatchdogTimestampMonotonic": "2034260475", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 18:54:48 +0000 (0:00:00.231) 0:01:42.112 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003757", "end": "2024-02-22 18:54:49.052351", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:49.048594" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 18:54:49 +0000 (0:00:00.216) 0:01:42.328 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003785", "end": "2024-02-22 18:54:49.251777", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:54:49.247992" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 18:54:49 +0000 (0:00:00.156) 0:01:42.484 ***** 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-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:93 Thursday 22 February 2024 18:54:49 +0000 (0:00:00.030) 0:01:42.514 ***** ok: [sut] => { "changed": false, "elapsed": 3, "gid": 994, "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": 6354, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:99 Thursday 22 February 2024 18:54:52 +0000 (0:00:03.182) 0:01:45.696 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.033131", "end": "2024-02-22 18:54:52.640920", "rc": 0, "start": "2024-02-22 18:54:52.607789" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:118 Thursday 22 February 2024 18:54:52 +0000 (0:00:00.183) 0:01:45.880 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:122 Thursday 22 February 2024 18:54:52 +0000 (0:00:00.038) 0:01:45.918 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:129 Thursday 22 February 2024 18:54:52 +0000 (0:00:00.026) 0:01:45.945 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:140 Thursday 22 February 2024 18:54:52 +0000 (0:00:00.021) 0:01:45.966 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:145 Thursday 22 February 2024 18:54:52 +0000 (0:00:00.021) 0:01:45.987 ***** 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-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:150 Thursday 22 February 2024 18:54:52 +0000 (0:00:00.019) 0:01:46.007 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:156 Thursday 22 February 2024 18:54:52 +0000 (0:00:00.056) 0:01:46.063 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:162 Thursday 22 February 2024 18:54:52 +0000 (0:00:00.020) 0:01:46.083 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:172 Thursday 22 February 2024 18:54:52 +0000 (0:00:00.020) 0:01:46.104 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:54:52 +0000 (0:00:00.035) 0:01:46.139 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004908", "end": "2024-02-22 18:54:53.058809", "rc": 0, "start": "2024-02-22 18:54:53.053901" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.0e6VAd TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.149) 0:01:46.289 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.030) 0:01:46.320 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.0e6VAd] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.026) 0:01:46.346 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:183 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.021) 0:01:46.368 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.035) 0:01:46.404 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004901", "end": "2024-02-22 18:54:53.321990", "rc": 0, "start": "2024-02-22 18:54:53.317089" } STDOUT: tlskey = /etc/pki/tls/private/ansible.RxE8yH TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.147) 0:01:46.551 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.035) 0:01:46.587 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.RxE8yH] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.026) 0:01:46.613 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:195 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.021) 0:01:46.635 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.038) 0:01:46.673 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004860", "end": "2024-02-22 18:54:53.591372", "rc": 0, "start": "2024-02-22 18:54:53.586512" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.200) 0:01:46.874 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.031) 0:01:46.905 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.033) 0:01:46.938 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:203 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.022) 0:01:46.961 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.040) 0:01:47.001 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004963", "end": "2024-02-22 18:54:53.922864", "rc": 0, "start": "2024-02-22 18:54:53.917901" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.152) 0:01:47.154 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:54:53 +0000 (0:00:00.027) 0:01:47.181 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:54:54 +0000 (0:00:00.039) 0:01:47.221 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:210 Thursday 22 February 2024 18:54:54 +0000 (0:00:00.024) 0:01:47.245 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:137 Thursday 22 February 2024 18:54:54 +0000 (0:00:00.030) 0:01:47.276 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/check_header.yml:4 Thursday 22 February 2024 18:54:54 +0000 (0:00:00.131) 0:01:47.407 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003509", "end": "2024-02-22 18:54:54.376208", "rc": 0, "start": "2024-02-22 18:54:54.372699" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = false [EULA] accepteula = Y [network] tlscert = /etc/pki/tls/certs/ansible.0e6VAd tlskey = /etc/pki/tls/private/ansible.RxE8yH tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:141 Thursday 22 February 2024 18:54:54 +0000 (0:00:00.207) 0:01:47.615 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 18:54:54 +0000 (0:00:00.310) 0:01:47.926 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 18:54:54 +0000 (0:00:00.032) 0:01:47.958 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 18:54:54 +0000 (0:00:00.025) 0:01:47.983 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 18:54:54 +0000 (0:00:00.036) 0:01:48.019 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 18:54:54 +0000 (0:00:00.019) 0:01:48.039 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 18:54:54 +0000 (0:00:00.019) 0:01:48.058 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 18:54:54 +0000 (0:00:00.020) 0:01:48.079 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 18:54:54 +0000 (0:00:00.026) 0:01:48.105 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 18:54:54 +0000 (0:00:00.020) 0:01:48.126 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 18:54:54 +0000 (0:00:00.035) 0:01:48.161 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 18:54:55 +0000 (0:00:00.092) 0:01:48.254 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 18:54:55 +0000 (0:00:00.023) 0:01:48.277 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 18:54:55 +0000 (0:00:00.024) 0:01:48.301 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 18:54:55 +0000 (0:00:00.026) 0:01:48.328 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 18:54:55 +0000 (0:00:00.024) 0:01:48.353 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 18:54:55 +0000 (0:00:00.026) 0:01:48.380 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 18:54:55 +0000 (0:00:00.030) 0:01:48.411 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 18:54:55 +0000 (0:00:00.031) 0:01:48.442 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 18:54:55 +0000 (0:00:00.023) 0:01:48.465 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Thursday 22 February 2024 18:54:55 +0000 (0:00:00.026) 0:01:48.491 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:146 Thursday 22 February 2024 18:54:56 +0000 (0:00:00.991) 0:01:49.482 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:155 Thursday 22 February 2024 18:54:56 +0000 (0:00:00.056) 0:01:49.539 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:162 Thursday 22 February 2024 18:54:56 +0000 (0:00:00.081) 0:01:49.620 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:169 Thursday 22 February 2024 18:54:56 +0000 (0:00:00.029) 0:01:49.650 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:184 Thursday 22 February 2024 18:54:56 +0000 (0:00:00.040) 0:01:49.690 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Thursday 22 February 2024 18:54:56 +0000 (0:00:00.350) 0:01:50.041 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 18:54:56 +0000 (0:00:00.021) 0:01:50.062 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:218 Thursday 22 February 2024 18:54:56 +0000 (0:00:00.021) 0:01:50.083 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Thursday 22 February 2024 18:54:56 +0000 (0:00:00.022) 0:01:50.106 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure to run as a confined application with SELinux] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 22 February 2024 18:54:56 +0000 (0:00:00.029) 0:01:50.136 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Thursday 22 February 2024 18:54:57 +0000 (0:00:00.416) 0:01:50.553 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Thursday 22 February 2024 18:54:57 +0000 (0:00:00.356) 0:01:50.909 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:257 Thursday 22 February 2024 18:54:57 +0000 (0:00:00.020) 0:01:50.930 ***** 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.005808", "end": "2024-02-22 18:54:57.848236", "rc": 0, "start": "2024-02-22 18:54:57.842428" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Thursday 22 February 2024 18:54:57 +0000 (0:00:00.146) 0:01:51.076 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:276 Thursday 22 February 2024 18:54:58 +0000 (0:00:00.730) 0:01:51.807 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 22 February 2024 18:54:58 +0000 (0:00:00.028) 0:01:51.836 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:301 Thursday 22 February 2024 18:54:58 +0000 (0:00:00.021) 0:01:51.857 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:326 Thursday 22 February 2024 18:54:58 +0000 (0:00:00.022) 0:01:51.880 ***** skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:341 Thursday 22 February 2024 18:54:58 +0000 (0:00:00.025) 0:01:51.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Thursday 22 February 2024 18:54:58 +0000 (0:00:00.021) 0:01:51.927 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Thursday 22 February 2024 18:54:58 +0000 (0:00:00.020) 0:01:51.948 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Thursday 22 February 2024 18:54:59 +0000 (0:00:00.377) 0:01:52.325 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:21:17 UTC", "ActiveEnterTimestampMonotonic": "23304235", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target systemd-sysctl.service basic.target dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:21:15 UTC", "AssertTimestampMonotonic": "22018389", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ConditionTimestampMonotonic": "22018388", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "886", "ExecMainStartTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ExecMainStartTimestampMonotonic": "22019020", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-02-22 18:21:15 UTC", "InactiveExitTimestampMonotonic": "22019064", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "886", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:21:17 UTC", "WatchdogTimestampMonotonic": "23303924", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Thursday 22 February 2024 18:54:59 +0000 (0:00:00.223) 0:01:52.548 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.097524", "end": "2024-02-22 18:54:59.555574", "rc": 0, "start": "2024-02-22 18:54:59.458050" } 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Thursday 22 February 2024 18:54:59 +0000 (0:00:00.236) 0:01:52.785 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Thursday 22 February 2024 18:54:59 +0000 (0:00:00.020) 0:01:52.806 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Thursday 22 February 2024 18:54:59 +0000 (0:00:00.021) 0:01:52.828 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Thursday 22 February 2024 18:54:59 +0000 (0:00:00.025) 0:01:52.853 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Thursday 22 February 2024 18:54:59 +0000 (0:00:00.152) 0:01:53.006 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Thursday 22 February 2024 18:55:00 +0000 (0:00:00.437) 0:01:53.444 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Thursday 22 February 2024 18:55:00 +0000 (0:00:00.027) 0:01:53.471 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Thursday 22 February 2024 18:55:00 +0000 (0:00:00.023) 0:01:53.495 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Thursday 22 February 2024 18:55:00 +0000 (0:00:00.027) 0:01:53.522 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Thursday 22 February 2024 18:55:00 +0000 (0:00:00.023) 0:01:53.546 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Thursday 22 February 2024 18:55:00 +0000 (0:00:00.022) 0:01:53.569 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Thursday 22 February 2024 18:55:00 +0000 (0:00:00.022) 0:01:53.591 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Thursday 22 February 2024 18:55:00 +0000 (0:00:00.023) 0:01:53.614 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Thursday 22 February 2024 18:55:00 +0000 (0:00:00.024) 0:01:53.639 ***** 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.005511", "end": "2024-02-22 18:55:00.558497", "rc": 0, "start": "2024-02-22 18:55:00.552986" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Thursday 22 February 2024 18:55:00 +0000 (0:00:00.148) 0:01:53.787 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Thursday 22 February 2024 18:55:00 +0000 (0:00:00.023) 0:01:53.810 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Thursday 22 February 2024 18:55:01 +0000 (0:00:01.059) 0:01:54.870 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 18:55:01 +0000 (0:00:00.024) 0:01:54.894 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 22 February 2024 18:55:01 +0000 (0:00:00.023) 0:01:54.917 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Thursday 22 February 2024 18:55:01 +0000 (0:00:00.023) 0:01:54.941 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Thursday 22 February 2024 18:55:01 +0000 (0:00:00.022) 0:01:54.963 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:55:01 +0000 (0:00:00.036) 0:01:54.999 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003509", "end": "2024-02-22 18:55:01.915432", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:55:01.911923" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:55:01 +0000 (0:00:00.147) 0:01:55.147 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.056250", "end": "2024-02-22 18:55:02.122063", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:02.065813" } 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.209) 0:01:55.356 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.021) 0:01:55.377 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.020) 0:01:55.398 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.021) 0:01:55.420 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.020) 0:01:55.441 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.019) 0:01:55.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.019) 0:01:55.480 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.019) 0:01:55.499 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.067) 0:01:55.566 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.023) 0:01:55.589 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.021) 0:01:55.611 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.022) 0:01:55.633 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.021) 0:01:55.655 ***** skipping: [sut] => (item=/tmp/ansible.0e6VAd) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.0e6VAd", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ansible.RxE8yH) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.RxE8yH", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.026) 0:01:55.682 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlscert] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.035) 0:01:55.717 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003623", "end": "2024-02-22 18:55:02.632903", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:02.629280" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.0e6VAd TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.146) 0:01:55.863 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlscert] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.026) 0:01:55.890 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.054299", "end": "2024-02-22 18:55:02.864175", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:02.809876" } 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 tlskey setting] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.205) 0:01:56.096 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlskey] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:55:02 +0000 (0:00:00.038) 0:01:56.134 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003470", "end": "2024-02-22 18:55:03.048925", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:03.045455" } STDOUT: tlskey = /etc/pki/tls/private/ansible.RxE8yH TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:55:03 +0000 (0:00:00.144) 0:01:56.279 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlskey] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:55:03 +0000 (0:00:00.026) 0:01:56.305 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.054413", "end": "2024-02-22 18:55:03.277449", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:03.223036" } 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 tlsprotocols setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Thursday 22 February 2024 18:55:03 +0000 (0:00:00.204) 0:01:56.509 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlsprotocols] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:55:03 +0000 (0:00:00.111) 0:01:56.621 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003523", "end": "2024-02-22 18:55:03.538469", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:03.534946" } STDOUT: tlsprotocols = 1.2 TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:55:03 +0000 (0:00:00.154) 0:01:56.775 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlsprotocols] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:55:03 +0000 (0:00:00.034) 0:01:56.810 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.054547", "end": "2024-02-22 18:55:03.783229", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:03.728682" } 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 forceencryption setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Thursday 22 February 2024 18:55:03 +0000 (0:00:00.219) 0:01:57.029 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network forceencryption] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:55:03 +0000 (0:00:00.044) 0:01:57.074 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003539", "end": "2024-02-22 18:55:03.994106", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:03.990567" } STDOUT: forceencryption = 1 TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.152) 0:01:57.226 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network forceencryption] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.026) 0:01:57.252 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.053586", "end": "2024-02-22 18:55:04.223751", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:04.170165" } 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 : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.202) 0:01:57.455 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.021) 0:01:57.477 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.020) 0:01:57.498 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.020) 0:01:57.519 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.023) 0:01:57.542 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.029) 0:01:57.572 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.021) 0:01:57.593 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.086) 0:01:57.679 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.030) 0:01:57.710 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.024) 0:01:57.734 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.025) 0:01:57.759 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.027) 0:01:57.787 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.021) 0:01:57.809 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.020) 0:01:57.830 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.023) 0:01:57.853 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.029) 0:01:57.883 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.024) 0:01:57.908 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.024) 0:01:57.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.021) 0:01:57.954 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.023) 0:01:57.977 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.048) 0:01:58.026 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:998 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.035) 0:01:58.062 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.053) 0:01:58.115 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.022) 0:01:58.137 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Thursday 22 February 2024 18:55:04 +0000 (0:00:00.040) 0:01:58.178 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.032) 0:01:58.211 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.107) 0:01:58.318 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.027) 0:01:58.346 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.026) 0:01:58.372 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.022) 0:01:58.395 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1121 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.027) 0:01:58.422 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1128 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.022) 0:01:58.445 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1153 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.038) 0:01:58.483 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1162 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.023) 0:01:58.507 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1172 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.022) 0:01:58.529 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1183 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.020) 0:01:58.550 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1196 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.022) 0:01:58.572 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.022) 0:01:58.595 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1216 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.026) 0:01:58.621 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1223 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.020) 0:01:58.642 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.019) 0:01:58.661 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.019) 0:01:58.681 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1251 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.028) 0:01:58.710 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1260 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.021) 0:01:58.731 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.021) 0:01:58.753 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1273 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.109) 0:01:58.862 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1281 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.026) 0:01:58.889 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.027) 0:01:58.916 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1306 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.021) 0:01:58.938 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for the cluster to finish configuration] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1311 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.020) 0:01:58.958 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1317 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.022) 0:01:58.981 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1326 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.022) 0:01:59.003 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 22 February 2024 18:55:05 +0000 (0:00:00.169) 0:01:59.173 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:54:48 UTC", "ActiveEnterTimestampMonotonic": "2034260495", "ActiveExitTimestamp": "Thu 2024-02-22 18:54:47 UTC", "ActiveExitTimestampMonotonic": "2033404536", "ActiveState": "active", "After": "system.slice systemd-journald.socket auditd.service network.target basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:54:48 UTC", "AssertTimestampMonotonic": "2034259818", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:54:48 UTC", "ConditionTimestampMonotonic": "2034259817", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "28156", "ExecMainStartTimestamp": "Thu 2024-02-22 18:54:48 UTC", "ExecMainStartTimestampMonotonic": "2034260440", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 18:54:48 UTC] ; stop_time=[n/a] ; pid=28156 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-02-22 18:54:48 UTC", "InactiveEnterTimestampMonotonic": "2034259232", "InactiveExitTimestamp": "Thu 2024-02-22 18:54:48 UTC", "InactiveExitTimestampMonotonic": "2034260495", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "28156", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:54:48 UTC", "WatchdogTimestampMonotonic": "2034260475", "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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1339 Thursday 22 February 2024 18:55:06 +0000 (0:00:01.022) 0:02:00.195 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Thursday 22 February 2024 18:55:07 +0000 (0:00:00.023) 0:02:00.219 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:147 Thursday 22 February 2024 18:55:07 +0000 (0:00:00.023) 0:02:00.242 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:8 Thursday 22 February 2024 18:55:07 +0000 (0:00:00.262) 0:02:00.504 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:23 Thursday 22 February 2024 18:55:07 +0000 (0:00:00.026) 0:02:00.530 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:35 Thursday 22 February 2024 18:55:07 +0000 (0:00:00.022) 0:02:00.553 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:39 Thursday 22 February 2024 18:55:07 +0000 (0:00:00.027) 0:02:00.581 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:55 Thursday 22 February 2024 18:55:07 +0000 (0:00:00.022) 0:02:00.603 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:60 Thursday 22 February 2024 18:55:07 +0000 (0:00:00.019) 0:02:00.622 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:70 Thursday 22 February 2024 18:55:07 +0000 (0:00:00.019) 0:02:00.642 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:75 Thursday 22 February 2024 18:55:07 +0000 (0:00:00.019) 0:02:00.661 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:85 Thursday 22 February 2024 18:55:07 +0000 (0:00:00.020) 0:02:00.682 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 18:55:07 +0000 (0:00:00.035) 0:02:00.717 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:55:06 UTC", "ActiveEnterTimestampMonotonic": "2053012556", "ActiveExitTimestamp": "Thu 2024-02-22 18:55:06 UTC", "ActiveExitTimestampMonotonic": "2052228982", "ActiveState": "active", "After": "system.slice systemd-journald.socket auditd.service network.target basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:55:06 UTC", "AssertTimestampMonotonic": "2053011868", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:55:06 UTC", "ConditionTimestampMonotonic": "2053011867", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "28826", "ExecMainStartTimestamp": "Thu 2024-02-22 18:55:06 UTC", "ExecMainStartTimestampMonotonic": "2053012502", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 18:55:06 UTC] ; stop_time=[n/a] ; pid=28826 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-02-22 18:55:06 UTC", "InactiveEnterTimestampMonotonic": "2053010502", "InactiveExitTimestamp": "Thu 2024-02-22 18:55:06 UTC", "InactiveExitTimestampMonotonic": "2053012556", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "28826", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:55:06 UTC", "WatchdogTimestampMonotonic": "2053012536", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 18:55:07 +0000 (0:00:00.231) 0:02:00.948 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003723", "end": "2024-02-22 18:55:07.867331", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:55:07.863608" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 18:55:07 +0000 (0:00:00.147) 0:02:01.096 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004308", "end": "2024-02-22 18:55:08.017510", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:55:08.013202" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 18:55:08 +0000 (0:00:00.149) 0:02:01.245 ***** 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-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:93 Thursday 22 February 2024 18:55:08 +0000 (0:00:00.080) 0:02:01.326 ***** ok: [sut] => { "changed": false, "elapsed": 2, "gid": 994, "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": 5793, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:99 Thursday 22 February 2024 18:55:10 +0000 (0:00:02.202) 0:02:03.528 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.032361", "end": "2024-02-22 18:55:10.498944", "rc": 0, "start": "2024-02-22 18:55:10.466583" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:118 Thursday 22 February 2024 18:55:10 +0000 (0:00:00.202) 0:02:03.731 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:122 Thursday 22 February 2024 18:55:10 +0000 (0:00:00.024) 0:02:03.756 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:129 Thursday 22 February 2024 18:55:10 +0000 (0:00:00.022) 0:02:03.778 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:140 Thursday 22 February 2024 18:55:10 +0000 (0:00:00.019) 0:02:03.797 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:145 Thursday 22 February 2024 18:55:10 +0000 (0:00:00.020) 0:02:03.817 ***** 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-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:150 Thursday 22 February 2024 18:55:10 +0000 (0:00:00.020) 0:02:03.837 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:156 Thursday 22 February 2024 18:55:10 +0000 (0:00:00.023) 0:02:03.861 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:162 Thursday 22 February 2024 18:55:10 +0000 (0:00:00.026) 0:02:03.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:172 Thursday 22 February 2024 18:55:10 +0000 (0:00:00.030) 0:02:03.918 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:55:10 +0000 (0:00:00.157) 0:02:04.075 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004791", "end": "2024-02-22 18:55:11.027048", "rc": 0, "start": "2024-02-22 18:55:11.022257" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.181) 0:02:04.257 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.032) 0:02:04.289 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.026) 0:02:04.315 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:183 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.021) 0:02:04.337 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.036) 0:02:04.373 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004654", "end": "2024-02-22 18:55:11.287347", "rc": 0, "start": "2024-02-22 18:55:11.282693" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.150) 0:02:04.523 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.030) 0:02:04.553 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.024) 0:02:04.578 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:195 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.025) 0:02:04.604 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.039) 0:02:04.643 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004869", "end": "2024-02-22 18:55:11.564186", "rc": 0, "start": "2024-02-22 18:55:11.559317" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.150) 0:02:04.793 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.028) 0:02:04.822 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.024) 0:02:04.846 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:203 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.085) 0:02:04.932 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.045) 0:02:04.978 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004818", "end": "2024-02-22 18:55:11.894062", "rc": 0, "start": "2024-02-22 18:55:11.889244" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.148) 0:02:05.126 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.022) 0:02:05.149 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:55:11 +0000 (0:00:00.030) 0:02:05.180 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:210 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.022) 0:02:05.203 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:154 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.020) 0:02:05.223 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.436) 0:02:05.659 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.032) 0:02:05.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.024) 0:02:05.717 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.034) 0:02:05.752 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.019) 0:02:05.771 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.021) 0:02:05.793 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.021) 0:02:05.814 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.023) 0:02:05.838 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.022) 0:02:05.860 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.027) 0:02:05.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.022) 0:02:05.910 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.032) 0:02:05.942 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.023) 0:02:05.966 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.037) 0:02:06.003 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.021) 0:02:06.025 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.119) 0:02:06.145 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.023) 0:02:06.168 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 18:55:12 +0000 (0:00:00.021) 0:02:06.190 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 18:55:13 +0000 (0:00:00.022) 0:02:06.212 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Thursday 22 February 2024 18:55:13 +0000 (0:00:00.020) 0:02:06.233 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:146 Thursday 22 February 2024 18:55:14 +0000 (0:00:01.009) 0:02:07.242 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:155 Thursday 22 February 2024 18:55:14 +0000 (0:00:00.058) 0:02:07.300 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:162 Thursday 22 February 2024 18:55:14 +0000 (0:00:00.021) 0:02:07.322 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:169 Thursday 22 February 2024 18:55:14 +0000 (0:00:00.023) 0:02:07.346 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:184 Thursday 22 February 2024 18:55:14 +0000 (0:00:00.043) 0:02:07.389 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Thursday 22 February 2024 18:55:14 +0000 (0:00:00.394) 0:02:07.784 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 18:55:14 +0000 (0:00:00.022) 0:02:07.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:218 Thursday 22 February 2024 18:55:14 +0000 (0:00:00.022) 0:02:07.830 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Thursday 22 February 2024 18:55:14 +0000 (0:00:00.023) 0:02:07.853 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure to run as a confined application with SELinux] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 22 February 2024 18:55:14 +0000 (0:00:00.025) 0:02:07.879 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Thursday 22 February 2024 18:55:15 +0000 (0:00:00.406) 0:02:08.285 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Thursday 22 February 2024 18:55:15 +0000 (0:00:00.382) 0:02:08.667 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:257 Thursday 22 February 2024 18:55:15 +0000 (0:00:00.028) 0:02:08.696 ***** 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.005878", "end": "2024-02-22 18:55:15.616075", "rc": 0, "start": "2024-02-22 18:55:15.610197" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Thursday 22 February 2024 18:55:15 +0000 (0:00:00.149) 0:02:08.846 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:276 Thursday 22 February 2024 18:55:16 +0000 (0:00:00.723) 0:02:09.570 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 22 February 2024 18:55:16 +0000 (0:00:00.027) 0:02:09.597 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:301 Thursday 22 February 2024 18:55:16 +0000 (0:00:00.019) 0:02:09.617 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:326 Thursday 22 February 2024 18:55:16 +0000 (0:00:00.019) 0:02:09.636 ***** skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:341 Thursday 22 February 2024 18:55:16 +0000 (0:00:00.025) 0:02:09.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Thursday 22 February 2024 18:55:16 +0000 (0:00:00.103) 0:02:09.766 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Thursday 22 February 2024 18:55:16 +0000 (0:00:00.023) 0:02:09.789 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Thursday 22 February 2024 18:55:16 +0000 (0:00:00.359) 0:02:10.148 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:21:17 UTC", "ActiveEnterTimestampMonotonic": "23304235", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target systemd-sysctl.service basic.target dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:21:15 UTC", "AssertTimestampMonotonic": "22018389", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ConditionTimestampMonotonic": "22018388", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "886", "ExecMainStartTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ExecMainStartTimestampMonotonic": "22019020", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-02-22 18:21:15 UTC", "InactiveExitTimestampMonotonic": "22019064", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "886", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:21:17 UTC", "WatchdogTimestampMonotonic": "23303924", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Thursday 22 February 2024 18:55:17 +0000 (0:00:00.218) 0:02:10.367 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.099124", "end": "2024-02-22 18:55:17.378104", "rc": 0, "start": "2024-02-22 18:55:17.278980" } 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Thursday 22 February 2024 18:55:17 +0000 (0:00:00.252) 0:02:10.619 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Thursday 22 February 2024 18:55:17 +0000 (0:00:00.024) 0:02:10.644 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Thursday 22 February 2024 18:55:17 +0000 (0:00:00.021) 0:02:10.665 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Thursday 22 February 2024 18:55:17 +0000 (0:00:00.022) 0:02:10.687 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Thursday 22 February 2024 18:55:17 +0000 (0:00:00.146) 0:02:10.834 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Thursday 22 February 2024 18:55:17 +0000 (0:00:00.364) 0:02:11.198 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Thursday 22 February 2024 18:55:18 +0000 (0:00:00.022) 0:02:11.220 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Thursday 22 February 2024 18:55:18 +0000 (0:00:00.032) 0:02:11.253 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Thursday 22 February 2024 18:55:18 +0000 (0:00:00.025) 0:02:11.279 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Thursday 22 February 2024 18:55:18 +0000 (0:00:00.136) 0:02:11.415 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Thursday 22 February 2024 18:55:18 +0000 (0:00:00.025) 0:02:11.441 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Thursday 22 February 2024 18:55:18 +0000 (0:00:00.027) 0:02:11.468 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Thursday 22 February 2024 18:55:18 +0000 (0:00:00.030) 0:02:11.499 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Thursday 22 February 2024 18:55:18 +0000 (0:00:00.030) 0:02:11.529 ***** 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.006373", "end": "2024-02-22 18:55:18.450655", "rc": 0, "start": "2024-02-22 18:55:18.444282" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Thursday 22 February 2024 18:55:18 +0000 (0:00:00.155) 0:02:11.684 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Thursday 22 February 2024 18:55:18 +0000 (0:00:00.022) 0:02:11.707 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Thursday 22 February 2024 18:55:19 +0000 (0:00:01.005) 0:02:12.713 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 18:55:19 +0000 (0:00:00.023) 0:02:12.737 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 22 February 2024 18:55:19 +0000 (0:00:00.021) 0:02:12.758 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Thursday 22 February 2024 18:55:19 +0000 (0:00:00.023) 0:02:12.781 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Thursday 22 February 2024 18:55:19 +0000 (0:00:00.022) 0:02:12.804 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:55:19 +0000 (0:00:00.089) 0:02:12.894 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003384", "end": "2024-02-22 18:55:19.808075", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:55:19.804691" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:55:19 +0000 (0:00:00.144) 0:02:13.038 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.053443", "end": "2024-02-22 18:55:20.006791", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:19.953348" } 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.205) 0:02:13.243 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.022) 0:02:13.265 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.032) 0:02:13.298 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.027) 0:02:13.325 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.026) 0:02:13.351 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.021) 0:02:13.373 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.021) 0:02:13.394 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.030) 0:02:13.425 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.023) 0:02:13.449 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.039) 0:02:13.488 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.020) 0:02:13.509 ***** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.064) 0:02:13.573 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.123) 0:02:13.697 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.034) 0:02:13.732 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.151) 0:02:13.883 ***** ok: [sut] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.028) 0:02:13.912 ***** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 22 February 2024 18:55:20 +0000 (0:00:00.074) 0:02:13.987 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "python-pyasn1", "python-cryptography" ] }, "rc": 0, "results": [ "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\n--> Running transaction check\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\n--> Running transaction check\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\n--> Running transaction check\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 base 218 k\n python-idna noarch 2.4-1.el7 base 94 k\n python-ply noarch 3.4-11.el7 base 123 k\n python-pycparser noarch 2.14-1.el7 base 104 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+4 Dependent packages)\n\nTotal download size: 1.1 M\nInstalled size: 5.8 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 4.3 MB/s | 1.1 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/6 \n Installing : python-ply-3.4-11.el7.noarch 2/6 \n Installing : python-pycparser-2.14-1.el7.noarch 3/6 \n Installing : python-cffi-1.6.0-5.el7.x86_64 4/6 \n Installing : python-idna-2.4-1.el7.noarch 5/6 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 6/6 \n Verifying : python-idna-2.4-1.el7.noarch 1/6 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/6 \n Verifying : python-ply-3.4-11.el7.noarch 3/6 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/6 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 5/6 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 6/6 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-idna.noarch 0:2.4-1.el7 \n python-ply.noarch 0:3.4-11.el7 python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 22 February 2024 18:55:24 +0000 (0:00:03.468) 0:02:17.455 ***** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "changes": { "installed": [ "certmonger" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Running transaction check\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 base 33 k\n libtevent x86_64 0.9.39-1.el7 base 41 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+4 Dependent packages)\n\nTotal download size: 843 k\nInstalled size: 3.3 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.7 MB/s | 843 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtalloc-2.1.16-1.el7.x86_64 1/5 \n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 2/5 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 3/5 \n Installing : libtevent-0.9.39-1.el7.x86_64 4/5 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 5/5 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/5 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 2/5 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 3/5 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/5 \n Verifying : libtevent-0.9.39-1.el7.x86_64 5/5 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 22 February 2024 18:55:27 +0000 (0:00:03.083) 0:02:20.539 ***** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 22 February 2024 18:55:27 +0000 (0:00:00.176) 0:02:20.715 ***** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 22 February 2024 18:55:27 +0000 (0:00:00.172) 0:02:20.888 ***** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice syslog.target dbus.service basic.target systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; 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/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 22 February 2024 18:55:28 +0000 (0:00:00.379) 0:02:21.267 ***** changed: [sut] => (item={'name': 'mssql_2019_cert', 'common_name': '10.31.8.225', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.8.225", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } } MSG: Certificate requested (new). File attributes updated. TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 22 February 2024 18:55:28 +0000 (0:00:00.812) 0:02:22.080 ***** skipping: [sut] => (item=['cert', {'name': 'mssql_2019_cert', 'common_name': '10.31.8.225', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.8.225", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'mssql_2019_cert', 'common_name': '10.31.8.225', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.8.225", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'mssql_2019_cert', 'common_name': '10.31.8.225', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.8.225", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 22 February 2024 18:55:28 +0000 (0:00:00.041) 0:02:22.122 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 22 February 2024 18:55:28 +0000 (0:00:00.024) 0:02:22.147 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 22 February 2024 18:55:28 +0000 (0:00:00.025) 0:02:22.172 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Thursday 22 February 2024 18:55:28 +0000 (0:00:00.026) 0:02:22.198 ***** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "mssql_2019_cert.crt", "mssql_tls_private_key": "mssql_2019_cert.key" }, "changed": false } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Thursday 22 February 2024 18:55:29 +0000 (0:00:00.027) 0:02:22.226 ***** skipping: [sut] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Thursday 22 February 2024 18:55:29 +0000 (0:00:00.037) 0:02:22.264 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlscert] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:55:29 +0000 (0:00:00.050) 0:02:22.314 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004934", "end": "2024-02-22 18:55:30.238674", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:55:29.233740" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:55:30 +0000 (0:00:01.166) 0:02:23.480 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/mssql_2019_cert.crt" ], "delta": "0:00:00.052460", "end": "2024-02-22 18:55:30.459360", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:30.406900" } 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 tlscert] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:55:30 +0000 (0:00:00.280) 0:02:23.761 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Thursday 22 February 2024 18:55:30 +0000 (0:00:00.024) 0:02:23.785 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlskey] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:55:30 +0000 (0:00:00.042) 0:02:23.827 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004598", "end": "2024-02-22 18:55:31.748014", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:55:30.743416" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:55:31 +0000 (0:00:01.152) 0:02:24.979 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/mssql_2019_cert.key" ], "delta": "0:00:00.052250", "end": "2024-02-22 18:55:31.949407", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:31.897157" } 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 tlskey] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:55:31 +0000 (0:00:00.221) 0:02:25.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Thursday 22 February 2024 18:55:32 +0000 (0:00:00.048) 0:02:25.249 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlsprotocols] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:55:32 +0000 (0:00:00.043) 0:02:25.293 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004310", "end": "2024-02-22 18:55:33.218307", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:55:32.213997" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:55:33 +0000 (0:00:01.155) 0:02:26.448 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.054002", "end": "2024-02-22 18:55:33.430933", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:33.376931" } 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 tlsprotocols] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:55:33 +0000 (0:00:00.227) 0:02:26.676 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Thursday 22 February 2024 18:55:33 +0000 (0:00:00.024) 0:02:26.700 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network forceencryption] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:55:33 +0000 (0:00:00.163) 0:02:26.863 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003555", "end": "2024-02-22 18:55:33.781194", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:55:33.777639" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:55:33 +0000 (0:00:00.160) 0:02:27.023 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.054576", "end": "2024-02-22 18:55:33.997093", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:33.942517" } 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 forceencryption] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.207) 0:02:27.230 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.022) 0:02:27.253 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.022) 0:02:27.275 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.022) 0:02:27.298 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.022) 0:02:27.321 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.023) 0:02:27.344 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.025) 0:02:27.369 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.021) 0:02:27.391 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.028) 0:02:27.420 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.022) 0:02:27.443 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.021) 0:02:27.464 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.027) 0:02:27.492 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.021) 0:02:27.513 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.020) 0:02:27.534 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.019) 0:02:27.553 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.095) 0:02:27.648 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.025) 0:02:27.674 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.023) 0:02:27.697 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.026) 0:02:27.723 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.022) 0:02:27.746 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.031) 0:02:27.778 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.037) 0:02:27.816 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:998 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.061) 0:02:27.877 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.034) 0:02:27.912 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.029) 0:02:27.941 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.026) 0:02:27.968 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.024) 0:02:27.993 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.043) 0:02:28.036 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.031) 0:02:28.068 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.032) 0:02:28.101 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.025) 0:02:28.127 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1121 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.031) 0:02:28.158 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1128 Thursday 22 February 2024 18:55:34 +0000 (0:00:00.023) 0:02:28.182 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1153 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.023) 0:02:28.205 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1162 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.109) 0:02:28.314 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1172 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.022) 0:02:28.337 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1183 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.021) 0:02:28.358 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1196 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.022) 0:02:28.380 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.029) 0:02:28.410 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1216 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.038) 0:02:28.448 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1223 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.024) 0:02:28.472 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.021) 0:02:28.494 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.022) 0:02:28.516 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1251 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.029) 0:02:28.546 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1260 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.023) 0:02:28.569 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.023) 0:02:28.593 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1273 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.022) 0:02:28.615 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1281 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.032) 0:02:28.648 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.056) 0:02:28.705 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1306 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.025) 0:02:28.730 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for the cluster to finish configuration] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1311 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.024) 0:02:28.754 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1317 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.023) 0:02:28.778 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1326 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.101) 0:02:28.880 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 22 February 2024 18:55:35 +0000 (0:00:00.168) 0:02:29.048 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:55:06 UTC", "ActiveEnterTimestampMonotonic": "2053012556", "ActiveExitTimestamp": "Thu 2024-02-22 18:55:06 UTC", "ActiveExitTimestampMonotonic": "2052228982", "ActiveState": "active", "After": "system.slice network.target -.mount systemd-journald.socket basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:55:06 UTC", "AssertTimestampMonotonic": "2053011868", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:55:06 UTC", "ConditionTimestampMonotonic": "2053011867", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "28826", "ExecMainStartTimestamp": "Thu 2024-02-22 18:55:06 UTC", "ExecMainStartTimestampMonotonic": "2053012502", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-02-22 18:55:06 UTC", "InactiveEnterTimestampMonotonic": "2053010502", "InactiveExitTimestamp": "Thu 2024-02-22 18:55:06 UTC", "InactiveExitTimestampMonotonic": "2053012556", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "28826", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:55:06 UTC", "WatchdogTimestampMonotonic": "2053012536", "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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1339 Thursday 22 February 2024 18:55:36 +0000 (0:00:00.557) 0:02:29.605 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Thursday 22 February 2024 18:55:36 +0000 (0:00:00.022) 0:02:29.628 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:168 Thursday 22 February 2024 18:55:36 +0000 (0:00:00.022) 0:02:29.650 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:8 Thursday 22 February 2024 18:55:36 +0000 (0:00:00.217) 0:02:29.868 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:23 Thursday 22 February 2024 18:55:36 +0000 (0:00:00.052) 0:02:29.920 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:35 Thursday 22 February 2024 18:55:36 +0000 (0:00:00.033) 0:02:29.954 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:39 Thursday 22 February 2024 18:55:36 +0000 (0:00:00.029) 0:02:29.983 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:55 Thursday 22 February 2024 18:55:36 +0000 (0:00:00.141) 0:02:30.124 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:60 Thursday 22 February 2024 18:55:36 +0000 (0:00:00.038) 0:02:30.163 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:70 Thursday 22 February 2024 18:55:36 +0000 (0:00:00.024) 0:02:30.188 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:75 Thursday 22 February 2024 18:55:37 +0000 (0:00:00.024) 0:02:30.213 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:85 Thursday 22 February 2024 18:55:37 +0000 (0:00:00.025) 0:02:30.238 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 18:55:37 +0000 (0:00:00.041) 0:02:30.280 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:55:36 UTC", "ActiveEnterTimestampMonotonic": "2082422915", "ActiveExitTimestamp": "Thu 2024-02-22 18:55:36 UTC", "ActiveExitTimestampMonotonic": "2082102678", "ActiveState": "active", "After": "system.slice network.target -.mount systemd-journald.socket basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:55:36 UTC", "AssertTimestampMonotonic": "2082422110", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:55:36 UTC", "ConditionTimestampMonotonic": "2082422109", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "29683", "ExecMainStartTimestamp": "Thu 2024-02-22 18:55:36 UTC", "ExecMainStartTimestampMonotonic": "2082422840", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 18:55:36 UTC] ; stop_time=[n/a] ; pid=29683 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-02-22 18:55:36 UTC", "InactiveEnterTimestampMonotonic": "2082421079", "InactiveExitTimestamp": "Thu 2024-02-22 18:55:36 UTC", "InactiveExitTimestampMonotonic": "2082422915", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "29683", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:55:36 UTC", "WatchdogTimestampMonotonic": "2082422887", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 18:55:37 +0000 (0:00:00.283) 0:02:30.564 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003673", "end": "2024-02-22 18:55:37.487220", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:55:37.483547" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 18:55:37 +0000 (0:00:00.151) 0:02:30.716 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003690", "end": "2024-02-22 18:55:37.652544", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:55:37.648854" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 18:55:37 +0000 (0:00:00.168) 0:02:30.885 ***** 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-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:93 Thursday 22 February 2024 18:55:37 +0000 (0:00:00.029) 0:02:30.914 ***** ok: [sut] => { "changed": false, "elapsed": 2, "gid": 994, "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": 6364, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:99 Thursday 22 February 2024 18:55:39 +0000 (0:00:02.158) 0:02:33.072 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.034126", "end": "2024-02-22 18:55:40.021488", "rc": 0, "start": "2024-02-22 18:55:39.987362" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:118 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.181) 0:02:33.254 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:122 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.022) 0:02:33.277 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:129 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.021) 0:02:33.299 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:140 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.136) 0:02:33.436 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:145 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.023) 0:02:33.459 ***** 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-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:150 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.026) 0:02:33.486 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:156 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.022) 0:02:33.509 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:162 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.037) 0:02:33.546 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:172 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.021) 0:02:33.568 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.039) 0:02:33.607 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004778", "end": "2024-02-22 18:55:40.524593", "rc": 0, "start": "2024-02-22 18:55:40.519815" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.148) 0:02:33.756 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.031) 0:02:33.787 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/mssql_2019_cert.crt] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.027) 0:02:33.814 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:183 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.023) 0:02:33.837 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.044) 0:02:33.882 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004663", "end": "2024-02-22 18:55:40.802458", "rc": 0, "start": "2024-02-22 18:55:40.797795" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.151) 0:02:34.033 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.030) 0:02:34.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/mssql_2019_cert.key] ********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.026) 0:02:34.091 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:195 Thursday 22 February 2024 18:55:40 +0000 (0:00:00.021) 0:02:34.112 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:55:41 +0000 (0:00:00.116) 0:02:34.229 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004721", "end": "2024-02-22 18:55:41.144720", "rc": 0, "start": "2024-02-22 18:55:41.139999" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:55:41 +0000 (0:00:00.145) 0:02:34.374 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:55:41 +0000 (0:00:00.028) 0:02:34.403 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:55:41 +0000 (0:00:00.023) 0:02:34.427 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:203 Thursday 22 February 2024 18:55:41 +0000 (0:00:00.021) 0:02:34.448 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:55:41 +0000 (0:00:00.041) 0:02:34.489 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004875", "end": "2024-02-22 18:55:41.408886", "rc": 0, "start": "2024-02-22 18:55:41.404011" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:55:41 +0000 (0:00:00.150) 0:02:34.639 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:55:41 +0000 (0:00:00.025) 0:02:34.665 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:55:41 +0000 (0:00:00.032) 0:02:34.697 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:210 Thursday 22 February 2024 18:55:41 +0000 (0:00:00.038) 0:02:34.736 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_tls.yml:175 Thursday 22 February 2024 18:55:41 +0000 (0:00:00.029) 0:02:34.766 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.540) 0:02:35.306 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.039) 0:02:35.345 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.040) 0:02:35.385 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.051) 0:02:35.437 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.028) 0:02:35.465 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.022) 0:02:35.488 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.025) 0:02:35.513 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.034) 0:02:35.548 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.021) 0:02:35.570 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.163) 0:02:35.733 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.027) 0:02:35.761 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.032) 0:02:35.794 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.026) 0:02:35.820 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.028) 0:02:35.849 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.023) 0:02:35.872 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.021) 0:02:35.893 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.021) 0:02:35.915 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.024) 0:02:35.940 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.021) 0:02:35.961 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Thursday 22 February 2024 18:55:42 +0000 (0:00:00.021) 0:02:35.983 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:146 Thursday 22 February 2024 18:55:43 +0000 (0:00:00.987) 0:02:36.970 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:155 Thursday 22 February 2024 18:55:43 +0000 (0:00:00.062) 0:02:37.033 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:162 Thursday 22 February 2024 18:55:43 +0000 (0:00:00.131) 0:02:37.164 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:169 Thursday 22 February 2024 18:55:43 +0000 (0:00:00.026) 0:02:37.191 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:184 Thursday 22 February 2024 18:55:44 +0000 (0:00:00.047) 0:02:37.238 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Thursday 22 February 2024 18:55:44 +0000 (0:00:00.352) 0:02:37.590 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 18:55:44 +0000 (0:00:00.029) 0:02:37.619 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:218 Thursday 22 February 2024 18:55:44 +0000 (0:00:00.033) 0:02:37.653 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Thursday 22 February 2024 18:55:44 +0000 (0:00:00.025) 0:02:37.679 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure to run as a confined application with SELinux] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 22 February 2024 18:55:44 +0000 (0:00:00.028) 0:02:37.708 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Thursday 22 February 2024 18:55:44 +0000 (0:00:00.419) 0:02:38.127 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Thursday 22 February 2024 18:55:45 +0000 (0:00:00.359) 0:02:38.486 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:257 Thursday 22 February 2024 18:55:45 +0000 (0:00:00.021) 0:02:38.508 ***** 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.005726", "end": "2024-02-22 18:55:45.433393", "rc": 0, "start": "2024-02-22 18:55:45.427667" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Thursday 22 February 2024 18:55:45 +0000 (0:00:00.158) 0:02:38.667 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:276 Thursday 22 February 2024 18:55:46 +0000 (0:00:00.761) 0:02:39.429 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 22 February 2024 18:55:46 +0000 (0:00:00.028) 0:02:39.457 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:301 Thursday 22 February 2024 18:55:46 +0000 (0:00:00.022) 0:02:39.480 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:326 Thursday 22 February 2024 18:55:46 +0000 (0:00:00.021) 0:02:39.501 ***** skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:341 Thursday 22 February 2024 18:55:46 +0000 (0:00:00.024) 0:02:39.525 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Thursday 22 February 2024 18:55:46 +0000 (0:00:00.123) 0:02:39.649 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Thursday 22 February 2024 18:55:46 +0000 (0:00:00.040) 0:02:39.690 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Thursday 22 February 2024 18:55:46 +0000 (0:00:00.369) 0:02:40.059 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:21:17 UTC", "ActiveEnterTimestampMonotonic": "23304235", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice systemd-journald.socket basic.target systemd-sysctl.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:21:15 UTC", "AssertTimestampMonotonic": "22018389", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ConditionTimestampMonotonic": "22018388", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "886", "ExecMainStartTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ExecMainStartTimestampMonotonic": "22019020", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-02-22 18:21:15 UTC", "InactiveExitTimestampMonotonic": "22019064", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "886", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:21:17 UTC", "WatchdogTimestampMonotonic": "23303924", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Thursday 22 February 2024 18:55:47 +0000 (0:00:00.223) 0:02:40.283 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.100113", "end": "2024-02-22 18:55:47.293592", "rc": 0, "start": "2024-02-22 18:55:47.193479" } 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Thursday 22 February 2024 18:55:47 +0000 (0:00:00.241) 0:02:40.524 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Thursday 22 February 2024 18:55:47 +0000 (0:00:00.025) 0:02:40.549 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Thursday 22 February 2024 18:55:47 +0000 (0:00:00.022) 0:02:40.571 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Thursday 22 February 2024 18:55:47 +0000 (0:00:00.022) 0:02:40.594 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Thursday 22 February 2024 18:55:47 +0000 (0:00:00.150) 0:02:40.744 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Thursday 22 February 2024 18:55:47 +0000 (0:00:00.362) 0:02:41.107 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Thursday 22 February 2024 18:55:47 +0000 (0:00:00.023) 0:02:41.131 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Thursday 22 February 2024 18:55:47 +0000 (0:00:00.022) 0:02:41.154 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Thursday 22 February 2024 18:55:47 +0000 (0:00:00.023) 0:02:41.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Thursday 22 February 2024 18:55:47 +0000 (0:00:00.023) 0:02:41.200 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Thursday 22 February 2024 18:55:48 +0000 (0:00:00.023) 0:02:41.224 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Thursday 22 February 2024 18:55:48 +0000 (0:00:00.097) 0:02:41.321 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Thursday 22 February 2024 18:55:48 +0000 (0:00:00.021) 0:02:41.343 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Thursday 22 February 2024 18:55:48 +0000 (0:00:00.022) 0:02:41.366 ***** 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.005870", "end": "2024-02-22 18:55:48.284795", "rc": 0, "start": "2024-02-22 18:55:48.278925" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Thursday 22 February 2024 18:55:48 +0000 (0:00:00.148) 0:02:41.514 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Thursday 22 February 2024 18:55:48 +0000 (0:00:00.023) 0:02:41.538 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Thursday 22 February 2024 18:55:49 +0000 (0:00:00.997) 0:02:42.535 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 18:55:49 +0000 (0:00:00.025) 0:02:42.560 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 22 February 2024 18:55:49 +0000 (0:00:00.022) 0:02:42.583 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Thursday 22 February 2024 18:55:49 +0000 (0:00:00.025) 0:02:42.608 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Thursday 22 February 2024 18:55:49 +0000 (0:00:00.024) 0:02:42.632 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:55:49 +0000 (0:00:00.038) 0:02:42.671 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004586", "end": "2024-02-22 18:55:50.589682", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:55:49.585096" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:55:50 +0000 (0:00:01.149) 0:02:43.821 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.053002", "end": "2024-02-22 18:55:50.794174", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:50.741172" } 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:55:50 +0000 (0:00:00.224) 0:02:44.045 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.164) 0:02:44.209 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.038) 0:02:44.247 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.026) 0:02:44.274 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.046) 0:02:44.320 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.026) 0:02:44.347 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.036) 0:02:44.383 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.035) 0:02:44.419 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.035) 0:02:44.455 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.022) 0:02:44.477 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.028) 0:02:44.505 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.035) 0:02:44.541 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.042) 0:02:44.584 ***** skipping: [sut] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.049) 0:02:44.633 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlscert] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.068) 0:02:44.701 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003602", "end": "2024-02-22 18:55:51.636597", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:51.632995" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.166) 0:02:44.867 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlscert] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.034) 0:02:44.902 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.052704", "end": "2024-02-22 18:55:51.877978", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:51.825274" } 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 tlskey setting] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Thursday 22 February 2024 18:55:51 +0000 (0:00:00.210) 0:02:45.112 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlskey] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:55:52 +0000 (0:00:00.146) 0:02:45.259 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003595", "end": "2024-02-22 18:55:52.194128", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:52.190533" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:55:52 +0000 (0:00:00.171) 0:02:45.430 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlskey] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:55:52 +0000 (0:00:00.033) 0:02:45.464 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.052650", "end": "2024-02-22 18:55:52.433654", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:52.381004" } 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 tlsprotocols setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Thursday 22 February 2024 18:55:52 +0000 (0:00:00.200) 0:02:45.665 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tlsprotocols] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:55:52 +0000 (0:00:00.043) 0:02:45.709 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003603", "end": "2024-02-22 18:55:52.627802", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:52.624199" } STDOUT: tlsprotocols = 1.2 TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:55:52 +0000 (0:00:00.163) 0:02:45.873 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tlsprotocols] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:55:52 +0000 (0:00:00.029) 0:02:45.903 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.053857", "end": "2024-02-22 18:55:52.875572", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:52.821715" } 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 forceencryption setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Thursday 22 February 2024 18:55:52 +0000 (0:00:00.204) 0:02:46.107 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network forceencryption] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:55:52 +0000 (0:00:00.040) 0:02:46.148 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003634", "end": "2024-02-22 18:55:53.062779", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:53.059145" } STDOUT: forceencryption = 1 TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.146) 0:02:46.294 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network forceencryption] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.026) 0:02:46.320 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.055142", "end": "2024-02-22 18:55:53.292715", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:55:53.237573" } 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 : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.206) 0:02:46.526 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.117) 0:02:46.644 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.021) 0:02:46.665 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.020) 0:02:46.686 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.021) 0:02:46.707 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.022) 0:02:46.730 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.021) 0:02:46.752 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.022) 0:02:46.775 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.021) 0:02:46.796 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.021) 0:02:46.817 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.022) 0:02:46.840 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.020) 0:02:46.861 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.020) 0:02:46.881 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.022) 0:02:46.904 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.021) 0:02:46.926 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.023) 0:02:46.950 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.023) 0:02:46.973 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.025) 0:02:46.998 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.024) 0:02:47.023 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Thursday 22 February 2024 18:55:53 +0000 (0:00:00.022) 0:02:47.046 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.157) 0:02:47.203 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:998 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.025) 0:02:47.229 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.025) 0:02:47.255 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.028) 0:02:47.283 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.022) 0:02:47.305 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.020) 0:02:47.326 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.020) 0:02:47.347 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.039) 0:02:47.386 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.023) 0:02:47.409 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.025) 0:02:47.435 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1121 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.028) 0:02:47.463 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1128 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.025) 0:02:47.489 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1153 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.027) 0:02:47.516 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1162 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.024) 0:02:47.540 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1172 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.035) 0:02:47.576 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1183 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.036) 0:02:47.613 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1196 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.041) 0:02:47.655 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.030) 0:02:47.685 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1216 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.026) 0:02:47.712 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1223 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.106) 0:02:47.818 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.021) 0:02:47.840 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.021) 0:02:47.862 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1251 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.028) 0:02:47.890 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1260 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.023) 0:02:47.914 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.021) 0:02:47.935 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1273 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.020) 0:02:47.956 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1281 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.023) 0:02:47.979 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.028) 0:02:48.007 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1306 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.021) 0:02:48.029 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for the cluster to finish configuration] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1311 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.023) 0:02:48.052 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1317 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.022) 0:02:48.074 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1326 Thursday 22 February 2024 18:55:54 +0000 (0:00:00.021) 0:02:48.095 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 22 February 2024 18:55:55 +0000 (0:00:00.164) 0:02:48.260 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:55:36 UTC", "ActiveEnterTimestampMonotonic": "2082422915", "ActiveExitTimestamp": "Thu 2024-02-22 18:55:36 UTC", "ActiveExitTimestampMonotonic": "2082102678", "ActiveState": "active", "After": "system.slice network.target -.mount systemd-journald.socket basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:55:36 UTC", "AssertTimestampMonotonic": "2082422110", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:55:36 UTC", "ConditionTimestampMonotonic": "2082422109", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "29683", "ExecMainStartTimestamp": "Thu 2024-02-22 18:55:36 UTC", "ExecMainStartTimestampMonotonic": "2082422840", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 18:55:36 UTC] ; stop_time=[n/a] ; pid=29683 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-02-22 18:55:36 UTC", "InactiveEnterTimestampMonotonic": "2082421079", "InactiveExitTimestamp": "Thu 2024-02-22 18:55:36 UTC", "InactiveExitTimestampMonotonic": "2082422915", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "29683", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:55:36 UTC", "WatchdogTimestampMonotonic": "2082422887", "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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1339 Thursday 22 February 2024 18:55:55 +0000 (0:00:00.579) 0:02:48.840 ***** 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-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Thursday 22 February 2024 18:55:55 +0000 (0:00:00.020) 0:02:48.861 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tests_tls_2017.yml:26 Thursday 22 February 2024 18:55:55 +0000 (0:00:00.109) 0:02:48.970 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:2 Thursday 22 February 2024 18:55:55 +0000 (0:00:00.039) 0:02:49.010 ***** 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-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:6 Thursday 22 February 2024 18:55:56 +0000 (0:00:01.077) 0:02:50.087 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:14 Thursday 22 February 2024 18:55:56 +0000 (0:00:00.027) 0:02:50.115 ***** ok: [sut] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:18 Thursday 22 February 2024 18:55:56 +0000 (0:00:00.026) 0:02:50.142 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 22 February 2024 18:55:57 +0000 (0:00:00.067) 0:02:50.209 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/.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-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 22 February 2024 18:55:57 +0000 (0:00:00.053) 0:02:50.262 ***** 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-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Thursday 22 February 2024 18:55:57 +0000 (0:00:00.028) 0:02:50.290 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Thursday 22 February 2024 18:55:57 +0000 (0:00:00.274) 0:02:50.564 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Thursday 22 February 2024 18:55:57 +0000 (0:00:00.026) 0:02:50.590 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 22 February 2024 18:55:57 +0000 (0:00:00.396) 0:02:50.987 ***** 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-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 22 February 2024 18:55:57 +0000 (0:00:00.022) 0:02:51.010 ***** 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-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Thursday 22 February 2024 18:55:57 +0000 (0:00:00.036) 0:02:51.047 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:42:19 UTC", "ActiveEnterTimestampMonotonic": "1285976928", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus.service system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:42:18 UTC", "AssertTimestampMonotonic": "1285044142", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:42:18 UTC", "ConditionTimestampMonotonic": "1285044141", "Conflicts": "ebtables.service ipset.service iptables.service shutdown.target ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12166", "ExecMainStartTimestamp": "Thu 2024-02-22 18:42:18 UTC", "ExecMainStartTimestampMonotonic": "1285046279", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-02-22 18:42:18 UTC", "InactiveExitTimestampMonotonic": "1285046313", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "12166", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2024-02-22 18:42:19 UTC", "WatchdogTimestampMonotonic": "1285976868", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Thursday 22 February 2024 18:55:58 +0000 (0:00:00.337) 0:02:51.385 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:42:19 UTC", "ActiveEnterTimestampMonotonic": "1285976928", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus.service system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:42:18 UTC", "AssertTimestampMonotonic": "1285044142", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:42:18 UTC", "ConditionTimestampMonotonic": "1285044141", "Conflicts": "ebtables.service ipset.service iptables.service shutdown.target ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12166", "ExecMainStartTimestamp": "Thu 2024-02-22 18:42:18 UTC", "ExecMainStartTimestampMonotonic": "1285046279", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-02-22 18:42:18 UTC", "InactiveExitTimestampMonotonic": "1285046313", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "12166", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2024-02-22 18:42:19 UTC", "WatchdogTimestampMonotonic": "1285976868", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Thursday 22 February 2024 18:55:58 +0000 (0:00:00.316) 0:02:51.701 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Thursday 22 February 2024 18:55:58 +0000 (0:00:00.026) 0:02:51.728 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.8.225 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Thursday 22 February 2024 18:55:58 +0000 (0:00:00.402) 0:02:52.130 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 22 February 2024 18:55:58 +0000 (0:00:00.028) 0:02:52.158 ***** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Thursday 22 February 2024 18:55:58 +0000 (0:00:00.026) 0:02:52.185 ***** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Thursday 22 February 2024 18:55:59 +0000 (0:00:00.028) 0:02:52.213 ***** 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-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Thursday 22 February 2024 18:55:59 +0000 (0:00:00.039) 0:02:52.252 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Thursday 22 February 2024 18:55:59 +0000 (0:00:00.135) 0:02:52.387 ***** 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-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Thursday 22 February 2024 18:55:59 +0000 (0:00:00.032) 0:02:52.420 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.8.225 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Thursday 22 February 2024 18:55:59 +0000 (0:00:00.335) 0:02:52.756 ***** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Thursday 22 February 2024 18:55:59 +0000 (0:00:00.031) 0:02:52.787 ***** skipping: [sut] => {} TASK [Purge selinux configuration] ********************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:26 Thursday 22 February 2024 18:55:59 +0000 (0:00:00.052) 0:02:52.839 ***** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Thursday 22 February 2024 18:55:59 +0000 (0:00:00.091) 0:02:52.931 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for sut TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Thursday 22 February 2024 18:55:59 +0000 (0:00:00.054) 0:02:52.986 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Thursday 22 February 2024 18:55:59 +0000 (0:00:00.028) 0:02:53.015 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for sut TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Thursday 22 February 2024 18:55:59 +0000 (0:00:00.042) 0:02:53.057 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Thursday 22 February 2024 18:56:00 +0000 (0:00:00.145) 0:02:53.203 ***** ok: [sut] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:14 Thursday 22 February 2024 18:56:00 +0000 (0:00:00.024) 0:02:53.228 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:23 Thursday 22 February 2024 18:56:00 +0000 (0:00:00.380) 0:02:53.609 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:34 Thursday 22 February 2024 18:56:00 +0000 (0:00:00.116) 0:02:53.725 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:45 Thursday 22 February 2024 18:56:00 +0000 (0:00:00.023) 0:02:53.748 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:53 Thursday 22 February 2024 18:56:00 +0000 (0:00:00.022) 0:02:53.771 ***** ok: [sut] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Thursday 22 February 2024 18:56:00 +0000 (0:00:00.387) 0:02:54.158 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Thursday 22 February 2024 18:56:00 +0000 (0:00:00.022) 0:02:54.181 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Thursday 22 February 2024 18:56:01 +0000 (0:00:00.024) 0:02:54.206 ***** ok: [sut] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Thursday 22 February 2024 18:56:01 +0000 (0:00:00.025) 0:02:54.231 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Thursday 22 February 2024 18:56:01 +0000 (0:00:00.019) 0:02:54.250 ***** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Thursday 22 February 2024 18:56:01 +0000 (0:00:00.022) 0:02:54.273 ***** NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for sut changed: [sut] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.413503", "end": "2024-02-22 18:56:01.600024", "rc": 0, "start": "2024-02-22 18:56:01.186521" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Thursday 22 February 2024 18:56:01 +0000 (0:00:00.557) 0:02:54.830 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Thursday 22 February 2024 18:56:01 +0000 (0:00:00.021) 0:02:54.852 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Thursday 22 February 2024 18:56:01 +0000 (0:00:00.026) 0:02:54.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Thursday 22 February 2024 18:56:01 +0000 (0:00:00.021) 0:02:54.900 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Thursday 22 February 2024 18:56:01 +0000 (0:00:00.022) 0:02:54.922 ***** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Thursday 22 February 2024 18:56:01 +0000 (0:00:00.021) 0:02:54.944 ***** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Thursday 22 February 2024 18:56:01 +0000 (0:00:00.109) 0:02:55.053 ***** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Thursday 22 February 2024 18:56:01 +0000 (0:00:00.028) 0:02:55.081 ***** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Thursday 22 February 2024 18:56:01 +0000 (0:00:00.024) 0:02:55.106 ***** ok: [sut] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Thursday 22 February 2024 18:56:04 +0000 (0:00:02.844) 0:02:57.950 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Thursday 22 February 2024 18:56:04 +0000 (0:00:00.030) 0:02:57.980 ***** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Thursday 22 February 2024 18:56:04 +0000 (0:00:00.028) 0:02:58.009 ***** TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:32 Thursday 22 February 2024 18:56:04 +0000 (0:00:00.027) 0:02:58.036 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:40 Thursday 22 February 2024 18:56:04 +0000 (0:00:00.034) 0:02:58.071 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:44 Thursday 22 February 2024 18:56:04 +0000 (0:00:00.127) 0:02:58.199 ***** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:50 Thursday 22 February 2024 18:56:05 +0000 (0:00:00.205) 0:02:58.404 ***** changed: [sut] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\nFound and removing 9 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n msodbcsql17 x86_64 17.10.5.1-1 @packages-microsoft-com-prod 2.2 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+9 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/12 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/12 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/12 \n Erasing : msodbcsql17-17.10.5.1-1.x86_64 4/12 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 5/12 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/12 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/12 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/12 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/12 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 10/12 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 2/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 3/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 4/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 5/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 6/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 7/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 8/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 9/12 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-1 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n msodbcsql17.x86_64 0:17.10.5.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:63 Thursday 22 February 2024 18:56:08 +0000 (0:00:03.078) 0:03:01.483 ***** changed: [sut] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.007996", "end": "2024-02-22 18:56:08.435674", "rc": 0, "start": "2024-02-22 18:56:08.427678" } STDOUT: removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/log/system_health_0_133531016552130000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133531016412680000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133531017388870000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133531016549600000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133531016908800000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/system_health_0_133531016375480000.xel’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/system_health_0_133531017585270000.xel’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133531017094640000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/system_health_0_133531017098140000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133531017582090000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133531016718190000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133531016906350000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133531016417050000.xel’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/system_health_0_133531016721780000.xel’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/system_health_0_133531017392370000.xel’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133531016367730000.xel’ removed directory: ‘/var/opt/mssql/log’ removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, 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/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-2553137409-1831323551-118244634-500/42e7704ae40b0d75de00736cc66b813a_1d040049-8eaa-4fe3-8114-6a103c27f9c6’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-2553137409-1831323551-118244634-500’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2553137409-1831323551-118244634-500/54f8ed52-9d99-40ce-82e7-930a0309cc2a’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2553137409-1831323551-118244634-500/Preferred’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2553137409-1831323551-118244634-500’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ 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/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/79fea2fd-b3f7-4cab-9c9b-b0d065202cbf’ 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/lsasetup.log’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2017.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:77 Thursday 22 February 2024 18:56:08 +0000 (0:00:00.199) 0:03:01.683 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.737600", "end": "2024-02-22 18:56:09.337270", "rc": 0, "start": "2024-02-22 18:56:08.599670" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Thursday 22 February 2024 18:56:09 +0000 (0:00:00.876) 0:03:02.559 ***** changed: [sut] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:02.181483", "end": "2024-02-22 18:56:11.679937", "rc": 0, "start": "2024-02-22 18:56:09.498454" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=385 changed=62 unreachable=0 failed=0 skipped=832 rescued=0 ignored=0 Thursday 22 February 2024 18:56:11 +0000 (0:00:02.344) 0:03:04.904 ***** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 39.83s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 linux-system-roles.mssql : Set up MSSQL --------------------------------- 5.11s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:301 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 5.03s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.47s /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Wait for mssql-server to prepare for client connections ----------------- 3.18s /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:93 --------- linux-system-roles.mssql : Gather package facts ------------------------- 3.10s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 3.08s /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Remove related packages ------------------------------------------------- 3.08s /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:50 ----------------- linux-system-roles.mssql : Gather package facts ------------------------- 2.98s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.84s /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.34s /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 linux-system-roles.mssql : Gather system services facts ----------------- 2.24s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Wait for mssql-server to prepare for client connections ----------------- 2.20s /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:93 --------- Wait for mssql-server to prepare for client connections ----------------- 2.16s /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:93 --------- Wait for mssql-server to prepare for client connections ----------------- 2.16s /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:93 --------- linux-system-roles.mssql : Restart the mssql-server service ------------- 2.10s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wait for mssql-server to prepare for client connections ----------------- 1.25s /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:93 --------- linux-system-roles.mssql : Ensure that the mssql-server service is started --- 1.25s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 linux-system-roles.mssql : Configure to run as a confined application with SELinux --- 1.23s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 linux-system-roles.mssql : Gather package facts ------------------------- 1.20s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---