# 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-unconf4iy38aet/tests/tests_tls_2017.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tests_tls_2017.yml:4 Thursday 22 February 2024 12:54:53 +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-unconf4iy38aet/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-unconf4iy38aet/tests/tests_tls_2017.yml:9 Thursday 22 February 2024 12:54:53 +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-unconf4iy38aet/tests/tests_tls_2017.yml:23 Thursday 22 February 2024 12:54:54 +0000 (0:00:00.570) 0:00:00.592 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/tasks/tests_tls.yml:2 Thursday 22 February 2024 12:54:54 +0000 (0:00:00.025) 0:00:00.617 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Thursday 22 February 2024 12:54:54 +0000 (0:00:00.015) 0:00:00.632 ***** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Thursday 22 February 2024 12:54:54 +0000 (0:00:00.221) 0:00:00.854 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Thursday 22 February 2024 12:54:54 +0000 (0:00:00.011) 0:00:00.865 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:5 Thursday 22 February 2024 12:54:54 +0000 (0:00:00.011) 0:00:00.876 ***** 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-unconf4iy38aet/tests/tasks/tests_tls.yml:11 Thursday 22 February 2024 12:54:55 +0000 (0:00:00.447) 0:00:01.323 ***** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.SN79LB", "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-unconf4iy38aet/tests/tasks/tests_tls.yml:17 Thursday 22 February 2024 12:54:55 +0000 (0:00:00.163) 0:00:01.487 ***** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.noNj2w", "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-unconf4iy38aet/tests/tasks/tests_tls.yml:23 Thursday 22 February 2024 12:54:55 +0000 (0:00:00.126) 0:00:01.614 ***** changed: [sut] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.40.226", "-out", "/tmp/ansible.SN79LB", "-keyout", "/tmp/ansible.noNj2w", "-days", "365" ], "delta": "0:00:00.164160", "end": "2024-02-22 12:54:55.784220", "rc": 0, "start": "2024-02-22 12:54:55.620060" } STDERR: Generating a 2048 bit RSA private key ..........................................+++ .+++ writing new private key to '/tmp/ansible.noNj2w' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:32 Thursday 22 February 2024 12:54:55 +0000 (0:00:00.331) 0:00:01.946 ***** changed: [sut] => (item=/tmp/ansible.SN79LB) => { "ansible_loop_var": "item", "changed": true, "checksum": "20e5fb3225c67a533c7b6dc9a52cf8eed7601065", "dest": "/tmp/ansible.SN79LB", "item": "/tmp/ansible.SN79LB", "md5sum": "656e3225c15dceb136cc13a3aed404cb", "remote_checksum": "20e5fb3225c67a533c7b6dc9a52cf8eed7601065", "remote_md5sum": null } changed: [sut] => (item=/tmp/ansible.noNj2w) => { "ansible_loop_var": "item", "changed": true, "checksum": "c62e59266108f29f1d57de5e1223c41abdbe012b", "dest": "/tmp/ansible.noNj2w", "item": "/tmp/ansible.noNj2w", "md5sum": "62aef94c3ef55ca985d1a708bb234ee2", "remote_checksum": "c62e59266108f29f1d57de5e1223c41abdbe012b", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:44 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.408) 0:00:02.354 ***** changed: [sut -> localhost] => { "changed": true, "checksum": "c62e59266108f29f1d57de5e1223c41abdbe012b", "dest": "./ansible.noNj2w", "gid": 1001, "group": "jenkins", "md5sum": "62aef94c3ef55ca985d1a708bb234ee2", "mode": "0600", "owner": "jenkins", "size": 1708, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708606496.219233-20786-258382374888904/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-unconf4iy38aet/tests/tasks/tests_tls.yml:52 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.280) 0:00:02.634 ***** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.SN79LB", "mssql_tls_private_key": "ansible.noNj2w" }, "changed": false } TASK [Run role] **************************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:59 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.009) 0:00:02.644 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.126) 0:00:02.770 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.011) 0:00:02.782 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.009) 0:00:02.791 ***** 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-unconf4iy38aet/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-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.024) 0:00:02.815 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.007) 0:00:02.822 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.008) 0:00:02.831 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.007) 0:00:02.839 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.008) 0:00:02.847 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.007) 0:00:02.855 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.008) 0:00:02.863 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.008) 0:00:02.871 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.007) 0:00:02.879 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.008) 0:00:02.887 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.011) 0:00:02.899 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.008) 0:00:02.907 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.008) 0:00:02.915 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.007) 0:00:02.923 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.008) 0:00:02.931 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 12:54:56 +0000 (0:00:00.009) 0:00:02.940 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Thursday 22 February 2024 12:54:57 +0000 (0:00:01.081) 0:00:04.022 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 22 February 2024 12:54:57 +0000 (0:00:00.035) 0:00:04.057 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Thursday 22 February 2024 12:54:57 +0000 (0:00:00.016) 0:00:04.073 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Thursday 22 February 2024 12:54:57 +0000 (0:00:00.018) 0:00:04.092 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Thursday 22 February 2024 12:54:57 +0000 (0:00:00.029) 0:00:04.121 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Thursday 22 February 2024 12:54:58 +0000 (0:00:00.408) 0:00:04.529 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Thursday 22 February 2024 12:54:58 +0000 (0:00:00.018) 0:00:04.548 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 12:54:58 +0000 (0:00:00.019) 0:00:04.567 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Thursday 22 February 2024 12:54:58 +0000 (0:00:00.022) 0:00:04.590 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:225 Thursday 22 February 2024 12:54:58 +0000 (0:00:00.232) 0:00:04.823 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:230 Thursday 22 February 2024 12:54:59 +0000 (0:00:00.394) 0:00:05.218 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Thursday 22 February 2024 12:55:34 +0000 (0:00:35.246) 0:00:40.465 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:246 Thursday 22 February 2024 12:55:34 +0000 (0:00:00.030) 0:00:40.495 ***** 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.005706", "end": "2024-02-22 12:55:34.470024", "rc": 0, "start": "2024-02-22 12:55:34.464318" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:261 Thursday 22 February 2024 12:55:34 +0000 (0:00:00.150) 0:00:40.646 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:265 Thursday 22 February 2024 12:55:35 +0000 (0:00:00.862) 0:00:41.508 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:274 Thursday 22 February 2024 12:55:35 +0000 (0:00:00.031) 0:00:41.540 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:290 Thursday 22 February 2024 12:55:35 +0000 (0:00:00.043) 0:00:41.584 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:315 Thursday 22 February 2024 12:55:40 +0000 (0:00:05.413) 0:00:46.997 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 22 February 2024 12:55:40 +0000 (0:00:00.024) 0:00:47.022 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:342 Thursday 22 February 2024 12:55:40 +0000 (0:00:00.018) 0:00:47.040 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 22 February 2024 12:55:40 +0000 (0:00:00.018) 0:00:47.058 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 22 February 2024 12:55:41 +0000 (0:00:00.357) 0:00:47.415 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:23:24 UTC", "ActiveEnterTimestampMonotonic": "20669125", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target system.slice dbus.service systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:23:23 UTC", "AssertTimestampMonotonic": "19503351", "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 12:23:23 UTC", "ConditionTimestampMonotonic": "19503349", "Conflicts": "cpupower.service shutdown.target", "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": "875", "ExecMainStartTimestamp": "Thu 2024-02-22 12:23:23 UTC", "ExecMainStartTimestampMonotonic": "19503873", "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 12:23:23 UTC", "InactiveExitTimestampMonotonic": "19503912", "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": "875", "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 system.slice basic.target dbus.service", "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 12:23:24 UTC", "WatchdogTimestampMonotonic": "20669031", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 22 February 2024 12:55:41 +0000 (0:00:00.390) 0:00:47.806 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.111674", "end": "2024-02-22 12:55:41.877689", "rc": 0, "start": "2024-02-22 12:55:41.766015" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 22 February 2024 12:55:41 +0000 (0:00:00.243) 0:00:48.049 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 22 February 2024 12:55:41 +0000 (0:00:00.019) 0:00:48.069 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 22 February 2024 12:55:41 +0000 (0:00:00.019) 0:00:48.089 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 22 February 2024 12:55:41 +0000 (0:00:00.017) 0:00:48.106 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 22 February 2024 12:55:42 +0000 (0:00:00.191) 0:00:48.298 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 22 February 2024 12:55:47 +0000 (0:00:05.018) 0:00:53.316 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.019) 0:00:53.336 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.021) 0:00:53.358 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:449 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.021) 0:00:53.379 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:456 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.020) 0:00:53.400 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:464 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.020) 0:00:53.421 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:486 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.019) 0:00:53.440 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.044) 0:00:53.484 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:512 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.023) 0:00:53.508 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:525 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.020) 0:00:53.528 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:532 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.019) 0:00:53.548 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:538 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.019) 0:00:53.568 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:558 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.018) 0:00:53.586 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.017) 0:00:53.603 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.019) 0:00:53.622 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:584 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.018) 0:00:53.641 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.031) 0:00:53.672 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003219", "end": "2024-02-22 12:55:47.634725", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:55:47.631506" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.131) 0:00:53.803 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049816", "end": "2024-02-22 12:55:47.817215", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:55:47.767399" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.189) 0:00:53.993 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.019) 0:00:54.013 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:610 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.020) 0:00:54.033 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:617 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.020) 0:00:54.053 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.019) 0:00:54.073 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:633 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.018) 0:00:54.091 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Thursday 22 February 2024 12:55:47 +0000 (0:00:00.053) 0:00:54.145 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Thursday 22 February 2024 12:55:48 +0000 (0:00:00.021) 0:00:54.166 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:654 Thursday 22 February 2024 12:55:48 +0000 (0:00:00.020) 0:00:54.187 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 12:55:48 +0000 (0:00:00.020) 0:00:54.207 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:678 Thursday 22 February 2024 12:55:48 +0000 (0:00:00.019) 0:00:54.227 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 12:55:48 +0000 (0:00:00.023) 0:00:54.251 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:697 Thursday 22 February 2024 12:55:48 +0000 (0:00:00.021) 0:00:54.272 ***** changed: [sut] => (item=/tmp/ansible.SN79LB) => { "ansible_loop_var": "item", "changed": true, "checksum": "20e5fb3225c67a533c7b6dc9a52cf8eed7601065", "dest": "/etc/pki/tls/certs/ansible.SN79LB", "gid": 994, "group": "mssql", "item": "/tmp/ansible.SN79LB", "md5sum": "656e3225c15dceb136cc13a3aed404cb", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/root/.ansible/tmp/ansible-tmp-1708606548.1617086-22587-208361642873872/source", "state": "file", "uid": 996 } changed: [sut] => (item=ansible.noNj2w) => { "ansible_loop_var": "item", "changed": true, "checksum": "c62e59266108f29f1d57de5e1223c41abdbe012b", "dest": "/etc/pki/tls/private/ansible.noNj2w", "gid": 994, "group": "mssql", "item": "ansible.noNj2w", "md5sum": "62aef94c3ef55ca985d1a708bb234ee2", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1708, "src": "/root/.ansible/tmp/ansible-tmp-1708606548.5266414-22587-234787160258271/source", "state": "file", "uid": 996 } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:715 Thursday 22 February 2024 12:55:48 +0000 (0:00:00.738) 0:00:55.010 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:55:48 +0000 (0:00:00.036) 0:00:55.047 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003213", "end": "2024-02-22 12:55:49.014240", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:55:49.011027" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:55:49 +0000 (0:00:00.145) 0:00:55.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.SN79LB" ], "delta": "0:00:00.048999", "end": "2024-02-22 12:55:49.210253", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:55:49.161254" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:55:49 +0000 (0:00:00.192) 0:00:55.385 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Thursday 22 February 2024 12:55:49 +0000 (0:00:00.021) 0:00:55.407 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:55:49 +0000 (0:00:00.064) 0:00:55.472 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004393", "end": "2024-02-22 12:55:50.438808", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:55:49.434415" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:55:50 +0000 (0:00:01.144) 0:00:56.616 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.noNj2w" ], "delta": "0:00:00.050494", "end": "2024-02-22 12:55:50.635530", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:55:50.585036" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:55:50 +0000 (0:00:00.202) 0:00:56.818 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:733 Thursday 22 February 2024 12:55:50 +0000 (0:00:00.022) 0:00:56.841 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:55:50 +0000 (0:00:00.036) 0:00:56.878 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003277", "end": "2024-02-22 12:55:50.844446", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:55:50.841169" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:55:50 +0000 (0:00:00.136) 0:00:57.015 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.051477", "end": "2024-02-22 12:55:51.031411", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:55:50.979934" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.198) 0:00:57.214 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:740 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.022) 0:00:57.236 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.039) 0:00:57.276 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003253", "end": "2024-02-22 12:55:51.242788", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:55:51.239535" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.169) 0:00:57.445 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.050956", "end": "2024-02-22 12:55:51.472131", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:55:51.421175" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.202) 0:00:57.648 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.021) 0:00:57.669 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:757 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.021) 0:00:57.691 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:765 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.019) 0:00:57.710 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:772 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.018) 0:00:57.729 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.020) 0:00:57.750 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:788 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.021) 0:00:57.771 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.021) 0:00:57.793 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:810 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.019) 0:00:57.812 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.019) 0:00:57.831 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:827 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.018) 0:00:57.850 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.018) 0:00:57.868 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.019) 0:00:57.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:854 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.020) 0:00:57.908 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:860 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.020) 0:00:57.929 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:886 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.026) 0:00:57.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 : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:907 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.034) 0:00:57.990 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.021) 0:00:58.012 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:925 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.059) 0:00:58.072 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:931 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.023) 0:00:58.095 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:949 Thursday 22 February 2024 12:55:51 +0000 (0:00:00.034) 0:00:58.130 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:964 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.040) 0:00:58.170 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:984 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.021) 0:00:58.191 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1037 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.023) 0:00:58.215 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1044 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.028) 0:00:58.243 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.032) 0:00:58.276 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1062 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.021) 0:00:58.297 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1068 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.020) 0:00: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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.026) 0:00:58.345 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.022) 0:00:58.367 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1093 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.021) 0:00:58.389 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.025) 0:00:58.414 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.018) 0:00:58.433 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1139 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.018) 0:00:58.452 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.020) 0:00:58.472 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1158 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.018) 0:00:58.491 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.019) 0:00:58.511 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1182 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.052) 0:00:58.564 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1195 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.020) 0:00:58.584 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1202 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.019) 0:00:58.604 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.025) 0:00:58.630 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1218 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.021) 0:00:58.651 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.023) 0:00:58.674 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1237 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.038) 0:00:58.713 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1246 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.037) 0:00:58.750 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1253 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.029) 0:00:58.780 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1259 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.025) 0:00:58.805 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.023) 0:00:58.829 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1280 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.028) 0:00:58.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 [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1292 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.022) 0:00:58.879 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.021) 0:00:58.901 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.024) 0:00:58.925 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1312 Thursday 22 February 2024 12:55:52 +0000 (0:00:00.046) 0:00:58.972 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 22 February 2024 12:55:53 +0000 (0:00:00.247) 0:00:59.219 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:55:40 UTC", "ActiveEnterTimestampMonotonic": "1956760701", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "auditd.service basic.target -.mount network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:55:40 UTC", "AssertTimestampMonotonic": "1956759003", "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 12:55:40 UTC", "ConditionTimestampMonotonic": "1956759001", "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": "28499", "ExecMainStartTimestamp": "Thu 2024-02-22 12:55:40 UTC", "ExecMainStartTimestampMonotonic": "1956760635", "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 12:55:40 UTC", "InactiveExitTimestampMonotonic": "1956760701", "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": "28499", "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": "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 12:55:40 UTC", "WatchdogTimestampMonotonic": "1956760676", "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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1325 Thursday 22 February 2024 12:55:54 +0000 (0:00:01.650) 0:01:00.869 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1336 Thursday 22 February 2024 12:55:54 +0000 (0:00:00.022) 0:01:00.892 ***** 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-unconf4iy38aet/tests/tasks/tests_tls.yml:68 Thursday 22 February 2024 12:55:54 +0000 (0:00:00.036) 0:01:00.928 ***** changed: [sut -> localhost] => { "changed": true, "path": "ansible.noNj2w", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:75 Thursday 22 February 2024 12:55:54 +0000 (0:00:00.214) 0:01:01.142 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/tasks/mssql-sever-increase-start-limit.yml:3 Thursday 22 February 2024 12:55:55 +0000 (0:00:00.034) 0:01:01.176 ***** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql-sever-increase-start-limit.yml:10 Thursday 22 February 2024 12:55:55 +0000 (0:00:00.229) 0:01:01.406 ***** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql-sever-increase-start-limit.yml:17 Thursday 22 February 2024 12:55:55 +0000 (0:00:00.156) 0:01:01.563 ***** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:78 Thursday 22 February 2024 12:55:55 +0000 (0:00:00.323) 0:01:01.886 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:8 Thursday 22 February 2024 12:55:55 +0000 (0:00:00.079) 0:01:01.965 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:23 Thursday 22 February 2024 12:55:55 +0000 (0:00:00.021) 0:01:01.987 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:35 Thursday 22 February 2024 12:55:55 +0000 (0:00:00.020) 0:01:02.007 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:39 Thursday 22 February 2024 12:55:55 +0000 (0:00:00.022) 0:01:02.030 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:55 Thursday 22 February 2024 12:55:55 +0000 (0:00:00.030) 0:01:02.060 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:60 Thursday 22 February 2024 12:55:55 +0000 (0:00:00.026) 0:01:02.087 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:70 Thursday 22 February 2024 12:55:55 +0000 (0:00:00.021) 0:01:02.108 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:75 Thursday 22 February 2024 12:55:55 +0000 (0:00:00.026) 0:01:02.135 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:85 Thursday 22 February 2024 12:55:56 +0000 (0:00:00.025) 0:01:02.160 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 12:55:56 +0000 (0:00:00.063) 0:01:02.223 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:55:54 UTC", "ActiveEnterTimestampMonotonic": "1970712214", "ActiveExitTimestamp": "Thu 2024-02-22 12:55:53 UTC", "ActiveExitTimestampMonotonic": "1969307705", "ActiveState": "active", "After": "-.mount system.slice basic.target systemd-journald.socket auditd.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:55:54 UTC", "AssertTimestampMonotonic": "1970711258", "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 12:55:54 UTC", "ConditionTimestampMonotonic": "1970711256", "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": "29005", "ExecMainStartTimestamp": "Thu 2024-02-22 12:55:54 UTC", "ExecMainStartTimestampMonotonic": "1970712090", "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 12:55:54 UTC", "InactiveEnterTimestampMonotonic": "1970710286", "InactiveExitTimestamp": "Thu 2024-02-22 12:55:54 UTC", "InactiveExitTimestampMonotonic": "1970712214", "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": "29005", "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": "basic.target -.mount 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 12:55:54 UTC", "WatchdogTimestampMonotonic": "1970712170", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 12:55:56 +0000 (0:00:00.217) 0:01:02.441 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004866", "end": "2024-02-22 12:55:56.443410", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:55:56.438544" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 12:55:56 +0000 (0:00:00.175) 0:01:02.617 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003640", "end": "2024-02-22 12:55:56.638744", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:55:56.635104" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 12:55:56 +0000 (0:00:00.194) 0:01:02.811 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:93 Thursday 22 February 2024 12:55:56 +0000 (0:00:00.025) 0:01:02.837 ***** 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": 5883, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:99 Thursday 22 February 2024 12:55:57 +0000 (0:00:01.219) 0:01:04.056 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.059567", "end": "2024-02-22 12:55:58.081724", "rc": 0, "start": "2024-02-22 12:55:58.022157" } 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-unconf4iy38aet/tests/tasks/verify_settings.yml:118 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.210) 0:01:04.266 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:122 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.025) 0:01:04.292 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:129 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.020) 0:01:04.312 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:140 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.018) 0:01:04.330 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:145 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.020) 0:01:04.351 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:150 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.020) 0:01:04.371 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:156 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.018) 0:01:04.390 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:162 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.019) 0:01:04.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:172 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.018) 0:01:04.428 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.035) 0:01:04.464 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004365", "end": "2024-02-22 12:55:58.429837", "rc": 0, "start": "2024-02-22 12:55:58.425472" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.SN79LB TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.136) 0:01:04.600 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.055) 0:01:04.656 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.SN79LB] ***************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.025) 0:01:04.681 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:183 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.020) 0:01:04.701 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.035) 0:01:04.736 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004516", "end": "2024-02-22 12:55:58.702180", "rc": 0, "start": "2024-02-22 12:55:58.697664" } STDOUT: tlskey = /etc/pki/tls/private/ansible.noNj2w TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.137) 0:01:04.874 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.028) 0:01:04.902 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.noNj2w] *************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.023) 0:01:04.926 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:195 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.019) 0:01:04.945 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.039) 0:01:04.985 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004407", "end": "2024-02-22 12:55:58.950717", "rc": 0, "start": "2024-02-22 12:55:58.946310" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:55:58 +0000 (0:00:00.136) 0:01:05.121 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.027) 0:01:05.149 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.021) 0:01:05.171 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:203 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.020) 0:01:05.192 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.036) 0:01:05.228 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004557", "end": "2024-02-22 12:55:59.194586", "rc": 0, "start": "2024-02-22 12:55:59.190029" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.157) 0:01:05.386 ***** 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-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.023) 0:01:05.410 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.027) 0:01:05.437 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:210 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.021) 0:01:05.459 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:85 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.018) 0:01:05.478 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.097) 0:01:05.575 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.029) 0:01:05.605 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.024) 0:01:05.630 ***** 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-unconf4iy38aet/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-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.033) 0:01:05.663 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.018) 0:01:05.681 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.018) 0:01:05.700 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.017) 0:01:05.718 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.042) 0:01:05.760 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.019) 0:01:05.780 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.018) 0:01:05.798 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.017) 0:01:05.816 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.018) 0:01:05.835 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.019) 0:01:05.854 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.023) 0:01:05.878 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.022) 0:01:05.900 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.019) 0:01:05.920 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.020) 0:01:05.940 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.019) 0:01:05.960 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 12:55:59 +0000 (0:00:00.024) 0:01:05.985 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Thursday 22 February 2024 12:56:00 +0000 (0:00:00.937) 0:01:06.922 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 22 February 2024 12:56:00 +0000 (0:00:00.099) 0:01:07.022 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Thursday 22 February 2024 12:56:00 +0000 (0:00:00.020) 0:01:07.043 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Thursday 22 February 2024 12:56:00 +0000 (0:00:00.023) 0:01:07.066 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Thursday 22 February 2024 12:56:00 +0000 (0:00:00.042) 0:01:07.109 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Thursday 22 February 2024 12:56:01 +0000 (0:00:00.325) 0:01:07.435 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Thursday 22 February 2024 12:56:01 +0000 (0:00:00.022) 0:01:07.457 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 12:56:01 +0000 (0:00:00.032) 0:01:07.490 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Thursday 22 February 2024 12:56:01 +0000 (0:00:00.027) 0:01:07.517 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:225 Thursday 22 February 2024 12:56:01 +0000 (0:00:00.029) 0:01:07.546 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:230 Thursday 22 February 2024 12:56:01 +0000 (0:00:00.405) 0:01:07.952 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Thursday 22 February 2024 12:56:02 +0000 (0:00:00.357) 0:01:08.310 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:246 Thursday 22 February 2024 12:56:02 +0000 (0:00:00.019) 0:01:08.330 ***** 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.005443", "end": "2024-02-22 12:56:02.296160", "rc": 0, "start": "2024-02-22 12:56:02.290717" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:261 Thursday 22 February 2024 12:56:02 +0000 (0:00:00.137) 0:01:08.467 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:265 Thursday 22 February 2024 12:56:03 +0000 (0:00:00.757) 0:01:09.224 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:274 Thursday 22 February 2024 12:56:03 +0000 (0:00:00.027) 0:01:09.252 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:290 Thursday 22 February 2024 12:56:03 +0000 (0:00:00.019) 0:01:09.271 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:315 Thursday 22 February 2024 12:56:03 +0000 (0:00:00.019) 0:01:09.290 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 22 February 2024 12:56:03 +0000 (0:00:00.024) 0:01:09.315 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:342 Thursday 22 February 2024 12:56:03 +0000 (0:00:00.020) 0:01:09.335 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 22 February 2024 12:56:03 +0000 (0:00:00.018) 0:01:09.353 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 22 February 2024 12:56:03 +0000 (0:00:00.347) 0:01:09.700 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:23:24 UTC", "ActiveEnterTimestampMonotonic": "20669125", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target network.target systemd-sysctl.service systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:23:23 UTC", "AssertTimestampMonotonic": "19503351", "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 12:23:23 UTC", "ConditionTimestampMonotonic": "19503349", "Conflicts": "cpupower.service shutdown.target", "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": "875", "ExecMainStartTimestamp": "Thu 2024-02-22 12:23:23 UTC", "ExecMainStartTimestampMonotonic": "19503873", "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 12:23:23 UTC", "InactiveExitTimestampMonotonic": "19503912", "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": "875", "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 basic.target dbus.service 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 12:23:24 UTC", "WatchdogTimestampMonotonic": "20669031", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 22 February 2024 12:56:03 +0000 (0:00:00.212) 0:01:09.913 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.098234", "end": "2024-02-22 12:56:03.969408", "rc": 0, "start": "2024-02-22 12:56:03.871174" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 22 February 2024 12:56:03 +0000 (0:00:00.229) 0:01:10.142 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 22 February 2024 12:56:04 +0000 (0:00:00.020) 0:01:10.162 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 22 February 2024 12:56:04 +0000 (0:00:00.019) 0:01:10.182 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 22 February 2024 12:56:04 +0000 (0:00:00.049) 0:01:10.231 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 22 February 2024 12:56:04 +0000 (0:00:00.136) 0:01:10.368 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 22 February 2024 12:56:04 +0000 (0:00:00.342) 0:01:10.711 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 22 February 2024 12:56:04 +0000 (0:00:00.022) 0:01:10.733 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 22 February 2024 12:56:04 +0000 (0:00:00.019) 0:01:10.753 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:449 Thursday 22 February 2024 12:56:04 +0000 (0:00:00.020) 0:01:10.773 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:456 Thursday 22 February 2024 12:56:04 +0000 (0:00:00.020) 0:01:10.793 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:464 Thursday 22 February 2024 12:56:04 +0000 (0:00:00.022) 0:01:10.815 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:486 Thursday 22 February 2024 12:56:04 +0000 (0:00:00.021) 0:01:10.836 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Thursday 22 February 2024 12:56:04 +0000 (0:00:00.019) 0:01:10.856 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:512 Thursday 22 February 2024 12:56:04 +0000 (0:00:00.020) 0:01:10.876 ***** 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.005304", "end": "2024-02-22 12:56:04.843376", "rc": 0, "start": "2024-02-22 12:56:04.838072" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:525 Thursday 22 February 2024 12:56:04 +0000 (0:00:00.136) 0:01:11.013 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:532 Thursday 22 February 2024 12:56:04 +0000 (0:00:00.020) 0:01:11.034 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:538 Thursday 22 February 2024 12:56:05 +0000 (0:00:00.961) 0:01:11.995 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:558 Thursday 22 February 2024 12:56:05 +0000 (0:00:00.021) 0:01:12.017 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Thursday 22 February 2024 12:56:05 +0000 (0:00:00.019) 0:01:12.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 12:56:05 +0000 (0:00:00.021) 0:01:12.059 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:584 Thursday 22 February 2024 12:56:05 +0000 (0:00:00.020) 0:01:12.079 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:56:05 +0000 (0:00:00.034) 0:01:12.113 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003416", "end": "2024-02-22 12:56:06.079828", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:06.076412" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.137) 0:01:12.251 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.050793", "end": "2024-02-22 12:56:06.267580", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:06.216787" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.192) 0:01:12.444 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.020) 0:01:12.465 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:610 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.022) 0:01:12.487 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:617 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.020) 0:01:12.508 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.021) 0:01:12.530 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:633 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.020) 0:01:12.550 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.051) 0:01:12.601 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.021) 0:01:12.623 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:654 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.021) 0:01:12.644 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.021) 0:01:12.666 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:678 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.020) 0:01:12.687 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.026) 0:01:12.714 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:697 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.022) 0:01:12.736 ***** skipping: [sut] => (item=/tmp/ansible.SN79LB) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.SN79LB", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ansible.noNj2w) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.noNj2w", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:715 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.028) 0:01:12.765 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.037) 0:01:12.802 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003220", "end": "2024-02-22 12:56:06.770445", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:06.767225" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.SN79LB TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.139) 0:01:12.942 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:56:06 +0000 (0:00:00.026) 0:01:12.968 ***** 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.049766", "end": "2024-02-22 12:56:06.983775", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:06.934009" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Thursday 22 February 2024 12:56:07 +0000 (0:00:00.189) 0:01:13.158 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:56:07 +0000 (0:00:00.037) 0:01:13.195 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003339", "end": "2024-02-22 12:56:07.162234", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:07.158895" } STDOUT: tlskey = /etc/pki/tls/private/ansible.noNj2w TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:56:07 +0000 (0:00:00.138) 0:01:13.333 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:56:07 +0000 (0:00:00.024) 0:01:13.358 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.049800", "end": "2024-02-22 12:56:07.372374", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:07.322574" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:733 Thursday 22 February 2024 12:56:07 +0000 (0:00:00.185) 0:01:13.544 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:56:07 +0000 (0:00:00.038) 0:01:13.582 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003295", "end": "2024-02-22 12:56:07.547114", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:07.543819" } STDOUT: tlsprotocols = 1.2 TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:56:07 +0000 (0:00:00.137) 0:01:13.720 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:56:07 +0000 (0:00:00.024) 0:01:13.745 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.050542", "end": "2024-02-22 12:56:07.760044", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:07.709502" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:740 Thursday 22 February 2024 12:56:07 +0000 (0:00:00.190) 0:01:13.935 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:56:07 +0000 (0:00:00.041) 0:01:13.976 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003274", "end": "2024-02-22 12:56:07.942370", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:07.939096" } STDOUT: forceencryption = 1 TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:56:07 +0000 (0:00:00.138) 0:01:14.114 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:56:07 +0000 (0:00:00.024) 0:01:14.138 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.049512", "end": "2024-02-22 12:56:08.152471", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:08.102959" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.187) 0:01:14.326 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:757 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.020) 0:01:14.346 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:765 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.020) 0:01:14.366 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:772 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.020) 0:01:14.387 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.021) 0:01:14.409 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:788 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.059) 0:01:14.468 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.022) 0:01:14.490 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:810 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.022) 0:01:14.512 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.021) 0:01:14.534 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:827 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.022) 0:01:14.556 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.024) 0:01:14.581 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.029) 0:01:14.610 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:854 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.022) 0:01:14.633 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:860 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.020) 0:01:14.653 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:886 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.020) 0:01:14.674 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:907 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.020) 0:01:14.694 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.019) 0:01:14.714 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:925 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.021) 0:01:14.735 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:931 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.023) 0:01:14.759 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:949 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.021) 0:01:14.780 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:964 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.021) 0:01:14.802 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:984 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.020) 0:01:14.822 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1037 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.019) 0:01:14.842 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1044 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.018) 0:01:14.860 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.053) 0:01:14.913 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1062 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.020) 0:01:14.933 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1068 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.019) 0:01:14.953 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.023) 0:01:14.976 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.019) 0:01:14.995 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1093 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.020) 0:01:15.016 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.026) 0:01:15.042 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.022) 0:01:15.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1139 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.024) 0:01:15.089 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.021) 0:01:15.110 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1158 Thursday 22 February 2024 12:56:08 +0000 (0:00:00.021) 0:01:15.132 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.020) 0:01:15.152 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1182 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.020) 0:01:15.173 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1195 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.021) 0:01:15.194 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1202 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.022) 0:01:15.216 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.019) 0:01:15.236 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1218 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.020) 0:01:15.257 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.021) 0:01:15.279 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1237 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.026) 0:01:15.305 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1246 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.060) 0:01:15.365 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1253 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.021) 0:01:15.386 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1259 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.021) 0:01:15.408 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.021) 0:01:15.429 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1280 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.025) 0:01:15.455 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1292 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.019) 0:01:15.475 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.018) 0:01:15.493 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.019) 0:01:15.513 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1312 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.019) 0:01:15.532 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 22 February 2024 12:56:09 +0000 (0:00:00.157) 0:01:15.689 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:55:54 UTC", "ActiveEnterTimestampMonotonic": "1970712214", "ActiveExitTimestamp": "Thu 2024-02-22 12:55:53 UTC", "ActiveExitTimestampMonotonic": "1969307705", "ActiveState": "active", "After": "-.mount system.slice basic.target systemd-journald.socket auditd.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:55:54 UTC", "AssertTimestampMonotonic": "1970711258", "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 12:55:54 UTC", "ConditionTimestampMonotonic": "1970711256", "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": "29005", "ExecMainStartTimestamp": "Thu 2024-02-22 12:55:54 UTC", "ExecMainStartTimestampMonotonic": "1970712090", "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 12:55:54 UTC", "InactiveEnterTimestampMonotonic": "1970710286", "InactiveExitTimestamp": "Thu 2024-02-22 12:55:54 UTC", "InactiveExitTimestampMonotonic": "1970712214", "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": "29005", "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": "basic.target -.mount 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 12:55:54 UTC", "WatchdogTimestampMonotonic": "1970712170", "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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1325 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.479) 0:01:16.169 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1336 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.020) 0:01:16.189 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:92 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.018) 0:01:16.208 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:8 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.102) 0:01:16.310 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:23 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.021) 0:01:16.332 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:35 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.022) 0:01:16.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:39 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.020) 0:01:16.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:55 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.024) 0:01:16.399 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:60 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.018) 0:01:16.417 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:70 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.018) 0:01:16.436 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:75 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.018) 0:01:16.455 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:85 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.018) 0:01:16.473 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.033) 0:01:16.506 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:56:09 UTC", "ActiveEnterTimestampMonotonic": "1986010386", "ActiveExitTimestamp": "Thu 2024-02-22 12:56:09 UTC", "ActiveExitTimestampMonotonic": "1985757140", "ActiveState": "active", "After": "-.mount system.slice basic.target systemd-journald.socket auditd.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:56:09 UTC", "AssertTimestampMonotonic": "1986009746", "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 12:56:09 UTC", "ConditionTimestampMonotonic": "1986009744", "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": "29736", "ExecMainStartTimestamp": "Thu 2024-02-22 12:56:09 UTC", "ExecMainStartTimestampMonotonic": "1986010327", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 12:56:09 UTC] ; stop_time=[n/a] ; pid=29736 ; 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 12:56:09 UTC", "InactiveEnterTimestampMonotonic": "1986007826", "InactiveExitTimestamp": "Thu 2024-02-22 12:56:09 UTC", "InactiveExitTimestampMonotonic": "1986010386", "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": "29736", "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": "basic.target -.mount 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 12:56:09 UTC", "WatchdogTimestampMonotonic": "1986010362", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.209) 0:01:16.716 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003686", "end": "2024-02-22 12:56:10.683480", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:10.679794" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.137) 0:01:16.854 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003475", "end": "2024-02-22 12:56:10.838069", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:10.834594" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.156) 0:01:17.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 [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:93 Thursday 22 February 2024 12:56:10 +0000 (0:00:00.027) 0:01:17.038 ***** 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": 6985, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:99 Thursday 22 February 2024 12:56:12 +0000 (0:00:01.139) 0:01:18.178 ***** FAILED - RETRYING: Check if the set password matches the existing password (5 retries left). ok: [sut] => { "attempts": 2, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.032766", "end": "2024-02-22 12:56:23.053694", "rc": 0, "start": "2024-02-22 12:56:23.020928" } 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-unconf4iy38aet/tests/tasks/verify_settings.yml:118 Thursday 22 February 2024 12:56:23 +0000 (0:00:11.050) 0:01:29.228 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:122 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.025) 0:01:29.253 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:129 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.034) 0:01:29.287 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:140 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.021) 0:01:29.309 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:145 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.057) 0:01:29.367 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:150 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.021) 0:01:29.388 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:156 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.022) 0:01:29.410 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:162 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.021) 0:01:29.432 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:172 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.021) 0:01:29.454 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.036) 0:01:29.491 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004234", "end": "2024-02-22 12:56:23.458205", "rc": 0, "start": "2024-02-22 12:56:23.453971" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.138) 0:01:29.629 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.030) 0:01:29.660 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.025) 0:01:29.686 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:183 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.034) 0:01:29.721 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.039) 0:01:29.760 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004217", "end": "2024-02-22 12:56:23.727706", "rc": 0, "start": "2024-02-22 12:56:23.723489" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.139) 0:01:29.899 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.029) 0:01:29.929 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.024) 0:01:29.953 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:195 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.022) 0:01:29.975 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:56:23 +0000 (0:00:00.077) 0:01:30.053 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004506", "end": "2024-02-22 12:56:24.018228", "rc": 0, "start": "2024-02-22 12:56:24.013722" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:56:24 +0000 (0:00:00.136) 0:01:30.189 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:56:24 +0000 (0:00:00.027) 0:01:30.216 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:56:24 +0000 (0:00:00.022) 0:01:30.239 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:203 Thursday 22 February 2024 12:56:24 +0000 (0:00:00.020) 0:01:30.259 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:56:24 +0000 (0:00:00.036) 0:01:30.296 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004366", "end": "2024-02-22 12:56:24.261004", "rc": 0, "start": "2024-02-22 12:56:24.256638" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:56:24 +0000 (0:00:00.136) 0:01:30.432 ***** 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-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:56:24 +0000 (0:00:00.021) 0:01:30.454 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:56:24 +0000 (0:00:00.028) 0:01:30.482 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:210 Thursday 22 February 2024 12:56:24 +0000 (0:00:00.019) 0:01:30.501 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:99 Thursday 22 February 2024 12:56:24 +0000 (0:00:00.018) 0:01:30.520 ***** changed: [sut] => (item=/etc/pki/tls/certs/ansible.SN79LB) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.SN79LB", "path": "/etc/pki/tls/certs/ansible.SN79LB", "state": "absent" } changed: [sut] => (item=/etc/pki/tls/private/ansible.noNj2w) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.noNj2w", "path": "/etc/pki/tls/private/ansible.noNj2w", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:107 Thursday 22 February 2024 12:56:24 +0000 (0:00:00.253) 0:01:30.774 ***** ok: [sut] => (item=/tmp/ansible.SN79LB) => { "ansible_loop_var": "item", "changed": false, "checksum": "20e5fb3225c67a533c7b6dc9a52cf8eed7601065", "dest": "/tmp/ansible.SN79LB", "gid": 0, "group": "root", "item": "/tmp/ansible.SN79LB", "mode": "0600", "owner": "root", "path": "/tmp/ansible.SN79LB", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1103, "state": "file", "uid": 0 } ok: [sut] => (item=/tmp/ansible.noNj2w) => { "ansible_loop_var": "item", "changed": false, "checksum": "c62e59266108f29f1d57de5e1223c41abdbe012b", "dest": "/tmp/ansible.noNj2w", "gid": 0, "group": "root", "item": "/tmp/ansible.noNj2w", "mode": "0600", "owner": "root", "path": "/tmp/ansible.noNj2w", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1708, "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:116 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.674) 0:01:31.449 ***** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.SN79LB", "mssql_tls_private_key": "ansible.noNj2w" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:121 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.021) 0:01:31.470 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.184) 0:01:31.655 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.030) 0:01:31.685 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.024) 0:01:31.710 ***** 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-unconf4iy38aet/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-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.035) 0:01:31.745 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.018) 0:01:31.764 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.018) 0:01:31.782 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.017) 0:01:31.800 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.018) 0:01:31.819 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.055) 0:01:31.874 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.020) 0:01:31.895 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.019) 0:01:31.914 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.018) 0:01:31.933 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.020) 0:01:31.953 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.023) 0:01:31.977 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.020) 0:01:31.997 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.019) 0:01:32.017 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.018) 0:01:32.035 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.018) 0:01:32.054 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 12:56:25 +0000 (0:00:00.019) 0:01:32.074 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Thursday 22 February 2024 12:56:26 +0000 (0:00:00.930) 0:01:33.004 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 22 February 2024 12:56:26 +0000 (0:00:00.125) 0:01:33.129 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Thursday 22 February 2024 12:56:27 +0000 (0:00:00.020) 0:01:33.150 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Thursday 22 February 2024 12:56:27 +0000 (0:00:00.023) 0:01:33.173 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Thursday 22 February 2024 12:56:27 +0000 (0:00:00.039) 0:01:33.212 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Thursday 22 February 2024 12:56:27 +0000 (0:00:00.322) 0:01:33.535 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Thursday 22 February 2024 12:56:27 +0000 (0:00:00.022) 0:01:33.558 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 12:56:27 +0000 (0:00:00.023) 0:01:33.581 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Thursday 22 February 2024 12:56:27 +0000 (0:00:00.022) 0:01:33.604 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:225 Thursday 22 February 2024 12:56:27 +0000 (0:00:00.026) 0:01:33.630 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:230 Thursday 22 February 2024 12:56:27 +0000 (0:00:00.399) 0:01:34.030 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Thursday 22 February 2024 12:56:28 +0000 (0:00:00.341) 0:01:34.371 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:246 Thursday 22 February 2024 12:56:28 +0000 (0:00:00.020) 0:01:34.392 ***** 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.005399", "end": "2024-02-22 12:56:28.357435", "rc": 0, "start": "2024-02-22 12:56:28.352036" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:261 Thursday 22 February 2024 12:56:28 +0000 (0:00:00.136) 0:01:34.528 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:265 Thursday 22 February 2024 12:56:29 +0000 (0:00:00.686) 0:01:35.215 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:274 Thursday 22 February 2024 12:56:29 +0000 (0:00:00.030) 0:01:35.245 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:290 Thursday 22 February 2024 12:56:29 +0000 (0:00:00.020) 0:01:35.265 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:315 Thursday 22 February 2024 12:56:29 +0000 (0:00:00.021) 0:01:35.287 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 22 February 2024 12:56:29 +0000 (0:00:00.025) 0:01:35.312 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:342 Thursday 22 February 2024 12:56:29 +0000 (0:00:00.020) 0:01:35.333 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 22 February 2024 12:56:29 +0000 (0:00:00.020) 0:01:35.353 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 22 February 2024 12:56:29 +0000 (0:00:00.339) 0:01:35.692 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:23:24 UTC", "ActiveEnterTimestampMonotonic": "20669125", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target network.target systemd-sysctl.service systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:23:23 UTC", "AssertTimestampMonotonic": "19503351", "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 12:23:23 UTC", "ConditionTimestampMonotonic": "19503349", "Conflicts": "cpupower.service shutdown.target", "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": "875", "ExecMainStartTimestamp": "Thu 2024-02-22 12:23:23 UTC", "ExecMainStartTimestampMonotonic": "19503873", "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 12:23:23 UTC", "InactiveExitTimestampMonotonic": "19503912", "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": "875", "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 basic.target dbus.service 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 12:23:24 UTC", "WatchdogTimestampMonotonic": "20669031", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 22 February 2024 12:56:29 +0000 (0:00:00.211) 0:01:35.903 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.091106", "end": "2024-02-22 12:56:29.952956", "rc": 0, "start": "2024-02-22 12:56:29.861850" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 22 February 2024 12:56:29 +0000 (0:00:00.220) 0:01:36.124 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 22 February 2024 12:56:29 +0000 (0:00:00.020) 0:01:36.144 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 22 February 2024 12:56:30 +0000 (0:00:00.021) 0:01:36.165 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 22 February 2024 12:56:30 +0000 (0:00:00.021) 0:01:36.187 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 22 February 2024 12:56:30 +0000 (0:00:00.182) 0:01:36.369 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 22 February 2024 12:56:30 +0000 (0:00:00.335) 0:01:36.704 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 22 February 2024 12:56:30 +0000 (0:00:00.021) 0:01:36.726 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 22 February 2024 12:56:30 +0000 (0:00:00.019) 0:01:36.745 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:449 Thursday 22 February 2024 12:56:30 +0000 (0:00:00.019) 0:01:36.765 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:456 Thursday 22 February 2024 12:56:30 +0000 (0:00:00.020) 0:01:36.786 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:464 Thursday 22 February 2024 12:56:30 +0000 (0:00:00.021) 0:01:36.807 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:486 Thursday 22 February 2024 12:56:30 +0000 (0:00:00.022) 0:01:36.829 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Thursday 22 February 2024 12:56:30 +0000 (0:00:00.020) 0:01:36.849 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:512 Thursday 22 February 2024 12:56:30 +0000 (0:00:00.019) 0:01:36.869 ***** 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.005325", "end": "2024-02-22 12:56:30.836457", "rc": 0, "start": "2024-02-22 12:56:30.831132" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:525 Thursday 22 February 2024 12:56:30 +0000 (0:00:00.138) 0:01:37.008 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:532 Thursday 22 February 2024 12:56:30 +0000 (0:00:00.022) 0:01:37.031 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:538 Thursday 22 February 2024 12:56:31 +0000 (0:00:00.962) 0:01:37.993 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:558 Thursday 22 February 2024 12:56:31 +0000 (0:00:00.024) 0:01:38.017 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Thursday 22 February 2024 12:56:31 +0000 (0:00:00.021) 0:01:38.038 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 12:56:31 +0000 (0:00:00.023) 0:01:38.062 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:584 Thursday 22 February 2024 12:56:31 +0000 (0:00:00.021) 0:01:38.084 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:56:31 +0000 (0:00:00.035) 0:01:38.120 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003255", "end": "2024-02-22 12:56:32.083787", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:32.080532" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:56:32 +0000 (0:00:00.134) 0:01:38.254 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049137", "end": "2024-02-22 12:56:32.268207", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:32.219070" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:56:32 +0000 (0:00:00.189) 0:01:38.444 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Thursday 22 February 2024 12:56:32 +0000 (0:00:00.020) 0:01:38.464 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:610 Thursday 22 February 2024 12:56:32 +0000 (0:00:00.019) 0:01:38.483 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:617 Thursday 22 February 2024 12:56:32 +0000 (0:00:00.019) 0:01:38.502 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 12:56:32 +0000 (0:00:00.019) 0:01:38.522 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:633 Thursday 22 February 2024 12:56:32 +0000 (0:00:00.018) 0:01:38.540 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Thursday 22 February 2024 12:56:32 +0000 (0:00:00.018) 0:01:38.559 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Thursday 22 February 2024 12:56:32 +0000 (0:00:00.019) 0:01:38.578 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:654 Thursday 22 February 2024 12:56:32 +0000 (0:00:00.053) 0:01:38.632 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 12:56:32 +0000 (0:00:00.020) 0:01:38.652 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:678 Thursday 22 February 2024 12:56:32 +0000 (0:00:00.019) 0:01:38.672 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 12:56:32 +0000 (0:00:00.021) 0:01:38.693 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:697 Thursday 22 February 2024 12:56:32 +0000 (0:00:00.020) 0:01:38.714 ***** changed: [sut] => (item=/tmp/ansible.SN79LB) => { "ansible_loop_var": "item", "changed": true, "checksum": "20e5fb3225c67a533c7b6dc9a52cf8eed7601065", "dest": "/etc/pki/tls/certs/ansible.SN79LB", "gid": 994, "group": "mssql", "item": "/tmp/ansible.SN79LB", "md5sum": "656e3225c15dceb136cc13a3aed404cb", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/tmp/ansible.SN79LB", "state": "file", "uid": 996 } changed: [sut] => (item=/tmp/ansible.noNj2w) => { "ansible_loop_var": "item", "changed": true, "checksum": "c62e59266108f29f1d57de5e1223c41abdbe012b", "dest": "/etc/pki/tls/private/ansible.noNj2w", "gid": 994, "group": "mssql", "item": "/tmp/ansible.noNj2w", "md5sum": "62aef94c3ef55ca985d1a708bb234ee2", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1708, "src": "/tmp/ansible.noNj2w", "state": "file", "uid": 996 } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:715 Thursday 22 February 2024 12:56:32 +0000 (0:00:00.397) 0:01:39.112 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:56:33 +0000 (0:00:00.036) 0:01:39.148 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003249", "end": "2024-02-22 12:56:33.113162", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:33.109913" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:56:33 +0000 (0:00:00.135) 0:01:39.284 ***** 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.SN79LB" ], "delta": "0:00:00.048945", "end": "2024-02-22 12:56:33.302586", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:33.253641" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:56:33 +0000 (0:00:00.195) 0:01:39.480 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Thursday 22 February 2024 12:56:33 +0000 (0:00:00.022) 0:01:39.503 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:56:33 +0000 (0:00:00.036) 0:01:39.540 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003403", "end": "2024-02-22 12:56:33.505933", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:33.502530" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:56:33 +0000 (0:00:00.137) 0:01:39.677 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.noNj2w" ], "delta": "0:00:00.049246", "end": "2024-02-22 12:56:33.696490", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:33.647244" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:56:33 +0000 (0:00:00.235) 0:01:39.913 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:733 Thursday 22 February 2024 12:56:33 +0000 (0:00:00.023) 0:01:39.936 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:56:33 +0000 (0:00:00.058) 0:01:39.994 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003153", "end": "2024-02-22 12:56:33.962445", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:33.959292" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:56:33 +0000 (0:00:00.140) 0:01:40.135 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.049176", "end": "2024-02-22 12:56:34.150553", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:34.101377" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.192) 0:01:40.327 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:740 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.021) 0:01:40.349 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.039) 0:01:40.389 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003270", "end": "2024-02-22 12:56:34.354906", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:34.351636" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.137) 0:01:40.527 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.049800", "end": "2024-02-22 12:56:34.545325", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:34.495525" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.193) 0:01:40.721 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.022) 0:01:40.743 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:757 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.024) 0:01:40.768 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:765 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.018) 0:01:40.787 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:772 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.019) 0:01:40.806 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.021) 0:01:40.827 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:788 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.059) 0:01:40.886 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.021) 0:01:40.908 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:810 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.020) 0:01:40.928 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.020) 0:01:40.949 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:827 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.020) 0:01:40.970 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.019) 0:01:40.990 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.024) 0:01:41.014 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:854 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.024) 0:01:41.039 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:860 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.024) 0:01:41.063 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:886 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.023) 0:01:41.086 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:907 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.024) 0:01:41.111 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Thursday 22 February 2024 12:56:34 +0000 (0:00:00.021) 0:01:41.132 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:925 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.021) 0:01:41.153 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:931 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.021) 0:01:41.175 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:949 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.022) 0:01:41.198 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:964 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.023) 0:01:41.221 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:984 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.021) 0:01:41.242 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1037 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.028) 0:01:41.271 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1044 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.020) 0:01:41.291 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.058) 0:01:41.350 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1062 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.020) 0:01:41.370 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1068 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.020) 0:01:41.391 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.025) 0:01:41.416 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.020) 0:01:41.436 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1093 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.020) 0:01:41.457 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.025) 0:01:41.483 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.020) 0:01:41.503 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1139 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.018) 0:01:41.521 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.020) 0:01:41.542 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1158 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.020) 0:01:41.562 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.019) 0:01:41.582 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1182 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.020) 0:01:41.603 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1195 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.020) 0:01:41.623 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1202 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.019) 0:01:41.642 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.018) 0:01:41.661 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1218 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.018) 0:01:41.679 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.018) 0:01:41.698 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1237 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.025) 0:01:41.723 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1246 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.073) 0:01:41.797 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1253 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.021) 0:01:41.818 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1259 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.030) 0:01:41.849 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.023) 0:01:41.872 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1280 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.028) 0:01:41.901 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1292 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.032) 0:01:41.934 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.020) 0:01:41.954 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.028) 0:01:41.983 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1312 Thursday 22 February 2024 12:56:35 +0000 (0:00:00.021) 0:01:42.005 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 22 February 2024 12:56:36 +0000 (0:00:00.163) 0:01:42.169 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:56:09 UTC", "ActiveEnterTimestampMonotonic": "1986010386", "ActiveExitTimestamp": "Thu 2024-02-22 12:56:09 UTC", "ActiveExitTimestampMonotonic": "1985757140", "ActiveState": "active", "After": "-.mount system.slice basic.target systemd-journald.socket auditd.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:56:09 UTC", "AssertTimestampMonotonic": "1986009746", "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 12:56:09 UTC", "ConditionTimestampMonotonic": "1986009744", "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": "29736", "ExecMainStartTimestamp": "Thu 2024-02-22 12:56:09 UTC", "ExecMainStartTimestampMonotonic": "1986010327", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 12:56:09 UTC] ; stop_time=[n/a] ; pid=29736 ; 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 12:56:09 UTC", "InactiveEnterTimestampMonotonic": "1986007826", "InactiveExitTimestamp": "Thu 2024-02-22 12:56:09 UTC", "InactiveExitTimestampMonotonic": "1986010386", "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": "29736", "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": "basic.target -.mount 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 12:56:09 UTC", "WatchdogTimestampMonotonic": "1986010362", "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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1325 Thursday 22 February 2024 12:56:37 +0000 (0:00:01.009) 0:01:43.178 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1336 Thursday 22 February 2024 12:56:37 +0000 (0:00:00.020) 0:01:43.199 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:131 Thursday 22 February 2024 12:56:37 +0000 (0:00:00.021) 0:01:43.220 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:8 Thursday 22 February 2024 12:56:37 +0000 (0:00:00.154) 0:01:43.375 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:23 Thursday 22 February 2024 12:56:37 +0000 (0:00:00.021) 0:01:43.396 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:35 Thursday 22 February 2024 12:56:37 +0000 (0:00:00.018) 0:01:43.415 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:39 Thursday 22 February 2024 12:56:37 +0000 (0:00:00.020) 0:01:43.435 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:55 Thursday 22 February 2024 12:56:37 +0000 (0:00:00.019) 0:01:43.454 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:60 Thursday 22 February 2024 12:56:37 +0000 (0:00:00.018) 0:01:43.473 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:70 Thursday 22 February 2024 12:56:37 +0000 (0:00:00.018) 0:01:43.491 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:75 Thursday 22 February 2024 12:56:37 +0000 (0:00:00.018) 0:01:43.510 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:85 Thursday 22 February 2024 12:56:37 +0000 (0:00:00.018) 0:01:43.529 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 12:56:37 +0000 (0:00:00.032) 0:01:43.562 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:56:37 UTC", "ActiveEnterTimestampMonotonic": "2013020466", "ActiveExitTimestamp": "Thu 2024-02-22 12:56:36 UTC", "ActiveExitTimestampMonotonic": "2012247097", "ActiveState": "active", "After": "-.mount system.slice basic.target systemd-journald.socket auditd.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:56:37 UTC", "AssertTimestampMonotonic": "2013019706", "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 12:56:37 UTC", "ConditionTimestampMonotonic": "2013019705", "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": "30599", "ExecMainStartTimestamp": "Thu 2024-02-22 12:56:37 UTC", "ExecMainStartTimestampMonotonic": "2013020401", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 12:56:37 UTC] ; stop_time=[n/a] ; pid=30599 ; 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 12:56:37 UTC", "InactiveEnterTimestampMonotonic": "2013019144", "InactiveExitTimestamp": "Thu 2024-02-22 12:56:37 UTC", "InactiveExitTimestampMonotonic": "2013020466", "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": "30599", "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": "basic.target -.mount 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 12:56:37 UTC", "WatchdogTimestampMonotonic": "2013020441", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 12:56:37 +0000 (0:00:00.209) 0:01:43.771 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003536", "end": "2024-02-22 12:56:37.738849", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:37.735313" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 12:56:37 +0000 (0:00:00.137) 0:01:43.909 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003505", "end": "2024-02-22 12:56:37.918196", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:37.914691" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 12:56:37 +0000 (0:00:00.230) 0:01:44.139 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:93 Thursday 22 February 2024 12:56:38 +0000 (0:00:00.028) 0:01:44.168 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:99 Thursday 22 February 2024 12:56:41 +0000 (0:00:03.150) 0:01:47.318 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.028099", "end": "2024-02-22 12:56:41.307055", "rc": 0, "start": "2024-02-22 12:56:41.278956" } 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-unconf4iy38aet/tests/tasks/verify_settings.yml:118 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.163) 0:01:47.482 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:122 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.022) 0:01:47.504 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:129 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.021) 0:01:47.525 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:140 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.018) 0:01:47.544 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:145 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.019) 0:01:47.563 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:150 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.020) 0:01:47.584 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:156 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.019) 0:01:47.603 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:162 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.053) 0:01:47.657 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:172 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.020) 0:01:47.677 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.034) 0:01:47.712 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004442", "end": "2024-02-22 12:56:41.677467", "rc": 0, "start": "2024-02-22 12:56:41.673025" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.SN79LB TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.136) 0:01:47.848 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.029) 0:01:47.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.SN79LB] ***************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.025) 0:01:47.904 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:183 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.019) 0:01:47.923 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.037) 0:01:47.961 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004342", "end": "2024-02-22 12:56:41.928501", "rc": 0, "start": "2024-02-22 12:56:41.924159" } STDOUT: tlskey = /etc/pki/tls/private/ansible.noNj2w TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.137) 0:01:48.099 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:56:41 +0000 (0:00:00.030) 0:01:48.129 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.noNj2w] *************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:56:42 +0000 (0:00:00.024) 0:01:48.154 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:195 Thursday 22 February 2024 12:56:42 +0000 (0:00:00.022) 0:01:48.177 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:56:42 +0000 (0:00:00.037) 0:01:48.215 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004394", "end": "2024-02-22 12:56:42.181005", "rc": 0, "start": "2024-02-22 12:56:42.176611" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:56:42 +0000 (0:00:00.137) 0:01:48.352 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:56:42 +0000 (0:00:00.078) 0:01:48.430 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:56:42 +0000 (0:00:00.026) 0:01:48.457 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:203 Thursday 22 February 2024 12:56:42 +0000 (0:00:00.022) 0:01:48.479 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:56:42 +0000 (0:00:00.039) 0:01:48.519 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004594", "end": "2024-02-22 12:56:42.485189", "rc": 0, "start": "2024-02-22 12:56:42.480595" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:56:42 +0000 (0:00:00.143) 0:01:48.662 ***** 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-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:56:42 +0000 (0:00:00.024) 0:01:48.687 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:56:42 +0000 (0:00:00.029) 0:01:48.717 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:210 Thursday 22 February 2024 12:56:42 +0000 (0:00:00.023) 0:01:48.740 ***** 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-unconf4iy38aet/tests/tasks/tests_tls.yml:137 Thursday 22 February 2024 12:56:42 +0000 (0:00:00.020) 0:01:48.761 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/tasks/check_header.yml:4 Thursday 22 February 2024 12:56:42 +0000 (0:00:00.126) 0:01:48.888 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003226", "end": "2024-02-22 12:56:42.885358", "rc": 0, "start": "2024-02-22 12:56:42.882132" } 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.SN79LB tlskey = /etc/pki/tls/private/ansible.noNj2w tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:141 Thursday 22 February 2024 12:56:42 +0000 (0:00:00.171) 0:01:49.059 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.294) 0:01:49.354 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.030) 0:01:49.384 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.024) 0:01:49.409 ***** 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-unconf4iy38aet/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-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.035) 0:01:49.444 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.018) 0:01:49.463 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.018) 0:01:49.481 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.018) 0:01:49.500 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.018) 0:01:49.518 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.018) 0:01:49.536 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.019) 0:01:49.555 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.018) 0:01:49.574 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.077) 0:01:49.651 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.020) 0:01:49.671 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.024) 0:01:49.695 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.018) 0:01:49.714 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.019) 0:01:49.733 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.019) 0:01:49.753 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.018) 0:01:49.771 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 12:56:43 +0000 (0:00:00.020) 0:01:49.792 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Thursday 22 February 2024 12:56:44 +0000 (0:00:00.926) 0:01:50.719 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 22 February 2024 12:56:44 +0000 (0:00:00.058) 0:01:50.778 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Thursday 22 February 2024 12:56:44 +0000 (0:00:00.020) 0:01:50.799 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Thursday 22 February 2024 12:56:44 +0000 (0:00:00.023) 0:01:50.822 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Thursday 22 February 2024 12:56:44 +0000 (0:00:00.094) 0:01:50.916 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Thursday 22 February 2024 12:56:45 +0000 (0:00:00.316) 0:01:51.233 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Thursday 22 February 2024 12:56:45 +0000 (0:00:00.021) 0:01:51.254 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 12:56:45 +0000 (0:00:00.020) 0:01:51.275 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Thursday 22 February 2024 12:56:45 +0000 (0:00:00.021) 0:01:51.296 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:225 Thursday 22 February 2024 12:56:45 +0000 (0:00:00.024) 0:01:51.321 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:230 Thursday 22 February 2024 12:56:45 +0000 (0:00:00.378) 0:01:51.699 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Thursday 22 February 2024 12:56:45 +0000 (0:00:00.335) 0:01:52.034 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:246 Thursday 22 February 2024 12:56:45 +0000 (0:00:00.019) 0:01:52.054 ***** 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.005356", "end": "2024-02-22 12:56:46.017939", "rc": 0, "start": "2024-02-22 12:56:46.012583" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:261 Thursday 22 February 2024 12:56:46 +0000 (0:00:00.135) 0:01:52.190 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:265 Thursday 22 February 2024 12:56:46 +0000 (0:00:00.726) 0:01:52.916 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:274 Thursday 22 February 2024 12:56:46 +0000 (0:00:00.027) 0:01:52.943 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:290 Thursday 22 February 2024 12:56:46 +0000 (0:00:00.019) 0:01:52.963 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:315 Thursday 22 February 2024 12:56:46 +0000 (0:00:00.018) 0:01:52.981 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 22 February 2024 12:56:46 +0000 (0:00:00.025) 0:01:53.007 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:342 Thursday 22 February 2024 12:56:46 +0000 (0:00:00.019) 0:01:53.027 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 22 February 2024 12:56:46 +0000 (0:00:00.020) 0:01:53.047 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 22 February 2024 12:56:47 +0000 (0:00:00.339) 0:01:53.387 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:23:24 UTC", "ActiveEnterTimestampMonotonic": "20669125", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target network.target systemd-sysctl.service systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:23:23 UTC", "AssertTimestampMonotonic": "19503351", "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 12:23:23 UTC", "ConditionTimestampMonotonic": "19503349", "Conflicts": "cpupower.service shutdown.target", "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": "875", "ExecMainStartTimestamp": "Thu 2024-02-22 12:23:23 UTC", "ExecMainStartTimestampMonotonic": "19503873", "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 12:23:23 UTC", "InactiveExitTimestampMonotonic": "19503912", "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": "875", "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 basic.target dbus.service 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 12:23:24 UTC", "WatchdogTimestampMonotonic": "20669031", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 22 February 2024 12:56:47 +0000 (0:00:00.206) 0:01:53.593 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.092992", "end": "2024-02-22 12:56:47.644866", "rc": 0, "start": "2024-02-22 12:56:47.551874" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 22 February 2024 12:56:47 +0000 (0:00:00.223) 0:01:53.817 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 22 February 2024 12:56:47 +0000 (0:00:00.020) 0:01:53.837 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 22 February 2024 12:56:47 +0000 (0:00:00.018) 0:01:53.855 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 22 February 2024 12:56:47 +0000 (0:00:00.019) 0:01:53.874 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 22 February 2024 12:56:47 +0000 (0:00:00.137) 0:01:54.012 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 22 February 2024 12:56:48 +0000 (0:00:00.382) 0:01:54.394 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 22 February 2024 12:56:48 +0000 (0:00:00.021) 0:01:54.416 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 22 February 2024 12:56:48 +0000 (0:00:00.019) 0:01:54.436 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:449 Thursday 22 February 2024 12:56:48 +0000 (0:00:00.021) 0:01:54.457 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:456 Thursday 22 February 2024 12:56:48 +0000 (0:00:00.021) 0:01:54.478 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:464 Thursday 22 February 2024 12:56:48 +0000 (0:00:00.024) 0:01:54.503 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:486 Thursday 22 February 2024 12:56:48 +0000 (0:00:00.023) 0:01:54.526 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Thursday 22 February 2024 12:56:48 +0000 (0:00:00.020) 0:01:54.547 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:512 Thursday 22 February 2024 12:56:48 +0000 (0:00:00.020) 0:01:54.567 ***** 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.005143", "end": "2024-02-22 12:56:48.533868", "rc": 0, "start": "2024-02-22 12:56:48.528725" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:525 Thursday 22 February 2024 12:56:48 +0000 (0:00:00.137) 0:01:54.705 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:532 Thursday 22 February 2024 12:56:48 +0000 (0:00:00.021) 0:01:54.726 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:538 Thursday 22 February 2024 12:56:49 +0000 (0:00:00.973) 0:01:55.700 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:558 Thursday 22 February 2024 12:56:49 +0000 (0:00:00.024) 0:01:55.725 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Thursday 22 February 2024 12:56:49 +0000 (0:00:00.023) 0:01:55.748 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 12:56:49 +0000 (0:00:00.027) 0:01:55.775 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:584 Thursday 22 February 2024 12:56:49 +0000 (0:00:00.021) 0:01:55.797 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:56:49 +0000 (0:00:00.038) 0:01:55.835 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003126", "end": "2024-02-22 12:56:49.801306", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:49.798180" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:56:49 +0000 (0:00:00.137) 0:01:55.973 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049702", "end": "2024-02-22 12:56:49.995825", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:49.946123" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.199) 0:01:56.173 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.020) 0:01:56.193 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:610 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.019) 0:01:56.213 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:617 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.021) 0:01:56.234 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.019) 0:01:56.253 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:633 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.018) 0:01:56.272 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.018) 0:01:56.290 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.018) 0:01:56.309 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:654 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.019) 0:01:56.328 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.018) 0:01:56.347 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:678 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.067) 0:01:56.415 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.021) 0:01:56.436 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:697 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.020) 0:01:56.456 ***** skipping: [sut] => (item=/tmp/ansible.SN79LB) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.SN79LB", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ansible.noNj2w) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.noNj2w", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:715 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.033) 0:01:56.490 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.037) 0:01:56.527 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003328", "end": "2024-02-22 12:56:50.493973", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:50.490645" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.SN79LB TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.138) 0:01:56.666 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.025) 0:01:56.691 ***** 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.049459", "end": "2024-02-22 12:56:50.704215", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:50.654756" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.185) 0:01:56.877 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.038) 0:01:56.915 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003186", "end": "2024-02-22 12:56:50.878881", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:50.875695" } STDOUT: tlskey = /etc/pki/tls/private/ansible.noNj2w TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.137) 0:01:57.052 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.026) 0:01:57.079 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.049048", "end": "2024-02-22 12:56:51.091990", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:51.042942" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:733 Thursday 22 February 2024 12:56:51 +0000 (0:00:00.186) 0:01:57.265 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:56:51 +0000 (0:00:00.038) 0:01:57.303 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003197", "end": "2024-02-22 12:56:51.268197", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:51.265000" } STDOUT: tlsprotocols = 1.2 TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:56:51 +0000 (0:00:00.183) 0:01:57.487 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:56:51 +0000 (0:00:00.026) 0:01:57.513 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.051749", "end": "2024-02-22 12:56:51.541112", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:51.489363" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:740 Thursday 22 February 2024 12:56:51 +0000 (0:00:00.201) 0:01:57.715 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:56:51 +0000 (0:00:00.039) 0:01:57.755 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003137", "end": "2024-02-22 12:56:51.719731", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:51.716594" } STDOUT: forceencryption = 1 TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:56:51 +0000 (0:00:00.137) 0:01:57.893 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:56:51 +0000 (0:00:00.027) 0:01:57.920 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.048714", "end": "2024-02-22 12:56:51.932846", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:51.884132" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Thursday 22 February 2024 12:56:51 +0000 (0:00:00.192) 0:01:58.113 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:757 Thursday 22 February 2024 12:56:51 +0000 (0:00:00.023) 0:01:58.137 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:765 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.021) 0:01:58.158 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:772 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.019) 0:01:58.178 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.021) 0:01:58.200 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:788 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.020) 0:01:58.221 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.020) 0:01:58.241 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:810 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.019) 0:01:58.260 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.019) 0:01:58.280 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:827 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.084) 0:01:58.365 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.022) 0:01:58.387 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.032) 0:01:58.420 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:854 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.039) 0:01:58.459 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:860 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.022) 0:01:58.481 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:886 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.020) 0:01:58.502 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:907 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.018) 0:01:58.521 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.019) 0:01:58.540 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:925 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.018) 0:01:58.559 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:931 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.020) 0:01:58.579 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:949 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.018) 0:01:58.598 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:964 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.022) 0:01:58.620 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:984 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.021) 0:01:58.642 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1037 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.041) 0:01:58.683 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1044 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.021) 0:01:58.704 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.019) 0:01:58.724 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1062 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.020) 0:01:58.744 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1068 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.018) 0:01:58.763 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.024) 0:01:58.787 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.066) 0:01:58.853 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1093 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.020) 0:01:58.874 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.026) 0:01:58.900 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.018) 0:01:58.919 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1139 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.019) 0:01:58.938 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.019) 0:01:58.958 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1158 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.018) 0:01:58.976 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.019) 0:01:58.996 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1182 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.019) 0:01:59.015 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1195 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.020) 0:01:59.036 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1202 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.018) 0:01:59.054 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.019) 0:01:59.074 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1218 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.019) 0:01:59.093 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.018) 0:01:59.111 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1237 Thursday 22 February 2024 12:56:52 +0000 (0:00:00.026) 0:01:59.138 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1246 Thursday 22 February 2024 12:56:53 +0000 (0:00:00.018) 0:01:59.156 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1253 Thursday 22 February 2024 12:56:53 +0000 (0:00:00.020) 0:01:59.176 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1259 Thursday 22 February 2024 12:56:53 +0000 (0:00:00.019) 0:01:59.196 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 12:56:53 +0000 (0:00:00.019) 0:01:59.215 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1280 Thursday 22 February 2024 12:56:53 +0000 (0:00:00.072) 0:01:59.288 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1292 Thursday 22 February 2024 12:56:53 +0000 (0:00:00.020) 0:01:59.308 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Thursday 22 February 2024 12:56:53 +0000 (0:00:00.019) 0:01:59.328 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 22 February 2024 12:56:53 +0000 (0:00:00.019) 0:01:59.348 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1312 Thursday 22 February 2024 12:56:53 +0000 (0:00:00.020) 0:01:59.368 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 22 February 2024 12:56:53 +0000 (0:00:00.157) 0:01:59.526 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:56:37 UTC", "ActiveEnterTimestampMonotonic": "2013020466", "ActiveExitTimestamp": "Thu 2024-02-22 12:56:36 UTC", "ActiveExitTimestampMonotonic": "2012247097", "ActiveState": "active", "After": "-.mount system.slice basic.target systemd-journald.socket auditd.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:56:37 UTC", "AssertTimestampMonotonic": "2013019706", "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 12:56:37 UTC", "ConditionTimestampMonotonic": "2013019705", "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": "30599", "ExecMainStartTimestamp": "Thu 2024-02-22 12:56:37 UTC", "ExecMainStartTimestampMonotonic": "2013020401", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 12:56:37 UTC] ; stop_time=[n/a] ; pid=30599 ; 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 12:56:37 UTC", "InactiveEnterTimestampMonotonic": "2013019144", "InactiveExitTimestamp": "Thu 2024-02-22 12:56:37 UTC", "InactiveExitTimestampMonotonic": "2013020466", "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": "30599", "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": "basic.target -.mount 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 12:56:37 UTC", "WatchdogTimestampMonotonic": "2013020441", "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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1325 Thursday 22 February 2024 12:56:53 +0000 (0:00:00.473) 0:01:59.999 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1336 Thursday 22 February 2024 12:56:53 +0000 (0:00:00.020) 0:02:00.019 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:147 Thursday 22 February 2024 12:56:53 +0000 (0:00:00.019) 0:02:00.038 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:8 Thursday 22 February 2024 12:56:54 +0000 (0:00:00.164) 0:02:00.203 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:23 Thursday 22 February 2024 12:56:54 +0000 (0:00:00.020) 0:02:00.224 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:35 Thursday 22 February 2024 12:56:54 +0000 (0:00:00.073) 0:02:00.298 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:39 Thursday 22 February 2024 12:56:54 +0000 (0:00:00.021) 0:02:00.319 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:55 Thursday 22 February 2024 12:56:54 +0000 (0:00:00.022) 0:02:00.342 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:60 Thursday 22 February 2024 12:56:54 +0000 (0:00:00.020) 0:02:00.362 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:70 Thursday 22 February 2024 12:56:54 +0000 (0:00:00.019) 0:02:00.382 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:75 Thursday 22 February 2024 12:56:54 +0000 (0:00:00.020) 0:02:00.402 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:85 Thursday 22 February 2024 12:56:54 +0000 (0:00:00.019) 0:02:00.422 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 12:56:54 +0000 (0:00:00.035) 0:02:00.457 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:56:53 UTC", "ActiveEnterTimestampMonotonic": "2029830866", "ActiveExitTimestamp": "Thu 2024-02-22 12:56:53 UTC", "ActiveExitTimestampMonotonic": "2029594788", "ActiveState": "active", "After": "-.mount system.slice basic.target systemd-journald.socket auditd.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:56:53 UTC", "AssertTimestampMonotonic": "2029830219", "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 12:56:53 UTC", "ConditionTimestampMonotonic": "2029830217", "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": "31267", "ExecMainStartTimestamp": "Thu 2024-02-22 12:56:53 UTC", "ExecMainStartTimestampMonotonic": "2029830807", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 12:56:53 UTC] ; stop_time=[n/a] ; pid=31267 ; 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 12:56:53 UTC", "InactiveEnterTimestampMonotonic": "2029829166", "InactiveExitTimestamp": "Thu 2024-02-22 12:56:53 UTC", "InactiveExitTimestampMonotonic": "2029830866", "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": "31267", "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": "basic.target -.mount 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 12:56:53 UTC", "WatchdogTimestampMonotonic": "2029830842", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 12:56:54 +0000 (0:00:00.227) 0:02:00.685 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003802", "end": "2024-02-22 12:56:54.681308", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:54.677506" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 12:56:54 +0000 (0:00:00.169) 0:02:00.854 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003566", "end": "2024-02-22 12:56:54.820792", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:54.817226" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 12:56:54 +0000 (0:00:00.151) 0:02:01.006 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:93 Thursday 22 February 2024 12:56:54 +0000 (0:00:00.030) 0:02:01.036 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:99 Thursday 22 February 2024 12:56:57 +0000 (0:00:02.182) 0:02:03.219 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.029346", "end": "2024-02-22 12:56:57.237945", "rc": 0, "start": "2024-02-22 12:56:57.208599" } 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-unconf4iy38aet/tests/tasks/verify_settings.yml:118 Thursday 22 February 2024 12:56:57 +0000 (0:00:00.203) 0:02:03.422 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:122 Thursday 22 February 2024 12:56:57 +0000 (0:00:00.049) 0:02:03.471 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:129 Thursday 22 February 2024 12:56:57 +0000 (0:00:00.027) 0:02:03.499 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:140 Thursday 22 February 2024 12:56:57 +0000 (0:00:00.032) 0:02:03.531 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:145 Thursday 22 February 2024 12:56:57 +0000 (0:00:00.027) 0:02:03.559 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:150 Thursday 22 February 2024 12:56:57 +0000 (0:00:00.057) 0:02:03.616 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:156 Thursday 22 February 2024 12:56:57 +0000 (0:00:00.035) 0:02:03.652 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:162 Thursday 22 February 2024 12:56:57 +0000 (0:00:00.030) 0:02:03.683 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:172 Thursday 22 February 2024 12:56:57 +0000 (0:00:00.026) 0:02:03.709 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:56:57 +0000 (0:00:00.061) 0:02:03.771 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004421", "end": "2024-02-22 12:56:57.749770", "rc": 0, "start": "2024-02-22 12:56:57.745349" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:56:57 +0000 (0:00:00.252) 0:02:04.023 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:56:57 +0000 (0:00:00.035) 0:02:04.059 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:56:57 +0000 (0:00:00.029) 0:02:04.089 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:183 Thursday 22 February 2024 12:56:57 +0000 (0:00:00.025) 0:02:04.114 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:56:58 +0000 (0:00:00.057) 0:02:04.171 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004438", "end": "2024-02-22 12:56:58.146509", "rc": 0, "start": "2024-02-22 12:56:58.142071" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:56:58 +0000 (0:00:00.147) 0:02:04.319 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:56:58 +0000 (0:00:00.030) 0:02:04.349 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:56:58 +0000 (0:00:00.040) 0:02:04.390 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:195 Thursday 22 February 2024 12:56:58 +0000 (0:00:00.047) 0:02:04.438 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:56:58 +0000 (0:00:00.039) 0:02:04.477 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004452", "end": "2024-02-22 12:56:58.444695", "rc": 0, "start": "2024-02-22 12:56:58.440243" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:56:58 +0000 (0:00:00.140) 0:02:04.617 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:56:58 +0000 (0:00:00.027) 0:02:04.645 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:56:58 +0000 (0:00:00.022) 0:02:04.667 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:203 Thursday 22 February 2024 12:56:58 +0000 (0:00:00.019) 0:02:04.687 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:56:58 +0000 (0:00:00.098) 0:02:04.786 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004448", "end": "2024-02-22 12:56:58.753274", "rc": 0, "start": "2024-02-22 12:56:58.748826" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:56:58 +0000 (0:00:00.150) 0:02:04.936 ***** 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-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:56:58 +0000 (0:00:00.030) 0:02:04.967 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:56:58 +0000 (0:00:00.031) 0:02:04.998 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:210 Thursday 22 February 2024 12:56:58 +0000 (0:00:00.020) 0:02:05.018 ***** 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-unconf4iy38aet/tests/tasks/tests_tls.yml:154 Thursday 22 February 2024 12:56:58 +0000 (0:00:00.021) 0:02:05.040 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.430) 0:02:05.471 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.033) 0:02:05.504 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.025) 0:02:05.530 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.036) 0:02:05.566 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.018) 0:02:05.584 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.020) 0:02:05.605 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.018) 0:02:05.623 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.019) 0:02:05.642 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.018) 0:02:05.661 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.019) 0:02:05.680 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.019) 0:02:05.699 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.018) 0:02:05.718 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.020) 0:02:05.738 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.023) 0:02:05.762 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.020) 0:02:05.782 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.022) 0:02:05.805 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.021) 0:02:05.827 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.112) 0:02:05.939 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 12:56:59 +0000 (0:00:00.030) 0:02:05.970 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Thursday 22 February 2024 12:57:00 +0000 (0:00:00.940) 0:02:06.910 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 22 February 2024 12:57:00 +0000 (0:00:00.065) 0:02:06.975 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Thursday 22 February 2024 12:57:00 +0000 (0:00:00.027) 0:02:07.003 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Thursday 22 February 2024 12:57:00 +0000 (0:00:00.030) 0:02:07.033 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Thursday 22 February 2024 12:57:00 +0000 (0:00:00.049) 0:02:07.083 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Thursday 22 February 2024 12:57:01 +0000 (0:00:00.323) 0:02:07.406 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Thursday 22 February 2024 12:57:01 +0000 (0:00:00.022) 0:02:07.428 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 12:57:01 +0000 (0:00:00.024) 0:02:07.453 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Thursday 22 February 2024 12:57:01 +0000 (0:00:00.023) 0:02:07.477 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:225 Thursday 22 February 2024 12:57:01 +0000 (0:00:00.094) 0:02:07.572 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:230 Thursday 22 February 2024 12:57:01 +0000 (0:00:00.412) 0:02:07.984 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Thursday 22 February 2024 12:57:02 +0000 (0:00:00.347) 0:02:08.331 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:246 Thursday 22 February 2024 12:57:02 +0000 (0:00:00.020) 0:02:08.352 ***** 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.005687", "end": "2024-02-22 12:57:02.319368", "rc": 0, "start": "2024-02-22 12:57:02.313681" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:261 Thursday 22 February 2024 12:57:02 +0000 (0:00:00.137) 0:02:08.490 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:265 Thursday 22 February 2024 12:57:03 +0000 (0:00:00.700) 0:02:09.190 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:274 Thursday 22 February 2024 12:57:03 +0000 (0:00:00.032) 0:02:09.223 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:290 Thursday 22 February 2024 12:57:03 +0000 (0:00:00.022) 0:02:09.245 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:315 Thursday 22 February 2024 12:57:03 +0000 (0:00:00.021) 0:02:09.267 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 22 February 2024 12:57:03 +0000 (0:00:00.027) 0:02:09.294 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:342 Thursday 22 February 2024 12:57:03 +0000 (0:00:00.020) 0:02:09.315 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 22 February 2024 12:57:03 +0000 (0:00:00.019) 0:02:09.335 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 22 February 2024 12:57:03 +0000 (0:00:00.350) 0:02:09.686 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:23:24 UTC", "ActiveEnterTimestampMonotonic": "20669125", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target network.target systemd-sysctl.service systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:23:23 UTC", "AssertTimestampMonotonic": "19503351", "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 12:23:23 UTC", "ConditionTimestampMonotonic": "19503349", "Conflicts": "cpupower.service shutdown.target", "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": "875", "ExecMainStartTimestamp": "Thu 2024-02-22 12:23:23 UTC", "ExecMainStartTimestampMonotonic": "19503873", "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 12:23:23 UTC", "InactiveExitTimestampMonotonic": "19503912", "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": "875", "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 basic.target dbus.service 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 12:23:24 UTC", "WatchdogTimestampMonotonic": "20669031", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 22 February 2024 12:57:03 +0000 (0:00:00.289) 0:02:09.976 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.094716", "end": "2024-02-22 12:57:04.036319", "rc": 0, "start": "2024-02-22 12:57:03.941603" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 22 February 2024 12:57:04 +0000 (0:00:00.234) 0:02:10.210 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 22 February 2024 12:57:04 +0000 (0:00:00.023) 0:02:10.233 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 22 February 2024 12:57:04 +0000 (0:00:00.019) 0:02:10.253 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 22 February 2024 12:57:04 +0000 (0:00:00.020) 0:02:10.274 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 22 February 2024 12:57:04 +0000 (0:00:00.140) 0:02:10.414 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 22 February 2024 12:57:04 +0000 (0:00:00.340) 0:02:10.755 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 22 February 2024 12:57:04 +0000 (0:00:00.021) 0:02:10.777 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 22 February 2024 12:57:04 +0000 (0:00:00.019) 0:02:10.797 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:449 Thursday 22 February 2024 12:57:04 +0000 (0:00:00.020) 0:02:10.817 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:456 Thursday 22 February 2024 12:57:04 +0000 (0:00:00.021) 0:02:10.838 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:464 Thursday 22 February 2024 12:57:04 +0000 (0:00:00.020) 0:02:10.859 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:486 Thursday 22 February 2024 12:57:04 +0000 (0:00:00.020) 0:02:10.880 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Thursday 22 February 2024 12:57:04 +0000 (0:00:00.018) 0:02:10.899 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:512 Thursday 22 February 2024 12:57:04 +0000 (0:00:00.019) 0:02:10.918 ***** 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.005348", "end": "2024-02-22 12:57:04.885357", "rc": 0, "start": "2024-02-22 12:57:04.880009" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:525 Thursday 22 February 2024 12:57:04 +0000 (0:00:00.197) 0:02:11.116 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:532 Thursday 22 February 2024 12:57:04 +0000 (0:00:00.022) 0:02:11.139 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:538 Thursday 22 February 2024 12:57:05 +0000 (0:00:00.927) 0:02:12.067 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:558 Thursday 22 February 2024 12:57:05 +0000 (0:00:00.022) 0:02:12.089 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Thursday 22 February 2024 12:57:05 +0000 (0:00:00.020) 0:02:12.110 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 12:57:05 +0000 (0:00:00.022) 0:02:12.132 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:584 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.023) 0:02:12.155 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.036) 0:02:12.192 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003156", "end": "2024-02-22 12:57:06.157604", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:06.154448" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.135) 0:02:12.328 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049871", "end": "2024-02-22 12:57:06.342299", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:06.292428" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.191) 0:02:12.519 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.023) 0:02:12.543 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:610 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.020) 0:02:12.563 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:617 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.075) 0:02:12.639 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.022) 0:02:12.662 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:633 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.020) 0:02:12.682 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.021) 0:02:12.704 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.027) 0:02:12.732 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:654 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.021) 0:02:12.753 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.021) 0:02:12.775 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:678 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.033) 0:02:12.808 ***** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.062) 0:02:12.871 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/.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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.040) 0:02:12.912 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.031) 0:02:12.943 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.137) 0:02:13.081 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 22 February 2024 12:57:06 +0000 (0:00:00.027) 0:02:13.108 ***** 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-unconf4iy38aet/.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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 22 February 2024 12:57:07 +0000 (0:00:00.074) 0:02:13.182 ***** 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.5 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 22 February 2024 12:57:10 +0000 (0:00:03.191) 0:02:16.374 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 22 February 2024 12:57:13 +0000 (0:00:02.961) 0:02:19.335 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 22 February 2024 12:57:13 +0000 (0:00:00.163) 0:02:19.498 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 22 February 2024 12:57:13 +0000 (0:00:00.164) 0:02:19.663 ***** 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": "network.target dbus.service syslog.target system.slice systemd-journald.socket basic.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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 22 February 2024 12:57:13 +0000 (0:00:00.312) 0:02:19.975 ***** changed: [sut] => (item={'name': 'mssql_2019_cert', 'common_name': '10.31.40.226', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.40.226", "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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 22 February 2024 12:57:14 +0000 (0:00:00.766) 0:02:20.742 ***** skipping: [sut] => (item=['cert', {'name': 'mssql_2019_cert', 'common_name': '10.31.40.226', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.40.226", "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.40.226', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.40.226", "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.40.226', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.40.226", "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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 22 February 2024 12:57:14 +0000 (0:00:00.046) 0:02:20.788 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 22 February 2024 12:57:14 +0000 (0:00:00.029) 0:02:20.818 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 22 February 2024 12:57:14 +0000 (0:00:00.027) 0:02:20.845 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 12:57:14 +0000 (0:00:00.024) 0:02:20.870 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:697 Thursday 22 February 2024 12:57:14 +0000 (0:00:00.025) 0:02:20.895 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:715 Thursday 22 February 2024 12:57:14 +0000 (0:00:00.033) 0:02:20.929 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:57:14 +0000 (0:00:00.111) 0:02:21.041 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003457", "end": "2024-02-22 12:57:15.009354", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:15.005897" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlscert] ******** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:57:15 +0000 (0:00:00.139) 0:02:21.181 ***** 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.049093", "end": "2024-02-22 12:57:15.199042", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:15.149949" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:57:15 +0000 (0:00:00.193) 0:02:21.375 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Thursday 22 February 2024 12:57:15 +0000 (0:00:00.023) 0:02:21.398 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:57:15 +0000 (0:00:00.037) 0:02:21.436 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003350", "end": "2024-02-22 12:57:15.402761", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:15.399411" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlskey] ********* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:57:15 +0000 (0:00:00.139) 0:02:21.575 ***** 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.050506", "end": "2024-02-22 12:57:15.595665", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:15.545159" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:57:15 +0000 (0:00:00.197) 0:02:21.773 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:733 Thursday 22 February 2024 12:57:15 +0000 (0:00:00.024) 0:02:21.798 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:57:15 +0000 (0:00:00.041) 0:02:21.840 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003233", "end": "2024-02-22 12:57:15.806306", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:15.803073" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:57:15 +0000 (0:00:00.137) 0:02:21.977 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.050503", "end": "2024-02-22 12:57:15.995374", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:15.944871" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.193) 0:02:22.171 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:740 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.023) 0:02:22.195 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.128) 0:02:22.323 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003372", "end": "2024-02-22 12:57:16.291151", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:16.287779" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.138) 0:02:22.462 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.050229", "end": "2024-02-22 12:57:16.480421", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:16.430192" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.193) 0:02:22.656 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.021) 0:02:22.677 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:757 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.021) 0:02:22.699 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:765 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.020) 0:02:22.719 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:772 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.021) 0:02:22.741 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.022) 0:02:22.764 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:788 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.022) 0:02:22.786 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.020) 0:02:22.806 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:810 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.022) 0:02:22.829 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.023) 0:02:22.852 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:827 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.021) 0:02:22.874 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.020) 0:02:22.895 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.018) 0:02:22.914 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:854 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.019) 0:02:22.933 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:860 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.019) 0:02:22.953 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:886 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.090) 0:02:23.044 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:907 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.021) 0:02:23.065 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.020) 0:02:23.085 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:925 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.019) 0:02:23.105 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:931 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.018) 0:02:23.124 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:949 Thursday 22 February 2024 12:57:16 +0000 (0:00:00.019) 0:02:23.144 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:964 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.020) 0:02:23.164 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:984 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.019) 0:02:23.184 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1037 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.021) 0:02:23.205 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1044 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.020) 0:02:23.226 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.021) 0:02:23.247 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1062 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.020) 0:02:23.268 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1068 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.021) 0:02:23.289 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.027) 0:02:23.317 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.020) 0:02:23.337 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1093 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.020) 0:02:23.358 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.028) 0:02:23.386 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.021) 0:02:23.407 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1139 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.020) 0:02:23.428 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.091) 0:02:23.519 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1158 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.022) 0:02:23.542 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.020) 0:02:23.563 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1182 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.020) 0:02:23.584 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1195 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.020) 0:02:23.604 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1202 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.021) 0:02:23.625 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.022) 0:02:23.648 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1218 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.021) 0:02:23.669 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.021) 0:02:23.690 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1237 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.026) 0:02:23.717 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1246 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.019) 0:02:23.736 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1253 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.018) 0:02:23.755 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1259 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.019) 0:02:23.774 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.020) 0:02:23.795 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1280 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.029) 0:02:23.824 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1292 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.021) 0:02:23.845 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.020) 0:02:23.865 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.021) 0:02:23.887 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1312 Thursday 22 February 2024 12:57:17 +0000 (0:00:00.021) 0:02:23.909 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 22 February 2024 12:57:18 +0000 (0:00:00.250) 0:02:24.159 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:56:53 UTC", "ActiveEnterTimestampMonotonic": "2029830866", "ActiveExitTimestamp": "Thu 2024-02-22 12:56:53 UTC", "ActiveExitTimestampMonotonic": "2029594788", "ActiveState": "active", "After": "network.target system.slice basic.target auditd.service systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:56:53 UTC", "AssertTimestampMonotonic": "2029830219", "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 12:56:53 UTC", "ConditionTimestampMonotonic": "2029830217", "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": "31267", "ExecMainStartTimestamp": "Thu 2024-02-22 12:56:53 UTC", "ExecMainStartTimestampMonotonic": "2029830807", "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 12:56:53 UTC", "InactiveEnterTimestampMonotonic": "2029829166", "InactiveExitTimestamp": "Thu 2024-02-22 12:56:53 UTC", "InactiveExitTimestampMonotonic": "2029830866", "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": "31267", "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": "basic.target -.mount 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 12:56:53 UTC", "WatchdogTimestampMonotonic": "2029830842", "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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1325 Thursday 22 February 2024 12:57:18 +0000 (0:00:00.734) 0:02:24.894 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1336 Thursday 22 February 2024 12:57:18 +0000 (0:00:00.023) 0:02:24.917 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:168 Thursday 22 February 2024 12:57:18 +0000 (0:00:00.020) 0:02:24.937 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:8 Thursday 22 February 2024 12:57:18 +0000 (0:00:00.208) 0:02:25.146 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:23 Thursday 22 February 2024 12:57:19 +0000 (0:00:00.021) 0:02:25.167 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:35 Thursday 22 February 2024 12:57:19 +0000 (0:00:00.018) 0:02:25.186 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:39 Thursday 22 February 2024 12:57:19 +0000 (0:00:00.087) 0:02:25.273 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:55 Thursday 22 February 2024 12:57:19 +0000 (0:00:00.022) 0:02:25.295 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:60 Thursday 22 February 2024 12:57:19 +0000 (0:00:00.020) 0:02:25.316 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:70 Thursday 22 February 2024 12:57:19 +0000 (0:00:00.021) 0:02:25.337 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:75 Thursday 22 February 2024 12:57:19 +0000 (0:00:00.022) 0:02:25.359 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:85 Thursday 22 February 2024 12:57:19 +0000 (0:00:00.025) 0:02:25.385 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 12:57:19 +0000 (0:00:00.037) 0:02:25.422 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:57:18 UTC", "ActiveEnterTimestampMonotonic": "2054734241", "ActiveExitTimestamp": "Thu 2024-02-22 12:57:18 UTC", "ActiveExitTimestampMonotonic": "2054229425", "ActiveState": "active", "After": "network.target system.slice basic.target auditd.service systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:57:18 UTC", "AssertTimestampMonotonic": "2054733403", "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 12:57:18 UTC", "ConditionTimestampMonotonic": "2054733401", "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": "32121", "ExecMainStartTimestamp": "Thu 2024-02-22 12:57:18 UTC", "ExecMainStartTimestampMonotonic": "2054734156", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 12:57:18 UTC] ; stop_time=[n/a] ; pid=32121 ; 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 12:57:18 UTC", "InactiveEnterTimestampMonotonic": "2054732570", "InactiveExitTimestamp": "Thu 2024-02-22 12:57:18 UTC", "InactiveExitTimestampMonotonic": "2054734241", "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": "32121", "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": "basic.target -.mount 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 12:57:18 UTC", "WatchdogTimestampMonotonic": "2054734208", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 12:57:19 +0000 (0:00:00.227) 0:02:25.650 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003601", "end": "2024-02-22 12:57:19.622238", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:19.618637" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 12:57:19 +0000 (0:00:00.142) 0:02:25.793 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003700", "end": "2024-02-22 12:57:19.765785", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:19.762085" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 12:57:19 +0000 (0:00:00.145) 0:02:25.938 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:93 Thursday 22 February 2024 12:57:19 +0000 (0:00:00.031) 0:02:25.969 ***** 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": 6066, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:99 Thursday 22 February 2024 12:57:22 +0000 (0:00:02.182) 0:02:28.152 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.031639", "end": "2024-02-22 12:57:22.151419", "rc": 0, "start": "2024-02-22 12:57:22.119780" } 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-unconf4iy38aet/tests/tasks/verify_settings.yml:118 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.174) 0:02:28.326 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:122 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.022) 0:02:28.349 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:129 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.021) 0:02:28.371 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:140 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.021) 0:02:28.393 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:145 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.100) 0:02:28.494 ***** 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-unconf4iy38aet/tests/tasks/verify_settings.yml:150 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.021) 0:02:28.515 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:156 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.020) 0:02:28.536 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:162 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.021) 0:02:28.558 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:172 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.020) 0:02:28.579 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlscert] ************************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.036) 0:02:28.616 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004375", "end": "2024-02-22 12:57:22.581271", "rc": 0, "start": "2024-02-22 12:57:22.576896" } 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-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.137) 0:02:28.753 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.032) 0:02:28.786 ***** 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-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.028) 0:02:28.814 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:183 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.021) 0:02:28.836 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlskey] ************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.038) 0:02:28.875 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004577", "end": "2024-02-22 12:57:22.842225", "rc": 0, "start": "2024-02-22 12:57:22.837648" } 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-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.139) 0:02:29.015 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.031) 0:02:29.046 ***** 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-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.025) 0:02:29.072 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:195 Thursday 22 February 2024 12:57:22 +0000 (0:00:00.021) 0:02:29.094 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting tlsprotocols] ******************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:57:23 +0000 (0:00:00.112) 0:02:29.206 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004438", "end": "2024-02-22 12:57:23.173489", "rc": 0, "start": "2024-02-22 12:57:23.169051" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:57:23 +0000 (0:00:00.139) 0:02:29.346 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:57:23 +0000 (0:00:00.032) 0:02:29.379 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:57:23 +0000 (0:00:00.024) 0:02:29.404 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:203 Thursday 22 February 2024 12:57:23 +0000 (0:00:00.022) 0:02:29.426 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting forceencryption] **************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 12:57:23 +0000 (0:00:00.047) 0:02:29.474 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004518", "end": "2024-02-22 12:57:23.447756", "rc": 0, "start": "2024-02-22 12:57:23.443238" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 12:57:23 +0000 (0:00:00.146) 0:02:29.620 ***** 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-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:57:23 +0000 (0:00:00.027) 0:02:29.647 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:57:23 +0000 (0:00:00.030) 0:02:29.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:210 Thursday 22 February 2024 12:57:23 +0000 (0:00:00.022) 0:02:29.700 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:175 Thursday 22 February 2024 12:57:23 +0000 (0:00:00.020) 0:02:29.721 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.501) 0:02:30.222 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.032) 0:02:30.255 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.025) 0:02:30.280 ***** 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-unconf4iy38aet/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-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.035) 0:02:30.316 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.019) 0:02:30.335 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.019) 0:02:30.355 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.018) 0:02:30.374 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.018) 0:02:30.392 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.018) 0:02:30.411 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.106) 0:02:30.517 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.021) 0:02:30.539 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.020) 0:02:30.560 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.019) 0:02:30.579 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.024) 0:02:30.604 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.019) 0:02:30.624 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.019) 0:02:30.643 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.019) 0:02:30.662 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.019) 0:02:30.682 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 12:57:24 +0000 (0:00:00.020) 0:02:30.703 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Thursday 22 February 2024 12:57:25 +0000 (0:00:00.925) 0:02:31.629 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 22 February 2024 12:57:25 +0000 (0:00:00.058) 0:02:31.687 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Thursday 22 February 2024 12:57:25 +0000 (0:00:00.021) 0:02:31.709 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Thursday 22 February 2024 12:57:25 +0000 (0:00:00.022) 0:02:31.731 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Thursday 22 February 2024 12:57:25 +0000 (0:00:00.039) 0:02:31.771 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Thursday 22 February 2024 12:57:25 +0000 (0:00:00.305) 0:02:32.076 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Thursday 22 February 2024 12:57:25 +0000 (0:00:00.022) 0:02:32.099 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 12:57:25 +0000 (0:00:00.021) 0:02:32.120 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Thursday 22 February 2024 12:57:25 +0000 (0:00:00.021) 0:02:32.142 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:225 Thursday 22 February 2024 12:57:26 +0000 (0:00:00.025) 0:02:32.168 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:230 Thursday 22 February 2024 12:57:26 +0000 (0:00:00.383) 0:02:32.551 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Thursday 22 February 2024 12:57:26 +0000 (0:00:00.339) 0:02:32.891 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:246 Thursday 22 February 2024 12:57:26 +0000 (0:00:00.028) 0:02:32.919 ***** 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.005319", "end": "2024-02-22 12:57:26.887525", "rc": 0, "start": "2024-02-22 12:57:26.882206" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:261 Thursday 22 February 2024 12:57:26 +0000 (0:00:00.140) 0:02:33.059 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:265 Thursday 22 February 2024 12:57:27 +0000 (0:00:00.696) 0:02:33.756 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:274 Thursday 22 February 2024 12:57:27 +0000 (0:00:00.026) 0:02:33.783 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:290 Thursday 22 February 2024 12:57:27 +0000 (0:00:00.020) 0:02:33.803 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:315 Thursday 22 February 2024 12:57:27 +0000 (0:00:00.019) 0:02:33.822 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 22 February 2024 12:57:27 +0000 (0:00:00.024) 0:02:33.847 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:342 Thursday 22 February 2024 12:57:27 +0000 (0:00:00.094) 0:02:33.942 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 22 February 2024 12:57:27 +0000 (0:00:00.021) 0:02:33.963 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 22 February 2024 12:57:28 +0000 (0:00:00.335) 0:02:34.298 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:23:24 UTC", "ActiveEnterTimestampMonotonic": "20669125", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service system.slice basic.target dbus.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:23:23 UTC", "AssertTimestampMonotonic": "19503351", "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 12:23:23 UTC", "ConditionTimestampMonotonic": "19503349", "Conflicts": "cpupower.service shutdown.target", "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": "875", "ExecMainStartTimestamp": "Thu 2024-02-22 12:23:23 UTC", "ExecMainStartTimestampMonotonic": "19503873", "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 12:23:23 UTC", "InactiveExitTimestampMonotonic": "19503912", "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": "875", "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": "dbus.service basic.target polkit.service 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 12:23:24 UTC", "WatchdogTimestampMonotonic": "20669031", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 22 February 2024 12:57:28 +0000 (0:00:00.208) 0:02:34.507 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.092955", "end": "2024-02-22 12:57:28.556983", "rc": 0, "start": "2024-02-22 12:57:28.464028" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 22 February 2024 12:57:28 +0000 (0:00:00.222) 0:02:34.729 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 22 February 2024 12:57:28 +0000 (0:00:00.021) 0:02:34.750 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 22 February 2024 12:57:28 +0000 (0:00:00.020) 0:02:34.771 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 22 February 2024 12:57:28 +0000 (0:00:00.021) 0:02:34.792 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 22 February 2024 12:57:28 +0000 (0:00:00.139) 0:02:34.932 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 22 February 2024 12:57:29 +0000 (0:00:00.337) 0:02:35.270 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 22 February 2024 12:57:29 +0000 (0:00:00.022) 0:02:35.293 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 22 February 2024 12:57:29 +0000 (0:00:00.021) 0:02:35.314 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:449 Thursday 22 February 2024 12:57:29 +0000 (0:00:00.020) 0:02:35.335 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:456 Thursday 22 February 2024 12:57:29 +0000 (0:00:00.020) 0:02:35.355 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:464 Thursday 22 February 2024 12:57:29 +0000 (0:00:00.020) 0:02:35.376 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:486 Thursday 22 February 2024 12:57:29 +0000 (0:00:00.095) 0:02:35.472 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Thursday 22 February 2024 12:57:29 +0000 (0:00:00.021) 0:02:35.493 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:512 Thursday 22 February 2024 12:57:29 +0000 (0:00:00.020) 0:02:35.514 ***** 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.005700", "end": "2024-02-22 12:57:29.482491", "rc": 0, "start": "2024-02-22 12:57:29.476791" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:525 Thursday 22 February 2024 12:57:29 +0000 (0:00:00.139) 0:02:35.654 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:532 Thursday 22 February 2024 12:57:29 +0000 (0:00:00.022) 0:02:35.676 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:538 Thursday 22 February 2024 12:57:30 +0000 (0:00:00.927) 0:02:36.604 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:558 Thursday 22 February 2024 12:57:30 +0000 (0:00:00.024) 0:02:36.628 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Thursday 22 February 2024 12:57:30 +0000 (0:00:00.021) 0:02:36.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 12:57:30 +0000 (0:00:00.022) 0:02:36.673 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:584 Thursday 22 February 2024 12:57:30 +0000 (0:00:00.020) 0:02:36.694 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:57:30 +0000 (0:00:00.034) 0:02:36.728 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003105", "end": "2024-02-22 12:57:30.691581", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:30.688476" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:57:30 +0000 (0:00:00.133) 0:02:36.862 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049055", "end": "2024-02-22 12:57:30.876321", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:30.827266" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:57:30 +0000 (0:00:00.191) 0:02:37.053 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.118) 0:02:37.172 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:610 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.022) 0:02:37.195 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:617 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.022) 0:02:37.217 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.022) 0:02:37.240 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:633 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.021) 0:02:37.261 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.021) 0:02:37.282 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.020) 0:02:37.303 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:654 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.020) 0:02:37.323 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.019) 0:02:37.343 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:678 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.018) 0:02:37.362 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.020) 0:02:37.382 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:697 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.020) 0:02:37.403 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:715 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.025) 0:02:37.429 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.037) 0:02:37.467 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003259", "end": "2024-02-22 12:57:31.433191", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:31.429932" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.137) 0:02:37.604 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.027) 0:02:37.632 ***** 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.048897", "end": "2024-02-22 12:57:31.647861", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:31.598964" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.284) 0:02:37.916 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.039) 0:02:37.956 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003276", "end": "2024-02-22 12:57:31.920815", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:31.917539" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.140) 0:02:38.096 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:57:31 +0000 (0:00:00.027) 0:02:38.124 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.049017", "end": "2024-02-22 12:57:32.138203", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:32.089186" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:733 Thursday 22 February 2024 12:57:32 +0000 (0:00:00.191) 0:02:38.315 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:57:32 +0000 (0:00:00.044) 0:02:38.360 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003153", "end": "2024-02-22 12:57:32.326509", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:32.323356" } STDOUT: tlsprotocols = 1.2 TASK [linux-system-roles.mssql : Configure the setting network tlsprotocols] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:57:32 +0000 (0:00:00.140) 0:02:38.500 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:57:32 +0000 (0:00:00.026) 0:02:38.526 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.048995", "end": "2024-02-22 12:57:32.540052", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:32.491057" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:740 Thursday 22 February 2024 12:57:32 +0000 (0:00:00.186) 0:02:38.713 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 12:57:32 +0000 (0:00:00.041) 0:02:38.754 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003265", "end": "2024-02-22 12:57:32.718532", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:32.715267" } STDOUT: forceencryption = 1 TASK [linux-system-roles.mssql : Configure the setting network forceencryption] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 12:57:32 +0000 (0:00:00.137) 0:02:38.891 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 12:57:32 +0000 (0:00:00.025) 0:02:38.917 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.049409", "end": "2024-02-22 12:57:32.929560", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:32.880151" } 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Thursday 22 February 2024 12:57:32 +0000 (0:00:00.186) 0:02:39.103 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:757 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.098) 0:02:39.202 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:765 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.021) 0:02:39.223 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:772 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.019) 0:02:39.243 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.021) 0:02:39.265 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:788 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.022) 0:02:39.287 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.021) 0:02:39.309 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:810 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.020) 0:02:39.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 : Get SPNs for the principal] ******************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.020) 0:02:39.350 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:827 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.020) 0:02:39.370 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.019) 0:02:39.390 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.021) 0:02:39.412 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:854 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.022) 0:02:39.434 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:860 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.024) 0:02:39.458 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:886 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.022) 0:02:39.481 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:907 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.021) 0:02:39.502 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.023) 0:02:39.526 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:925 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.020) 0:02:39.546 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:931 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.020) 0:02:39.567 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:949 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.019) 0:02:39.586 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:964 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.096) 0:02:39.682 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:984 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.021) 0:02:39.704 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1037 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.021) 0:02:39.725 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1044 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.020) 0:02:39.745 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.019) 0:02:39.765 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1062 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.020) 0:02:39.785 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1068 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.019) 0:02:39.804 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.024) 0:02:39.829 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.019) 0:02:39.848 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1093 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.019) 0:02:39.868 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.026) 0:02:39.895 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.019) 0:02:39.914 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1139 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.019) 0:02:39.934 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.019) 0:02:39.953 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1158 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.019) 0:02:39.973 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.019) 0:02:39.993 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1182 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.018) 0:02:40.012 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1195 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.020) 0:02:40.032 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1202 Thursday 22 February 2024 12:57:33 +0000 (0:00:00.018) 0:02:40.051 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 12:57:34 +0000 (0:00:00.111) 0:02:40.162 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1218 Thursday 22 February 2024 12:57:34 +0000 (0:00:00.021) 0:02:40.184 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Thursday 22 February 2024 12:57:34 +0000 (0:00:00.021) 0:02:40.206 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1237 Thursday 22 February 2024 12:57:34 +0000 (0:00:00.030) 0:02:40.236 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1246 Thursday 22 February 2024 12:57:34 +0000 (0:00:00.022) 0:02:40.259 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1253 Thursday 22 February 2024 12:57:34 +0000 (0:00:00.022) 0:02:40.281 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1259 Thursday 22 February 2024 12:57:34 +0000 (0:00:00.020) 0:02:40.302 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 12:57:34 +0000 (0:00:00.021) 0:02:40.323 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1280 Thursday 22 February 2024 12:57:34 +0000 (0:00:00.024) 0:02:40.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 [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1292 Thursday 22 February 2024 12:57:34 +0000 (0:00:00.025) 0:02:40.374 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Thursday 22 February 2024 12:57:34 +0000 (0:00:00.025) 0:02:40.399 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 22 February 2024 12:57:34 +0000 (0:00:00.022) 0:02:40.421 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1312 Thursday 22 February 2024 12:57:34 +0000 (0:00:00.022) 0:02:40.444 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 22 February 2024 12:57:34 +0000 (0:00:00.159) 0:02:40.603 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:57:18 UTC", "ActiveEnterTimestampMonotonic": "2054734241", "ActiveExitTimestamp": "Thu 2024-02-22 12:57:18 UTC", "ActiveExitTimestampMonotonic": "2054229425", "ActiveState": "active", "After": "network.target system.slice basic.target auditd.service systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:57:18 UTC", "AssertTimestampMonotonic": "2054733403", "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 12:57:18 UTC", "ConditionTimestampMonotonic": "2054733401", "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": "32121", "ExecMainStartTimestamp": "Thu 2024-02-22 12:57:18 UTC", "ExecMainStartTimestampMonotonic": "2054734156", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 12:57:18 UTC] ; stop_time=[n/a] ; pid=32121 ; 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 12:57:18 UTC", "InactiveEnterTimestampMonotonic": "2054732570", "InactiveExitTimestamp": "Thu 2024-02-22 12:57:18 UTC", "InactiveExitTimestampMonotonic": "2054734241", "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": "32121", "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": "basic.target -.mount 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 12:57:18 UTC", "WatchdogTimestampMonotonic": "2054734208", "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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1325 Thursday 22 February 2024 12:57:35 +0000 (0:00:01.054) 0:02:41.658 ***** 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-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1336 Thursday 22 February 2024 12:57:35 +0000 (0:00:00.020) 0:02:41.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tests_tls_2017.yml:26 Thursday 22 February 2024 12:57:35 +0000 (0:00:00.019) 0:02:41.698 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/cleanup.yml:2 Thursday 22 February 2024 12:57:35 +0000 (0:00:00.128) 0:02:41.827 ***** 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-unconf4iy38aet/tests/tasks/cleanup.yml:6 Thursday 22 February 2024 12:57:36 +0000 (0:00:00.980) 0:02:42.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/cleanup.yml:14 Thursday 22 February 2024 12:57:36 +0000 (0:00:00.027) 0:02:42.834 ***** ok: [sut] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/cleanup.yml:18 Thursday 22 February 2024 12:57:36 +0000 (0:00:00.023) 0:02:42.858 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 22 February 2024 12:57:36 +0000 (0:00:00.057) 0:02:42.915 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/.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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 22 February 2024 12:57:36 +0000 (0:00:00.037) 0:02:42.952 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Thursday 22 February 2024 12:57:36 +0000 (0:00:00.025) 0:02:42.977 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Thursday 22 February 2024 12:57:36 +0000 (0:00:00.135) 0:02:43.113 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Thursday 22 February 2024 12:57:37 +0000 (0:00:00.102) 0:02:43.216 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 22 February 2024 12:57:37 +0000 (0:00:00.516) 0:02:43.732 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 22 February 2024 12:57:37 +0000 (0:00:00.021) 0:02:43.754 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Thursday 22 February 2024 12:57:37 +0000 (0:00:00.028) 0:02:43.782 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:44:00 UTC", "ActiveEnterTimestampMonotonic": "1256979860", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:44:00 UTC", "AssertTimestampMonotonic": "1256460764", "Before": "multi-user.target network-pre.target shutdown.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 12:44:00 UTC", "ConditionTimestampMonotonic": "1256460762", "Conflicts": "ebtables.service ipset.service shutdown.target iptables.service 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": "12493", "ExecMainStartTimestamp": "Thu 2024-02-22 12:44:00 UTC", "ExecMainStartTimestampMonotonic": "1256462088", "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 12:44:00 UTC", "InactiveExitTimestampMonotonic": "1256462131", "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": "12493", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.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": "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": "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 12:44:00 UTC", "WatchdogTimestampMonotonic": "1256979789", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Thursday 22 February 2024 12:57:37 +0000 (0:00:00.237) 0:02:44.019 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:44:00 UTC", "ActiveEnterTimestampMonotonic": "1256979860", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:44:00 UTC", "AssertTimestampMonotonic": "1256460764", "Before": "multi-user.target network-pre.target shutdown.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 12:44:00 UTC", "ConditionTimestampMonotonic": "1256460762", "Conflicts": "ebtables.service ipset.service shutdown.target iptables.service 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": "12493", "ExecMainStartTimestamp": "Thu 2024-02-22 12:44:00 UTC", "ExecMainStartTimestampMonotonic": "1256462088", "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 12:44:00 UTC", "InactiveExitTimestampMonotonic": "1256462131", "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": "12493", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.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": "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": "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 12:44:00 UTC", "WatchdogTimestampMonotonic": "1256979789", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Thursday 22 February 2024 12:57:38 +0000 (0:00:00.240) 0:02:44.260 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Thursday 22 February 2024 12:57:38 +0000 (0:00:00.026) 0:02:44.286 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.40.226 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Thursday 22 February 2024 12:57:38 +0000 (0:00:00.401) 0:02:44.688 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 22 February 2024 12:57:38 +0000 (0:00:00.023) 0:02:44.711 ***** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Thursday 22 February 2024 12:57:38 +0000 (0:00:00.021) 0:02:44.732 ***** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Thursday 22 February 2024 12:57:38 +0000 (0:00:00.020) 0:02:44.752 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Thursday 22 February 2024 12:57:38 +0000 (0:00:00.022) 0:02:44.775 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Thursday 22 February 2024 12:57:38 +0000 (0:00:00.020) 0:02:44.795 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Thursday 22 February 2024 12:57:38 +0000 (0:00:00.020) 0:02:44.816 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.40.226 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Thursday 22 February 2024 12:57:39 +0000 (0:00:00.386) 0:02:45.202 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Thursday 22 February 2024 12:57:39 +0000 (0:00:00.027) 0:02:45.229 ***** skipping: [sut] => {} TASK [Purge selinux configuration] ********************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/cleanup.yml:26 Thursday 22 February 2024 12:57:39 +0000 (0:00:00.023) 0:02:45.253 ***** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Thursday 22 February 2024 12:57:39 +0000 (0:00:00.057) 0:02:45.310 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/.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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Thursday 22 February 2024 12:57:39 +0000 (0:00:00.038) 0:02:45.348 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Thursday 22 February 2024 12:57:39 +0000 (0:00:00.028) 0:02:45.376 ***** included: /WORKDIR/git-rhel-9-unconf4iy38aet/.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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Thursday 22 February 2024 12:57:39 +0000 (0:00:00.038) 0:02:45.414 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Thursday 22 February 2024 12:57:39 +0000 (0:00:00.134) 0:02:45.549 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:14 Thursday 22 February 2024 12:57:39 +0000 (0:00:00.028) 0:02:45.578 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:23 Thursday 22 February 2024 12:57:39 +0000 (0:00:00.344) 0:02:45.923 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:34 Thursday 22 February 2024 12:57:39 +0000 (0:00:00.021) 0:02:45.944 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:45 Thursday 22 February 2024 12:57:39 +0000 (0:00:00.020) 0:02:45.964 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:53 Thursday 22 February 2024 12:57:39 +0000 (0:00:00.086) 0:02:46.050 ***** ok: [sut] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Thursday 22 February 2024 12:57:40 +0000 (0:00:00.388) 0:02:46.439 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Thursday 22 February 2024 12:57:40 +0000 (0:00:00.021) 0:02:46.460 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Thursday 22 February 2024 12:57:40 +0000 (0:00:00.021) 0:02:46.482 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Thursday 22 February 2024 12:57:40 +0000 (0:00:00.022) 0:02:46.504 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Thursday 22 February 2024 12:57:40 +0000 (0:00:00.017) 0:02:46.522 ***** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Thursday 22 February 2024 12:57:40 +0000 (0:00:00.021) 0:02:46.543 ***** 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.395912", "end": "2024-02-22 12:57:40.903905", "rc": 0, "start": "2024-02-22 12:57:40.507993" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Thursday 22 February 2024 12:57:40 +0000 (0:00:00.532) 0:02:47.076 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Thursday 22 February 2024 12:57:40 +0000 (0:00:00.021) 0:02:47.097 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Thursday 22 February 2024 12:57:40 +0000 (0:00:00.020) 0:02:47.117 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Thursday 22 February 2024 12:57:40 +0000 (0:00:00.020) 0:02:47.138 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Thursday 22 February 2024 12:57:41 +0000 (0:00:00.020) 0:02:47.159 ***** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Thursday 22 February 2024 12:57:41 +0000 (0:00:00.019) 0:02:47.178 ***** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Thursday 22 February 2024 12:57:41 +0000 (0:00:00.020) 0:02:47.198 ***** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Thursday 22 February 2024 12:57:41 +0000 (0:00:00.019) 0:02:47.218 ***** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Thursday 22 February 2024 12:57:41 +0000 (0:00:00.094) 0:02:47.312 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Thursday 22 February 2024 12:57:44 +0000 (0:00:03.142) 0:02:50.454 ***** 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-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Thursday 22 February 2024 12:57:44 +0000 (0:00:00.028) 0:02:50.483 ***** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Thursday 22 February 2024 12:57:44 +0000 (0:00:00.025) 0:02:50.509 ***** TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/cleanup.yml:32 Thursday 22 February 2024 12:57:44 +0000 (0:00:00.026) 0:02:50.536 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/cleanup.yml:40 Thursday 22 February 2024 12:57:44 +0000 (0:00:00.034) 0:02:50.571 ***** 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-unconf4iy38aet/tests/tasks/cleanup.yml:44 Thursday 22 February 2024 12:57:44 +0000 (0:00:00.035) 0:02:50.606 ***** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/cleanup.yml:50 Thursday 22 February 2024 12:57:44 +0000 (0:00:00.361) 0:02:50.967 ***** 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-unconf4iy38aet/tests/tasks/cleanup.yml:63 Thursday 22 February 2024 12:57:47 +0000 (0:00:02.986) 0:02:53.954 ***** 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.007544", "end": "2024-02-22 12:57:47.921089", "rc": 0, "start": "2024-02-22 12:57:47.913545" } 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_133530801574690000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530802580700000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133530801727090000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530801994220000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/system_health_0_133530801397670000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133530802583680000.xel’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/system_health_0_133530801996570000.xel’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530801572250000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530802411710000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530801724730000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530801386320000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530801434500000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133530802165280000.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_133530801438810000.xel’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530802162920000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/system_health_0_133530802414210000.xel’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/log_6.trc’ 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-3344513119-1660199251-2737889346-500/42e7704ae40b0d75de00736cc66b813a_8ea71225-b72a-4e15-ab9c-1b3d4184d526’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-3344513119-1660199251-2737889346-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/CREDHIST’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3344513119-1660199251-2737889346-500/Preferred’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3344513119-1660199251-2737889346-500/ff5786ba-8672-4634-a5ec-606f1e7104ed’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3344513119-1660199251-2737889346-500’ 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/e85e715b-a109-4e33-84e7-9f927474accf’ 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-unconf4iy38aet/tests/tasks/cleanup.yml:77 Thursday 22 February 2024 12:57:47 +0000 (0:00:00.146) 0:02:54.101 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:01.253968", "end": "2024-02-22 12:57:49.312787", "rc": 0, "start": "2024-02-22 12:57:48.058819" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Thursday 22 February 2024 12:57:49 +0000 (0:00:01.371) 0:02:55.472 ***** changed: [sut] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.694433", "end": "2024-02-22 12:57:51.149237", "rc": 0, "start": "2024-02-22 12:57:49.454804" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=385 changed=62 unreachable=0 failed=0 skipped=826 rescued=0 ignored=0 Thursday 22 February 2024 12:57:51 +0000 (0:00:01.838) 0:02:57.311 ***** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 35.25s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:230 Check if the set password matches the existing password ---------------- 11.05s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:99 --------- linux-system-roles.mssql : Set up MSSQL --------------------------------- 5.41s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:290 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 5.02s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.19s /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Wait for mssql-server to prepare for client connections ----------------- 3.15s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:93 --------- fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 3.14s /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Remove related packages ------------------------------------------------- 2.99s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/cleanup.yml:50 ----------------- fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.96s /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 linux-system-roles.mssql : Gather package facts ------------------------- 2.86s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:532 linux-system-roles.mssql : Gather package facts ------------------------- 2.79s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Wait for mssql-server to prepare for client connections ----------------- 2.18s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:93 --------- Wait for mssql-server to prepare for client connections ----------------- 2.18s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:93 --------- linux-system-roles.mssql : Gather system services facts ----------------- 2.18s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:261 linux-system-roles.mssql : Restart the mssql-server service ------------- 2.01s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 1.84s /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 linux-system-roles.mssql : Restart the mssql-server service ------------- 1.65s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Stop the mssql-server service ------------------------------------------- 1.37s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/cleanup.yml:77 ----------------- Wait for mssql-server to prepare for client connections ----------------- 1.22s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:93 --------- linux-system-roles.mssql : Configure to run as a confined application with SELinux --- 1.17s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:225 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---