# 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_2019.yml *************************************************** 2 plays in /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tests_tls_2019.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tests_tls_2019.yml:4 Thursday 22 February 2024 12:55:31 +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_2019.yml:9 Thursday 22 February 2024 12:55:31 +0000 (0:00:00.009) 0:00:00.022 ***** ok: [sut] META: ran handlers TASK [Run tests_tls with SQL Server 2019] ************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tests_tls_2019.yml:23 Thursday 22 February 2024 12:55:32 +0000 (0:00:00.598) 0:00:00.621 ***** 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:55:32 +0000 (0:00:00.025) 0:00:00.646 ***** 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:55:32 +0000 (0:00:00.015) 0:00:00.662 ***** 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:55:32 +0000 (0:00:00.233) 0:00:00.896 ***** 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:55:32 +0000 (0:00:00.011) 0:00:00.907 ***** 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:55:32 +0000 (0:00:00.016) 0:00:00.924 ***** 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:55:33 +0000 (0:00:00.487) 0:00:01.411 ***** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.Wel_an", "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:55:33 +0000 (0:00:00.192) 0:00:01.604 ***** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.bWOpeX", "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:55:33 +0000 (0:00:00.132) 0:00:01.737 ***** changed: [sut] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.41.30", "-out", "/tmp/ansible.Wel_an", "-keyout", "/tmp/ansible.bWOpeX", "-days", "365" ], "delta": "0:00:00.189670", "end": "2024-02-22 12:55:33.916039", "rc": 0, "start": "2024-02-22 12:55:33.726369" } STDERR: Generating a 2048 bit RSA private key ...........................................................+++ ........................+++ writing new private key to '/tmp/ansible.bWOpeX' ----- 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:55:33 +0000 (0:00:00.369) 0:00:02.107 ***** changed: [sut] => (item=/tmp/ansible.Wel_an) => { "ansible_loop_var": "item", "changed": true, "checksum": "d874631680063c53d4db21df529a25782c703836", "dest": "/tmp/ansible.Wel_an", "item": "/tmp/ansible.Wel_an", "md5sum": "1ee0d8e4103ffe5edb8286776fb1c4fb", "remote_checksum": "d874631680063c53d4db21df529a25782c703836", "remote_md5sum": null } changed: [sut] => (item=/tmp/ansible.bWOpeX) => { "ansible_loop_var": "item", "changed": true, "checksum": "816e93eed24875f9b07ef644ed56b937629576f2", "dest": "/tmp/ansible.bWOpeX", "item": "/tmp/ansible.bWOpeX", "md5sum": "7190b93f6a09a4a96889be0bb36b783b", "remote_checksum": "816e93eed24875f9b07ef644ed56b937629576f2", "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:55:34 +0000 (0:00:00.534) 0:00:02.641 ***** changed: [sut -> localhost] => { "changed": true, "checksum": "816e93eed24875f9b07ef644ed56b937629576f2", "dest": "./ansible.bWOpeX", "gid": 1001, "group": "jenkins", "md5sum": "7190b93f6a09a4a96889be0bb36b783b", "mode": "0600", "owner": "jenkins", "size": 1704, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708606534.476973-22130-210797505544623/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:55:34 +0000 (0:00:00.362) 0:00:03.003 ***** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.Wel_an", "mssql_tls_private_key": "ansible.bWOpeX" }, "changed": false } TASK [Run role] **************************************************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:59 Thursday 22 February 2024 12:55:34 +0000 (0:00:00.017) 0:00:03.020 ***** 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:35 +0000 (0:00:00.175) 0:00:03.196 ***** 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:35 +0000 (0:00:00.013) 0:00:03.209 ***** 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:35 +0000 (0:00:00.014) 0:00:03.224 ***** 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:35 +0000 (0:00:00.023) 0:00:03.247 ***** 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:35 +0000 (0:00:00.008) 0:00:03.256 ***** 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:35 +0000 (0:00:00.008) 0:00:03.264 ***** 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:35 +0000 (0:00:00.008) 0:00:03.273 ***** 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:35 +0000 (0:00:00.008) 0:00:03.281 ***** 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:35 +0000 (0:00:00.008) 0:00:03.289 ***** 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:35 +0000 (0:00:00.008) 0:00:03.297 ***** 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:35 +0000 (0:00:00.008) 0:00:03.305 ***** 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:35 +0000 (0:00:00.008) 0:00:03.313 ***** 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:35 +0000 (0:00:00.015) 0:00:03.329 ***** 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:35 +0000 (0:00:00.014) 0:00:03.344 ***** 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:35 +0000 (0:00:00.011) 0:00:03.355 ***** 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:35 +0000 (0:00:00.009) 0:00:03.365 ***** 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:35 +0000 (0:00:00.008) 0:00:03.373 ***** 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:35 +0000 (0:00:00.010) 0:00:03.384 ***** 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:35 +0000 (0:00:00.017) 0:00:03.401 ***** 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:55:36 +0000 (0:00:01.174) 0:00:04.576 ***** 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:55:36 +0000 (0:00:00.035) 0:00:04.612 ***** 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:55:36 +0000 (0:00:00.016) 0:00:04.628 ***** 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:55:36 +0000 (0:00:00.018) 0:00:04.647 ***** 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:55:36 +0000 (0:00:00.028) 0:00:04.675 ***** 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:55:36 +0000 (0:00:00.427) 0:00:05.103 ***** 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:55:36 +0000 (0:00:00.017) 0:00:05.120 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 12:55:36 +0000 (0:00:00.019) 0:00:05.140 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Thursday 22 February 2024 12:55:36 +0000 (0:00:00.018) 0:00:05.159 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "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:55:37 +0000 (0:00:00.223) 0:00:05.383 ***** 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:55:37 +0000 (0:00:00.420) 0:00:05.803 ***** 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:15.0.4355.3-4 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4355.3-4.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4355.3-4.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4355.3-4.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4355.3-4.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4355.3-4.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4355.3-4.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4355.3-4.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4355.3-4.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---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 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 15.0.4355.3-4 packages-microsoft-com-mssql-server-2019\n 229 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 lsof x86_64 4.87-6.el7 base 331 k\n python3 x86_64 3.6.8-21.el7_9 updates 71 k\n python3-libs x86_64 3.6.8-21.el7_9 updates 7.0 M\n python3-pip noarch 9.0.3-8.el7 base 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 base 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 5/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/12 \n Installing : gdb-7.6.1-120.el7.x86_64 7/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Installing : lsof-4.87-6.el7.x86_64 9/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 10/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Installing : mssql-server-15.0.4355.3-4.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.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 : lsof-4.87-6.el7.x86_64 4/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 5/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 6/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 7/12 \n Verifying : mssql-server-15.0.4355.3-4.x86_64 8/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 9/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 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\nInstalled:\n mssql-server.x86_64 0:15.0.4355.3-4 \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 lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \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:56:20 +0000 (0:00:42.750) 0:00:48.553 ***** 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:20 +0000 (0:00:00.017) 0:00:48.571 ***** 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.006523", "end": "2024-02-22 12:56:20.521838", "rc": 0, "start": "2024-02-22 12:56:20.515315" } 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:20 +0000 (0:00:00.167) 0:00:48.739 ***** 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:21 +0000 (0:00:00.916) 0:00:49.655 ***** 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:56:21 +0000 (0:00:00.027) 0:00:49.683 ***** 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:56:21 +0000 (0:00:00.023) 0:00:49.706 ***** 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:56:27 +0000 (0:00:05.701) 0:00:55.408 ***** 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:27 +0000 (0:00:00.027) 0:00:55.435 ***** 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:27 +0000 (0:00:00.021) 0:00:55.456 ***** 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:27 +0000 (0:00:00.024) 0:00:55.480 ***** 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:27 +0000 (0:00:00.388) 0:00:55.869 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:23:24 UTC", "ActiveEnterTimestampMonotonic": "26784178", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service basic.target network.target dbus.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:23:23 UTC", "AssertTimestampMonotonic": "25644472", "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": "25644470", "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": "883", "ExecMainStartTimestamp": "Thu 2024-02-22 12:23:23 UTC", "ExecMainStartTimestampMonotonic": "25645234", "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": "25645284", "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": "883", "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": "basic.target system.slice dbus.service polkit.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": "26784093", "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:28 +0000 (0:00:00.401) 0:00:56.270 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.112552", "end": "2024-02-22 12:56:28.326667", "rc": 0, "start": "2024-02-22 12:56:28.214115" } 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:28 +0000 (0:00:00.258) 0:00:56.529 ***** 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:28 +0000 (0:00:00.020) 0:00:56.549 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 22 February 2024 12:56:28 +0000 (0:00:00.020) 0:00:56.570 ***** 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:28 +0000 (0:00:00.022) 0:00:56.593 ***** 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:56:28 +0000 (0:00:00.192) 0:00:56.785 ***** 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:56:34 +0000 (0:00:05.480) 0:01:02.265 ***** 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:34 +0000 (0:00:00.041) 0:01:02.307 ***** 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:34 +0000 (0:00:00.019) 0:01:02.327 ***** 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:34 +0000 (0:00:00.020) 0:01:02.347 ***** 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:34 +0000 (0:00:00.019) 0:01:02.366 ***** 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:34 +0000 (0:00:00.022) 0:01:02.389 ***** 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:34 +0000 (0:00:00.023) 0:01:02.412 ***** 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:34 +0000 (0:00:00.019) 0:01:02.431 ***** 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:34 +0000 (0:00:00.020) 0:01:02.451 ***** 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:56:34 +0000 (0:00:00.019) 0:01:02.470 ***** 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:34 +0000 (0:00:00.018) 0:01:02.489 ***** 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:56:34 +0000 (0:00:00.018) 0:01:02.507 ***** 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:34 +0000 (0:00:00.018) 0:01:02.525 ***** 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:34 +0000 (0:00:00.018) 0:01:02.544 ***** 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:34 +0000 (0:00:00.019) 0:01:02.563 ***** 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:34 +0000 (0:00:00.021) 0:01:02.584 ***** 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:34 +0000 (0:00:00.031) 0:01:02.615 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003636", "end": "2024-02-22 12:56:34.563882", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:34.560246" } 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:34 +0000 (0:00:00.148) 0:01:02.764 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.142469", "end": "2024-02-22 12:56:34.856641", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:34.714172" } 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:34 +0000 (0:00:00.325) 0:01:03.089 ***** 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:34 +0000 (0:00:00.021) 0:01:03.111 ***** 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:34 +0000 (0:00:00.025) 0:01:03.136 ***** 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:34 +0000 (0:00:00.021) 0:01:03.158 ***** 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:35 +0000 (0:00:00.033) 0:01:03.192 ***** 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:35 +0000 (0:00:00.022) 0:01:03.214 ***** 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:35 +0000 (0:00:00.023) 0:01:03.237 ***** 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:35 +0000 (0:00:00.019) 0:01:03.257 ***** 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:35 +0000 (0:00:00.020) 0:01:03.277 ***** 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:35 +0000 (0:00:00.029) 0:01:03.307 ***** 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:35 +0000 (0:00:00.019) 0:01:03.327 ***** 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:35 +0000 (0:00:00.020) 0:01:03.347 ***** 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:35 +0000 (0:00:00.023) 0:01:03.371 ***** changed: [sut] => (item=/tmp/ansible.Wel_an) => { "ansible_loop_var": "item", "changed": true, "checksum": "d874631680063c53d4db21df529a25782c703836", "dest": "/etc/pki/tls/certs/ansible.Wel_an", "gid": 994, "group": "mssql", "item": "/tmp/ansible.Wel_an", "md5sum": "1ee0d8e4103ffe5edb8286776fb1c4fb", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/root/.ansible/tmp/ansible-tmp-1708606595.234652-24285-234808683331914/source", "state": "file", "uid": 996 } changed: [sut] => (item=ansible.bWOpeX) => { "ansible_loop_var": "item", "changed": true, "checksum": "816e93eed24875f9b07ef644ed56b937629576f2", "dest": "/etc/pki/tls/private/ansible.bWOpeX", "gid": 994, "group": "mssql", "item": "ansible.bWOpeX", "md5sum": "7190b93f6a09a4a96889be0bb36b783b", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1708606595.6453607-24285-231944098872591/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:56:36 +0000 (0:00:00.864) 0:01:04.235 ***** 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:36 +0000 (0:00:00.063) 0:01:04.299 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003671", "end": "2024-02-22 12:56:36.249490", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:36.245819" } 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:36 +0000 (0:00:00.150) 0:01:04.449 ***** 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.Wel_an" ], "delta": "0:00:00.142869", "end": "2024-02-22 12:56:36.544211", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:36.401342" } 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:36 +0000 (0:00:00.298) 0:01:04.748 ***** 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:36 +0000 (0:00:00.022) 0:01:04.770 ***** 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:36 +0000 (0:00:00.036) 0:01:04.807 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004742", "end": "2024-02-22 12:56:37.755951", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:36.751209" } 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:37 +0000 (0:00:01.149) 0:01:05.957 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.bWOpeX" ], "delta": "0:00:00.142763", "end": "2024-02-22 12:56:38.052056", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:37.909293" } 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:38 +0000 (0:00:00.299) 0:01:06.256 ***** 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:38 +0000 (0:00:00.022) 0:01:06.278 ***** 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:38 +0000 (0:00:00.058) 0:01:06.337 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003560", "end": "2024-02-22 12:56:38.285844", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:38.282284" } 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:38 +0000 (0:00:00.149) 0:01:06.486 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.223228", "end": "2024-02-22 12:56:38.667471", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:38.444243" } 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:38 +0000 (0:00:00.387) 0:01:06.873 ***** 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:38 +0000 (0:00:00.020) 0:01:06.894 ***** 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:38 +0000 (0:00:00.036) 0:01:06.931 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003776", "end": "2024-02-22 12:56:38.881965", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:38.878189" } 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:38 +0000 (0:00:00.152) 0:01:07.083 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:02.789734", "end": "2024-02-22 12:56:41.825810", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:39.036076" } 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:41 +0000 (0:00:02.970) 0:01:10.053 ***** 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:41 +0000 (0:00:00.020) 0:01:10.074 ***** 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:41 +0000 (0:00:00.019) 0:01:10.094 ***** 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:41 +0000 (0:00:00.017) 0:01:10.112 ***** 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:41 +0000 (0:00:00.019) 0:01:10.132 ***** 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:41 +0000 (0:00:00.022) 0:01:10.154 ***** 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:42 +0000 (0:00:00.022) 0:01:10.177 ***** 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:42 +0000 (0:00:00.021) 0:01:10.199 ***** 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:42 +0000 (0:00:00.020) 0:01:10.219 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:42 +0000 (0:00:00.020) 0:01:10.239 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:827 Thursday 22 February 2024 12:56:42 +0000 (0:00:00.020) 0:01:10.260 ***** 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:42 +0000 (0:00:00.020) 0:01:10.280 ***** 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:42 +0000 (0:00:00.018) 0:01:10.299 ***** 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:42 +0000 (0:00:00.017) 0:01:10.317 ***** 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:42 +0000 (0:00:00.018) 0:01:10.335 ***** 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:42 +0000 (0:00:00.017) 0:01:10.353 ***** 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:42 +0000 (0:00:00.018) 0:01:10.371 ***** 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:42 +0000 (0:00:00.019) 0:01:10.390 ***** 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:42 +0000 (0:00:00.018) 0:01:10.409 ***** 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:42 +0000 (0:00:00.055) 0:01:10.464 ***** 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:42 +0000 (0:00:00.019) 0:01:10.484 ***** 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:42 +0000 (0:00:00.022) 0:01:10.507 ***** 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:42 +0000 (0:00:00.019) 0:01:10.526 ***** 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:42 +0000 (0:00:00.019) 0:01:10.546 ***** 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:42 +0000 (0:00:00.020) 0:01:10.567 ***** 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:42 +0000 (0:00:00.019) 0:01:10.586 ***** 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:42 +0000 (0:00:00.019) 0:01:10.606 ***** 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:42 +0000 (0:00:00.017) 0:01:10.624 ***** 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:42 +0000 (0:00:00.023) 0:01:10.647 ***** 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:42 +0000 (0:00:00.017) 0:01:10.665 ***** 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:42 +0000 (0:00:00.018) 0:01:10.683 ***** 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:42 +0000 (0:00:00.026) 0:01:10.709 ***** 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:42 +0000 (0:00:00.019) 0:01:10.729 ***** 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:42 +0000 (0:00:00.018) 0:01:10.748 ***** 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:42 +0000 (0:00:00.020) 0:01:10.769 ***** 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:42 +0000 (0:00:00.020) 0:01:10.789 ***** 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:42 +0000 (0:00:00.019) 0:01:10.809 ***** 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:42 +0000 (0:00:00.019) 0:01:10.828 ***** 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:42 +0000 (0:00:00.044) 0:01:10.873 ***** 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:42 +0000 (0:00:00.019) 0:01:10.892 ***** 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:42 +0000 (0:00:00.018) 0:01:10.911 ***** 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:42 +0000 (0:00:00.018) 0:01:10.930 ***** 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:42 +0000 (0:00:00.019) 0:01:10.949 ***** 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:42 +0000 (0:00:00.028) 0:01:10.978 ***** 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:42 +0000 (0:00:00.019) 0:01:10.998 ***** 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:42 +0000 (0:00:00.019) 0:01:11.017 ***** 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:42 +0000 (0:00:00.018) 0:01:11.035 ***** 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:42 +0000 (0:00:00.020) 0:01:11.056 ***** 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:42 +0000 (0:00:00.022) 0:01:11.078 ***** 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:42 +0000 (0:00:00.020) 0:01:11.099 ***** 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:42 +0000 (0:00:00.019) 0:01:11.118 ***** 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:42 +0000 (0:00:00.018) 0:01:11.137 ***** 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:42 +0000 (0:00:00.019) 0:01:11.157 ***** 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:43 +0000 (0:00:00.242) 0:01:11.399 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:56:27 UTC", "ActiveEnterTimestampMonotonic": "2009206293", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice -.mount auditd.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:56:27 UTC", "AssertTimestampMonotonic": "2009205457", "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:27 UTC", "ConditionTimestampMonotonic": "2009205456", "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": "22615", "ExecMainStartTimestamp": "Thu 2024-02-22 12:56:27 UTC", "ExecMainStartTimestampMonotonic": "2009206223", "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:56:27 UTC", "InactiveExitTimestampMonotonic": "2009206293", "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": "22615", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "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:56:27 UTC", "WatchdogTimestampMonotonic": "2009206270", "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:43 +0000 (0:00:00.505) 0:01:11.905 ***** 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:43 +0000 (0:00:00.019) 0:01:11.924 ***** 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:56:43 +0000 (0:00:00.019) 0:01:11.944 ***** changed: [sut -> localhost] => { "changed": true, "path": "ansible.bWOpeX", "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:56:43 +0000 (0:00:00.167) 0:01:12.112 ***** 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:56:43 +0000 (0:00:00.031) 0:01:12.144 ***** 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:56:44 +0000 (0:00:00.202) 0:01:12.346 ***** 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:56:44 +0000 (0:00:00.148) 0:01:12.495 ***** 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:56:44 +0000 (0:00:00.292) 0:01:12.787 ***** 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:44 +0000 (0:00:00.041) 0:01:12.829 ***** 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:44 +0000 (0:00:00.020) 0:01:12.849 ***** 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:44 +0000 (0:00:00.019) 0:01:12.868 ***** 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:44 +0000 (0:00:00.019) 0:01:12.888 ***** 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:44 +0000 (0:00:00.019) 0:01:12.908 ***** 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:44 +0000 (0:00:00.051) 0:01:12.960 ***** 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:44 +0000 (0:00:00.020) 0:01:12.980 ***** 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:44 +0000 (0:00:00.017) 0:01:12.998 ***** 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:44 +0000 (0:00:00.018) 0:01:13.016 ***** 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:44 +0000 (0:00:00.035) 0:01:13.051 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:56:43 UTC", "ActiveEnterTimestampMonotonic": "2025757050", "ActiveExitTimestamp": "Thu 2024-02-22 12:56:43 UTC", "ActiveExitTimestampMonotonic": "2025521247", "ActiveState": "active", "After": "systemd-journald.socket -.mount network.target system.slice auditd.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:56:43 UTC", "AssertTimestampMonotonic": "2025756122", "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:43 UTC", "ConditionTimestampMonotonic": "2025756121", "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": "23168", "ExecMainStartTimestamp": "Thu 2024-02-22 12:56:43 UTC", "ExecMainStartTimestampMonotonic": "2025756933", "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:43 UTC", "InactiveEnterTimestampMonotonic": "2025755436", "InactiveExitTimestamp": "Thu 2024-02-22 12:56:43 UTC", "InactiveExitTimestampMonotonic": "2025757050", "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": "23168", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 12:56:43 UTC", "WatchdogTimestampMonotonic": "2025756992", "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:45 +0000 (0:00:00.281) 0:01:13.333 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003816", "end": "2024-02-22 12:56:45.285936", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:45.282120" } 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:45 +0000 (0:00:00.152) 0:01:13.486 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004869", "end": "2024-02-22 12:56:45.472471", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:45.467602" } 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:45 +0000 (0:00:00.188) 0:01:13.675 ***** 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:45 +0000 (0:00:00.026) 0:01:13.701 ***** 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": 6600, "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:47 +0000 (0:00:02.246) 0:01:15.948 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.041723", "end": "2024-02-22 12:56:47.936166", "rc": 0, "start": "2024-02-22 12:56:47.894443" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU25) (KB5033688) - 15.0.4355.3 (X64) Jan 30 2024 17:02:22 Copyright (C) 2019 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:47 +0000 (0:00:00.191) 0:01:16.139 ***** 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:47 +0000 (0:00:00.021) 0:01:16.160 ***** 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:48 +0000 (0:00:00.019) 0:01:16.180 ***** 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:48 +0000 (0:00:00.017) 0:01:16.198 ***** 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:48 +0000 (0:00:00.018) 0:01:16.216 ***** 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:48 +0000 (0:00:00.018) 0:01:16.235 ***** 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:48 +0000 (0:00:00.017) 0:01:16.253 ***** 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:48 +0000 (0:00:00.018) 0:01:16.271 ***** 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:48 +0000 (0:00:00.017) 0:01:16.289 ***** 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:48 +0000 (0:00:00.033) 0:01:16.322 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004991", "end": "2024-02-22 12:56:48.271970", "rc": 0, "start": "2024-02-22 12:56:48.266979" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.Wel_an 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:48 +0000 (0:00:00.151) 0:01:16.473 ***** 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:48 +0000 (0:00:00.051) 0:01:16.525 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.Wel_an] ***************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:56:48 +0000 (0:00:00.024) 0:01:16.549 ***** 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:48 +0000 (0:00:00.022) 0:01:16.571 ***** 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:48 +0000 (0:00:00.036) 0:01:16.608 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004886", "end": "2024-02-22 12:56:48.556842", "rc": 0, "start": "2024-02-22 12:56:48.551956" } STDOUT: tlskey = /etc/pki/tls/private/ansible.bWOpeX 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:48 +0000 (0:00:00.149) 0:01:16.758 ***** 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:48 +0000 (0:00:00.030) 0:01:16.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.bWOpeX] *************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:56:48 +0000 (0:00:00.023) 0:01:16.811 ***** 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:48 +0000 (0:00:00.019) 0:01:16.831 ***** 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:48 +0000 (0:00:00.035) 0:01:16.866 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004992", "end": "2024-02-22 12:56:48.817062", "rc": 0, "start": "2024-02-22 12:56:48.812070" } 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:48 +0000 (0:00:00.160) 0:01:17.026 ***** 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:48 +0000 (0:00:00.030) 0:01:17.056 ***** 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:48 +0000 (0:00:00.022) 0:01:17.079 ***** 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:48 +0000 (0:00:00.021) 0:01:17.101 ***** 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:48 +0000 (0:00:00.038) 0:01:17.140 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004935", "end": "2024-02-22 12:56:49.089576", "rc": 0, "start": "2024-02-22 12:56:49.084641" } 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:49 +0000 (0:00:00.185) 0:01:17.325 ***** 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:49 +0000 (0:00:00.025) 0:01:17.350 ***** 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:49 +0000 (0:00:00.029) 0:01:17.380 ***** 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:49 +0000 (0:00:00.022) 0:01:17.403 ***** 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:56:49 +0000 (0:00:00.023) 0:01:17.426 ***** 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:49 +0000 (0:00:00.101) 0:01:17.528 ***** 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:49 +0000 (0:00:00.030) 0:01:17.559 ***** 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:49 +0000 (0:00:00.024) 0:01:17.583 ***** 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:49 +0000 (0:00:00.040) 0:01:17.623 ***** 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:49 +0000 (0:00:00.019) 0:01:17.643 ***** 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:49 +0000 (0:00:00.023) 0:01:17.667 ***** 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:49 +0000 (0:00:00.023) 0:01:17.690 ***** 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:49 +0000 (0:00:00.058) 0:01:17.749 ***** 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:49 +0000 (0:00:00.022) 0:01:17.771 ***** 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:49 +0000 (0:00:00.025) 0:01:17.796 ***** 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:49 +0000 (0:00:00.019) 0:01:17.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:56:49 +0000 (0:00:00.021) 0:01:17.837 ***** 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:49 +0000 (0:00:00.024) 0:01:17.861 ***** 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:49 +0000 (0:00:00.024) 0:01:17.886 ***** 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:49 +0000 (0:00:00.020) 0:01:17.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:56:49 +0000 (0:00:00.019) 0:01:17.926 ***** 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:49 +0000 (0:00:00.018) 0:01:17.944 ***** 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:49 +0000 (0:00:00.017) 0:01:17.962 ***** 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:49 +0000 (0:00:00.020) 0:01:17.983 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Thursday 22 February 2024 12:56:50 +0000 (0:00:01.039) 0:01:19.023 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 22 February 2024 12:56:50 +0000 (0:00:00.066) 0:01:19.089 ***** 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:50 +0000 (0:00:00.021) 0:01:19.111 ***** 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:50 +0000 (0:00:00.023) 0:01:19.134 ***** 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:50 +0000 (0:00:00.039) 0:01:19.174 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Thursday 22 February 2024 12:56:51 +0000 (0:00:00.350) 0:01:19.525 ***** 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:51 +0000 (0:00:00.026) 0:01:19.551 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 12:56:51 +0000 (0:00:00.027) 0:01:19.578 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Thursday 22 February 2024 12:56:51 +0000 (0:00:00.021) 0:01:19.600 ***** 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:51 +0000 (0:00:00.024) 0:01:19.624 ***** 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:51 +0000 (0:00:00.432) 0:01:20.057 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4355.3-4.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:52 +0000 (0:00:00.380) 0:01:20.437 ***** 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:52 +0000 (0:00:00.033) 0:01:20.471 ***** 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.005905", "end": "2024-02-22 12:56:52.430079", "rc": 0, "start": "2024-02-22 12:56:52.424174" } 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:52 +0000 (0:00:00.159) 0:01:20.631 ***** 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:53 +0000 (0:00:00.848) 0:01:21.479 ***** 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:53 +0000 (0:00:00.026) 0:01:21.506 ***** 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:53 +0000 (0:00:00.018) 0:01:21.525 ***** 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:53 +0000 (0:00:00.018) 0:01:21.543 ***** 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:53 +0000 (0:00:00.036) 0:01:21.580 ***** 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:53 +0000 (0:00:00.022) 0:01:21.602 ***** 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:53 +0000 (0:00:00.020) 0:01:21.623 ***** 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:53 +0000 (0:00:00.374) 0:01:21.997 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:23:24 UTC", "ActiveEnterTimestampMonotonic": "26784178", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket systemd-sysctl.service network.target basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:23:23 UTC", "AssertTimestampMonotonic": "25644472", "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": "25644470", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "883", "ExecMainStartTimestamp": "Thu 2024-02-22 12:23:23 UTC", "ExecMainStartTimestampMonotonic": "25645234", "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": "25645284", "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": "883", "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 polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 12:23:24 UTC", "WatchdogTimestampMonotonic": "26784093", "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:54 +0000 (0:00:00.231) 0:01:22.228 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.105316", "end": "2024-02-22 12:56:54.279341", "rc": 0, "start": "2024-02-22 12:56:54.174025" } 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:54 +0000 (0:00:00.254) 0:01:22.483 ***** 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:54 +0000 (0:00:00.022) 0:01:22.505 ***** 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:54 +0000 (0:00:00.056) 0:01:22.562 ***** 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:54 +0000 (0:00:00.020) 0:01:22.582 ***** 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:54 +0000 (0:00:00.152) 0:01:22.735 ***** 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:54 +0000 (0:00:00.376) 0:01:23.112 ***** 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:54 +0000 (0:00:00.024) 0:01:23.136 ***** 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:54 +0000 (0:00:00.023) 0:01:23.159 ***** 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:55 +0000 (0:00:00.023) 0:01:23.183 ***** 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:55 +0000 (0:00:00.024) 0:01:23.208 ***** 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:55 +0000 (0:00:00.022) 0:01:23.230 ***** 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:55 +0000 (0:00:00.023) 0:01:23.253 ***** 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:55 +0000 (0:00:00.022) 0:01:23.276 ***** 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:55 +0000 (0:00:00.020) 0:01:23.297 ***** 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.006448", "end": "2024-02-22 12:56:55.256093", "rc": 0, "start": "2024-02-22 12:56:55.249645" } 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:55 +0000 (0:00:00.159) 0:01:23.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:532 Thursday 22 February 2024 12:56:55 +0000 (0:00:00.022) 0:01:23.479 ***** 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:56 +0000 (0:00:01.061) 0:01:24.540 ***** 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:56 +0000 (0:00:00.023) 0:01:24.564 ***** 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:56 +0000 (0:00:00.031) 0:01:24.595 ***** 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:56 +0000 (0:00:00.023) 0:01:24.619 ***** 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:56 +0000 (0:00:00.021) 0:01:24.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:56:56 +0000 (0:00:00.038) 0:01:24.679 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003731", "end": "2024-02-22 12:56:56.630226", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:56:56.626495" } 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:56 +0000 (0:00:00.153) 0:01:24.832 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.145556", "end": "2024-02-22 12:56:56.932177", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:56.786621" } 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:56 +0000 (0:00:00.307) 0:01:25.140 ***** 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:56 +0000 (0:00:00.020) 0:01:25.161 ***** 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:57 +0000 (0:00:00.021) 0:01:25.183 ***** 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:57 +0000 (0:00:00.021) 0:01:25.204 ***** 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:57 +0000 (0:00:00.063) 0:01:25.268 ***** 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:57 +0000 (0:00:00.021) 0:01:25.289 ***** 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:57 +0000 (0:00:00.021) 0:01:25.310 ***** 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:57 +0000 (0:00:00.026) 0:01:25.336 ***** 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:57 +0000 (0:00:00.020) 0:01:25.357 ***** 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:57 +0000 (0:00:00.023) 0:01:25.380 ***** 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:57 +0000 (0:00:00.021) 0:01:25.401 ***** 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:57 +0000 (0:00:00.029) 0:01:25.431 ***** 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:57 +0000 (0:00:00.028) 0:01:25.460 ***** skipping: [sut] => (item=/tmp/ansible.Wel_an) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.Wel_an", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ansible.bWOpeX) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.bWOpeX", "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:57 +0000 (0:00:00.027) 0:01:25.487 ***** 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:57 +0000 (0:00:00.069) 0:01:25.556 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003713", "end": "2024-02-22 12:56:57.542124", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:57.538411" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.Wel_an 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:57 +0000 (0:00:00.220) 0:01:25.777 ***** 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:57 +0000 (0:00:00.049) 0:01:25.827 ***** 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.142795", "end": "2024-02-22 12:56:57.950387", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:57.807592" } 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:57 +0000 (0:00:00.339) 0:01:26.166 ***** 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:58 +0000 (0:00:00.050) 0:01:26.217 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003823", "end": "2024-02-22 12:56:58.170468", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:58.166645" } STDOUT: tlskey = /etc/pki/tls/private/ansible.bWOpeX 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:58 +0000 (0:00:00.189) 0:01:26.406 ***** 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:58 +0000 (0:00:00.032) 0:01:26.438 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.142183", "end": "2024-02-22 12:56:58.529524", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:58.387341" } 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:58 +0000 (0:00:00.295) 0:01:26.734 ***** 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:58 +0000 (0:00:00.038) 0:01:26.773 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003730", "end": "2024-02-22 12:56:58.726223", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:58.722493" } 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:58 +0000 (0:00:00.154) 0:01:26.928 ***** 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:58 +0000 (0:00:00.038) 0:01:26.967 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.141709", "end": "2024-02-22 12:56:59.059216", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:58.917507" } 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:59 +0000 (0:00:00.295) 0:01:27.262 ***** 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:59 +0000 (0:00:00.040) 0:01:27.302 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003737", "end": "2024-02-22 12:56:59.252593", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:59.248856" } 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:59 +0000 (0:00:00.152) 0:01:27.455 ***** 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:59 +0000 (0:00:00.027) 0:01:27.482 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.142263", "end": "2024-02-22 12:56:59.573946", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:56:59.431683" } 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:59 +0000 (0:00:00.294) 0:01:27.777 ***** 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:59 +0000 (0:00:00.020) 0:01:27.797 ***** 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:59 +0000 (0:00:00.050) 0:01:27.848 ***** 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:59 +0000 (0:00:00.020) 0:01:27.869 ***** 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:59 +0000 (0:00:00.023) 0:01:27.893 ***** 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:59 +0000 (0:00:00.026) 0:01:27.919 ***** 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:59 +0000 (0:00:00.024) 0:01:27.944 ***** 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:59 +0000 (0:00:00.025) 0:01:27.969 ***** 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:59 +0000 (0:00:00.023) 0:01:27.993 ***** 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:59 +0000 (0:00:00.023) 0:01:28.016 ***** 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:59 +0000 (0:00:00.021) 0:01:28.037 ***** 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:59 +0000 (0:00:00.018) 0:01:28.056 ***** 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:59 +0000 (0:00:00.018) 0:01:28.075 ***** 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:59 +0000 (0:00:00.018) 0:01:28.093 ***** 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:59 +0000 (0:00:00.018) 0:01:28.112 ***** 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:59 +0000 (0:00:00.018) 0:01:28.130 ***** 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:59 +0000 (0:00:00.020) 0:01:28.151 ***** 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:59 +0000 (0:00:00.021) 0:01:28.172 ***** 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:00 +0000 (0:00:00.020) 0:01:28.193 ***** 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:00 +0000 (0:00:00.025) 0:01:28.218 ***** 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:00 +0000 (0:00:00.021) 0:01:28.240 ***** 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:00 +0000 (0:00:00.050) 0:01:28.290 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1037 Thursday 22 February 2024 12:57:00 +0000 (0:00:00.021) 0:01:28.312 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1044 Thursday 22 February 2024 12:57:00 +0000 (0:00:00.019) 0:01:28.331 ***** 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:00 +0000 (0:00:00.019) 0:01:28.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:57:00 +0000 (0:00:00.018) 0:01:28.368 ***** 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:00 +0000 (0:00:00.018) 0:01:28.387 ***** 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:00 +0000 (0:00:00.023) 0:01:28.411 ***** 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:00 +0000 (0:00:00.018) 0:01:28.430 ***** 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:00 +0000 (0:00:00.020) 0:01:28.450 ***** 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:00 +0000 (0:00:00.027) 0:01:28.478 ***** 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:00 +0000 (0:00:00.020) 0:01:28.498 ***** 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:00 +0000 (0:00:00.018) 0:01:28.517 ***** 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:00 +0000 (0:00:00.020) 0:01:28.537 ***** 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:00 +0000 (0:00:00.018) 0:01:28.555 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Thursday 22 February 2024 12:57:00 +0000 (0:00:00.018) 0:01:28.574 ***** 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:00 +0000 (0:00:00.018) 0:01:28.593 ***** 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:00 +0000 (0:00:00.019) 0:01:28.612 ***** 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:00 +0000 (0:00:00.018) 0:01:28.631 ***** 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:00 +0000 (0:00:00.019) 0:01:28.650 ***** 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:00 +0000 (0:00:00.045) 0:01:28.696 ***** 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:00 +0000 (0:00:00.020) 0:01:28.717 ***** 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:00 +0000 (0:00:00.027) 0:01:28.744 ***** 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:00 +0000 (0:00:00.020) 0:01:28.765 ***** 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:00 +0000 (0:00:00.020) 0:01:28.785 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1259 Thursday 22 February 2024 12:57:00 +0000 (0:00:00.020) 0:01:28.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:57:00 +0000 (0:00:00.019) 0:01:28.825 ***** 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:00 +0000 (0:00:00.029) 0:01:28.854 ***** 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:00 +0000 (0:00:00.019) 0:01:28.873 ***** 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:00 +0000 (0:00:00.018) 0:01:28.891 ***** 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:00 +0000 (0:00:00.021) 0:01:28.913 ***** 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:00 +0000 (0:00:00.019) 0:01:28.933 ***** 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:00 +0000 (0:00:00.199) 0:01:29.132 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:56:43 UTC", "ActiveEnterTimestampMonotonic": "2025757050", "ActiveExitTimestamp": "Thu 2024-02-22 12:56:43 UTC", "ActiveExitTimestampMonotonic": "2025521247", "ActiveState": "active", "After": "systemd-journald.socket -.mount network.target system.slice auditd.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:56:43 UTC", "AssertTimestampMonotonic": "2025756122", "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:43 UTC", "ConditionTimestampMonotonic": "2025756121", "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": "23168", "ExecMainStartTimestamp": "Thu 2024-02-22 12:56:43 UTC", "ExecMainStartTimestampMonotonic": "2025756933", "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:43 UTC", "InactiveEnterTimestampMonotonic": "2025755436", "InactiveExitTimestamp": "Thu 2024-02-22 12:56:43 UTC", "InactiveExitTimestampMonotonic": "2025757050", "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": "23168", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 12:56:43 UTC", "WatchdogTimestampMonotonic": "2025756992", "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:01 +0000 (0:00:00.496) 0:01:29.629 ***** 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:01 +0000 (0:00:00.032) 0:01:29.661 ***** 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:57:01 +0000 (0:00:00.029) 0:01:29.691 ***** 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:01 +0000 (0:00:00.108) 0:01:29.800 ***** 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:01 +0000 (0:00:00.021) 0:01:29.821 ***** 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:01 +0000 (0:00:00.019) 0:01:29.840 ***** 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:01 +0000 (0:00:00.019) 0:01:29.859 ***** 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:01 +0000 (0:00:00.020) 0:01:29.879 ***** 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:01 +0000 (0:00:00.018) 0:01:29.897 ***** 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:01 +0000 (0:00:00.018) 0:01:29.916 ***** 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:01 +0000 (0:00:00.018) 0:01:29.934 ***** 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:01 +0000 (0:00:00.018) 0:01:29.953 ***** 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:01 +0000 (0:00:00.033) 0:01:29.987 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:57:01 UTC", "ActiveEnterTimestampMonotonic": "2043492929", "ActiveExitTimestamp": "Thu 2024-02-22 12:57:01 UTC", "ActiveExitTimestampMonotonic": "2043252043", "ActiveState": "active", "After": "systemd-journald.socket -.mount network.target system.slice auditd.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:57:01 UTC", "AssertTimestampMonotonic": "2043492133", "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:01 UTC", "ConditionTimestampMonotonic": "2043492132", "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": "23920", "ExecMainStartTimestamp": "Thu 2024-02-22 12:57:01 UTC", "ExecMainStartTimestampMonotonic": "2043492814", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 12:57:01 UTC] ; stop_time=[n/a] ; pid=23920 ; 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:01 UTC", "InactiveEnterTimestampMonotonic": "2043490696", "InactiveExitTimestamp": "Thu 2024-02-22 12:57:01 UTC", "InactiveExitTimestampMonotonic": "2043492929", "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": "23920", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 12:57:01 UTC", "WatchdogTimestampMonotonic": "2043492899", "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:02 +0000 (0:00:00.235) 0:01:30.222 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003904", "end": "2024-02-22 12:57:02.173801", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:02.169897" } 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:02 +0000 (0:00:00.151) 0:01:30.373 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003822", "end": "2024-02-22 12:57:02.329174", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:02.325352" } 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:02 +0000 (0:00:00.156) 0:01:30.529 ***** 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:02 +0000 (0:00:00.060) 0:01:30.589 ***** 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": 7502, "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:03 +0000 (0:00:01.161) 0:01:31.751 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:01.563948", "end": "2024-02-22 12:57:05.274057", "rc": 0, "start": "2024-02-22 12:57:03.710109" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU25) (KB5033688) - 15.0.4355.3 (X64) Jan 30 2024 17:02:22 Copyright (C) 2019 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:05 +0000 (0:00:01.730) 0:01:33.481 ***** 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:05 +0000 (0:00:00.023) 0:01:33.505 ***** 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:05 +0000 (0:00:00.020) 0:01:33.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:57:05 +0000 (0:00:00.018) 0:01:33.543 ***** 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:05 +0000 (0:00:00.018) 0:01:33.562 ***** 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:05 +0000 (0:00:00.019) 0:01:33.582 ***** 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:05 +0000 (0:00:00.053) 0:01:33.636 ***** 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:05 +0000 (0:00:00.020) 0:01:33.656 ***** 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:05 +0000 (0:00:00.020) 0:01:33.676 ***** 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:05 +0000 (0:00:00.034) 0:01:33.710 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004878", "end": "2024-02-22 12:57:05.658918", "rc": 0, "start": "2024-02-22 12:57:05.654040" } 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:05 +0000 (0:00:00.149) 0:01:33.860 ***** 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:05 +0000 (0:00:00.028) 0:01:33.889 ***** 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:57:05 +0000 (0:00:00.023) 0:01:33.913 ***** 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:05 +0000 (0:00:00.020) 0:01:33.933 ***** 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:05 +0000 (0:00:00.034) 0:01:33.967 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005120", "end": "2024-02-22 12:57:05.920642", "rc": 0, "start": "2024-02-22 12:57:05.915522" } 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:05 +0000 (0:00:00.163) 0:01:34.131 ***** 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:05 +0000 (0:00:00.034) 0:01:34.166 ***** 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:57:06 +0000 (0:00:00.024) 0:01:34.191 ***** 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:06 +0000 (0:00:00.021) 0:01:34.212 ***** 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:06 +0000 (0:00:00.039) 0:01:34.252 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005088", "end": "2024-02-22 12:57:06.202858", "rc": 0, "start": "2024-02-22 12:57:06.197770" } 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:06 +0000 (0:00:00.182) 0:01:34.434 ***** 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:06 +0000 (0:00:00.028) 0:01:34.463 ***** 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:57:06 +0000 (0:00:00.023) 0:01:34.486 ***** 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:06 +0000 (0:00:00.020) 0:01:34.506 ***** 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:06 +0000 (0:00:00.037) 0:01:34.543 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004999", "end": "2024-02-22 12:57:06.494080", "rc": 0, "start": "2024-02-22 12:57:06.489081" } 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:06 +0000 (0:00:00.159) 0:01:34.703 ***** 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:06 +0000 (0:00:00.024) 0:01:34.728 ***** 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:57:06 +0000 (0:00:00.035) 0:01:34.763 ***** 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:06 +0000 (0:00:00.023) 0:01:34.786 ***** 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:57:06 +0000 (0:00:00.021) 0:01:34.807 ***** changed: [sut] => (item=/etc/pki/tls/certs/ansible.Wel_an) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.Wel_an", "path": "/etc/pki/tls/certs/ansible.Wel_an", "state": "absent" } changed: [sut] => (item=/etc/pki/tls/private/ansible.bWOpeX) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.bWOpeX", "path": "/etc/pki/tls/private/ansible.bWOpeX", "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:57:06 +0000 (0:00:00.337) 0:01:35.145 ***** ok: [sut] => (item=/tmp/ansible.Wel_an) => { "ansible_loop_var": "item", "changed": false, "checksum": "d874631680063c53d4db21df529a25782c703836", "dest": "/tmp/ansible.Wel_an", "gid": 0, "group": "root", "item": "/tmp/ansible.Wel_an", "mode": "0600", "owner": "root", "path": "/tmp/ansible.Wel_an", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1099, "state": "file", "uid": 0 } ok: [sut] => (item=/tmp/ansible.bWOpeX) => { "ansible_loop_var": "item", "changed": false, "checksum": "816e93eed24875f9b07ef644ed56b937629576f2", "dest": "/tmp/ansible.bWOpeX", "gid": 0, "group": "root", "item": "/tmp/ansible.bWOpeX", "mode": "0600", "owner": "root", "path": "/tmp/ansible.bWOpeX", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1704, "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/tests_tls.yml:116 Thursday 22 February 2024 12:57:07 +0000 (0:00:00.732) 0:01:35.878 ***** ok: [sut] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.Wel_an", "mssql_tls_private_key": "ansible.bWOpeX" }, "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:57:07 +0000 (0:00:00.064) 0:01:35.942 ***** 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:07 +0000 (0:00:00.197) 0:01:36.140 ***** 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:08 +0000 (0:00:00.043) 0:01:36.184 ***** 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:08 +0000 (0:00:00.025) 0:01:36.209 ***** 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:08 +0000 (0:00:00.043) 0:01:36.253 ***** 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:08 +0000 (0:00:00.030) 0:01:36.283 ***** 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:08 +0000 (0:00:00.022) 0:01:36.306 ***** 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:08 +0000 (0:00:00.020) 0:01:36.326 ***** 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:08 +0000 (0:00:00.018) 0:01:36.345 ***** 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:08 +0000 (0:00:00.018) 0:01:36.363 ***** 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:08 +0000 (0:00:00.052) 0:01:36.416 ***** 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:08 +0000 (0:00:00.020) 0:01:36.436 ***** 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:08 +0000 (0:00:00.019) 0:01:36.456 ***** 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:08 +0000 (0:00:00.018) 0:01:36.474 ***** 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:08 +0000 (0:00:00.022) 0:01:36.497 ***** 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:08 +0000 (0:00:00.019) 0:01:36.516 ***** 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:08 +0000 (0:00:00.018) 0:01:36.534 ***** 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:08 +0000 (0:00:00.018) 0:01:36.553 ***** 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:08 +0000 (0:00:00.018) 0:01:36.571 ***** 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:08 +0000 (0:00:00.020) 0:01:36.592 ***** 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:09 +0000 (0:00:01.000) 0:01:37.593 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 22 February 2024 12:57:09 +0000 (0:00:00.056) 0:01:37.649 ***** 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:09 +0000 (0:00:00.055) 0:01:37.705 ***** 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:09 +0000 (0:00:00.022) 0:01:37.727 ***** 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:09 +0000 (0:00:00.038) 0:01:37.766 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Thursday 22 February 2024 12:57:09 +0000 (0:00:00.346) 0:01:38.113 ***** 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:09 +0000 (0:00:00.021) 0:01:38.135 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 12:57:09 +0000 (0:00:00.022) 0:01:38.158 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Thursday 22 February 2024 12:57:10 +0000 (0:00:00.032) 0:01:38.191 ***** 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:10 +0000 (0:00:00.026) 0:01:38.217 ***** 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:10 +0000 (0:00:00.424) 0:01:38.641 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4355.3-4.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:10 +0000 (0:00:00.369) 0:01:39.011 ***** 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:10 +0000 (0:00:00.020) 0:01:39.031 ***** 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.006098", "end": "2024-02-22 12:57:10.981567", "rc": 0, "start": "2024-02-22 12:57:10.975469" } 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:11 +0000 (0:00:00.151) 0:01:39.182 ***** 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:11 +0000 (0:00:00.794) 0:01:39.977 ***** 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:11 +0000 (0:00:00.028) 0:01:40.005 ***** 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:11 +0000 (0:00:00.021) 0:01:40.027 ***** 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:11 +0000 (0:00:00.019) 0:01:40.047 ***** 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:11 +0000 (0:00:00.025) 0:01:40.072 ***** 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:11 +0000 (0:00:00.019) 0:01:40.091 ***** 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:11 +0000 (0:00:00.018) 0:01:40.109 ***** 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:12 +0000 (0:00:00.366) 0:01:40.476 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:23:24 UTC", "ActiveEnterTimestampMonotonic": "26784178", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket systemd-sysctl.service network.target basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:23:23 UTC", "AssertTimestampMonotonic": "25644472", "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": "25644470", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "883", "ExecMainStartTimestamp": "Thu 2024-02-22 12:23:23 UTC", "ExecMainStartTimestampMonotonic": "25645234", "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": "25645284", "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": "883", "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 polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 12:23:24 UTC", "WatchdogTimestampMonotonic": "26784093", "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:12 +0000 (0:00:00.230) 0:01:40.707 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.101814", "end": "2024-02-22 12:57:12.749980", "rc": 0, "start": "2024-02-22 12:57:12.648166" } 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:12 +0000 (0:00:00.243) 0:01:40.951 ***** 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:12 +0000 (0:00:00.020) 0:01:40.971 ***** 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:12 +0000 (0:00:00.020) 0:01:40.991 ***** 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:12 +0000 (0:00:00.056) 0:01:41.048 ***** 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:13 +0000 (0:00:00.157) 0:01:41.206 ***** 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:13 +0000 (0:00:00.376) 0:01:41.583 ***** 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:13 +0000 (0:00:00.023) 0:01:41.607 ***** 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:13 +0000 (0:00:00.021) 0:01:41.628 ***** 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:13 +0000 (0:00:00.022) 0:01:41.650 ***** 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:13 +0000 (0:00:00.020) 0:01:41.671 ***** 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:13 +0000 (0:00:00.023) 0:01:41.695 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:13 +0000 (0:00:00.025) 0:01:41.721 ***** 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:13 +0000 (0:00:00.021) 0:01:41.742 ***** 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:13 +0000 (0:00:00.021) 0:01:41.764 ***** 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.005720", "end": "2024-02-22 12:57:13.715265", "rc": 0, "start": "2024-02-22 12:57:13.709545" } 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:13 +0000 (0:00:00.151) 0:01:41.915 ***** 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:13 +0000 (0:00:00.022) 0:01:41.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 [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:14 +0000 (0:00:01.015) 0:01:42.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 : 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:14 +0000 (0:00:00.023) 0:01:42.977 ***** 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:14 +0000 (0:00:00.019) 0:01:42.997 ***** 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:14 +0000 (0:00:00.022) 0:01:43.020 ***** 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:14 +0000 (0:00:00.022) 0:01:43.042 ***** 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:14 +0000 (0:00:00.035) 0:01:43.077 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003953", "end": "2024-02-22 12:57:15.027858", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:15.023905" } 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:15 +0000 (0:00:00.151) 0:01:43.229 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.144037", "end": "2024-02-22 12:57:15.322581", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:15.178544" } 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:15 +0000 (0:00:00.299) 0:01:43.528 ***** 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:15 +0000 (0:00:00.020) 0:01:43.548 ***** 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:15 +0000 (0:00:00.019) 0:01:43.568 ***** 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:15 +0000 (0:00:00.020) 0:01:43.588 ***** 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:15 +0000 (0:00:00.021) 0:01:43.609 ***** 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:15 +0000 (0:00:00.059) 0:01:43.669 ***** 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:15 +0000 (0:00:00.020) 0:01:43.689 ***** 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:15 +0000 (0:00:00.020) 0:01:43.710 ***** 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:15 +0000 (0:00:00.018) 0:01:43.728 ***** 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:15 +0000 (0:00:00.019) 0:01:43.747 ***** 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:15 +0000 (0:00:00.019) 0:01:43.767 ***** 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:15 +0000 (0:00:00.021) 0:01:43.788 ***** 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:15 +0000 (0:00:00.028) 0:01:43.817 ***** changed: [sut] => (item=/tmp/ansible.Wel_an) => { "ansible_loop_var": "item", "changed": true, "checksum": "d874631680063c53d4db21df529a25782c703836", "dest": "/etc/pki/tls/certs/ansible.Wel_an", "gid": 994, "group": "mssql", "item": "/tmp/ansible.Wel_an", "md5sum": "1ee0d8e4103ffe5edb8286776fb1c4fb", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/tmp/ansible.Wel_an", "state": "file", "uid": 996 } changed: [sut] => (item=/tmp/ansible.bWOpeX) => { "ansible_loop_var": "item", "changed": true, "checksum": "816e93eed24875f9b07ef644ed56b937629576f2", "dest": "/etc/pki/tls/private/ansible.bWOpeX", "gid": 994, "group": "mssql", "item": "/tmp/ansible.bWOpeX", "md5sum": "7190b93f6a09a4a96889be0bb36b783b", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.bWOpeX", "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:57:16 +0000 (0:00:00.458) 0:01:44.276 ***** 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:16 +0000 (0:00:00.039) 0:01:44.315 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003607", "end": "2024-02-22 12:57:16.266456", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:16.262849" } 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:16 +0000 (0:00:00.151) 0:01:44.467 ***** 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.Wel_an" ], "delta": "0:00:00.141934", "end": "2024-02-22 12:57:16.561045", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:16.419111" } 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:16 +0000 (0:00:00.305) 0:01:44.773 ***** 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:16 +0000 (0:00:00.023) 0:01:44.796 ***** 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:16 +0000 (0:00:00.079) 0:01:44.876 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003530", "end": "2024-02-22 12:57:16.825328", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:16.821798" } 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:16 +0000 (0:00:00.151) 0:01:45.028 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.bWOpeX" ], "delta": "0:00:00.143471", "end": "2024-02-22 12:57:17.125605", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:16.982134" } 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:17 +0000 (0:00:00.304) 0:01:45.332 ***** 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:17 +0000 (0:00:00.023) 0:01:45.356 ***** 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:17 +0000 (0:00:00.038) 0:01:45.395 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003669", "end": "2024-02-22 12:57:17.346613", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:17.342944" } 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:17 +0000 (0:00:00.153) 0:01:45.548 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.143131", "end": "2024-02-22 12:57:17.642169", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:17.499038" } 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:17 +0000 (0:00:00.299) 0:01:45.847 ***** 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:17 +0000 (0:00:00.022) 0:01:45.870 ***** 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:17 +0000 (0:00:00.039) 0:01:45.910 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004763", "end": "2024-02-22 12:57:18.861182", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:17.856419" } 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:18 +0000 (0:00:01.152) 0:01:47.062 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.141854", "end": "2024-02-22 12:57:19.156799", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:19.014945" } 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:19 +0000 (0:00:00.304) 0:01:47.366 ***** 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:19 +0000 (0:00:00.024) 0:01:47.391 ***** 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:19 +0000 (0:00:00.024) 0:01:47.416 ***** 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:19 +0000 (0:00:00.023) 0:01:47.439 ***** 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:19 +0000 (0:00:00.027) 0:01:47.466 ***** 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:19 +0000 (0:00:00.026) 0:01:47.493 ***** 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:19 +0000 (0:00:00.023) 0:01:47.516 ***** 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:19 +0000 (0:00:00.023) 0:01:47.539 ***** 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:19 +0000 (0:00:00.021) 0:01:47.561 ***** 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:19 +0000 (0:00:00.023) 0:01:47.584 ***** 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:19 +0000 (0:00:00.022) 0:01:47.607 ***** 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:19 +0000 (0:00:00.020) 0:01:47.628 ***** 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:19 +0000 (0:00:00.021) 0:01:47.649 ***** 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:19 +0000 (0:00:00.020) 0:01:47.669 ***** 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:19 +0000 (0:00:00.020) 0:01:47.690 ***** 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:19 +0000 (0:00:00.020) 0:01:47.711 ***** 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:19 +0000 (0:00:00.055) 0:01:47.766 ***** 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:19 +0000 (0:00:00.020) 0:01:47.787 ***** 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:19 +0000 (0:00:00.018) 0:01:47.806 ***** 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:19 +0000 (0:00:00.021) 0:01:47.827 ***** 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:19 +0000 (0:00:00.020) 0:01:47.847 ***** 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:19 +0000 (0:00:00.021) 0:01:47.869 ***** 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:19 +0000 (0:00:00.019) 0:01:47.888 ***** 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:19 +0000 (0:00:00.019) 0:01:47.908 ***** 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:19 +0000 (0:00:00.019) 0:01:47.928 ***** 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:19 +0000 (0:00:00.018) 0:01:47.946 ***** 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:19 +0000 (0:00:00.023) 0:01:47.970 ***** 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:19 +0000 (0:00:00.026) 0:01:47.996 ***** 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:19 +0000 (0:00:00.027) 0:01:48.024 ***** 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:19 +0000 (0:00:00.020) 0:01:48.044 ***** 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:19 +0000 (0:00:00.019) 0:01:48.064 ***** 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:19 +0000 (0:00:00.026) 0:01:48.090 ***** 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:19 +0000 (0:00:00.018) 0:01:48.109 ***** 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:19 +0000 (0:00:00.018) 0:01:48.128 ***** 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:19 +0000 (0:00:00.018) 0:01:48.147 ***** 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:20 +0000 (0:00:00.064) 0:01:48.212 ***** 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:20 +0000 (0:00:00.021) 0:01:48.234 ***** 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:20 +0000 (0:00:00.019) 0:01:48.253 ***** 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:20 +0000 (0:00:00.020) 0:01:48.274 ***** 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:20 +0000 (0:00:00.018) 0:01:48.292 ***** 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:20 +0000 (0:00:00.019) 0:01:48.312 ***** 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:20 +0000 (0:00:00.021) 0:01:48.334 ***** 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:20 +0000 (0:00:00.020) 0:01:48.354 ***** 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:20 +0000 (0:00:00.027) 0:01:48.381 ***** 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:20 +0000 (0:00:00.020) 0:01:48.402 ***** 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:20 +0000 (0:00:00.022) 0:01:48.425 ***** 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:20 +0000 (0:00:00.020) 0:01:48.445 ***** 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:20 +0000 (0:00:00.021) 0:01:48.466 ***** 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:20 +0000 (0:00:00.023) 0:01:48.490 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [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:20 +0000 (0:00:00.018) 0:01:48.509 ***** 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:20 +0000 (0:00:00.020) 0:01:48.529 ***** 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:20 +0000 (0:00:00.020) 0:01:48.550 ***** 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:20 +0000 (0:00:00.022) 0:01:48.573 ***** 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:20 +0000 (0:00:00.210) 0:01:48.783 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:57:01 UTC", "ActiveEnterTimestampMonotonic": "2043492929", "ActiveExitTimestamp": "Thu 2024-02-22 12:57:01 UTC", "ActiveExitTimestampMonotonic": "2043252043", "ActiveState": "active", "After": "systemd-journald.socket -.mount network.target system.slice auditd.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:57:01 UTC", "AssertTimestampMonotonic": "2043492133", "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:01 UTC", "ConditionTimestampMonotonic": "2043492132", "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": "23920", "ExecMainStartTimestamp": "Thu 2024-02-22 12:57:01 UTC", "ExecMainStartTimestampMonotonic": "2043492814", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 12:57:01 UTC] ; stop_time=[n/a] ; pid=23920 ; 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:01 UTC", "InactiveEnterTimestampMonotonic": "2043490696", "InactiveExitTimestamp": "Thu 2024-02-22 12:57:01 UTC", "InactiveExitTimestampMonotonic": "2043492929", "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": "23920", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 12:57:01 UTC", "WatchdogTimestampMonotonic": "2043492899", "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:21 +0000 (0:00:00.540) 0:01:49.323 ***** 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:21 +0000 (0:00:00.025) 0:01:49.349 ***** 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:57:21 +0000 (0:00:00.021) 0:01:49.370 ***** 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:21 +0000 (0:00:00.124) 0:01:49.495 ***** 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:21 +0000 (0:00:00.020) 0:01:49.515 ***** 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:21 +0000 (0:00:00.019) 0:01:49.534 ***** 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:21 +0000 (0:00:00.019) 0:01:49.554 ***** 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:21 +0000 (0:00:00.019) 0:01:49.574 ***** 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:21 +0000 (0:00:00.019) 0:01:49.593 ***** 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:21 +0000 (0:00:00.018) 0:01:49.612 ***** 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:21 +0000 (0:00:00.018) 0:01:49.630 ***** 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:21 +0000 (0:00:00.054) 0:01:49.685 ***** 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:21 +0000 (0:00:00.035) 0:01:49.720 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:57:21 UTC", "ActiveEnterTimestampMonotonic": "2063199901", "ActiveExitTimestamp": "Thu 2024-02-22 12:57:20 UTC", "ActiveExitTimestampMonotonic": "2062944660", "ActiveState": "active", "After": "systemd-journald.socket -.mount network.target system.slice auditd.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:57:21 UTC", "AssertTimestampMonotonic": "2063199057", "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:21 UTC", "ConditionTimestampMonotonic": "2063199054", "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": "24824", "ExecMainStartTimestamp": "Thu 2024-02-22 12:57:21 UTC", "ExecMainStartTimestampMonotonic": "2063199818", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 12:57:21 UTC] ; stop_time=[n/a] ; pid=24824 ; 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:21 UTC", "InactiveEnterTimestampMonotonic": "2063198476", "InactiveExitTimestamp": "Thu 2024-02-22 12:57:21 UTC", "InactiveExitTimestampMonotonic": "2063199901", "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": "24824", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 12:57:21 UTC", "WatchdogTimestampMonotonic": "2063199875", "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:21 +0000 (0:00:00.234) 0:01:49.954 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004034", "end": "2024-02-22 12:57:21.911125", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:21.907091" } 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:21 +0000 (0:00:00.157) 0:01:50.111 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004050", "end": "2024-02-22 12:57:22.065125", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:22.061075" } 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:22 +0000 (0:00:00.153) 0:01:50.265 ***** 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:22 +0000 (0:00:00.029) 0:01:50.294 ***** 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": 7412, "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:23 +0000 (0:00:01.171) 0:01:51.466 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:01.574651", "end": "2024-02-22 12:57:24.997311", "rc": 0, "start": "2024-02-22 12:57:23.422660" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU25) (KB5033688) - 15.0.4355.3 (X64) Jan 30 2024 17:02:22 Copyright (C) 2019 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:25 +0000 (0:00:01.735) 0:01:53.201 ***** 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:25 +0000 (0:00:00.021) 0:01:53.223 ***** 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:25 +0000 (0:00:00.062) 0:01:53.285 ***** 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:25 +0000 (0:00:00.020) 0:01:53.305 ***** 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:25 +0000 (0:00:00.019) 0:01:53.325 ***** 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:25 +0000 (0:00:00.018) 0:01:53.344 ***** 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:25 +0000 (0:00:00.018) 0:01:53.363 ***** 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:25 +0000 (0:00:00.019) 0:01:53.382 ***** 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:25 +0000 (0:00:00.018) 0:01:53.401 ***** 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:25 +0000 (0:00:00.034) 0:01:53.435 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004935", "end": "2024-02-22 12:57:25.389983", "rc": 0, "start": "2024-02-22 12:57:25.385048" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.Wel_an 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:25 +0000 (0:00:00.155) 0:01:53.591 ***** 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:25 +0000 (0:00:00.028) 0:01:53.620 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.Wel_an] ***************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:57:25 +0000 (0:00:00.024) 0:01:53.644 ***** 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:25 +0000 (0:00:00.021) 0:01:53.665 ***** 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:25 +0000 (0:00:00.038) 0:01:53.704 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004878", "end": "2024-02-22 12:57:25.655510", "rc": 0, "start": "2024-02-22 12:57:25.650632" } STDOUT: tlskey = /etc/pki/tls/private/ansible.bWOpeX 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:25 +0000 (0:00:00.152) 0:01:53.857 ***** 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:25 +0000 (0:00:00.031) 0:01:53.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.bWOpeX] *************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 12:57:25 +0000 (0:00:00.025) 0:01:53.913 ***** 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:25 +0000 (0:00:00.098) 0:01:54.011 ***** 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:25 +0000 (0:00:00.043) 0:01:54.054 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005038", "end": "2024-02-22 12:57:26.008330", "rc": 0, "start": "2024-02-22 12:57:26.003292" } 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:26 +0000 (0:00:00.155) 0:01:54.210 ***** 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:26 +0000 (0:00:00.028) 0:01:54.239 ***** 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:26 +0000 (0:00:00.023) 0:01:54.262 ***** 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:26 +0000 (0:00:00.019) 0:01:54.282 ***** 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:26 +0000 (0:00:00.037) 0:01:54.320 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005011", "end": "2024-02-22 12:57:26.270698", "rc": 0, "start": "2024-02-22 12:57:26.265687" } 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:26 +0000 (0:00:00.152) 0:01:54.472 ***** 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:26 +0000 (0:00:00.021) 0:01:54.494 ***** 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:26 +0000 (0:00:00.029) 0:01:54.523 ***** 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:26 +0000 (0:00:00.019) 0:01:54.543 ***** 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:57:26 +0000 (0:00:00.020) 0:01:54.563 ***** 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:57:26 +0000 (0:00:00.181) 0:01:54.745 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005028", "end": "2024-02-22 12:57:26.735231", "rc": 0, "start": "2024-02-22 12:57:26.730203" } 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.Wel_an tlskey = /etc/pki/tls/private/ansible.bWOpeX 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:57:26 +0000 (0:00:00.193) 0:01:54.938 ***** 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:27 +0000 (0:00:00.251) 0:01:55.189 ***** 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:27 +0000 (0:00:00.033) 0:01:55.222 ***** 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:27 +0000 (0:00:00.025) 0:01:55.247 ***** 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:27 +0000 (0:00:00.035) 0:01:55.283 ***** 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:27 +0000 (0:00:00.019) 0:01:55.303 ***** 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:27 +0000 (0:00:00.087) 0:01:55.390 ***** 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:27 +0000 (0:00:00.024) 0:01:55.414 ***** 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:27 +0000 (0:00:00.022) 0:01:55.437 ***** 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:27 +0000 (0:00:00.021) 0:01:55.459 ***** 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:27 +0000 (0:00:00.021) 0:01:55.480 ***** 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:27 +0000 (0:00:00.020) 0:01:55.500 ***** 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:27 +0000 (0:00:00.020) 0:01:55.520 ***** 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:27 +0000 (0:00:00.020) 0:01:55.541 ***** 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:27 +0000 (0:00:00.023) 0:01:55.564 ***** 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:27 +0000 (0:00:00.020) 0:01:55.585 ***** 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:27 +0000 (0:00:00.019) 0:01:55.605 ***** 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:27 +0000 (0:00:00.020) 0:01:55.625 ***** 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:27 +0000 (0:00:00.020) 0:01:55.646 ***** 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:27 +0000 (0:00:00.019) 0:01:55.665 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set 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:28 +0000 (0:00:01.045) 0:01:56.711 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 22 February 2024 12:57:28 +0000 (0:00:00.059) 0:01:56.771 ***** 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:28 +0000 (0:00:00.020) 0:01:56.792 ***** 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:28 +0000 (0:00:00.023) 0:01:56.816 ***** 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:28 +0000 (0:00:00.039) 0:01:56.855 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Thursday 22 February 2024 12:57:29 +0000 (0:00:00.352) 0:01:57.207 ***** 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:29 +0000 (0:00:00.021) 0:01:57.229 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 12:57:29 +0000 (0:00:00.021) 0:01:57.251 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Thursday 22 February 2024 12:57:29 +0000 (0:00:00.021) 0:01:57.272 ***** 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:29 +0000 (0:00:00.025) 0:01:57.297 ***** 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:29 +0000 (0:00:00.423) 0:01:57.721 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4355.3-4.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:29 +0000 (0:00:00.369) 0:01:58.090 ***** 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:29 +0000 (0:00:00.066) 0:01:58.157 ***** 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.005829", "end": "2024-02-22 12:57:30.108877", "rc": 0, "start": "2024-02-22 12:57:30.103048" } 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:30 +0000 (0:00:00.153) 0:01:58.310 ***** 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:30 +0000 (0:00:00.796) 0:01:59.107 ***** 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:30 +0000 (0:00:00.030) 0:01:59.138 ***** 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:30 +0000 (0:00:00.022) 0:01:59.160 ***** 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:31 +0000 (0:00:00.021) 0:01:59.182 ***** 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:31 +0000 (0:00:00.026) 0:01:59.209 ***** 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:31 +0000 (0:00:00.021) 0:01:59.231 ***** 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:31 +0000 (0:00:00.020) 0:01:59.251 ***** 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:31 +0000 (0:00:00.383) 0:01:59.634 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:23:24 UTC", "ActiveEnterTimestampMonotonic": "26784178", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket systemd-sysctl.service network.target basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:23:23 UTC", "AssertTimestampMonotonic": "25644472", "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": "25644470", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "883", "ExecMainStartTimestamp": "Thu 2024-02-22 12:23:23 UTC", "ExecMainStartTimestampMonotonic": "25645234", "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": "25645284", "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": "883", "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 polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 12:23:24 UTC", "WatchdogTimestampMonotonic": "26784093", "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:31 +0000 (0:00:00.233) 0:01:59.868 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.100036", "end": "2024-02-22 12:57:31.918879", "rc": 0, "start": "2024-02-22 12:57:31.818843" } 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:31 +0000 (0:00:00.250) 0:02:00.118 ***** 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:31 +0000 (0:00:00.021) 0:02:00.140 ***** 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:31 +0000 (0:00:00.020) 0:02:00.160 ***** 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:32 +0000 (0:00:00.022) 0:02:00.182 ***** 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:32 +0000 (0:00:00.162) 0:02:00.345 ***** 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:32 +0000 (0:00:00.375) 0:02:00.720 ***** 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:32 +0000 (0:00:00.021) 0:02:00.742 ***** 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:32 +0000 (0:00:00.024) 0:02:00.767 ***** 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:32 +0000 (0:00:00.021) 0:02:00.788 ***** 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:32 +0000 (0:00:00.022) 0:02:00.811 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:32 +0000 (0:00:00.021) 0:02:00.832 ***** 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:32 +0000 (0:00:00.020) 0:02:00.853 ***** 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:32 +0000 (0:00:00.019) 0:02:00.872 ***** 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:32 +0000 (0:00:00.018) 0:02:00.890 ***** 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.005974", "end": "2024-02-22 12:57:32.841938", "rc": 0, "start": "2024-02-22 12:57:32.835964" } 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:32 +0000 (0:00:00.151) 0:02:01.042 ***** 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:32 +0000 (0:00:00.065) 0:02:01.108 ***** 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:33 +0000 (0:00:01.009) 0:02:02.118 ***** 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:33 +0000 (0:00:00.026) 0:02:02.144 ***** 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:33 +0000 (0:00:00.022) 0:02:02.166 ***** 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:34 +0000 (0:00:00.022) 0:02:02.188 ***** 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:34 +0000 (0:00:00.024) 0:02:02.212 ***** 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:34 +0000 (0:00:00.035) 0:02:02.248 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003514", "end": "2024-02-22 12:57:34.198600", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:34.195086" } 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:34 +0000 (0:00:00.158) 0:02:02.406 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.142078", "end": "2024-02-22 12:57:34.502858", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:34.360780" } 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:34 +0000 (0:00:00.301) 0:02:02.708 ***** 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:34 +0000 (0:00:00.071) 0:02:02.780 ***** 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:34 +0000 (0:00:00.020) 0:02:02.800 ***** 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:34 +0000 (0:00:00.020) 0:02:02.821 ***** 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:34 +0000 (0:00:00.019) 0:02:02.841 ***** 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:34 +0000 (0:00:00.019) 0:02:02.861 ***** 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:34 +0000 (0:00:00.019) 0:02:02.880 ***** 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:34 +0000 (0:00:00.018) 0:02:02.899 ***** 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:34 +0000 (0:00:00.019) 0:02:02.919 ***** 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:34 +0000 (0:00:00.018) 0:02:02.937 ***** 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:34 +0000 (0:00:00.019) 0:02:02.956 ***** 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:34 +0000 (0:00:00.019) 0:02:02.976 ***** 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:34 +0000 (0:00:00.021) 0:02:02.998 ***** skipping: [sut] => (item=/tmp/ansible.Wel_an) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.Wel_an", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ansible.bWOpeX) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.bWOpeX", "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:34 +0000 (0:00:00.027) 0:02:03.025 ***** 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:34 +0000 (0:00:00.039) 0:02:03.066 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003717", "end": "2024-02-22 12:57:35.017289", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:35.013572" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.Wel_an 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:35 +0000 (0:00:00.154) 0:02:03.220 ***** 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:35 +0000 (0:00:00.025) 0:02:03.245 ***** 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.142725", "end": "2024-02-22 12:57:35.337311", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:35.194586" } 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:35 +0000 (0:00:00.336) 0:02:03.582 ***** 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:35 +0000 (0:00:00.038) 0:02:03.620 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003645", "end": "2024-02-22 12:57:35.570350", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:35.566705" } STDOUT: tlskey = /etc/pki/tls/private/ansible.bWOpeX 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:35 +0000 (0:00:00.154) 0:02:03.774 ***** 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:35 +0000 (0:00:00.030) 0:02:03.805 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.142351", "end": "2024-02-22 12:57:35.899736", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:35.757385" } 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:35 +0000 (0:00:00.298) 0:02:04.103 ***** 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:35 +0000 (0:00:00.038) 0:02:04.142 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003683", "end": "2024-02-22 12:57:36.092504", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:36.088821" } 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:36 +0000 (0:00:00.151) 0:02:04.294 ***** 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:36 +0000 (0:00:00.026) 0:02:04.320 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.141720", "end": "2024-02-22 12:57:36.410983", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:36.269263" } 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:36 +0000 (0:00:00.293) 0:02:04.614 ***** 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:36 +0000 (0:00:00.039) 0:02:04.654 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003658", "end": "2024-02-22 12:57:36.603968", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:36.600310" } 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:36 +0000 (0:00:00.153) 0:02:04.807 ***** 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:36 +0000 (0:00:00.083) 0:02:04.891 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.144049", "end": "2024-02-22 12:57:36.985728", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:36.841679" } 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:37 +0000 (0:00:00.298) 0:02:05.190 ***** 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:37 +0000 (0:00:00.026) 0:02:05.216 ***** 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:37 +0000 (0:00:00.022) 0:02:05.238 ***** 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:37 +0000 (0:00:00.022) 0:02:05.261 ***** 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:37 +0000 (0:00:00.023) 0:02:05.285 ***** 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:37 +0000 (0:00:00.022) 0:02:05.307 ***** 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:37 +0000 (0:00:00.021) 0:02:05.328 ***** 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:37 +0000 (0:00:00.019) 0:02:05.348 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:37 +0000 (0:00:00.020) 0:02:05.369 ***** 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:37 +0000 (0:00:00.019) 0:02:05.389 ***** 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:37 +0000 (0:00:00.019) 0:02:05.408 ***** 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:37 +0000 (0:00:00.019) 0:02:05.427 ***** 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:37 +0000 (0:00:00.018) 0:02:05.446 ***** 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:37 +0000 (0:00:00.018) 0:02:05.465 ***** 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:37 +0000 (0:00:00.018) 0:02:05.483 ***** 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:37 +0000 (0:00:00.018) 0:02:05.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:37 +0000 (0:00:00.018) 0:02:05.521 ***** 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:37 +0000 (0:00:00.066) 0:02:05.588 ***** 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:37 +0000 (0:00:00.021) 0:02:05.609 ***** 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:37 +0000 (0:00:00.019) 0:02:05.629 ***** 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:37 +0000 (0:00:00.020) 0:02:05.649 ***** 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:37 +0000 (0:00:00.018) 0:02:05.668 ***** 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:37 +0000 (0:00:00.020) 0:02:05.688 ***** 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:37 +0000 (0:00:00.019) 0:02:05.708 ***** 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:37 +0000 (0:00:00.018) 0:02:05.727 ***** 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:37 +0000 (0:00:00.019) 0:02:05.746 ***** 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:37 +0000 (0:00:00.020) 0:02:05.767 ***** 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:37 +0000 (0:00:00.026) 0:02:05.793 ***** 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:37 +0000 (0:00:00.020) 0:02:05.814 ***** 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:37 +0000 (0:00:00.021) 0:02:05.836 ***** 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:37 +0000 (0:00:00.028) 0:02:05.864 ***** 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:37 +0000 (0:00:00.019) 0:02:05.884 ***** 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:37 +0000 (0:00:00.020) 0:02:05.904 ***** 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:37 +0000 (0:00:00.018) 0:02:05.923 ***** 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:37 +0000 (0:00:00.019) 0:02:05.942 ***** 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:37 +0000 (0:00:00.019) 0:02:05.961 ***** 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:37 +0000 (0:00:00.071) 0:02:06.032 ***** 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:37 +0000 (0:00:00.022) 0:02:06.055 ***** 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:37 +0000 (0:00:00.020) 0:02:06.075 ***** 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:37 +0000 (0:00:00.023) 0:02:06.099 ***** 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:37 +0000 (0:00:00.020) 0:02:06.120 ***** 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:37 +0000 (0:00:00.021) 0:02:06.142 ***** 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:37 +0000 (0:00:00.027) 0:02:06.169 ***** 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:38 +0000 (0:00:00.020) 0:02:06.190 ***** 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:38 +0000 (0:00:00.021) 0:02:06.211 ***** 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:38 +0000 (0:00:00.022) 0:02:06.234 ***** 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:38 +0000 (0:00:00.023) 0:02:06.257 ***** 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:38 +0000 (0:00:00.034) 0:02:06.292 ***** 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:38 +0000 (0:00:00.021) 0:02:06.313 ***** 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:38 +0000 (0:00:00.027) 0:02:06.340 ***** 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:38 +0000 (0:00:00.020) 0:02:06.361 ***** 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:38 +0000 (0:00:00.021) 0:02:06.383 ***** 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:38 +0000 (0:00:00.168) 0:02:06.552 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:57:21 UTC", "ActiveEnterTimestampMonotonic": "2063199901", "ActiveExitTimestamp": "Thu 2024-02-22 12:57:20 UTC", "ActiveExitTimestampMonotonic": "2062944660", "ActiveState": "active", "After": "systemd-journald.socket -.mount network.target system.slice auditd.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:57:21 UTC", "AssertTimestampMonotonic": "2063199057", "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:21 UTC", "ConditionTimestampMonotonic": "2063199054", "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": "24824", "ExecMainStartTimestamp": "Thu 2024-02-22 12:57:21 UTC", "ExecMainStartTimestampMonotonic": "2063199818", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 12:57:21 UTC] ; stop_time=[n/a] ; pid=24824 ; 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:21 UTC", "InactiveEnterTimestampMonotonic": "2063198476", "InactiveExitTimestamp": "Thu 2024-02-22 12:57:21 UTC", "InactiveExitTimestampMonotonic": "2063199901", "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": "24824", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 12:57:21 UTC", "WatchdogTimestampMonotonic": "2063199875", "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:38 +0000 (0:00:00.486) 0:02:07.038 ***** 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:38 +0000 (0:00:00.020) 0:02:07.059 ***** 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:57:38 +0000 (0:00:00.020) 0:02:07.080 ***** 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:39 +0000 (0:00:00.172) 0:02:07.252 ***** 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:39 +0000 (0:00:00.020) 0:02:07.272 ***** 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:39 +0000 (0:00:00.020) 0:02:07.293 ***** 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:39 +0000 (0:00:00.020) 0:02:07.314 ***** 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:39 +0000 (0:00:00.020) 0:02:07.334 ***** 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:39 +0000 (0:00:00.019) 0:02:07.354 ***** 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:39 +0000 (0:00:00.020) 0:02:07.374 ***** 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:39 +0000 (0:00:00.020) 0:02:07.394 ***** 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:39 +0000 (0:00:00.019) 0:02:07.414 ***** 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:39 +0000 (0:00:00.106) 0:02:07.521 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:57:38 UTC", "ActiveEnterTimestampMonotonic": "2080916401", "ActiveExitTimestamp": "Thu 2024-02-22 12:57:38 UTC", "ActiveExitTimestampMonotonic": "2080674558", "ActiveState": "active", "After": "systemd-journald.socket -.mount network.target system.slice auditd.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:57:38 UTC", "AssertTimestampMonotonic": "2080915596", "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:38 UTC", "ConditionTimestampMonotonic": "2080915593", "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": "25541", "ExecMainStartTimestamp": "Thu 2024-02-22 12:57:38 UTC", "ExecMainStartTimestampMonotonic": "2080916338", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 12:57:38 UTC] ; stop_time=[n/a] ; pid=25541 ; 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:38 UTC", "InactiveEnterTimestampMonotonic": "2080915081", "InactiveExitTimestamp": "Thu 2024-02-22 12:57:38 UTC", "InactiveExitTimestampMonotonic": "2080916401", "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": "25541", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 12:57:38 UTC", "WatchdogTimestampMonotonic": "2080916380", "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:39 +0000 (0:00:00.241) 0:02:07.763 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003967", "end": "2024-02-22 12:57:39.741986", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:39.738019" } 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:39 +0000 (0:00:00.182) 0:02:07.946 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004026", "end": "2024-02-22 12:57:39.897455", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:39.893429" } 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:39 +0000 (0:00:00.153) 0:02:08.099 ***** 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:39 +0000 (0:00:00.028) 0:02:08.127 ***** 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": 7502, "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:41 +0000 (0:00:01.165) 0:02:09.293 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:01.616501", "end": "2024-02-22 12:57:42.864464", "rc": 0, "start": "2024-02-22 12:57:41.247963" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU25) (KB5033688) - 15.0.4355.3 (X64) Jan 30 2024 17:02:22 Copyright (C) 2019 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:42 +0000 (0:00:01.778) 0:02:11.072 ***** 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:42 +0000 (0:00:00.022) 0:02:11.094 ***** 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:42 +0000 (0:00:00.020) 0:02:11.115 ***** 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:42 +0000 (0:00:00.018) 0:02:11.133 ***** 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:43 +0000 (0:00:00.072) 0:02:11.206 ***** 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:43 +0000 (0:00:00.020) 0:02:11.227 ***** 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:43 +0000 (0:00:00.020) 0:02:11.248 ***** 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:43 +0000 (0:00:00.019) 0:02:11.268 ***** 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:43 +0000 (0:00:00.019) 0:02:11.287 ***** 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:43 +0000 (0:00:00.035) 0:02:11.323 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004868", "end": "2024-02-22 12:57:43.273470", "rc": 0, "start": "2024-02-22 12:57:43.268602" } 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:43 +0000 (0:00:00.152) 0:02:11.475 ***** 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:43 +0000 (0:00:00.030) 0:02:11.506 ***** 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:57:43 +0000 (0:00:00.024) 0:02:11.530 ***** 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:43 +0000 (0:00:00.020) 0:02:11.550 ***** 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:43 +0000 (0:00:00.035) 0:02:11.586 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004895", "end": "2024-02-22 12:57:43.537398", "rc": 0, "start": "2024-02-22 12:57:43.532503" } 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:43 +0000 (0:00:00.152) 0:02:11.738 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 12:57:43 +0000 (0:00:00.029) 0:02:11.767 ***** 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:57:43 +0000 (0:00:00.024) 0:02:11.791 ***** 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:43 +0000 (0:00:00.020) 0:02:11.812 ***** 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:43 +0000 (0:00:00.086) 0:02:11.898 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005056", "end": "2024-02-22 12:57:43.850551", "rc": 0, "start": "2024-02-22 12:57:43.845495" } 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:43 +0000 (0:00:00.154) 0:02:12.053 ***** 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:43 +0000 (0:00:00.029) 0:02:12.082 ***** 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:57:43 +0000 (0:00:00.023) 0:02:12.106 ***** 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:43 +0000 (0:00:00.021) 0:02:12.127 ***** 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:43 +0000 (0:00:00.038) 0:02:12.165 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004963", "end": "2024-02-22 12:57:44.117843", "rc": 0, "start": "2024-02-22 12:57:44.112880" } 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:44 +0000 (0:00:00.154) 0:02:12.320 ***** 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:44 +0000 (0:00:00.022) 0:02:12.342 ***** 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:57:44 +0000 (0:00:00.028) 0:02:12.370 ***** 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:44 +0000 (0:00:00.020) 0:02:12.391 ***** 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:57:44 +0000 (0:00:00.018) 0:02:12.409 ***** 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:44 +0000 (0:00:00.439) 0:02:12.849 ***** 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:44 +0000 (0:00:00.032) 0:02:12.881 ***** 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:44 +0000 (0:00:00.049) 0:02:12.931 ***** 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:44 +0000 (0:00:00.039) 0:02:12.970 ***** 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:44 +0000 (0:00:00.022) 0:02:12.993 ***** 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:44 +0000 (0:00:00.026) 0:02:13.019 ***** 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:44 +0000 (0:00:00.022) 0:02:13.042 ***** 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:44 +0000 (0:00:00.022) 0:02:13.064 ***** 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:44 +0000 (0:00:00.021) 0:02:13.086 ***** 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:44 +0000 (0:00:00.086) 0:02:13.173 ***** 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:45 +0000 (0:00:00.021) 0:02:13.194 ***** 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:45 +0000 (0:00:00.020) 0:02:13.214 ***** 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:45 +0000 (0:00:00.020) 0:02:13.235 ***** 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:45 +0000 (0:00:00.024) 0:02:13.259 ***** 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:45 +0000 (0:00:00.020) 0:02:13.279 ***** 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:45 +0000 (0:00:00.021) 0:02:13.301 ***** 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:45 +0000 (0:00:00.022) 0:02:13.323 ***** 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:45 +0000 (0:00:00.020) 0:02:13.344 ***** 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:45 +0000 (0:00:00.021) 0:02:13.366 ***** 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:46 +0000 (0:00:01.015) 0:02:14.381 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 22 February 2024 12:57:46 +0000 (0:00:00.057) 0:02:14.439 ***** 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:46 +0000 (0:00:00.078) 0:02:14.518 ***** 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:46 +0000 (0:00:00.023) 0:02:14.541 ***** 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:46 +0000 (0:00:00.038) 0:02:14.579 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Thursday 22 February 2024 12:57:46 +0000 (0:00:00.353) 0:02:14.933 ***** 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:46 +0000 (0:00:00.020) 0:02:14.954 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 12:57:46 +0000 (0:00:00.021) 0:02:14.976 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Thursday 22 February 2024 12:57:46 +0000 (0:00:00.021) 0:02:14.997 ***** 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:46 +0000 (0:00:00.026) 0:02:15.023 ***** 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:47 +0000 (0:00:00.427) 0:02:15.451 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4355.3-4.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:47 +0000 (0:00:00.373) 0:02:15.824 ***** 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:47 +0000 (0:00:00.020) 0:02:15.845 ***** 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.005892", "end": "2024-02-22 12:57:47.794195", "rc": 0, "start": "2024-02-22 12:57:47.788303" } 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:47 +0000 (0:00:00.149) 0:02:15.994 ***** 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:48 +0000 (0:00:00.842) 0:02:16.837 ***** 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:48 +0000 (0:00:00.028) 0:02:16.866 ***** 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:48 +0000 (0:00:00.021) 0:02:16.887 ***** 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:48 +0000 (0:00:00.020) 0:02:16.907 ***** 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:48 +0000 (0:00:00.024) 0:02:16.932 ***** 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:48 +0000 (0:00:00.019) 0:02:16.952 ***** 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:48 +0000 (0:00:00.019) 0:02:16.971 ***** 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:49 +0000 (0:00:00.372) 0:02:17.343 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:23:24 UTC", "ActiveEnterTimestampMonotonic": "26784178", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket systemd-sysctl.service network.target basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:23:23 UTC", "AssertTimestampMonotonic": "25644472", "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": "25644470", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "883", "ExecMainStartTimestamp": "Thu 2024-02-22 12:23:23 UTC", "ExecMainStartTimestampMonotonic": "25645234", "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": "25645284", "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": "883", "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 polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 12:23:24 UTC", "WatchdogTimestampMonotonic": "26784093", "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:49 +0000 (0:00:00.229) 0:02:17.572 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.101090", "end": "2024-02-22 12:57:49.618392", "rc": 0, "start": "2024-02-22 12:57:49.517302" } 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:49 +0000 (0:00:00.247) 0:02:17.820 ***** 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:49 +0000 (0:00:00.020) 0:02:17.840 ***** 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:49 +0000 (0:00:00.019) 0:02:17.860 ***** 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:49 +0000 (0:00:00.020) 0:02:17.880 ***** 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:49 +0000 (0:00:00.149) 0:02:18.030 ***** 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:50 +0000 (0:00:00.371) 0:02:18.402 ***** 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:50 +0000 (0:00:00.021) 0:02:18.424 ***** 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:50 +0000 (0:00:00.020) 0:02:18.445 ***** 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:50 +0000 (0:00:00.019) 0:02:18.464 ***** 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:50 +0000 (0:00:00.020) 0:02:18.485 ***** 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:50 +0000 (0:00:00.020) 0:02:18.506 ***** 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:50 +0000 (0:00:00.020) 0:02:18.527 ***** 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:50 +0000 (0:00:00.018) 0:02:18.546 ***** 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:50 +0000 (0:00:00.019) 0:02:18.566 ***** 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.005821", "end": "2024-02-22 12:57:50.517129", "rc": 0, "start": "2024-02-22 12:57:50.511308" } 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:50 +0000 (0:00:00.151) 0:02:18.718 ***** 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:50 +0000 (0:00:00.023) 0:02:18.741 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the 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:51 +0000 (0:00:01.083) 0:02:19.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 [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:51 +0000 (0:00:00.023) 0:02:19.847 ***** 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:51 +0000 (0:00:00.019) 0:02:19.867 ***** 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:51 +0000 (0:00:00.020) 0:02:19.887 ***** 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:51 +0000 (0:00:00.020) 0:02:19.907 ***** 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:51 +0000 (0:00:00.033) 0:02:19.941 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003522", "end": "2024-02-22 12:57:51.892256", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:57:51.888734" } 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:51 +0000 (0:00:00.152) 0:02:20.093 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.143608", "end": "2024-02-22 12:57:52.187559", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:57:52.043951" } 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:52 +0000 (0:00:00.301) 0:02:20.394 ***** 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:52 +0000 (0:00:00.019) 0:02:20.414 ***** 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:52 +0000 (0:00:00.018) 0:02:20.433 ***** 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:52 +0000 (0:00:00.019) 0:02:20.453 ***** 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:52 +0000 (0:00:00.019) 0:02:20.472 ***** 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:52 +0000 (0:00:00.019) 0:02:20.491 ***** 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:52 +0000 (0:00:00.019) 0:02:20.511 ***** 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:52 +0000 (0:00:00.018) 0:02:20.529 ***** 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:52 +0000 (0:00:00.082) 0:02:20.612 ***** 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:52 +0000 (0:00:00.020) 0:02:20.633 ***** 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:52 +0000 (0:00:00.019) 0:02:20.652 ***** 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:52 +0000 (0:00:00.061) 0:02:20.714 ***** 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:52 +0000 (0:00:00.041) 0:02:20.755 ***** 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:52 +0000 (0:00:00.028) 0:02:20.784 ***** 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:52 +0000 (0:00:00.149) 0:02:20.934 ***** 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:52 +0000 (0:00:00.026) 0:02:20.960 ***** 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:52 +0000 (0:00:00.074) 0:02:21.034 ***** 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 1.8 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:56 +0000 (0:00:03.901) 0:02:24.936 ***** 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 1.4 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:58:00 +0000 (0:00:03.484) 0:02:28.421 ***** 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:58:00 +0000 (0:00:00.179) 0:02:28.601 ***** 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:58:00 +0000 (0:00:00.268) 0:02:28.870 ***** 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 syslog.target basic.target dbus.service systemd-journald.socket system.slice", "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": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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:58:01 +0000 (0:00:00.343) 0:02:29.213 ***** changed: [sut] => (item={'name': 'mssql_2019_cert', 'common_name': '10.31.41.30', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.41.30", "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:58:01 +0000 (0:00:00.795) 0:02:30.009 ***** skipping: [sut] => (item=['cert', {'name': 'mssql_2019_cert', 'common_name': '10.31.41.30', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.41.30", "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.41.30', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.41.30", "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.41.30', 'ca': 'self-sign', 'owner': 'mssql', 'group': 'mssql', 'mode': '0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.41.30", "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:58:01 +0000 (0:00:00.040) 0:02:30.050 ***** 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:58:01 +0000 (0:00:00.023) 0:02:30.073 ***** 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:58:01 +0000 (0:00:00.024) 0:02:30.098 ***** 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:58:01 +0000 (0:00:00.024) 0:02:30.123 ***** 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:58:01 +0000 (0:00:00.026) 0:02:30.149 ***** 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:58:02 +0000 (0:00:00.029) 0:02:30.178 ***** 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:58:02 +0000 (0:00:00.035) 0:02:30.214 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.005318", "end": "2024-02-22 12:58:03.166208", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:58:02.160890" } 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:58:03 +0000 (0:00:01.153) 0:02:31.367 ***** 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.143426", "end": "2024-02-22 12:58:03.464463", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:58:03.321037" } 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:58:03 +0000 (0:00:00.301) 0:02:31.668 ***** 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:58:03 +0000 (0:00:00.022) 0:02:31.691 ***** 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:58:03 +0000 (0:00:00.038) 0:02:31.729 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003744", "end": "2024-02-22 12:58:03.679486", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:58:03.675742" } 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:58:03 +0000 (0:00:00.151) 0:02:31.880 ***** 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.142646", "end": "2024-02-22 12:58:03.976175", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:58:03.833529" } 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:58:04 +0000 (0:00:00.300) 0:02:32.181 ***** 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:58:04 +0000 (0:00:00.022) 0:02:32.204 ***** 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:58:04 +0000 (0:00:00.038) 0:02:32.242 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003556", "end": "2024-02-22 12:58:04.191048", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:58:04.187492" } 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:58:04 +0000 (0:00:00.150) 0:02:32.393 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.141765", "end": "2024-02-22 12:58:04.486112", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:58:04.344347" } 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:58:04 +0000 (0:00:00.298) 0:02:32.691 ***** 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:58:04 +0000 (0:00:00.020) 0:02:32.712 ***** 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:58:04 +0000 (0:00:00.093) 0:02:32.806 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003784", "end": "2024-02-22 12:58:04.758405", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:58:04.754621" } 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:58:04 +0000 (0:00:00.153) 0:02:32.960 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.143292", "end": "2024-02-22 12:58:05.054281", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:58:04.910989" } 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:58:05 +0000 (0:00:00.300) 0:02:33.260 ***** 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:58:05 +0000 (0:00:00.022) 0:02:33.282 ***** 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:58:05 +0000 (0:00:00.020) 0:02:33.302 ***** 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:58:05 +0000 (0:00:00.019) 0:02:33.322 ***** 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:58:05 +0000 (0:00:00.018) 0:02:33.341 ***** 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:58:05 +0000 (0:00:00.021) 0:02:33.362 ***** 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:58:05 +0000 (0:00:00.021) 0:02:33.383 ***** 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:58:05 +0000 (0:00:00.020) 0:02:33.404 ***** 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:58:05 +0000 (0:00:00.020) 0:02:33.424 ***** 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:58:05 +0000 (0:00:00.019) 0:02:33.443 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:827 Thursday 22 February 2024 12:58:05 +0000 (0:00:00.019) 0:02:33.463 ***** 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:58:05 +0000 (0:00:00.018) 0:02:33.481 ***** 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:58:05 +0000 (0:00:00.018) 0:02:33.500 ***** 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:58:05 +0000 (0:00:00.018) 0:02:33.519 ***** 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:58:05 +0000 (0:00:00.018) 0:02:33.537 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:58:05 +0000 (0:00:00.076) 0:02:33.614 ***** 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:58:05 +0000 (0:00:00.020) 0:02:33.635 ***** 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:58:05 +0000 (0:00:00.019) 0:02:33.654 ***** 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:58:05 +0000 (0:00:00.019) 0:02:33.674 ***** 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:58:05 +0000 (0:00:00.019) 0:02:33.694 ***** 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:58:05 +0000 (0:00:00.019) 0:02:33.713 ***** 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:58:05 +0000 (0:00:00.019) 0:02:33.733 ***** 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:58:05 +0000 (0:00:00.019) 0:02:33.752 ***** 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:58:05 +0000 (0:00:00.019) 0:02:33.772 ***** 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:58:05 +0000 (0:00:00.019) 0:02:33.792 ***** 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:58:05 +0000 (0:00:00.019) 0:02:33.811 ***** 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:58:05 +0000 (0:00:00.018) 0:02:33.830 ***** 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:58:05 +0000 (0:00:00.019) 0:02:33.849 ***** 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:58:05 +0000 (0:00:00.023) 0:02:33.873 ***** 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:58:05 +0000 (0:00:00.019) 0:02:33.892 ***** 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:58:05 +0000 (0:00:00.018) 0:02:33.911 ***** 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:58:05 +0000 (0:00:00.027) 0:02:33.938 ***** 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:58:05 +0000 (0:00:00.019) 0:02:33.958 ***** 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:58:05 +0000 (0:00:00.018) 0:02:33.977 ***** 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:58:05 +0000 (0:00:00.079) 0:02:34.056 ***** 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:58:05 +0000 (0:00:00.020) 0:02:34.077 ***** 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:58:05 +0000 (0:00:00.020) 0:02:34.098 ***** 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:58:05 +0000 (0:00:00.018) 0:02:34.116 ***** 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:58:05 +0000 (0:00:00.020) 0:02:34.137 ***** 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:58:05 +0000 (0:00:00.019) 0:02:34.157 ***** 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:58:06 +0000 (0:00:00.018) 0:02:34.176 ***** 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:58:06 +0000 (0:00:00.019) 0:02:34.195 ***** 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:58:06 +0000 (0:00:00.018) 0:02:34.214 ***** 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:58:06 +0000 (0:00:00.026) 0:02:34.240 ***** 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:58:06 +0000 (0:00:00.019) 0:02:34.260 ***** 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:58:06 +0000 (0:00:00.018) 0:02:34.279 ***** 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:58:06 +0000 (0:00:00.019) 0:02:34.298 ***** 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:58:06 +0000 (0:00:00.019) 0:02:34.318 ***** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1280 Thursday 22 February 2024 12:58:06 +0000 (0:00:00.023) 0:02:34.341 ***** 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:58:06 +0000 (0:00:00.018) 0:02:34.360 ***** 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:58:06 +0000 (0:00:00.019) 0:02:34.379 ***** 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:58:06 +0000 (0:00:00.019) 0:02:34.399 ***** 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:58:06 +0000 (0:00:00.019) 0:02:34.418 ***** 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:58:06 +0000 (0:00:00.235) 0:02:34.654 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:57:38 UTC", "ActiveEnterTimestampMonotonic": "2080916401", "ActiveExitTimestamp": "Thu 2024-02-22 12:57:38 UTC", "ActiveExitTimestampMonotonic": "2080674558", "ActiveState": "active", "After": "network.target systemd-journald.socket basic.target system.slice -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:57:38 UTC", "AssertTimestampMonotonic": "2080915596", "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:57:38 UTC", "ConditionTimestampMonotonic": "2080915593", "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": "25541", "ExecMainStartTimestamp": "Thu 2024-02-22 12:57:38 UTC", "ExecMainStartTimestampMonotonic": "2080916338", "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:57:38 UTC", "InactiveEnterTimestampMonotonic": "2080915081", "InactiveExitTimestamp": "Thu 2024-02-22 12:57:38 UTC", "InactiveExitTimestampMonotonic": "2080916401", "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": "25541", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 12:57:38 UTC", "WatchdogTimestampMonotonic": "2080916380", "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:58:06 +0000 (0:00:00.498) 0:02:35.152 ***** 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:58:06 +0000 (0:00:00.020) 0:02:35.173 ***** 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:58:07 +0000 (0:00:00.020) 0:02:35.193 ***** 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:58:07 +0000 (0:00:00.211) 0:02:35.404 ***** 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:58:07 +0000 (0:00:00.020) 0:02:35.425 ***** 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:58:07 +0000 (0:00:00.018) 0:02:35.444 ***** 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:58:07 +0000 (0:00:00.020) 0:02:35.464 ***** 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:58:07 +0000 (0:00:00.019) 0:02:35.484 ***** 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:58:07 +0000 (0:00:00.096) 0:02:35.581 ***** 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:58:07 +0000 (0:00:00.021) 0:02:35.602 ***** 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:58:07 +0000 (0:00:00.021) 0:02:35.624 ***** 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:58:07 +0000 (0:00:00.021) 0:02:35.645 ***** 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:58:07 +0000 (0:00:00.036) 0:02:35.682 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:58:06 UTC", "ActiveEnterTimestampMonotonic": "2109023322", "ActiveExitTimestamp": "Thu 2024-02-22 12:58:06 UTC", "ActiveExitTimestampMonotonic": "2108776713", "ActiveState": "active", "After": "network.target systemd-journald.socket basic.target system.slice -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:58:06 UTC", "AssertTimestampMonotonic": "2109022568", "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:58:06 UTC", "ConditionTimestampMonotonic": "2109022566", "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": "26418", "ExecMainStartTimestamp": "Thu 2024-02-22 12:58:06 UTC", "ExecMainStartTimestampMonotonic": "2109023247", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 12:58:06 UTC] ; stop_time=[n/a] ; pid=26418 ; 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:58:06 UTC", "InactiveEnterTimestampMonotonic": "2109020887", "InactiveExitTimestamp": "Thu 2024-02-22 12:58:06 UTC", "InactiveExitTimestampMonotonic": "2109023322", "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": "26418", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 12:58:06 UTC", "WatchdogTimestampMonotonic": "2109023297", "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:58:07 +0000 (0:00:00.235) 0:02:35.917 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003740", "end": "2024-02-22 12:58:07.874660", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:58:07.870920" } 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:58:07 +0000 (0:00:00.157) 0:02:36.074 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003716", "end": "2024-02-22 12:58:08.026824", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:58:08.023108" } 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:58:08 +0000 (0:00:00.151) 0:02:36.226 ***** 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:58:08 +0000 (0:00:00.027) 0:02:36.253 ***** 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": 7005, "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:58:11 +0000 (0:00:03.184) 0:02:39.438 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.032685", "end": "2024-02-22 12:58:11.415343", "rc": 0, "start": "2024-02-22 12:58:11.382658" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU25) (KB5033688) - 15.0.4355.3 (X64) Jan 30 2024 17:02:22 Copyright (C) 2019 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:58:11 +0000 (0:00:00.181) 0:02:39.619 ***** 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:58:11 +0000 (0:00:00.022) 0:02:39.642 ***** 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:58:11 +0000 (0:00:00.019) 0:02:39.662 ***** 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:58:11 +0000 (0:00:00.090) 0:02:39.752 ***** 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:58:11 +0000 (0:00:00.020) 0:02:39.773 ***** 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:58:11 +0000 (0:00:00.019) 0:02:39.792 ***** 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:58:11 +0000 (0:00:00.019) 0:02:39.811 ***** 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:58:11 +0000 (0:00:00.019) 0:02:39.831 ***** 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:58:11 +0000 (0:00:00.019) 0:02:39.851 ***** 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:58:11 +0000 (0:00:00.034) 0:02:39.885 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005687", "end": "2024-02-22 12:58:11.838866", "rc": 0, "start": "2024-02-22 12:58:11.833179" } 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:58:11 +0000 (0:00:00.155) 0:02:40.041 ***** 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:58:11 +0000 (0:00:00.029) 0:02:40.070 ***** 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:58:11 +0000 (0:00:00.024) 0:02:40.095 ***** 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:58:11 +0000 (0:00:00.019) 0:02:40.115 ***** 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:58:11 +0000 (0:00:00.035) 0:02:40.150 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004851", "end": "2024-02-22 12:58:12.100240", "rc": 0, "start": "2024-02-22 12:58:12.095389" } 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:58:12 +0000 (0:00:00.151) 0:02:40.301 ***** 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:58:12 +0000 (0:00:00.028) 0:02:40.330 ***** 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:58:12 +0000 (0:00:00.025) 0:02:40.355 ***** 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:58:12 +0000 (0:00:00.021) 0:02:40.377 ***** 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:58:12 +0000 (0:00:00.117) 0:02:40.495 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005151", "end": "2024-02-22 12:58:12.446457", "rc": 0, "start": "2024-02-22 12:58:12.441306" } 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:58:12 +0000 (0:00:00.153) 0:02:40.648 ***** 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:58:12 +0000 (0:00:00.027) 0:02:40.676 ***** 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:58:12 +0000 (0:00:00.023) 0:02:40.699 ***** 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:58:12 +0000 (0:00:00.020) 0:02:40.719 ***** 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:58:12 +0000 (0:00:00.038) 0:02:40.758 ***** ok: [sut] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004982", "end": "2024-02-22 12:58:12.706794", "rc": 0, "start": "2024-02-22 12:58:12.701812" } 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:58:12 +0000 (0:00:00.152) 0:02:40.910 ***** 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:58:12 +0000 (0:00:00.021) 0:02:40.932 ***** 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:58:12 +0000 (0:00:00.028) 0:02:40.961 ***** 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:58:12 +0000 (0:00:00.019) 0:02:40.981 ***** 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:58:12 +0000 (0:00:00.019) 0:02:41.000 ***** 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:58:13 +0000 (0:00:00.480) 0:02:41.481 ***** 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:58:13 +0000 (0:00:00.032) 0:02:41.513 ***** 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:58:13 +0000 (0:00:00.024) 0:02:41.538 ***** 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:58:13 +0000 (0:00:00.034) 0:02:41.572 ***** 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:58:13 +0000 (0:00:00.018) 0:02:41.590 ***** 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:58:13 +0000 (0:00:00.018) 0:02:41.609 ***** 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:58:13 +0000 (0:00:00.018) 0:02:41.628 ***** 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:58:13 +0000 (0:00:00.018) 0:02:41.646 ***** 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:58:13 +0000 (0:00:00.102) 0:02:41.748 ***** 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:58:13 +0000 (0:00:00.021) 0:02:41.770 ***** 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:58:13 +0000 (0:00:00.019) 0:02:41.790 ***** 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:58:13 +0000 (0:00:00.019) 0:02:41.810 ***** 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:58:13 +0000 (0:00:00.019) 0:02:41.829 ***** 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:58:13 +0000 (0:00:00.024) 0:02:41.853 ***** 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:58:13 +0000 (0:00:00.019) 0:02:41.872 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 12:58:13 +0000 (0:00:00.019) 0:02:41.892 ***** 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:58:13 +0000 (0:00:00.019) 0:02:41.911 ***** 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:58:13 +0000 (0:00:00.019) 0:02:41.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:58:13 +0000 (0:00:00.020) 0:02:41.951 ***** 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:58:14 +0000 (0:00:01.012) 0:02:42.963 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 22 February 2024 12:58:14 +0000 (0:00:00.058) 0:02:43.021 ***** 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:58:14 +0000 (0:00:00.019) 0:02:43.041 ***** 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:58:14 +0000 (0:00:00.021) 0:02:43.063 ***** 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:58:15 +0000 (0:00:00.191) 0:02:43.254 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Thursday 22 February 2024 12:58:15 +0000 (0:00:00.349) 0:02:43.604 ***** 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:58:15 +0000 (0:00:00.021) 0:02:43.625 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 12:58:15 +0000 (0:00:00.021) 0:02:43.647 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Thursday 22 February 2024 12:58:15 +0000 (0:00:00.021) 0:02:43.668 ***** 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:58:15 +0000 (0:00:00.027) 0:02:43.696 ***** 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:58:15 +0000 (0:00:00.425) 0:02:44.121 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4355.3-4.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:58:16 +0000 (0:00:00.374) 0:02:44.496 ***** 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:58:16 +0000 (0:00:00.020) 0:02:44.516 ***** 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.005799", "end": "2024-02-22 12:58:16.465040", "rc": 0, "start": "2024-02-22 12:58:16.459241" } 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:58:16 +0000 (0:00:00.149) 0:02:44.666 ***** 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:58:17 +0000 (0:00:00.809) 0:02:45.475 ***** 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:58:17 +0000 (0:00:00.027) 0:02:45.502 ***** 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:58:17 +0000 (0:00:00.020) 0:02:45.522 ***** 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:58:17 +0000 (0:00:00.096) 0:02:45.619 ***** 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:58:17 +0000 (0:00:00.026) 0:02:45.645 ***** 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:58:17 +0000 (0:00:00.021) 0:02:45.666 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 22 February 2024 12:58:17 +0000 (0:00:00.022) 0:02:45.689 ***** 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:58:17 +0000 (0:00:00.377) 0:02:46.067 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:23:24 UTC", "ActiveEnterTimestampMonotonic": "26784178", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target systemd-sysctl.service network.target systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:23:23 UTC", "AssertTimestampMonotonic": "25644472", "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": "25644470", "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": "883", "ExecMainStartTimestamp": "Thu 2024-02-22 12:23:23 UTC", "ExecMainStartTimestampMonotonic": "25645234", "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": "25645284", "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": "883", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 12:23:24 UTC", "WatchdogTimestampMonotonic": "26784093", "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:58:18 +0000 (0:00:00.228) 0:02:46.296 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.103593", "end": "2024-02-22 12:58:18.343095", "rc": 0, "start": "2024-02-22 12:58:18.239502" } 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:58:18 +0000 (0:00:00.248) 0:02:46.545 ***** 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:58:18 +0000 (0:00:00.021) 0:02:46.566 ***** 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:58:18 +0000 (0:00:00.022) 0:02:46.588 ***** 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:58:18 +0000 (0:00:00.020) 0:02:46.609 ***** 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:58:18 +0000 (0:00:00.149) 0:02:46.758 ***** 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:58:18 +0000 (0:00:00.367) 0:02:47.126 ***** 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:58:18 +0000 (0:00:00.021) 0:02:47.148 ***** 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:58:18 +0000 (0:00:00.019) 0:02:47.168 ***** 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:58:19 +0000 (0:00:00.020) 0:02:47.188 ***** 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:58:19 +0000 (0:00:00.019) 0:02:47.208 ***** 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:58:19 +0000 (0:00:00.094) 0:02:47.303 ***** 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:58:19 +0000 (0:00:00.022) 0:02:47.325 ***** 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:58:19 +0000 (0:00:00.019) 0:02:47.345 ***** 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:58:19 +0000 (0:00:00.020) 0:02:47.365 ***** 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.005760", "end": "2024-02-22 12:58:19.318136", "rc": 0, "start": "2024-02-22 12:58:19.312376" } 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:58:19 +0000 (0:00:00.154) 0:02:47.520 ***** 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:58:19 +0000 (0:00:00.022) 0:02:47.543 ***** 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:58:20 +0000 (0:00:01.030) 0:02:48.573 ***** 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:58:20 +0000 (0:00:00.023) 0:02:48.597 ***** 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:58:20 +0000 (0:00:00.020) 0:02:48.618 ***** 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:58:20 +0000 (0:00:00.023) 0:02:48.641 ***** 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:58:20 +0000 (0:00:00.022) 0:02:48.663 ***** 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:58:20 +0000 (0:00:00.036) 0:02:48.700 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003665", "end": "2024-02-22 12:58:20.649588", "failed_when_result": false, "rc": 1, "start": "2024-02-22 12:58:20.645923" } 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:58:20 +0000 (0:00:00.245) 0:02:48.946 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.143526", "end": "2024-02-22 12:58:21.039483", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:58:20.895957" } 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:58:21 +0000 (0:00:00.299) 0:02:49.245 ***** 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:58:21 +0000 (0:00:00.021) 0:02:49.267 ***** 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:58:21 +0000 (0:00:00.019) 0:02:49.286 ***** 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:58:21 +0000 (0:00:00.021) 0:02:49.307 ***** 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:58:21 +0000 (0:00:00.020) 0:02:49.328 ***** 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:58:21 +0000 (0:00:00.020) 0:02:49.348 ***** 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:58:21 +0000 (0:00:00.020) 0:02:49.368 ***** 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:58:21 +0000 (0:00:00.022) 0:02:49.391 ***** 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:58:21 +0000 (0:00:00.021) 0:02:49.413 ***** 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:58:21 +0000 (0:00:00.020) 0:02:49.433 ***** 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:58:21 +0000 (0:00:00.020) 0:02:49.453 ***** 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:58:21 +0000 (0:00:00.020) 0:02:49.473 ***** 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:58:21 +0000 (0:00:00.020) 0:02:49.494 ***** 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:58:21 +0000 (0:00:00.026) 0:02:49.520 ***** 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:58:21 +0000 (0:00:00.035) 0:02:49.556 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003739", "end": "2024-02-22 12:58:21.506524", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:58:21.502785" } 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:58:21 +0000 (0:00:00.243) 0:02:49.799 ***** 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:58:21 +0000 (0:00:00.029) 0:02:49.829 ***** 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.140857", "end": "2024-02-22 12:58:21.922235", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:58:21.781378" } 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:58:21 +0000 (0:00:00.296) 0:02:50.126 ***** 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:58:21 +0000 (0:00:00.039) 0:02:50.166 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003685", "end": "2024-02-22 12:58:22.117771", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:58:22.114086" } 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:58:22 +0000 (0:00:00.155) 0:02:50.321 ***** 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:58:22 +0000 (0:00:00.027) 0:02:50.349 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.143320", "end": "2024-02-22 12:58:22.440432", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:58:22.297112" } 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:58:22 +0000 (0:00:00.294) 0:02:50.644 ***** 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:58:22 +0000 (0:00:00.040) 0:02:50.684 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003719", "end": "2024-02-22 12:58:22.633902", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:58:22.630183" } 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:58:22 +0000 (0:00:00.151) 0:02:50.836 ***** 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:58:22 +0000 (0:00:00.026) 0:02:50.862 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.143670", "end": "2024-02-22 12:58:22.953660", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:58:22.809990" } 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:58:22 +0000 (0:00:00.294) 0:02:51.157 ***** 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:58:23 +0000 (0:00:00.040) 0:02:51.197 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003731", "end": "2024-02-22 12:58:23.146736", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:58:23.143005" } 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:58:23 +0000 (0:00:00.152) 0:02:51.349 ***** 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:58:23 +0000 (0:00:00.100) 0:02:51.450 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.142711", "end": "2024-02-22 12:58:23.542485", "failed_when_result": false, "rc": 0, "start": "2024-02-22 12:58:23.399774" } 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:58:23 +0000 (0:00:00.296) 0:02:51.746 ***** 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:58:23 +0000 (0:00:00.022) 0:02:51.769 ***** 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:58:23 +0000 (0:00:00.021) 0:02:51.791 ***** 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:58:23 +0000 (0:00:00.021) 0:02:51.812 ***** 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:58:23 +0000 (0:00:00.023) 0:02:51.836 ***** 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:58:23 +0000 (0:00:00.022) 0:02:51.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 : 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:58:23 +0000 (0:00:00.022) 0:02:51.881 ***** 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:58:23 +0000 (0:00:00.022) 0:02:51.904 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:58:23 +0000 (0:00:00.020) 0:02:51.924 ***** 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:58:23 +0000 (0:00:00.020) 0:02:51.945 ***** 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:58:23 +0000 (0:00:00.019) 0:02:51.964 ***** 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:58:23 +0000 (0:00:00.019) 0:02:51.984 ***** 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:58:23 +0000 (0:00:00.020) 0:02:52.004 ***** 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:58:23 +0000 (0:00:00.022) 0:02:52.027 ***** 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:58:23 +0000 (0:00:00.021) 0:02:52.048 ***** 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:58:23 +0000 (0:00:00.020) 0:02:52.068 ***** 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:58:23 +0000 (0:00:00.099) 0:02:52.168 ***** 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:58:24 +0000 (0:00:00.021) 0:02:52.189 ***** 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:58:24 +0000 (0:00:00.020) 0:02:52.210 ***** 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:58:24 +0000 (0:00:00.020) 0:02:52.230 ***** 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:58:24 +0000 (0:00:00.021) 0:02:52.252 ***** 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:58:24 +0000 (0:00:00.021) 0:02:52.273 ***** 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:58:24 +0000 (0:00:00.020) 0:02:52.293 ***** 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:58:24 +0000 (0:00:00.019) 0:02:52.313 ***** 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:58:24 +0000 (0:00:00.022) 0:02:52.336 ***** 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:58:24 +0000 (0:00:00.023) 0:02:52.359 ***** 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:58:24 +0000 (0:00:00.022) 0:02:52.381 ***** 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:58:24 +0000 (0:00:00.026) 0:02:52.407 ***** 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:58:24 +0000 (0:00:00.021) 0:02:52.429 ***** 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:58:24 +0000 (0:00:00.021) 0:02:52.450 ***** 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:58:24 +0000 (0:00:00.028) 0:02:52.478 ***** 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:58:24 +0000 (0:00:00.019) 0:02:52.498 ***** 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:58:24 +0000 (0:00:00.019) 0:02:52.517 ***** 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:58:24 +0000 (0:00:00.019) 0:02:52.537 ***** 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:58:24 +0000 (0:00:00.018) 0:02:52.556 ***** 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:58:24 +0000 (0:00:00.101) 0:02:52.658 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:1182 Thursday 22 February 2024 12:58:24 +0000 (0:00:00.021) 0:02:52.679 ***** 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:58:24 +0000 (0:00:00.022) 0:02:52.701 ***** 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:58:24 +0000 (0:00:00.020) 0:02:52.722 ***** 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:58:24 +0000 (0:00:00.019) 0:02:52.742 ***** 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:58:24 +0000 (0:00:00.020) 0:02:52.762 ***** 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:58:24 +0000 (0:00:00.019) 0:02:52.781 ***** 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:58:24 +0000 (0:00:00.026) 0:02:52.808 ***** 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:58:24 +0000 (0:00:00.019) 0:02:52.827 ***** 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:58:24 +0000 (0:00:00.019) 0:02:52.847 ***** 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:58:24 +0000 (0:00:00.019) 0:02:52.867 ***** 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:58:24 +0000 (0:00:00.021) 0:02:52.888 ***** 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:58:24 +0000 (0:00:00.024) 0:02:52.912 ***** 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:58:24 +0000 (0:00:00.018) 0:02:52.931 ***** 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:58:24 +0000 (0:00:00.019) 0:02:52.951 ***** 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:58:24 +0000 (0:00:00.021) 0:02:52.972 ***** 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:58:24 +0000 (0:00:00.024) 0:02:52.997 ***** 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:58:25 +0000 (0:00:00.269) 0:02:53.266 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:58:06 UTC", "ActiveEnterTimestampMonotonic": "2109023322", "ActiveExitTimestamp": "Thu 2024-02-22 12:58:06 UTC", "ActiveExitTimestampMonotonic": "2108776713", "ActiveState": "active", "After": "network.target systemd-journald.socket basic.target system.slice -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:58:06 UTC", "AssertTimestampMonotonic": "2109022568", "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:58:06 UTC", "ConditionTimestampMonotonic": "2109022566", "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": "26418", "ExecMainStartTimestamp": "Thu 2024-02-22 12:58:06 UTC", "ExecMainStartTimestampMonotonic": "2109023247", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 12:58:06 UTC] ; stop_time=[n/a] ; pid=26418 ; 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:58:06 UTC", "InactiveEnterTimestampMonotonic": "2109020887", "InactiveExitTimestamp": "Thu 2024-02-22 12:58:06 UTC", "InactiveExitTimestampMonotonic": "2109023322", "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": "26418", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 12:58:06 UTC", "WatchdogTimestampMonotonic": "2109023297", "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:58:26 +0000 (0:00:01.476) 0:02:54.743 ***** 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:58:26 +0000 (0:00:00.021) 0:02:54.764 ***** 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_2019.yml:26 Thursday 22 February 2024 12:58:26 +0000 (0:00:00.021) 0:02:54.786 ***** 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:58:26 +0000 (0:00:00.037) 0:02:54.823 ***** 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:58:27 +0000 (0:00:01.158) 0:02:55.982 ***** 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:58:27 +0000 (0:00:00.025) 0:02:56.007 ***** 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:58:27 +0000 (0:00:00.021) 0:02:56.028 ***** 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:58:27 +0000 (0:00:00.054) 0:02:56.082 ***** 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:58:28 +0000 (0:00:00.117) 0:02:56.200 ***** 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:58:28 +0000 (0:00:00.027) 0:02:56.228 ***** 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:58:28 +0000 (0:00:00.148) 0:02:56.376 ***** 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:58:28 +0000 (0:00:00.023) 0:02:56.399 ***** 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:58:28 +0000 (0:00:00.447) 0:02:56.847 ***** 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:58:28 +0000 (0:00:00.020) 0:02:56.867 ***** 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:58:28 +0000 (0:00:00.027) 0:02:56.895 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:47:01 UTC", "ActiveEnterTimestampMonotonic": "1443947786", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:47:01 UTC", "AssertTimestampMonotonic": "1443426136", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 12:47:01 UTC", "ConditionTimestampMonotonic": "1443426135", "Conflicts": "shutdown.target iptables.service ipset.service ebtables.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": "12088", "ExecMainStartTimestamp": "Thu 2024-02-22 12:47:01 UTC", "ExecMainStartTimestampMonotonic": "1443428623", "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:47:01 UTC", "InactiveExitTimestampMonotonic": "1443428667", "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": "12088", "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:47:01 UTC", "WatchdogTimestampMonotonic": "1443947720", "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:58:28 +0000 (0:00:00.246) 0:02:57.141 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 12:47:01 UTC", "ActiveEnterTimestampMonotonic": "1443947786", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 12:47:01 UTC", "AssertTimestampMonotonic": "1443426136", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 12:47:01 UTC", "ConditionTimestampMonotonic": "1443426135", "Conflicts": "shutdown.target iptables.service ipset.service ebtables.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": "12088", "ExecMainStartTimestamp": "Thu 2024-02-22 12:47:01 UTC", "ExecMainStartTimestampMonotonic": "1443428623", "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:47:01 UTC", "InactiveExitTimestampMonotonic": "1443428667", "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": "12088", "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:47:01 UTC", "WatchdogTimestampMonotonic": "1443947720", "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:58:29 +0000 (0:00:00.239) 0:02:57.381 ***** 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:58:29 +0000 (0:00:00.025) 0:02:57.406 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.41.30 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:58:29 +0000 (0:00:00.329) 0:02:57.735 ***** 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:58:29 +0000 (0:00:00.023) 0:02:57.758 ***** 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:58:29 +0000 (0:00:00.021) 0:02:57.780 ***** 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:58:29 +0000 (0:00:00.022) 0:02:57.802 ***** 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:58:29 +0000 (0:00:00.024) 0:02:57.826 ***** 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:58:29 +0000 (0:00:00.089) 0:02:57.916 ***** 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:58:29 +0000 (0:00:00.022) 0:02:57.938 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.41.30 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:58:30 +0000 (0:00:00.411) 0:02:58.350 ***** 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:58:30 +0000 (0:00:00.027) 0:02:58.377 ***** skipping: [sut] => {} TASK [Purge selinux configuration] ********************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/cleanup.yml:26 Thursday 22 February 2024 12:58:30 +0000 (0:00:00.022) 0:02:58.400 ***** 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:58:30 +0000 (0:00:00.060) 0:02:58.460 ***** 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:58:30 +0000 (0:00:00.038) 0:02:58.499 ***** 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:58:30 +0000 (0:00:00.027) 0:02:58.527 ***** 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:58:30 +0000 (0:00:00.037) 0:02:58.565 ***** 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:58:30 +0000 (0:00:00.206) 0:02:58.772 ***** 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:58:30 +0000 (0:00:00.023) 0:02:58.796 ***** 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:58:31 +0000 (0:00:00.440) 0:02:59.236 ***** 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:58:31 +0000 (0:00:00.021) 0:02:59.257 ***** 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:58:31 +0000 (0:00:00.020) 0:02:59.278 ***** 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:58:31 +0000 (0:00:00.020) 0:02:59.298 ***** 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:58:31 +0000 (0:00:00.409) 0:02:59.708 ***** 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:58:31 +0000 (0:00:00.020) 0:02:59.729 ***** 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:58:31 +0000 (0:00:00.020) 0:02:59.750 ***** 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:58:31 +0000 (0:00:00.023) 0:02:59.773 ***** 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:58:31 +0000 (0:00:00.017) 0:02:59.790 ***** 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:58:31 +0000 (0:00:00.019) 0:02:59.810 ***** 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.419225", "end": "2024-02-22 12:58:32.174535", "rc": 0, "start": "2024-02-22 12:58:31.755310" } 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:58:32 +0000 (0:00:00.565) 0:03:00.375 ***** 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:58:32 +0000 (0:00:00.020) 0:03:00.396 ***** 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:58:32 +0000 (0:00:00.019) 0:03:00.415 ***** 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:58:32 +0000 (0:00:00.019) 0:03:00.435 ***** 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:58:32 +0000 (0:00:00.081) 0:03:00.516 ***** 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:58:32 +0000 (0:00:00.021) 0:03:00.538 ***** 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:58:32 +0000 (0:00:00.019) 0:03:00.557 ***** 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:58:32 +0000 (0:00:00.019) 0:03:00.577 ***** 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:58:32 +0000 (0:00:00.019) 0:03:00.597 ***** 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:58:35 +0000 (0:00:02.853) 0:03:03.450 ***** 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:58:35 +0000 (0:00:00.027) 0:03:03.478 ***** 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:58:35 +0000 (0:00:00.024) 0:03:03.503 ***** TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/cleanup.yml:32 Thursday 22 February 2024 12:58:35 +0000 (0:00:00.100) 0:03:03.604 ***** 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:58:35 +0000 (0:00:00.034) 0:03:03.638 ***** 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:58:35 +0000 (0:00:00.034) 0:03:03.673 ***** 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:58:35 +0000 (0:00:00.207) 0:03:03.880 ***** 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:15.0.4355.3-4 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 python3 to be removed - no longer needed by mssql-server\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 lsof 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\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 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 lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 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 15.0.4355.3-4 @packages-microsoft-com-mssql-server-2019\n 1.1 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 lsof x86_64 4.87-6.el7 @base 927 k\n msodbcsql17 x86_64 17.10.5.1-1 @packages-microsoft-com-prod 2.2 M\n python3 x86_64 3.6.8-21.el7_9 @updates 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @updates 35 M\n python3-pip noarch 9.0.3-8.el7 @base 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @base 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+14 Dependent packages)\n\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-15.0.4355.3-4.x86_64 1/17 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/17 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/17 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 4/17 \n Erasing : python3-pip-9.0.3-8.el7.noarch 5/17 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 6/17 \n Erasing : python3-3.6.8-21.el7_9.x86_64 7/17 \n Erasing : msodbcsql17-17.10.5.1-1.x86_64 8/17 \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 9/17 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 10/17 \n Erasing : libatomic-4.8.5-44.el7.x86_64 11/17 \n Erasing : bzip2-1.0.6-13.el7.x86_64 12/17 \n Erasing : gdb-7.6.1-120.el7.x86_64 13/17 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 14/17 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 16/17 \n Erasing : lsof-4.87-6.el7.x86_64 17/17 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/17 \n Verifying : python3-3.6.8-21.el7_9.x86_64 2/17 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 3/17 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/17 \n Verifying : libatomic-4.8.5-44.el7.x86_64 5/17 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/17 \n Verifying : lsof-4.87-6.el7.x86_64 7/17 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 8/17 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 9/17 \n Verifying : gdb-7.6.1-120.el7.x86_64 10/17 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 11/17 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 12/17 \n Verifying : mssql-server-15.0.4355.3-4.x86_64 13/17 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 14/17 \n Verifying : python3-pip-9.0.3-8.el7.noarch 15/17 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 16/17 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 17/17 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4355.3-4 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 lsof.x86_64 0:4.87-6.el7 \n msodbcsql17.x86_64 0:17.10.5.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \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:58:39 +0000 (0:00:04.058) 0:03:07.939 ***** 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.012146", "end": "2024-02-22 12:58:39.896948", "rc": 0, "start": "2024-02-22 12:58:39.884802" } STDOUT: removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/data/model_msdbdata.mdf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/Entropy.bin’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/tempdb4.ndf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.mdf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.ldf’ removed ‘/var/opt/mssql/data/model_msdblog.ldf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/tempdb3.ndf’ removed ‘/var/opt/mssql/data/tempdb2.ndf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/log/system_health_0_133530802068770000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133530801858820000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530802241050000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/system_health_0_133530803099410000.xel’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530802615840000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530801851310000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133530802443010000.xel’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530801900020000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530802064280000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530803094220000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133530802901360000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/system_health_0_133530802245310000.xel’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530802438550000.xel’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/mssql-conf/mssql-conf.log’ removed directory: ‘/var/opt/mssql/log/mssql-conf’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/system_health_0_133530801905040000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530802896790000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133530802620140000.xel’ removed directory: ‘/var/opt/mssql/log’ removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed ‘/var/opt/mssql/.system/instance_id’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed 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/bfa0559f-29ce-46b9-bb1f-8c6b5999754d’ 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-2019.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:58:39 +0000 (0:00:00.167) 0:03:08.106 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:01.032984", "end": "2024-02-22 12:58:41.081481", "rc": 0, "start": "2024-02-22 12:58:40.048497" } 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:58:41 +0000 (0:00:01.163) 0:03:09.269 ***** changed: [sut] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:02.193659", "end": "2024-02-22 12:58:43.430366", "rc": 0, "start": "2024-02-22 12:58:41.236707" } 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:58:43 +0000 (0:00:02.353) 0:03:11.623 ***** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 42.75s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:230 linux-system-roles.mssql : Set up MSSQL --------------------------------- 5.70s /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.48s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Remove related packages ------------------------------------------------- 4.06s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/cleanup.yml:50 ----------------- fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.90s /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 3.48s /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Wait for mssql-server to prepare for client connections ----------------- 3.18s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:93 --------- linux-system-roles.mssql : Gather package facts ------------------------- 3.10s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:532 linux-system-roles.mssql : Gather package facts ------------------------- 3.10s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 linux-system-roles.mssql : Configure the setting network forceencryption --- 2.97s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.85s /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 linux-system-roles.mssql : Restart the mssql-server service ------------- 2.46s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 linux-system-roles.mssql : Gather system services facts ----------------- 2.45s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:261 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.35s /WORKDIR/git-rhel-9-unconf4iy38aet/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Wait for mssql-server to prepare for client connections ----------------- 2.25s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:93 --------- Check if the set password matches the existing password ----------------- 1.78s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:99 --------- Check if the set password matches the existing password ----------------- 1.74s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:99 --------- Check if the set password matches the existing password ----------------- 1.73s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/tasks/verify_settings.yml:99 --------- linux-system-roles.mssql : Configure to run as a confined application with SELinux --- 1.28s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/main.yml:225 linux-system-roles.mssql : Ensure that the mssql-server service is started --- 1.23s /WORKDIR/git-rhel-9-unconf4iy38aet/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---