# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_idempotency_2017.yml ******************************************* 1 plays in /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tests_idempotency_2017.yml PLAY [Ensure that the role is idempotent] ************************************** META: ran handlers TASK [Run tests_idempotency with SQL Server 2017] ****************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tests_idempotency_2017.yml:15 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.021) 0:00:00.021 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/tests_idempotency.yml for sut TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/tests_idempotency.yml:2 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.011) 0:00:00.033 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.020) 0:00:00.053 ***** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.386) 0:00:00.440 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.010) 0:00:00.450 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run on a fresh host and set all parameters] ****************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/tests_idempotency.yml:5 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.008) 0:00:00.459 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.142) 0:00:00.602 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.011) 0:00:00.613 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.013) 0:00:00.626 ***** 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-unconf5s2790f8/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-unconf5s2790f8/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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.026) 0:00:00.653 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.008) 0:00:00.661 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.008) 0:00:00.670 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.007) 0:00:00.678 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.007) 0:00:00.685 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.009) 0:00:00.694 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.007) 0:00:00.702 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.007) 0:00:00.709 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.007) 0:00:00.717 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.007) 0:00:00.724 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.010) 0:00:00.735 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.007) 0:00:00.743 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.007) 0:00:00.750 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.007) 0:00:00.758 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.007) 0:00:00.765 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 10:11:52 +0000 (0:00:00.008) 0:00:00.774 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Thursday 22 February 2024 10:11:53 +0000 (0:00:01.041) 0:00:01.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 : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 22 February 2024 10:11:53 +0000 (0:00:00.034) 0:00:01.850 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Thursday 22 February 2024 10:11:53 +0000 (0:00:00.017) 0:00:01.868 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Thursday 22 February 2024 10:11:54 +0000 (0:00:00.019) 0:00:01.887 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Thursday 22 February 2024 10:11:54 +0000 (0:00:00.029) 0:00:01.917 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Thursday 22 February 2024 10:11:54 +0000 (0:00:00.421) 0:00:02.338 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Thursday 22 February 2024 10:11:54 +0000 (0:00:00.017) 0:00:02.356 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 10:11:54 +0000 (0:00:00.018) 0:00:02.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Thursday 22 February 2024 10:11:54 +0000 (0:00:00.043) 0:00:02.417 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [linux-system-roles.mssql : Configure to run as a confined application with SELinux] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:225 Thursday 22 February 2024 10:11:54 +0000 (0:00:00.194) 0:00:02.612 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:230 Thursday 22 February 2024 10:11:55 +0000 (0:00:00.450) 0:00:03.062 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3465.1-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal download size: 203 M\nInstalled size: 1.0 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 50 MB/s | 203 MB 00:04 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libatomic-4.8.5-44.el7.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libatomic-4.8.5-44.el7.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Thursday 22 February 2024 10:12:33 +0000 (0:00:38.758) 0:00:41.821 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:246 Thursday 22 February 2024 10:12:33 +0000 (0:00:00.017) 0:00:41.839 ***** 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.006020", "end": "2024-02-22 10:12:34.144079", "rc": 0, "start": "2024-02-22 10:12:34.138059" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:261 Thursday 22 February 2024 10:12:34 +0000 (0:00:00.204) 0:00:42.043 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:265 Thursday 22 February 2024 10:12:34 +0000 (0:00:00.760) 0:00:42.804 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:274 Thursday 22 February 2024 10:12:34 +0000 (0:00:00.024) 0:00:42.829 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:290 Thursday 22 February 2024 10:12:34 +0000 (0:00:00.020) 0:00:42.850 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:315 Thursday 22 February 2024 10:12:40 +0000 (0:00:05.944) 0:00:48.795 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Ensure the directory and permissions /tmp/mssql_data] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 22 February 2024 10:12:40 +0000 (0:00:00.040) 0:00:48.836 ***** changed: [sut] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Thursday 22 February 2024 10:12:41 +0000 (0:00:00.252) 0:00:49.088 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:31 Thursday 22 February 2024 10:12:41 +0000 (0:00:00.021) 0:00:49.109 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:12:41 +0000 (0:00:00.033) 0:00:49.143 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003643", "end": "2024-02-22 10:12:41.382862", "failed_when_result": false, "rc": 1, "start": "2024-02-22 10:12:41.379219" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:12:41 +0000 (0:00:00.141) 0:00:49.285 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/tmp/mssql_data" ], "delta": "0:00:00.052878", "end": "2024-02-22 10:12:41.573864", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:12:41.520986" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:12:41 +0000 (0:00:00.196) 0:00:49.481 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the directory and permissions /tmp/mssql_log] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 22 February 2024 10:12:41 +0000 (0:00:00.021) 0:00:49.502 ***** changed: [sut] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Thursday 22 February 2024 10:12:41 +0000 (0:00:00.147) 0:00:49.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:31 Thursday 22 February 2024 10:12:41 +0000 (0:00:00.024) 0:00:49.674 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:12:41 +0000 (0:00:00.033) 0:00:49.708 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003685", "end": "2024-02-22 10:12:41.948594", "failed_when_result": false, "rc": 1, "start": "2024-02-22 10:12:41.944909" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:12:41 +0000 (0:00:00.142) 0:00:49.850 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.084121", "end": "2024-02-22 10:12:42.208425", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:12:42.124304" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:12:42 +0000 (0:00:00.266) 0:00:50.117 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 22 February 2024 10:12:42 +0000 (0:00:00.020) 0:00:50.137 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:342 Thursday 22 February 2024 10:12:42 +0000 (0:00:00.024) 0:00:50.161 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 22 February 2024 10:12:42 +0000 (0:00:00.018) 0:00:50.180 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "tuned-profiles-mssql" ] }, "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 tuned-profiles-mssql.noarch 0:2.11.0-12.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n tuned-profiles-mssql noarch 2.11.0-12.el7_9 updates 30 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 30 k\nInstalled size: 1.1 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : tuned-profiles-mssql-2.11.0-12.el7_9.noarch 1/1 \n Verifying : tuned-profiles-mssql-2.11.0-12.el7_9.noarch 1/1 \n\nInstalled:\n tuned-profiles-mssql.noarch 0:2.11.0-12.el7_9 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 22 February 2024 10:12:45 +0000 (0:00:02.732) 0:00:52.912 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 09:50:29 UTC", "ActiveEnterTimestampMonotonic": "15394370", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service system.slice systemd-journald.socket systemd-sysctl.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 09:50:28 UTC", "AssertTimestampMonotonic": "14219169", "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 09:50:28 UTC", "ConditionTimestampMonotonic": "14219168", "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": "872", "ExecMainStartTimestamp": "Thu 2024-02-22 09:50:28 UTC", "ExecMainStartTimestampMonotonic": "14219727", "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 09:50:28 UTC", "InactiveExitTimestampMonotonic": "14219757", "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": "872", "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 dbus.service system.slice 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 09:50:29 UTC", "WatchdogTimestampMonotonic": "15394086", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 22 February 2024 10:12:45 +0000 (0:00:00.341) 0:00:53.253 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.169040", "end": "2024-02-22 10:12:45.655480", "rc": 0, "start": "2024-02-22 10:12:45.486440" } STDOUT: Current active profile: virtual-guest TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 22 February 2024 10:12:45 +0000 (0:00:00.304) 0:00:53.557 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.075156", "end": "2024-02-22 10:12:46.862347", "failed_when_result": false, "rc": 1, "start": "2024-02-22 10:12:45.787191" } STDERR: Cannot load profile(s) 'virtual-guest mssql': Cannot find profile 'throughput-performance' in '['/etc/tuned', '/usr/lib/tuned']'. MSG: non-zero return code TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 22 February 2024 10:12:46 +0000 (0:00:01.210) 0:00:54.768 ***** changed: [sut] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 22 February 2024 10:12:47 +0000 (0:00:00.224) 0:00:54.993 ***** changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.665489", "end": "2024-02-22 10:12:48.895776", "rc": 0, "start": "2024-02-22 10:12:47.230287" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 22 February 2024 10:12:48 +0000 (0:00:01.810) 0:00:56.803 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 22 February 2024 10:12:49 +0000 (0:00:00.142) 0:00:56.946 ***** 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 download size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 4.6 MB/s | 1.5 MB 00:00 \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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 22 February 2024 10:12:54 +0000 (0:00:05.569) 0:01:02.515 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 22 February 2024 10:12:54 +0000 (0:00:00.019) 0:01:02.534 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 22 February 2024 10:12:54 +0000 (0:00:00.023) 0:01:02.558 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:449 Thursday 22 February 2024 10:12:54 +0000 (0:00:00.020) 0:01:02.578 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:456 Thursday 22 February 2024 10:12:54 +0000 (0:00:00.026) 0:01:02.605 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:464 Thursday 22 February 2024 10:12:54 +0000 (0:00:00.019) 0:01:02.625 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:486 Thursday 22 February 2024 10:12:54 +0000 (0:00:00.018) 0:01:02.644 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Thursday 22 February 2024 10:12:54 +0000 (0:00:00.043) 0:01:02.687 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:512 Thursday 22 February 2024 10:12:54 +0000 (0:00:00.018) 0:01:02.706 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:525 Thursday 22 February 2024 10:12:54 +0000 (0:00:00.028) 0:01:02.734 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:532 Thursday 22 February 2024 10:12:54 +0000 (0:00:00.019) 0:01:02.753 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:538 Thursday 22 February 2024 10:12:54 +0000 (0:00:00.020) 0:01:02.773 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:558 Thursday 22 February 2024 10:12:54 +0000 (0:00:00.019) 0:01:02.792 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:12:54 +0000 (0:00:00.039) 0:01:02.831 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003265", "end": "2024-02-22 10:12:55.072647", "failed_when_result": false, "rc": 1, "start": "2024-02-22 10:12:55.069382" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:12:55 +0000 (0:00:00.144) 0:01:02.976 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.049915", "end": "2024-02-22 10:12:55.258106", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:12:55.208191" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:12:55 +0000 (0:00:00.196) 0:01:03.172 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Thursday 22 February 2024 10:12:55 +0000 (0:00:00.031) 0:01:03.204 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 10:12:55 +0000 (0:00:00.055) 0:01:03.259 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:584 Thursday 22 February 2024 10:12:55 +0000 (0:00:00.030) 0:01:03.290 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:12:55 +0000 (0:00:00.035) 0:01:03.325 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003118", "end": "2024-02-22 10:12:55.558556", "failed_when_result": false, "rc": 1, "start": "2024-02-22 10:12:55.555438" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:12:55 +0000 (0:00:00.136) 0:01:03.462 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.050201", "end": "2024-02-22 10:12:55.745123", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:12:55.694922" } 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:12:55 +0000 (0:00:00.189) 0:01:03.652 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Thursday 22 February 2024 10:12:55 +0000 (0:00:00.018) 0:01:03.670 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:610 Thursday 22 February 2024 10:12:55 +0000 (0:00:00.039) 0:01:03.710 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:12:55 +0000 (0:00:00.034) 0:01:03.745 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003197", "end": "2024-02-22 10:12:55.974561", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:12:55.971364" } STDOUT: enabled = false TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:12:56 +0000 (0:00:00.132) 0:01:03.877 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.049702", "end": "2024-02-22 10:12:56.156759", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:12:56.107057" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:12:56 +0000 (0:00:00.186) 0:01:04.063 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:617 Thursday 22 February 2024 10:12:56 +0000 (0:00:00.021) 0:01:04.085 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-server-fts" ] }, "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-fts.x86_64 0:14.0.3465.1-1 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server-fts\n x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017 225 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 225 M\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\n+-------------------------------------------------------------------------------------+\nPlease restart mssql-server to enable Microsoft SQL Server Full Text Search.\n+-------------------------------------------------------------------------------------+\n\n Verifying : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\nInstalled:\n mssql-server-fts.x86_64 0:14.0.3465.1-1 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 10:13:34 +0000 (0:00:38.126) 0:01:42.211 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "powershell" ] }, "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 powershell.x86_64 0:7.3.11-1.rh will be installed\n--> Processing Dependency: libicu for package: powershell-7.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libicu.x86_64 0:50.2-4.el7_7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n powershell x86_64 7.3.11-1.rh packages-microsoft-com-prod 66 M\nInstalling for dependencies:\n libicu x86_64 50.2-4.el7_7 base 6.9 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+1 Dependent package)\n\nTotal download size: 72 M\nInstalled size: 192 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 44 MB/s | 72 MB 00:01 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libicu-50.2-4.el7_7.x86_64 1/2 \n Installing : powershell-7.3.11-1.rh.x86_64 2/2 \n Verifying : powershell-7.3.11-1.rh.x86_64 1/2 \n Verifying : libicu-50.2-4.el7_7.x86_64 2/2 \n\nInstalled:\n powershell.x86_64 0:7.3.11-1.rh \n\nDependency Installed:\n libicu.x86_64 0:50.2-4.el7_7 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:633 Thursday 22 February 2024 10:13:47 +0000 (0:00:12.775) 0:01:54.987 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003509", "end": "2024-02-22 10:13:47.218216", "failed_when_result": false, "rc": 1, "start": "2024-02-22 10:13:47.214707" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Thursday 22 February 2024 10:13:47 +0000 (0:00:00.131) 0:01:55.118 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.049797", "end": "2024-02-22 10:13:47.398403", "rc": 0, "start": "2024-02-22 10:13:47.348606" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Thursday 22 February 2024 10:13:47 +0000 (0:00:00.182) 0:01:55.301 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:654 Thursday 22 February 2024 10:13:47 +0000 (0:00:00.019) 0:01:55.321 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:13:47 +0000 (0:00:00.052) 0:01:55.373 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003244", "end": "2024-02-22 10:13:47.606014", "failed_when_result": false, "rc": 1, "start": "2024-02-22 10:13:47.602770" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:13:47 +0000 (0:00:00.134) 0:01:55.507 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.049853", "end": "2024-02-22 10:13:47.791006", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:13:47.741153" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:13:47 +0000 (0:00:00.189) 0:01:55.697 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 10:13:47 +0000 (0:00:00.020) 0:01:55.717 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:13:47 +0000 (0:00:00.033) 0:01:55.750 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003410", "end": "2024-02-22 10:13:47.982904", "failed_when_result": false, "rc": 1, "start": "2024-02-22 10:13:47.979494" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.133) 0:01:55.884 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.050641", "end": "2024-02-22 10:13:48.170591", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:13:48.119950" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.191) 0:01:56.076 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:678 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.020) 0:01:56.097 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.018) 0:01:56.115 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:697 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.019) 0:01:56.135 ***** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:715 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.023) 0:01:56.159 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.018) 0:01:56.177 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:733 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.018) 0:01:56.195 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:740 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.019) 0:01:56.215 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.020) 0:01:56.235 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:757 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.020) 0:01:56.255 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:765 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.042) 0:01:56.298 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:772 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.019) 0:01:56.317 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.019) 0:01:56.337 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:788 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.019) 0:01:56.356 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.018) 0:01:56.375 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:810 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.018) 0:01:56.393 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.018) 0:01:56.412 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:827 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.018) 0:01:56.431 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.017) 0:01:56.448 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.017) 0:01:56.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:854 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.018) 0:01:56.484 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:860 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.017) 0:01:56.502 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:886 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.017) 0:01:56.519 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:907 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.017) 0:01:56.537 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.017) 0:01:56.554 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:925 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.017) 0:01:56.571 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:931 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.017) 0:01:56.589 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:949 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.017) 0:01:56.606 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:964 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.018) 0:01:56.624 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:984 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.017) 0:01:56.642 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1037 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.017) 0:01:56.660 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1044 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.039) 0:01:56.700 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.018) 0:01:56.719 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1062 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.017) 0:01:56.736 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1068 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.017) 0:01:56.754 ***** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.022) 0:01:56.776 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.017) 0:01:56.793 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1093 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.018) 0:01:56.811 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.024) 0:01:56.836 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.017) 0:01:56.853 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1139 Thursday 22 February 2024 10:13:48 +0000 (0:00:00.019) 0:01:56.872 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.017) 0:01:56.890 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1158 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.018) 0:01:56.908 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.017) 0:01:56.925 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1182 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.017) 0:01:56.943 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1195 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.018) 0:01:56.961 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1202 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.017) 0:01:56.979 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.017) 0:01:56.996 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1218 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.019) 0:01:57.016 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.017) 0:01:57.033 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1237 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.025) 0:01:57.058 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1246 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.017) 0:01:57.076 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1253 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.040) 0:01:57.116 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1259 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.019) 0:01:57.135 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.019) 0:01:57.155 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1280 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.022) 0:01:57.178 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1292 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.019) 0:01:57.197 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.019) 0:01:57.217 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.022) 0:01:57.240 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1312 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.021) 0:01:57.261 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 22 February 2024 10:13:49 +0000 (0:00:00.234) 0:01:57.496 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 10:12:40 UTC", "ActiveEnterTimestampMonotonic": "1346835060", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.mount auditd.service system.slice systemd-journald.socket network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 10:12:40 UTC", "AssertTimestampMonotonic": "1346834019", "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 10:12:40 UTC", "ConditionTimestampMonotonic": "1346834019", "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": "14108", "ExecMainStartTimestamp": "Thu 2024-02-22 10:12:40 UTC", "ExecMainStartTimestampMonotonic": "1346834948", "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 10:12:40 UTC", "InactiveExitTimestampMonotonic": "1346835060", "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": "14108", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 10:12:40 UTC", "WatchdogTimestampMonotonic": "1346835060", "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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1325 Thursday 22 February 2024 10:13:50 +0000 (0:00:00.520) 0:01:58.016 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1336 Thursday 22 February 2024 10:13:50 +0000 (0:00:00.020) 0:01:58.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/tests_idempotency.yml:20 Thursday 22 February 2024 10:13:50 +0000 (0:00:00.019) 0:01:58.057 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/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-unconf5s2790f8/tests/tasks/mssql-sever-increase-start-limit.yml:3 Thursday 22 February 2024 10:13:50 +0000 (0:00:00.063) 0:01:58.121 ***** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql-sever-increase-start-limit.yml:10 Thursday 22 February 2024 10:13:50 +0000 (0:00:00.217) 0:01:58.338 ***** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql-sever-increase-start-limit.yml:17 Thursday 22 February 2024 10:13:50 +0000 (0:00:00.137) 0:01:58.476 ***** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/tests_idempotency.yml:23 Thursday 22 February 2024 10:13:50 +0000 (0:00:00.289) 0:01:58.765 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.148) 0:01:58.914 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.030) 0:01:58.945 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.023) 0:01:58.968 ***** 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-unconf5s2790f8/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-unconf5s2790f8/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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.035) 0:01:59.004 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.018) 0:01:59.022 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.042) 0:01:59.065 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.020) 0:01:59.085 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.031) 0:01:59.116 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.019) 0:01:59.135 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.022) 0:01:59.157 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.073) 0:01:59.231 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.021) 0:01:59.252 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.030) 0:01:59.282 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.027) 0:01:59.310 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.020) 0:01:59.330 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.021) 0:01:59.352 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.019) 0:01:59.371 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.023) 0:01:59.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 10:13:51 +0000 (0:00:00.020) 0:01:59.415 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Thursday 22 February 2024 10:13:52 +0000 (0:00:01.082) 0:02:00.498 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 22 February 2024 10:13:52 +0000 (0:00:00.057) 0:02:00.555 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Thursday 22 February 2024 10:13:52 +0000 (0:00:00.020) 0:02:00.576 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Thursday 22 February 2024 10:13:52 +0000 (0:00:00.057) 0:02:00.634 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Thursday 22 February 2024 10:13:52 +0000 (0:00:00.037) 0:02:00.672 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Thursday 22 February 2024 10:13:53 +0000 (0:00:00.422) 0:02:01.095 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Thursday 22 February 2024 10:13:53 +0000 (0:00:00.028) 0:02:01.123 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 10:13:53 +0000 (0:00:00.021) 0:02:01.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Thursday 22 February 2024 10:13:53 +0000 (0:00:00.034) 0:02:01.179 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:225 Thursday 22 February 2024 10:13:53 +0000 (0:00:00.024) 0:02:01.203 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:230 Thursday 22 February 2024 10:13:53 +0000 (0:00:00.492) 0:02:01.696 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Thursday 22 February 2024 10:13:54 +0000 (0:00:00.342) 0:02:02.038 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:246 Thursday 22 February 2024 10:13:54 +0000 (0:00:00.019) 0:02:02.058 ***** 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.005701", "end": "2024-02-22 10:13:54.288884", "rc": 0, "start": "2024-02-22 10:13:54.283183" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:261 Thursday 22 February 2024 10:13:54 +0000 (0:00:00.131) 0:02:02.189 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:265 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.742) 0:02:02.932 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:274 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.025) 0:02:02.957 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:290 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.020) 0:02:02.978 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:315 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.020) 0:02:02.998 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Ensure the directory and permissions /tmp/mssql_data] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.045) 0:02:03.043 ***** ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.146) 0:02:03.190 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:31 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.033) 0:02:03.224 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.042) 0:02:03.267 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003346", "end": "2024-02-22 10:13:55.499230", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:13:55.495884" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.134) 0:02:03.401 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.024) 0:02:03.425 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the directory and permissions /tmp/mssql_log] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.020) 0:02:03.446 ***** ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.137) 0:02:03.583 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:31 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.023) 0:02:03.607 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.071) 0:02:03.678 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003282", "end": "2024-02-22 10:13:55.913067", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:13:55.909785" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.138) 0:02:03.816 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.027) 0:02:03.844 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 22 February 2024 10:13:55 +0000 (0:00:00.024) 0:02:03.869 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:342 Thursday 22 February 2024 10:13:56 +0000 (0:00:00.022) 0:02:03.891 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 22 February 2024 10:13:56 +0000 (0:00:00.020) 0:02:03.912 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 22 February 2024 10:13:56 +0000 (0:00:00.337) 0:02:04.249 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 09:50:29 UTC", "ActiveEnterTimestampMonotonic": "15394370", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service system.slice systemd-sysctl.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 09:50:28 UTC", "AssertTimestampMonotonic": "14219169", "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 09:50:28 UTC", "ConditionTimestampMonotonic": "14219168", "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": "872", "ExecMainStartTimestamp": "Thu 2024-02-22 09:50:28 UTC", "ExecMainStartTimestampMonotonic": "14219727", "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 09:50:28 UTC", "InactiveExitTimestampMonotonic": "14219757", "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": "872", "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 09:50:29 UTC", "WatchdogTimestampMonotonic": "15394086", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 22 February 2024 10:13:56 +0000 (0:00:00.203) 0:02:04.453 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.099806", "end": "2024-02-22 10:13:56.778321", "rc": 0, "start": "2024-02-22 10:13:56.678515" } 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 22 February 2024 10:13:56 +0000 (0:00:00.227) 0:02:04.680 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 22 February 2024 10:13:56 +0000 (0:00:00.018) 0:02:04.699 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 22 February 2024 10:13:56 +0000 (0:00:00.018) 0:02:04.718 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 22 February 2024 10:13:56 +0000 (0:00:00.019) 0:02:04.737 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 22 February 2024 10:13:56 +0000 (0:00:00.133) 0:02:04.871 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 22 February 2024 10:13:57 +0000 (0:00:00.365) 0:02:05.237 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 10:13:57 +0000 (0:00:00.036) 0:02:05.273 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 10:13:50 UTC", "ActiveEnterTimestampMonotonic": "1416131504", "ActiveExitTimestamp": "Thu 2024-02-22 10:13:49 UTC", "ActiveExitTimestampMonotonic": "1415843019", "ActiveState": "active", "After": "network.target basic.target system.slice -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 10:13:50 UTC", "AssertTimestampMonotonic": "1416130469", "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 10:13:50 UTC", "ConditionTimestampMonotonic": "1416130467", "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": "14723", "ExecMainStartTimestamp": "Thu 2024-02-22 10:13:50 UTC", "ExecMainStartTimestampMonotonic": "1416131424", "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 10:13:50 UTC", "InactiveEnterTimestampMonotonic": "1416129337", "InactiveExitTimestamp": "Thu 2024-02-22 10:13:50 UTC", "InactiveExitTimestampMonotonic": "1416131504", "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": "14723", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 10:13:50 UTC", "WatchdogTimestampMonotonic": "1416131475", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 10:13:57 +0000 (0:00:00.202) 0:02:05.475 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003321", "end": "2024-02-22 10:13:57.707906", "failed_when_result": false, "rc": 1, "start": "2024-02-22 10:13:57.704585" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 10:13:57 +0000 (0:00:00.133) 0:02:05.609 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003208", "end": "2024-02-22 10:13:57.842064", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:13:57.838856" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 10:13:57 +0000 (0:00:00.134) 0:02:05.744 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 22 February 2024 10:13:57 +0000 (0:00:00.028) 0:02:05.773 ***** 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": 6322, "state": "file", "uid": 996 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 22 February 2024 10:13:59 +0000 (0:00:01.230) 0:02:07.004 ***** ok: [sut] => { "attempts": 1, "censored": "the 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:449 Thursday 22 February 2024 10:13:59 +0000 (0:00:00.267) 0:02:07.271 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:456 Thursday 22 February 2024 10:13:59 +0000 (0:00:00.021) 0:02:07.292 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:464 Thursday 22 February 2024 10:14:00 +0000 (0:00:01.059) 0:02:08.351 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:486 Thursday 22 February 2024 10:14:00 +0000 (0:00:00.024) 0:02:08.375 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Thursday 22 February 2024 10:14:00 +0000 (0:00:00.018) 0:02:08.394 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:512 Thursday 22 February 2024 10:14:00 +0000 (0:00:00.017) 0:02:08.412 ***** 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.005281", "end": "2024-02-22 10:14:00.648011", "rc": 0, "start": "2024-02-22 10:14:00.642730" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:525 Thursday 22 February 2024 10:14:00 +0000 (0:00:00.137) 0:02:08.549 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:532 Thursday 22 February 2024 10:14:00 +0000 (0:00:00.021) 0:02:08.570 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:538 Thursday 22 February 2024 10:14:01 +0000 (0:00:00.971) 0:02:09.541 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:558 Thursday 22 February 2024 10:14:01 +0000 (0:00:00.025) 0:02:09.567 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:01 +0000 (0:00:00.036) 0:02:09.603 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003301", "end": "2024-02-22 10:14:01.836319", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:01.833018" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:01 +0000 (0:00:00.136) 0:02:09.739 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:01 +0000 (0:00:00.025) 0:02:09.765 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Thursday 22 February 2024 10:14:01 +0000 (0:00:00.019) 0:02:09.784 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 10:14:01 +0000 (0:00:00.020) 0:02:09.805 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:584 Thursday 22 February 2024 10:14:01 +0000 (0:00:00.019) 0:02:09.824 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:01 +0000 (0:00:00.031) 0:02:09.855 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003325", "end": "2024-02-22 10:14:02.088447", "failed_when_result": false, "rc": 1, "start": "2024-02-22 10:14:02.085122" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:02 +0000 (0:00:00.135) 0:02:09.991 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049807", "end": "2024-02-22 10:14:02.273344", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:02.223537" } 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:02 +0000 (0:00:00.188) 0:02:10.180 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Thursday 22 February 2024 10:14:02 +0000 (0:00:00.019) 0:02:10.199 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:610 Thursday 22 February 2024 10:14:02 +0000 (0:00:00.018) 0:02:10.217 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:02 +0000 (0:00:00.035) 0:02:10.252 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003351", "end": "2024-02-22 10:14:02.484809", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:02.481458" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:02 +0000 (0:00:00.172) 0:02:10.425 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:02 +0000 (0:00:00.028) 0:02:10.453 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:617 Thursday 22 February 2024 10:14:02 +0000 (0:00:00.032) 0:02:10.486 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts-14.0.3465.1-1.x86_64 providing mssql-server-fts is already installed" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 10:14:02 +0000 (0:00:00.344) 0:02:10.830 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "powershell-7.3.11-1.rh.x86_64 providing powershell is already installed" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:633 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.337) 0:02:11.168 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003519", "end": "2024-02-22 10:14:03.399909", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:03.396390" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.133) 0:02:11.301 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.022) 0:02:11.323 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:654 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.019) 0:02:11.343 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.035) 0:02:11.378 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003233", "end": "2024-02-22 10:14:03.612591", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:03.609358" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.135) 0:02:11.514 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.023) 0:02:11.538 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.019) 0:02:11.558 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.033) 0:02:11.591 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003160", "end": "2024-02-22 10:14:03.824166", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:03.821006" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.133) 0:02:11.725 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.027) 0:02:11.752 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:678 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.020) 0:02:11.773 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.019) 0:02:11.793 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:697 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.019) 0:02:11.812 ***** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:715 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.022) 0:02:11.835 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.020) 0:02:11.855 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:733 Thursday 22 February 2024 10:14:03 +0000 (0:00:00.019) 0:02:11.874 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:740 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.018) 0:02:11.893 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.019) 0:02:11.912 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:757 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.019) 0:02:11.932 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:765 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.017) 0:02:11.950 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:772 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.018) 0:02:11.968 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.021) 0:02:11.990 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:788 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.021) 0:02:12.011 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.019) 0:02:12.031 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:810 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.019) 0:02:12.050 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.021) 0:02:12.071 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:827 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.019) 0:02:12.091 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.068) 0:02:12.159 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.027) 0:02:12.187 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:854 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.021) 0:02:12.209 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:860 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.028) 0:02:12.237 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:886 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.023) 0:02:12.260 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:907 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.020) 0:02:12.281 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.019) 0:02:12.301 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:925 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.020) 0:02:12.321 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:931 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.021) 0:02:12.343 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:949 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.030) 0:02:12.373 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:964 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.053) 0:02:12.427 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:984 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.024) 0:02:12.451 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1037 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.025) 0:02:12.476 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1044 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.032) 0:02:12.508 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.028) 0:02:12.537 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1062 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.021) 0:02:12.559 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1068 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.028) 0:02:12.587 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.025) 0:02:12.612 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.019) 0:02:12.631 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1093 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.053) 0:02:12.685 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.025) 0:02:12.711 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.020) 0:02:12.731 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1139 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.019) 0:02:12.751 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.020) 0:02:12.771 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1158 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.020) 0:02:12.792 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.022) 0:02:12.815 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1182 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.020) 0:02:12.835 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1195 Thursday 22 February 2024 10:14:04 +0000 (0:00:00.030) 0:02:12.865 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1202 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.020) 0:02:12.886 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.019) 0:02:12.906 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1218 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.019) 0:02:12.925 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.020) 0:02:12.946 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1237 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.025) 0:02:12.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1246 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.018) 0:02:12.990 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1253 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.017) 0:02:13.008 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1259 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.018) 0:02:13.026 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.019) 0:02:13.046 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1280 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.022) 0:02:13.069 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1292 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.017) 0:02:13.087 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.048) 0:02:13.135 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.021) 0:02:13.157 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1312 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.035) 0:02:13.192 ***** ok: [sut] => { "changed": false } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1325 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.172) 0:02:13.364 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1336 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.020) 0:02:13.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/tests_idempotency.yml:38 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.020) 0:02:13.406 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:8 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.114) 0:02:13.520 ***** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005297", "end": "2024-02-22 10:14:05.758105", "rc": 0, "start": "2024-02-22 10:14:05.752808" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:23 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.139) 0:02:13.659 ***** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.005074", "end": "2024-02-22 10:14:05.892471", "rc": 0, "start": "2024-02-22 10:14:05.887397" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:35 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.134) 0:02:13.794 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:39 Thursday 22 February 2024 10:14:05 +0000 (0:00:00.026) 0:02:13.821 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.057) 0:02:13.878 ***** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004467", "end": "2024-02-22 10:14:06.125386", "rc": 0, "start": "2024-02-22 10:14:06.120919" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.182) 0:02:14.060 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.026) 0:02:14.087 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.021) 0:02:14.108 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.020) 0:02:14.128 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004350", "end": "2024-02-22 10:14:06.360070", "rc": 0, "start": "2024-02-22 10:14:06.355720" } TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.133) 0:02:14.261 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.022) 0:02:14.284 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.020) 0:02:14.304 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.026) 0:02:14.331 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004441", "end": "2024-02-22 10:14:06.564210", "rc": 0, "start": "2024-02-22 10:14:06.559769" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.136) 0:02:14.467 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.026) 0:02:14.494 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_data] *********************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.021) 0:02:14.516 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.020) 0:02:14.536 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004367", "end": "2024-02-22 10:14:06.769732", "rc": 0, "start": "2024-02-22 10:14:06.765365" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.135) 0:02:14.672 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.026) 0:02:14.698 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_log] ************************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.020) 0:02:14.718 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.020) 0:02:14.739 ***** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004451", "end": "2024-02-22 10:14:06.971795", "rc": 0, "start": "2024-02-22 10:14:06.967344" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 10:14:06 +0000 (0:00:00.134) 0:02:14.873 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 10:14:07 +0000 (0:00:00.060) 0:02:14.933 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 10:14:07 +0000 (0:00:00.029) 0:02:14.963 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:55 Thursday 22 February 2024 10:14:07 +0000 (0:00:00.023) 0:02:14.986 ***** 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-unconf5s2790f8/tests/tasks/verify_settings.yml:60 Thursday 22 February 2024 10:14:07 +0000 (0:00:00.020) 0:02:15.007 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:70 Thursday 22 February 2024 10:14:07 +0000 (0:00:00.030) 0:02:15.037 ***** 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-unconf5s2790f8/tests/tasks/verify_settings.yml:75 Thursday 22 February 2024 10:14:07 +0000 (0:00:00.026) 0:02:15.063 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:85 Thursday 22 February 2024 10:14:07 +0000 (0:00:00.024) 0:02:15.088 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 10:14:07 +0000 (0:00:00.035) 0:02:15.123 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 10:13:50 UTC", "ActiveEnterTimestampMonotonic": "1416131504", "ActiveExitTimestamp": "Thu 2024-02-22 10:13:49 UTC", "ActiveExitTimestampMonotonic": "1415843019", "ActiveState": "active", "After": "network.target basic.target system.slice -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 10:13:50 UTC", "AssertTimestampMonotonic": "1416130469", "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 10:13:50 UTC", "ConditionTimestampMonotonic": "1416130467", "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": "14723", "ExecMainStartTimestamp": "Thu 2024-02-22 10:13:50 UTC", "ExecMainStartTimestampMonotonic": "1416131424", "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 10:13:50 UTC", "InactiveEnterTimestampMonotonic": "1416129337", "InactiveExitTimestamp": "Thu 2024-02-22 10:13:50 UTC", "InactiveExitTimestampMonotonic": "1416131504", "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": "14723", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 10:13:50 UTC", "WatchdogTimestampMonotonic": "1416131475", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 10:14:07 +0000 (0:00:00.201) 0:02:15.325 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003181", "end": "2024-02-22 10:14:07.556022", "failed_when_result": false, "rc": 1, "start": "2024-02-22 10:14:07.552841" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 10:14:07 +0000 (0:00:00.131) 0:02:15.456 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003283", "end": "2024-02-22 10:14:07.688792", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:07.685509" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 10:14:07 +0000 (0:00:00.132) 0:02:15.589 ***** 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-unconf5s2790f8/tests/tasks/verify_settings.yml:93 Thursday 22 February 2024 10:14:07 +0000 (0:00:00.027) 0:02:15.616 ***** 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": 6322, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:99 Thursday 22 February 2024 10:14:08 +0000 (0:00:01.139) 0:02:16.756 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "0.0.0.0", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.022450", "end": "2024-02-22 10:14:09.009059", "rc": 0, "start": "2024-02-22 10:14:08.986609" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:117 Thursday 22 February 2024 10:14:09 +0000 (0:00:00.158) 0:02:16.915 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:121 Thursday 22 February 2024 10:14:09 +0000 (0:00:00.021) 0:02:16.937 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_package.yml:7 Thursday 22 February 2024 10:14:09 +0000 (0:00:00.031) 0:02:16.968 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_package.yml:12 Thursday 22 February 2024 10:14:10 +0000 (0:00:00.927) 0:02:17.896 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_package.yml:17 Thursday 22 February 2024 10:14:10 +0000 (0:00:00.029) 0:02:17.925 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:128 Thursday 22 February 2024 10:14:10 +0000 (0:00:00.020) 0:02:17.946 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_package.yml:7 Thursday 22 February 2024 10:14:10 +0000 (0:00:00.033) 0:02:17.979 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_package.yml:12 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.956) 0:02:18.936 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_package.yml:17 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.029) 0:02:18.966 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:139 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.019) 0:02:18.985 ***** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004400", "end": "2024-02-22 10:14:11.217838", "rc": 0, "start": "2024-02-22 10:14:11.213438" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:144 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.133) 0:02:19.118 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:149 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.023) 0:02:19.142 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:155 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.021) 0:02:19.163 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.035) 0:02:19.199 ***** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004402", "end": "2024-02-22 10:14:11.432065", "rc": 0, "start": "2024-02-22 10:14:11.427663" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.135) 0:02:19.334 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.021) 0:02:19.356 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.026) 0:02:19.382 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:161 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.020) 0:02:19.403 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.073) 0:02:19.476 ***** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004454", "end": "2024-02-22 10:14:11.712870", "rc": 0, "start": "2024-02-22 10:14:11.708416" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.138) 0:02:19.615 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.024) 0:02:19.639 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.029) 0:02:19.669 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:171 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.022) 0:02:19.691 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:182 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.020) 0:02:19.711 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:194 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.021) 0:02:19.733 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:202 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.019) 0:02:19.753 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:209 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.017) 0:02:19.771 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/tests_idempotency.yml:52 Thursday 22 February 2024 10:14:11 +0000 (0:00:00.018) 0:02:19.789 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.314) 0:02:20.104 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.031) 0:02:20.136 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.026) 0:02:20.162 ***** 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-unconf5s2790f8/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-unconf5s2790f8/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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.045) 0:02:20.207 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.028) 0:02:20.236 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.020) 0:02:20.256 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.025) 0:02:20.281 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.029) 0:02:20.311 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.021) 0:02:20.332 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.020) 0:02:20.352 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.019) 0:02:20.372 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.020) 0:02:20.392 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.026) 0:02:20.419 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.029) 0:02:20.448 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.020) 0:02:20.468 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.024) 0:02:20.493 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.108) 0:02:20.602 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.021) 0:02:20.623 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 10:14:12 +0000 (0:00:00.023) 0:02:20.647 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Thursday 22 February 2024 10:14:13 +0000 (0:00:00.957) 0:02:21.604 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 22 February 2024 10:14:13 +0000 (0:00:00.057) 0:02:21.662 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Thursday 22 February 2024 10:14:13 +0000 (0:00:00.035) 0:02:21.697 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Thursday 22 February 2024 10:14:13 +0000 (0:00:00.022) 0:02:21.720 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Thursday 22 February 2024 10:14:13 +0000 (0:00:00.043) 0:02:21.763 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Thursday 22 February 2024 10:14:14 +0000 (0:00:00.333) 0:02:22.097 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Thursday 22 February 2024 10:14:14 +0000 (0:00:00.024) 0:02:22.121 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 10:14:14 +0000 (0:00:00.031) 0:02:22.152 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Thursday 22 February 2024 10:14:14 +0000 (0:00:00.026) 0:02:22.179 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:225 Thursday 22 February 2024 10:14:14 +0000 (0:00:00.078) 0:02:22.257 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:230 Thursday 22 February 2024 10:14:14 +0000 (0:00:00.390) 0:02:22.648 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Thursday 22 February 2024 10:14:15 +0000 (0:00:00.338) 0:02:22.987 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:246 Thursday 22 February 2024 10:14:15 +0000 (0:00:00.021) 0:02:23.008 ***** 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.005263", "end": "2024-02-22 10:14:15.257477", "rc": 0, "start": "2024-02-22 10:14:15.252214" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:261 Thursday 22 February 2024 10:14:15 +0000 (0:00:00.152) 0:02:23.161 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:265 Thursday 22 February 2024 10:14:15 +0000 (0:00:00.671) 0:02:23.832 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:274 Thursday 22 February 2024 10:14:15 +0000 (0:00:00.027) 0:02:23.859 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:290 Thursday 22 February 2024 10:14:16 +0000 (0:00:00.023) 0:02:23.882 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:315 Thursday 22 February 2024 10:14:16 +0000 (0:00:00.025) 0:02:23.908 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Ensure the directory and permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 22 February 2024 10:14:16 +0000 (0:00:00.058) 0:02:23.967 ***** ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Thursday 22 February 2024 10:14:16 +0000 (0:00:00.160) 0:02:24.128 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:31 Thursday 22 February 2024 10:14:16 +0000 (0:00:00.074) 0:02:24.202 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:16 +0000 (0:00:00.037) 0:02:24.239 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003309", "end": "2024-02-22 10:14:16.505620", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:16.502311" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:16 +0000 (0:00:00.169) 0:02:24.409 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/var/opt/mssql/data" ], "delta": "0:00:00.049252", "end": "2024-02-22 10:14:16.693016", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:16.643764" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:16 +0000 (0:00:00.191) 0:02:24.601 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the directory and permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 22 February 2024 10:14:16 +0000 (0:00:00.022) 0:02:24.623 ***** ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Thursday 22 February 2024 10:14:16 +0000 (0:00:00.141) 0:02:24.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:31 Thursday 22 February 2024 10:14:16 +0000 (0:00:00.021) 0:02:24.786 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:16 +0000 (0:00:00.032) 0:02:24.818 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003382", "end": "2024-02-22 10:14:17.051060", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:17.047678" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:17 +0000 (0:00:00.136) 0:02:24.955 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.049606", "end": "2024-02-22 10:14:17.240168", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:17.190562" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:17 +0000 (0:00:00.191) 0:02:25.146 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 22 February 2024 10:14:17 +0000 (0:00:00.020) 0:02:25.167 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:342 Thursday 22 February 2024 10:14:17 +0000 (0:00:00.018) 0:02:25.185 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 22 February 2024 10:14:17 +0000 (0:00:00.020) 0:02:25.206 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 22 February 2024 10:14:17 +0000 (0:00:00.385) 0:02:25.592 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 09:50:29 UTC", "ActiveEnterTimestampMonotonic": "15394370", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service system.slice systemd-sysctl.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 09:50:28 UTC", "AssertTimestampMonotonic": "14219169", "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 09:50:28 UTC", "ConditionTimestampMonotonic": "14219168", "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": "872", "ExecMainStartTimestamp": "Thu 2024-02-22 09:50:28 UTC", "ExecMainStartTimestampMonotonic": "14219727", "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 09:50:28 UTC", "InactiveExitTimestampMonotonic": "14219757", "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": "872", "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 09:50:29 UTC", "WatchdogTimestampMonotonic": "15394086", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 22 February 2024 10:14:17 +0000 (0:00:00.207) 0:02:25.799 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.091908", "end": "2024-02-22 10:14:18.118458", "rc": 0, "start": "2024-02-22 10:14:18.026550" } 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 22 February 2024 10:14:18 +0000 (0:00:00.220) 0:02:26.020 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 22 February 2024 10:14:18 +0000 (0:00:00.019) 0:02:26.040 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 22 February 2024 10:14:18 +0000 (0:00:00.019) 0:02:26.059 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 22 February 2024 10:14:18 +0000 (0:00:00.019) 0:02:26.079 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 22 February 2024 10:14:18 +0000 (0:00:00.135) 0:02:26.215 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 22 February 2024 10:14:18 +0000 (0:00:00.334) 0:02:26.549 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 10:14:18 +0000 (0:00:00.036) 0:02:26.586 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 10:13:50 UTC", "ActiveEnterTimestampMonotonic": "1416131504", "ActiveExitTimestamp": "Thu 2024-02-22 10:13:49 UTC", "ActiveExitTimestampMonotonic": "1415843019", "ActiveState": "active", "After": "network.target basic.target system.slice -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 10:13:50 UTC", "AssertTimestampMonotonic": "1416130469", "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 10:13:50 UTC", "ConditionTimestampMonotonic": "1416130467", "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": "14723", "ExecMainStartTimestamp": "Thu 2024-02-22 10:13:50 UTC", "ExecMainStartTimestampMonotonic": "1416131424", "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 10:13:50 UTC", "InactiveEnterTimestampMonotonic": "1416129337", "InactiveExitTimestamp": "Thu 2024-02-22 10:13:50 UTC", "InactiveExitTimestampMonotonic": "1416131504", "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": "14723", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 10:13:50 UTC", "WatchdogTimestampMonotonic": "1416131475", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 10:14:18 +0000 (0:00:00.201) 0:02:26.787 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003162", "end": "2024-02-22 10:14:19.018667", "failed_when_result": false, "rc": 1, "start": "2024-02-22 10:14:19.015505" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 10:14:19 +0000 (0:00:00.130) 0:02:26.918 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003175", "end": "2024-02-22 10:14:19.149875", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:19.146700" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 10:14:19 +0000 (0:00:00.132) 0:02:27.051 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 22 February 2024 10:14:19 +0000 (0:00:00.070) 0:02:27.121 ***** 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": 6322, "state": "file", "uid": 996 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 22 February 2024 10:14:20 +0000 (0:00:01.147) 0:02:28.268 ***** fatal: [sut]: FAILED! => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:449 Thursday 22 February 2024 10:14:20 +0000 (0:00:00.169) 0:02:28.437 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 10:13:50 UTC", "ActiveEnterTimestampMonotonic": "1416131504", "ActiveExitTimestamp": "Thu 2024-02-22 10:13:49 UTC", "ActiveExitTimestampMonotonic": "1415843019", "ActiveState": "active", "After": "network.target basic.target system.slice -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 10:13:50 UTC", "AssertTimestampMonotonic": "1416130469", "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 10:13:50 UTC", "ConditionTimestampMonotonic": "1416130467", "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": "14723", "ExecMainStartTimestamp": "Thu 2024-02-22 10:13:50 UTC", "ExecMainStartTimestampMonotonic": "1416131424", "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 10:13:50 UTC", "InactiveEnterTimestampMonotonic": "1416129337", "InactiveExitTimestamp": "Thu 2024-02-22 10:13:50 UTC", "InactiveExitTimestampMonotonic": "1416131504", "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": "14723", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 10:13:50 UTC", "WatchdogTimestampMonotonic": "1416131475", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:456 Thursday 22 February 2024 10:14:21 +0000 (0:00:00.520) 0:02:28.958 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:464 Thursday 22 February 2024 10:14:22 +0000 (0:00:00.960) 0:02:29.918 ***** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:486 Thursday 22 February 2024 10:14:27 +0000 (0:00:05.115) 0:02:35.033 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Thursday 22 February 2024 10:14:27 +0000 (0:00:00.020) 0:02:35.054 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:512 Thursday 22 February 2024 10:14:27 +0000 (0:00:00.021) 0:02:35.075 ***** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004948", "end": "2024-02-22 10:14:27.310525", "rc": 0, "start": "2024-02-22 10:14:27.305577" } STDOUT: false TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:525 Thursday 22 February 2024 10:14:27 +0000 (0:00:00.147) 0:02:35.222 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 10:13:50 UTC", "ActiveEnterTimestampMonotonic": "1416131504", "ActiveExitTimestamp": "Thu 2024-02-22 10:14:20 UTC", "ActiveExitTimestampMonotonic": "1446771964", "ActiveState": "inactive", "After": "network.target basic.target system.slice -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 10:13:50 UTC", "AssertTimestampMonotonic": "1416130469", "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 10:13:50 UTC", "ConditionTimestampMonotonic": "1416130467", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2024-02-22 10:14:21 UTC", "ExecMainExitTimestampMonotonic": "1447067267", "ExecMainPID": "14723", "ExecMainStartTimestamp": "Thu 2024-02-22 10:13:50 UTC", "ExecMainStartTimestampMonotonic": "1416131424", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 10:13:50 UTC] ; stop_time=[Thu 2024-02-22 10:14:21 UTC] ; pid=14723 ; code=exited ; status=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 10:14:21 UTC", "InactiveEnterTimestampMonotonic": "1447067382", "InactiveExitTimestamp": "Thu 2024-02-22 10:13:50 UTC", "InactiveExitTimestampMonotonic": "1416131504", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:532 Thursday 22 February 2024 10:14:27 +0000 (0:00:00.204) 0:02:35.427 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:538 Thursday 22 February 2024 10:14:28 +0000 (0:00:00.931) 0:02:36.359 ***** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:558 Thursday 22 February 2024 10:14:33 +0000 (0:00:05.226) 0:02:41.585 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:33 +0000 (0:00:00.035) 0:02:41.620 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003231", "end": "2024-02-22 10:14:33.852514", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:33.849283" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:33 +0000 (0:00:00.137) 0:02:41.757 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.049998", "end": "2024-02-22 10:14:34.042878", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:33.992880" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:34 +0000 (0:00:00.250) 0:02:42.008 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Thursday 22 February 2024 10:14:34 +0000 (0:00:00.021) 0:02:42.030 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 10:14:34 +0000 (0:00:00.024) 0:02:42.055 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1435] ******* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:584 Thursday 22 February 2024 10:14:34 +0000 (0:00:00.026) 0:02:42.081 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:34 +0000 (0:00:00.034) 0:02:42.116 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003115", "end": "2024-02-22 10:14:34.347594", "failed_when_result": false, "rc": 1, "start": "2024-02-22 10:14:34.344479" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:34 +0000 (0:00:00.133) 0:02:42.249 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.050704", "end": "2024-02-22 10:14:34.534258", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:34.483554" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:34 +0000 (0:00:00.191) 0:02:42.440 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Thursday 22 February 2024 10:14:34 +0000 (0:00:00.018) 0:02:42.459 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:610 Thursday 22 February 2024 10:14:34 +0000 (0:00:00.018) 0:02:42.478 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:34 +0000 (0:00:00.036) 0:02:42.515 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003282", "end": "2024-02-22 10:14:34.748329", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:34.745047" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:34 +0000 (0:00:00.135) 0:02:42.650 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.050357", "end": "2024-02-22 10:14:34.933153", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:34.882796" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:34 +0000 (0:00:00.189) 0:02:42.840 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:617 Thursday 22 February 2024 10:14:34 +0000 (0:00:00.019) 0:02:42.859 ***** changed: [sut] => { "changed": true, "changes": { "removed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:14.0.3465.1-1 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server-fts\n x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017 554 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n Verifying : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\nRemoved:\n mssql-server-fts.x86_64 0:14.0.3465.1-1 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 10:14:36 +0000 (0:00:01.380) 0:02:44.240 ***** changed: [sut] => { "changed": true, "changes": { "removed": [ "powershell" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package powershell.x86_64 0:7.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 powershell x86_64 7.3.11-1.rh @packages-microsoft-com-prod 168 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 168 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : powershell-7.3.11-1.rh.x86_64 1/1 \n Verifying : powershell-7.3.11-1.rh.x86_64 1/1 \n\nRemoved:\n powershell.x86_64 0:7.3.11-1.rh \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:633 Thursday 22 February 2024 10:14:37 +0000 (0:00:01.279) 0:02:45.520 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003594", "end": "2024-02-22 10:14:37.753469", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:37.749875" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Thursday 22 February 2024 10:14:37 +0000 (0:00:00.135) 0:02:45.655 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Thursday 22 February 2024 10:14:37 +0000 (0:00:00.020) 0:02:45.676 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.050030", "end": "2024-02-22 10:14:37.956626", "rc": 0, "start": "2024-02-22 10:14:37.906596" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:654 Thursday 22 February 2024 10:14:37 +0000 (0:00:00.184) 0:02:45.861 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:38 +0000 (0:00:00.037) 0:02:45.898 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003346", "end": "2024-02-22 10:14:38.134134", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:38.130788" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:38 +0000 (0:00:00.139) 0:02:46.038 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:38 +0000 (0:00:00.025) 0:02:46.063 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 10:14:38 +0000 (0:00:00.031) 0:02:46.095 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:38 +0000 (0:00:00.077) 0:02:46.173 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003254", "end": "2024-02-22 10:14:38.408555", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:38.405301" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:38 +0000 (0:00:00.139) 0:02:46.313 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.050217", "end": "2024-02-22 10:14:38.601086", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:38.550869" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:38 +0000 (0:00:00.205) 0:02:46.518 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:678 Thursday 22 February 2024 10:14:38 +0000 (0:00:00.029) 0:02:46.548 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 10:14:38 +0000 (0:00:00.022) 0:02:46.571 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:697 Thursday 22 February 2024 10:14:38 +0000 (0:00:00.052) 0:02:46.623 ***** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:715 Thursday 22 February 2024 10:14:38 +0000 (0:00:00.060) 0:02:46.683 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Thursday 22 February 2024 10:14:38 +0000 (0:00:00.050) 0:02:46.734 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:733 Thursday 22 February 2024 10:14:38 +0000 (0:00:00.029) 0:02:46.763 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:740 Thursday 22 February 2024 10:14:38 +0000 (0:00:00.047) 0:02:46.811 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Thursday 22 February 2024 10:14:38 +0000 (0:00:00.028) 0:02:46.839 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:757 Thursday 22 February 2024 10:14:38 +0000 (0:00:00.023) 0:02:46.862 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:765 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.022) 0:02:46.885 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:772 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.019) 0:02:46.905 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.021) 0:02:46.926 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:788 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.021) 0:02:46.947 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.020) 0:02:46.968 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:810 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.021) 0:02:46.989 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.064) 0:02:47.054 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:827 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.021) 0:02:47.075 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.020) 0:02:47.096 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.020) 0:02:47.116 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:854 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.019) 0:02:47.136 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:860 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.019) 0:02:47.156 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:886 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.019) 0:02:47.175 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:907 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.026) 0:02:47.201 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.021) 0:02:47.223 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:925 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.019) 0:02:47.243 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:931 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.021) 0:02:47.264 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:949 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.020) 0:02:47.284 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:964 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.021) 0:02:47.306 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:984 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.020) 0:02:47.326 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1037 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.022) 0:02:47.349 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1044 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.024) 0:02:47.373 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.020) 0:02:47.394 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1062 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.020) 0:02:47.415 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1068 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.019) 0:02:47.435 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.087) 0:02:47.522 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.032) 0:02:47.554 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1093 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.022) 0:02:47.577 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.034) 0:02:47.611 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.052) 0:02:47.663 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1139 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.020) 0:02:47.684 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.027) 0:02:47.711 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1158 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.023) 0:02:47.734 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.021) 0:02:47.755 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1182 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.022) 0:02:47.778 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1195 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.023) 0:02:47.801 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1202 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.022) 0:02:47.824 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.022) 0:02:47.846 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1218 Thursday 22 February 2024 10:14:39 +0000 (0:00:00.020) 0:02:47.867 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Thursday 22 February 2024 10:14:40 +0000 (0:00:00.026) 0:02:47.894 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1237 Thursday 22 February 2024 10:14:40 +0000 (0:00:00.027) 0:02:47.921 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1246 Thursday 22 February 2024 10:14:40 +0000 (0:00:00.021) 0:02:47.943 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1253 Thursday 22 February 2024 10:14:40 +0000 (0:00:00.020) 0:02:47.964 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1259 Thursday 22 February 2024 10:14:40 +0000 (0:00:00.022) 0:02:47.986 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 10:14:40 +0000 (0:00:00.042) 0:02:48.029 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1280 Thursday 22 February 2024 10:14:40 +0000 (0:00:00.084) 0:02:48.113 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1292 Thursday 22 February 2024 10:14:40 +0000 (0:00:00.024) 0:02:48.137 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Thursday 22 February 2024 10:14:40 +0000 (0:00:00.052) 0:02:48.189 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 22 February 2024 10:14:40 +0000 (0:00:00.058) 0:02:48.248 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1312 Thursday 22 February 2024 10:14:40 +0000 (0:00:00.026) 0:02:48.274 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 22 February 2024 10:14:40 +0000 (0:00:00.168) 0:02:48.442 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 10:13:50 UTC", "ActiveEnterTimestampMonotonic": "1416131504", "ActiveExitTimestamp": "Thu 2024-02-22 10:14:20 UTC", "ActiveExitTimestampMonotonic": "1446771964", "ActiveState": "inactive", "After": "network.target basic.target system.slice -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 10:13:50 UTC", "AssertTimestampMonotonic": "1416130469", "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 10:13:50 UTC", "ConditionTimestampMonotonic": "1416130467", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2024-02-22 10:14:21 UTC", "ExecMainExitTimestampMonotonic": "1447067267", "ExecMainPID": "14723", "ExecMainStartTimestamp": "Thu 2024-02-22 10:13:50 UTC", "ExecMainStartTimestampMonotonic": "1416131424", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 10:13:50 UTC] ; stop_time=[Thu 2024-02-22 10:14:21 UTC] ; pid=14723 ; code=exited ; status=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 10:14:21 UTC", "InactiveEnterTimestampMonotonic": "1447067382", "InactiveExitTimestamp": "Thu 2024-02-22 10:13:50 UTC", "InactiveExitTimestampMonotonic": "1416131504", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1325 Thursday 22 February 2024 10:14:40 +0000 (0:00:00.224) 0:02:48.667 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1336 Thursday 22 February 2024 10:14:40 +0000 (0:00:00.022) 0:02:48.690 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run with the edited settings again - should report not changed] ********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/tests_idempotency.yml:69 Thursday 22 February 2024 10:14:40 +0000 (0:00:00.022) 0:02:48.712 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.410) 0:02:49.122 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.030) 0:02:49.152 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.024) 0:02:49.177 ***** 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-unconf5s2790f8/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-unconf5s2790f8/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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.034) 0:02:49.211 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.019) 0:02:49.231 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.025) 0:02:49.257 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.020) 0:02:49.277 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.018) 0:02:49.295 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.018) 0:02:49.314 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.018) 0:02:49.332 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.018) 0:02:49.350 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.018) 0:02:49.368 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.017) 0:02:49.386 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.021) 0:02:49.408 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.017) 0:02:49.426 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.074) 0:02:49.501 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.020) 0:02:49.521 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.020) 0:02:49.541 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 10:14:41 +0000 (0:00:00.020) 0:02:49.561 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Thursday 22 February 2024 10:14:42 +0000 (0:00:01.215) 0:02:50.776 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Thursday 22 February 2024 10:14:42 +0000 (0:00:00.060) 0:02:50.837 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Thursday 22 February 2024 10:14:42 +0000 (0:00:00.023) 0:02:50.861 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Thursday 22 February 2024 10:14:43 +0000 (0:00:00.022) 0:02:50.883 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Thursday 22 February 2024 10:14:43 +0000 (0:00:00.038) 0:02:50.922 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Thursday 22 February 2024 10:14:43 +0000 (0:00:00.451) 0:02:51.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Thursday 22 February 2024 10:14:43 +0000 (0:00:00.038) 0:02:51.412 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 10:14:43 +0000 (0:00:00.024) 0:02:51.436 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Thursday 22 February 2024 10:14:43 +0000 (0:00:00.023) 0:02:51.459 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:225 Thursday 22 February 2024 10:14:43 +0000 (0:00:00.025) 0:02:51.485 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:230 Thursday 22 February 2024 10:14:44 +0000 (0:00:00.545) 0:02:52.030 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Thursday 22 February 2024 10:14:44 +0000 (0:00:00.388) 0:02:52.419 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:246 Thursday 22 February 2024 10:14:44 +0000 (0:00:00.029) 0:02:52.449 ***** 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.005802", "end": "2024-02-22 10:14:44.706971", "rc": 0, "start": "2024-02-22 10:14:44.701169" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:261 Thursday 22 February 2024 10:14:44 +0000 (0:00:00.167) 0:02:52.616 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:265 Thursday 22 February 2024 10:14:45 +0000 (0:00:00.694) 0:02:53.310 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:274 Thursday 22 February 2024 10:14:45 +0000 (0:00:00.027) 0:02:53.338 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:290 Thursday 22 February 2024 10:14:45 +0000 (0:00:00.020) 0:02:53.359 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:315 Thursday 22 February 2024 10:14:45 +0000 (0:00:00.080) 0:02:53.440 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Ensure the directory and permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 22 February 2024 10:14:45 +0000 (0:00:00.047) 0:02:53.487 ***** ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Thursday 22 February 2024 10:14:45 +0000 (0:00:00.143) 0:02:53.630 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:31 Thursday 22 February 2024 10:14:45 +0000 (0:00:00.023) 0:02:53.653 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:45 +0000 (0:00:00.034) 0:02:53.688 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003397", "end": "2024-02-22 10:14:45.923446", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:45.920049" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:45 +0000 (0:00:00.146) 0:02:53.835 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:45 +0000 (0:00:00.030) 0:02:53.866 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the directory and permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 22 February 2024 10:14:46 +0000 (0:00:00.032) 0:02:53.899 ***** ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Thursday 22 February 2024 10:14:46 +0000 (0:00:00.160) 0:02:54.059 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:31 Thursday 22 February 2024 10:14:46 +0000 (0:00:00.025) 0:02:54.085 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:46 +0000 (0:00:00.040) 0:02:54.126 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003292", "end": "2024-02-22 10:14:46.371916", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:46.368624" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:46 +0000 (0:00:00.149) 0:02:54.275 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:46 +0000 (0:00:00.030) 0:02:54.306 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:330 Thursday 22 February 2024 10:14:46 +0000 (0:00:00.096) 0:02:54.402 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:342 Thursday 22 February 2024 10:14:46 +0000 (0:00:00.019) 0:02:54.422 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Thursday 22 February 2024 10:14:46 +0000 (0:00:00.018) 0:02:54.440 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:357 Thursday 22 February 2024 10:14:46 +0000 (0:00:00.335) 0:02:54.776 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 09:50:29 UTC", "ActiveEnterTimestampMonotonic": "15394370", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service system.slice systemd-sysctl.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 09:50:28 UTC", "AssertTimestampMonotonic": "14219169", "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 09:50:28 UTC", "ConditionTimestampMonotonic": "14219168", "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": "872", "ExecMainStartTimestamp": "Thu 2024-02-22 09:50:28 UTC", "ExecMainStartTimestampMonotonic": "14219727", "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 09:50:28 UTC", "InactiveExitTimestampMonotonic": "14219757", "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": "872", "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 09:50:29 UTC", "WatchdogTimestampMonotonic": "15394086", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:363 Thursday 22 February 2024 10:14:47 +0000 (0:00:00.209) 0:02:54.986 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.094531", "end": "2024-02-22 10:14:47.306842", "rc": 0, "start": "2024-02-22 10:14:47.212311" } 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 Thursday 22 February 2024 10:14:47 +0000 (0:00:00.231) 0:02:55.217 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Thursday 22 February 2024 10:14:47 +0000 (0:00:00.022) 0:02:55.240 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Thursday 22 February 2024 10:14:47 +0000 (0:00:00.043) 0:02:55.284 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:405 Thursday 22 February 2024 10:14:47 +0000 (0:00:00.039) 0:02:55.323 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Thursday 22 February 2024 10:14:47 +0000 (0:00:00.144) 0:02:55.467 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Thursday 22 February 2024 10:14:47 +0000 (0:00:00.337) 0:02:55.805 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for sut TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 10:14:47 +0000 (0:00:00.035) 0:02:55.840 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 10:14:40 UTC", "ActiveEnterTimestampMonotonic": "1466785367", "ActiveExitTimestamp": "Thu 2024-02-22 10:14:20 UTC", "ActiveExitTimestampMonotonic": "1446771964", "ActiveState": "active", "After": "network.target basic.target system.slice -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 10:14:40 UTC", "AssertTimestampMonotonic": "1466784536", "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 10:14:40 UTC", "ConditionTimestampMonotonic": "1466784536", "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": "16574", "ExecMainStartTimestamp": "Thu 2024-02-22 10:14:40 UTC", "ExecMainStartTimestampMonotonic": "1466785311", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 10:14:40 UTC] ; stop_time=[n/a] ; pid=16574 ; 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 10:14:21 UTC", "InactiveEnterTimestampMonotonic": "1447067382", "InactiveExitTimestamp": "Thu 2024-02-22 10:14:40 UTC", "InactiveExitTimestampMonotonic": "1466785367", "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": "16574", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 10:14:40 UTC", "WatchdogTimestampMonotonic": "1466785344", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 10:14:48 +0000 (0:00:00.206) 0:02:56.047 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003188", "end": "2024-02-22 10:14:48.280152", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:48.276964" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 10:14:48 +0000 (0:00:00.140) 0:02:56.187 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003173", "end": "2024-02-22 10:14:48.436298", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:48.433125" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 10:14:48 +0000 (0:00:00.150) 0:02:56.338 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 Thursday 22 February 2024 10:14:48 +0000 (0:00:00.029) 0:02:56.368 ***** 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": 6889, "state": "file", "uid": 996 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Thursday 22 February 2024 10:14:49 +0000 (0:00:01.134) 0:02:57.502 ***** ok: [sut] => { "attempts": 1, "censored": "the 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:449 Thursday 22 February 2024 10:14:49 +0000 (0:00:00.166) 0:02:57.668 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:456 Thursday 22 February 2024 10:14:49 +0000 (0:00:00.025) 0:02:57.693 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:464 Thursday 22 February 2024 10:14:50 +0000 (0:00:00.931) 0:02:58.625 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:486 Thursday 22 February 2024 10:14:50 +0000 (0:00:00.023) 0:02:58.649 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Thursday 22 February 2024 10:14:50 +0000 (0:00:00.093) 0:02:58.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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:512 Thursday 22 February 2024 10:14:50 +0000 (0:00:00.023) 0:02:58.766 ***** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005538", "end": "2024-02-22 10:14:51.003594", "rc": 0, "start": "2024-02-22 10:14:50.998056" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:525 Thursday 22 February 2024 10:14:51 +0000 (0:00:00.139) 0:02:58.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:532 Thursday 22 February 2024 10:14:51 +0000 (0:00:00.020) 0:02:58.927 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:538 Thursday 22 February 2024 10:14:51 +0000 (0:00:00.929) 0:02:59.856 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:558 Thursday 22 February 2024 10:14:52 +0000 (0:00:00.026) 0:02:59.883 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:52 +0000 (0:00:00.036) 0:02:59.920 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003379", "end": "2024-02-22 10:14:52.153104", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:52.149725" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:52 +0000 (0:00:00.136) 0:03:00.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:52 +0000 (0:00:00.025) 0:03:00.082 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Thursday 22 February 2024 10:14:52 +0000 (0:00:00.026) 0:03:00.108 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 10:14:52 +0000 (0:00:00.095) 0:03:00.204 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1435] ******* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:584 Thursday 22 February 2024 10:14:52 +0000 (0:00:00.024) 0:03:00.229 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:52 +0000 (0:00:00.046) 0:03:00.275 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003341", "end": "2024-02-22 10:14:52.514751", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:52.511410" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:52 +0000 (0:00:00.142) 0:03:00.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:52 +0000 (0:00:00.026) 0:03:00.445 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Thursday 22 February 2024 10:14:52 +0000 (0:00:00.026) 0:03:00.471 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:610 Thursday 22 February 2024 10:14:52 +0000 (0:00:00.030) 0:03:00.501 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:52 +0000 (0:00:00.048) 0:03:00.550 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003258", "end": "2024-02-22 10:14:52.788356", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:52.785098" } STDOUT: enabled = False TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:52 +0000 (0:00:00.141) 0:03:00.691 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:52 +0000 (0:00:00.024) 0:03:00.715 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:617 Thursday 22 February 2024 10:14:52 +0000 (0:00:00.023) 0:03:00.738 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts is not installed" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 10:14:53 +0000 (0:00:00.388) 0:03:01.127 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "powershell is not installed" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:633 Thursday 22 February 2024 10:14:53 +0000 (0:00:00.284) 0:03:01.411 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004383", "end": "2024-02-22 10:14:54.645552", "failed_when_result": false, "rc": 1, "start": "2024-02-22 10:14:53.641169" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Thursday 22 February 2024 10:14:54 +0000 (0:00:01.138) 0:03:02.550 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Thursday 22 February 2024 10:14:54 +0000 (0:00:00.041) 0:03:02.591 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:654 Thursday 22 February 2024 10:14:54 +0000 (0:00:00.023) 0:03:02.614 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:54 +0000 (0:00:00.040) 0:03:02.655 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003359", "end": "2024-02-22 10:14:54.892439", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:54.889080" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:54 +0000 (0:00:00.140) 0:03:02.796 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:54 +0000 (0:00:00.025) 0:03:02.821 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 10:14:54 +0000 (0:00:00.021) 0:03:02.843 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.035) 0:03:02.879 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003355", "end": "2024-02-22 10:14:55.111950", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:55.108595" } STDOUT: writethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.135) 0:03:03.015 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.024) 0:03:03.039 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:678 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.020) 0:03:03.060 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.019) 0:03:03.080 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:697 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.073) 0:03:03.153 ***** skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:715 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.025) 0:03:03.179 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.022) 0:03:03.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:733 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.021) 0:03:03.222 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:740 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.019) 0:03:03.242 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.020) 0:03:03.262 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:757 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.021) 0:03:03.284 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:765 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.020) 0:03:03.304 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:772 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.019) 0:03:03.324 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.022) 0:03:03.347 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:788 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.022) 0:03:03.369 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.020) 0:03:03.389 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:810 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.020) 0:03:03.410 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.021) 0:03:03.431 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:827 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.024) 0:03:03.455 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.019) 0:03:03.475 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:849 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.019) 0:03:03.495 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:854 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.018) 0:03:03.514 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:860 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.019) 0:03:03.533 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:886 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.089) 0:03:03.622 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:907 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.020) 0:03:03.643 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.021) 0:03:03.664 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:925 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.020) 0:03:03.684 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:931 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.019) 0:03:03.704 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:949 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.018) 0:03:03.723 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:964 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.020) 0:03:03.743 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:984 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.020) 0:03:03.764 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1037 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.020) 0:03:03.784 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1044 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.022) 0:03:03.807 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.021) 0:03:03.828 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1062 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.020) 0:03:03.849 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1068 Thursday 22 February 2024 10:14:55 +0000 (0:00:00.020) 0:03:03.870 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.026) 0:03:03.896 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.020) 0:03:03.917 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1093 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.020) 0:03:03.937 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.026) 0:03:03.963 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.019) 0:03:03.983 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1139 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.020) 0:03:04.003 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.019) 0:03:04.023 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1158 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.083) 0:03:04.106 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.020) 0:03:04.126 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1182 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.020) 0:03:04.147 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1195 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.022) 0:03:04.169 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1202 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.026) 0:03:04.195 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.021) 0:03:04.217 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1218 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.020) 0:03:04.237 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.020) 0:03:04.258 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1237 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.026) 0:03:04.284 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1246 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.020) 0:03:04.305 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1253 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.021) 0:03:04.327 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1259 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.020) 0:03:04.347 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.022) 0:03:04.370 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1280 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.023) 0:03:04.394 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1292 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.021) 0:03:04.415 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.028) 0:03:04.443 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1303 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.022) 0:03:04.465 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1312 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.020) 0:03:04.486 ***** ok: [sut] => { "changed": false } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1325 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.235) 0:03:04.721 ***** 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-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:1336 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.083) 0:03:04.805 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/tests_idempotency.yml:84 Thursday 22 February 2024 10:14:56 +0000 (0:00:00.023) 0:03:04.828 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:8 Thursday 22 February 2024 10:14:57 +0000 (0:00:00.202) 0:03:05.031 ***** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005410", "end": "2024-02-22 10:14:57.266969", "rc": 0, "start": "2024-02-22 10:14:57.261559" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:23 Thursday 22 February 2024 10:14:57 +0000 (0:00:00.139) 0:03:05.171 ***** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.005182", "end": "2024-02-22 10:14:57.407168", "rc": 0, "start": "2024-02-22 10:14:57.401986" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:35 Thursday 22 February 2024 10:14:57 +0000 (0:00:00.149) 0:03:05.321 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:39 Thursday 22 February 2024 10:14:57 +0000 (0:00:00.036) 0:03:05.357 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 10:14:57 +0000 (0:00:00.073) 0:03:05.430 ***** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004495", "end": "2024-02-22 10:14:57.665754", "rc": 0, "start": "2024-02-22 10:14:57.661259" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 10:14:57 +0000 (0:00:00.146) 0:03:05.577 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 10:14:57 +0000 (0:00:00.036) 0:03:05.614 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 10:14:57 +0000 (0:00:00.095) 0:03:05.709 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 10:14:57 +0000 (0:00:00.023) 0:03:05.733 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004565", "end": "2024-02-22 10:14:57.967680", "rc": 0, "start": "2024-02-22 10:14:57.963115" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 10:14:57 +0000 (0:00:00.139) 0:03:05.872 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 10:14:58 +0000 (0:00:00.024) 0:03:05.897 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 10:14:58 +0000 (0:00:00.033) 0:03:05.930 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 10:14:58 +0000 (0:00:00.029) 0:03:05.960 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004619", "end": "2024-02-22 10:14:58.195823", "rc": 0, "start": "2024-02-22 10:14:58.191204" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 10:14:58 +0000 (0:00:00.139) 0:03:06.099 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 10:14:58 +0000 (0:00:00.026) 0:03:06.126 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 10:14:58 +0000 (0:00:00.021) 0:03:06.148 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 10:14:58 +0000 (0:00:00.020) 0:03:06.168 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004314", "end": "2024-02-22 10:14:58.400920", "rc": 0, "start": "2024-02-22 10:14:58.396606" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 10:14:58 +0000 (0:00:00.137) 0:03:06.306 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 10:14:58 +0000 (0:00:00.028) 0:03:06.334 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 10:14:58 +0000 (0:00:00.020) 0:03:06.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 10:14:58 +0000 (0:00:00.020) 0:03:06.375 ***** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004485", "end": "2024-02-22 10:14:58.609466", "rc": 0, "start": "2024-02-22 10:14:58.604981" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 10:14:58 +0000 (0:00:00.137) 0:03:06.513 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 10:14:58 +0000 (0:00:00.021) 0:03:06.535 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 10:14:58 +0000 (0:00:00.028) 0:03:06.564 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:55 Thursday 22 February 2024 10:14:58 +0000 (0:00:00.090) 0:03:06.654 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708596760.4200342, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1708596760.3540328, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 263542, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1708596760.3540328, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "18446744071851163268", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:60 Thursday 22 February 2024 10:14:58 +0000 (0:00:00.214) 0:03:06.869 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:70 Thursday 22 February 2024 10:14:59 +0000 (0:00:00.035) 0:03:06.904 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708596883.7009666, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1708596883.7129667, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 263543, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1708596883.7129667, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "18446744071851163269", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:75 Thursday 22 February 2024 10:14:59 +0000 (0:00:00.150) 0:03:07.055 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:85 Thursday 22 February 2024 10:14:59 +0000 (0:00:00.030) 0:03:07.086 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 10:14:59 +0000 (0:00:00.035) 0:03:07.121 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 10:14:40 UTC", "ActiveEnterTimestampMonotonic": "1466785367", "ActiveExitTimestamp": "Thu 2024-02-22 10:14:20 UTC", "ActiveExitTimestampMonotonic": "1446771964", "ActiveState": "active", "After": "network.target basic.target system.slice -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 10:14:40 UTC", "AssertTimestampMonotonic": "1466784536", "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 10:14:40 UTC", "ConditionTimestampMonotonic": "1466784536", "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": "16574", "ExecMainStartTimestamp": "Thu 2024-02-22 10:14:40 UTC", "ExecMainStartTimestampMonotonic": "1466785311", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 10:14:40 UTC] ; stop_time=[n/a] ; pid=16574 ; 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 10:14:21 UTC", "InactiveEnterTimestampMonotonic": "1447067382", "InactiveExitTimestamp": "Thu 2024-02-22 10:14:40 UTC", "InactiveExitTimestampMonotonic": "1466785367", "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": "16574", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 10:14:40 UTC", "WatchdogTimestampMonotonic": "1466785344", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 10:14:59 +0000 (0:00:00.211) 0:03:07.333 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003242", "end": "2024-02-22 10:14:59.570338", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:59.567096" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 10:14:59 +0000 (0:00:00.140) 0:03:07.473 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003370", "end": "2024-02-22 10:14:59.707397", "failed_when_result": false, "rc": 0, "start": "2024-02-22 10:14:59.704027" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 10:14:59 +0000 (0:00:00.137) 0:03:07.611 ***** 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-unconf5s2790f8/tests/tasks/verify_settings.yml:93 Thursday 22 February 2024 10:14:59 +0000 (0:00:00.026) 0:03:07.638 ***** 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": 6889, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:99 Thursday 22 February 2024 10:15:00 +0000 (0:00:01.138) 0:03:08.777 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1435", "-U", "sa", "-P", "p@55w0rD1", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.023307", "end": "2024-02-22 10:15:01.031098", "rc": 0, "start": "2024-02-22 10:15:01.007791" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Standard Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:117 Thursday 22 February 2024 10:15:01 +0000 (0:00:00.159) 0:03:08.936 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:121 Thursday 22 February 2024 10:15:01 +0000 (0:00:00.021) 0:03:08.958 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_package.yml:7 Thursday 22 February 2024 10:15:01 +0000 (0:00:00.033) 0:03:08.992 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_package.yml:12 Thursday 22 February 2024 10:15:02 +0000 (0:00:01.023) 0:03:10.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_package.yml:17 Thursday 22 February 2024 10:15:02 +0000 (0:00:00.022) 0:03:10.038 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:128 Thursday 22 February 2024 10:15:02 +0000 (0:00:00.046) 0:03:10.085 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_package.yml:7 Thursday 22 February 2024 10:15:02 +0000 (0:00:00.051) 0:03:10.136 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_package.yml:12 Thursday 22 February 2024 10:15:03 +0000 (0:00:00.954) 0:03:11.091 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_package.yml:17 Thursday 22 February 2024 10:15:03 +0000 (0:00:00.022) 0:03:11.113 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:139 Thursday 22 February 2024 10:15:03 +0000 (0:00:00.029) 0:03:11.143 ***** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004517", "end": "2024-02-22 10:15:03.391333", "rc": 0, "start": "2024-02-22 10:15:03.386816" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:144 Thursday 22 February 2024 10:15:03 +0000 (0:00:00.234) 0:03:11.377 ***** 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-unconf5s2790f8/tests/tasks/verify_settings.yml:149 Thursday 22 February 2024 10:15:03 +0000 (0:00:00.037) 0:03:11.415 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:155 Thursday 22 February 2024 10:15:03 +0000 (0:00:00.029) 0:03:11.445 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 10:15:03 +0000 (0:00:00.039) 0:03:11.484 ***** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004660", "end": "2024-02-22 10:15:03.732958", "rc": 0, "start": "2024-02-22 10:15:03.728298" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 10:15:03 +0000 (0:00:00.152) 0:03:11.637 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 10:15:03 +0000 (0:00:00.024) 0:03:11.661 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 10:15:03 +0000 (0:00:00.028) 0:03:11.689 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:161 Thursday 22 February 2024 10:15:03 +0000 (0:00:00.026) 0:03:11.716 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 10:15:03 +0000 (0:00:00.069) 0:03:11.786 ***** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004463", "end": "2024-02-22 10:15:04.026777", "rc": 0, "start": "2024-02-22 10:15:04.022314" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 10:15:04 +0000 (0:00:00.144) 0:03:11.930 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 10:15:04 +0000 (0:00:00.034) 0:03:11.965 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 10:15:04 +0000 (0:00:00.032) 0:03:11.997 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:171 Thursday 22 February 2024 10:15:04 +0000 (0:00:00.021) 0:03:12.019 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:182 Thursday 22 February 2024 10:15:04 +0000 (0:00:00.019) 0:03:12.039 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:194 Thursday 22 February 2024 10:15:04 +0000 (0:00:00.019) 0:03:12.059 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:202 Thursday 22 February 2024 10:15:04 +0000 (0:00:00.020) 0:03:12.079 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/verify_settings.yml:209 Thursday 22 February 2024 10:15:04 +0000 (0:00:00.091) 0:03:12.171 ***** 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-unconf5s2790f8/tests/tasks/tests_idempotency.yml:101 Thursday 22 February 2024 10:15:04 +0000 (0:00:00.024) 0:03:12.195 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/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-unconf5s2790f8/tests/tasks/check_header.yml:4 Thursday 22 February 2024 10:15:04 +0000 (0:00:00.212) 0:03:12.407 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003271", "end": "2024-02-22 10:15:04.674205", "rc": 0, "start": "2024-02-22 10:15:04.670934" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = False [EULA] accepteula = Y [filelocation] defaultdatadir = /var/opt/mssql/data defaultlogdir = /var/opt/mssql/log [network] ipaddress = 127.0.0.1 tcpport = 1435 [traceflag] [control] alternatewritethrough = 0 writethrough = 0 TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tests_idempotency_2017.yml:18 Thursday 22 February 2024 10:15:04 +0000 (0:00:00.168) 0:03:12.575 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/cleanup.yml:2 Thursday 22 February 2024 10:15:04 +0000 (0:00:00.034) 0:03:12.610 ***** 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-unconf5s2790f8/tests/tasks/cleanup.yml:6 Thursday 22 February 2024 10:15:05 +0000 (0:00:00.993) 0:03:13.603 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/cleanup.yml:14 Thursday 22 February 2024 10:15:05 +0000 (0:00:00.025) 0:03:13.628 ***** ok: [sut] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/cleanup.yml:18 Thursday 22 February 2024 10:15:05 +0000 (0:00:00.020) 0:03:13.648 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 22 February 2024 10:15:05 +0000 (0:00:00.065) 0:03:13.714 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/.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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 22 February 2024 10:15:05 +0000 (0:00:00.035) 0:03:13.750 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Thursday 22 February 2024 10:15:05 +0000 (0:00:00.025) 0:03:13.775 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Thursday 22 February 2024 10:15:06 +0000 (0:00:00.132) 0:03:13.908 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Thursday 22 February 2024 10:15:06 +0000 (0:00:00.022) 0:03:13.930 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 22 February 2024 10:15:06 +0000 (0:00:00.341) 0:03:14.271 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 22 February 2024 10:15:06 +0000 (0:00:00.020) 0:03:14.292 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Thursday 22 February 2024 10:15:06 +0000 (0:00:00.027) 0:03:14.320 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 10:10:40 UTC", "ActiveEnterTimestampMonotonic": "1226756422", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 10:10:39 UTC", "AssertTimestampMonotonic": "1225785403", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 10:10:39 UTC", "ConditionTimestampMonotonic": "1225785403", "Conflicts": "ebtables.service shutdown.target iptables.service ipset.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": "11876", "ExecMainStartTimestamp": "Thu 2024-02-22 10:10:39 UTC", "ExecMainStartTimestampMonotonic": "1225790651", "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 10:10:39 UTC", "InactiveExitTimestampMonotonic": "1225790696", "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": "11876", "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 10:10:40 UTC", "WatchdogTimestampMonotonic": "1226756355", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Thursday 22 February 2024 10:15:06 +0000 (0:00:00.212) 0:03:14.532 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 10:10:40 UTC", "ActiveEnterTimestampMonotonic": "1226756422", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 10:10:39 UTC", "AssertTimestampMonotonic": "1225785403", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 10:10:39 UTC", "ConditionTimestampMonotonic": "1225785403", "Conflicts": "ebtables.service shutdown.target iptables.service ipset.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": "11876", "ExecMainStartTimestamp": "Thu 2024-02-22 10:10:39 UTC", "ExecMainStartTimestampMonotonic": "1225790651", "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 10:10:39 UTC", "InactiveExitTimestampMonotonic": "1225790696", "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": "11876", "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 10:10:40 UTC", "WatchdogTimestampMonotonic": "1226756355", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Thursday 22 February 2024 10:15:06 +0000 (0:00:00.255) 0:03:14.787 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Thursday 22 February 2024 10:15:06 +0000 (0:00:00.024) 0:03:14.812 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.9.33 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Thursday 22 February 2024 10:15:07 +0000 (0:00:00.258) 0:03:15.071 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 22 February 2024 10:15:07 +0000 (0:00:00.023) 0:03:15.094 ***** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Thursday 22 February 2024 10:15:07 +0000 (0:00:00.020) 0:03:15.115 ***** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Thursday 22 February 2024 10:15:07 +0000 (0:00:00.020) 0:03:15.136 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Thursday 22 February 2024 10:15:07 +0000 (0:00:00.023) 0:03:15.159 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Thursday 22 February 2024 10:15:07 +0000 (0:00:00.021) 0:03:15.180 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Thursday 22 February 2024 10:15:07 +0000 (0:00:00.020) 0:03:15.201 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.9.33 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Thursday 22 February 2024 10:15:07 +0000 (0:00:00.255) 0:03:15.457 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Thursday 22 February 2024 10:15:07 +0000 (0:00:00.024) 0:03:15.482 ***** skipping: [sut] => {} TASK [Purge selinux configuration] ********************************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/cleanup.yml:26 Thursday 22 February 2024 10:15:07 +0000 (0:00:00.021) 0:03:15.503 ***** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Thursday 22 February 2024 10:15:07 +0000 (0:00:00.052) 0:03:15.555 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/.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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Thursday 22 February 2024 10:15:07 +0000 (0:00:00.034) 0:03:15.589 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Thursday 22 February 2024 10:15:07 +0000 (0:00:00.107) 0:03:15.697 ***** included: /WORKDIR/git-rhel-9-unconf5s2790f8/.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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Thursday 22 February 2024 10:15:07 +0000 (0:00:00.062) 0:03:15.759 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Thursday 22 February 2024 10:15:08 +0000 (0:00:00.135) 0:03:15.895 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:14 Thursday 22 February 2024 10:15:08 +0000 (0:00:00.025) 0:03:15.920 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:23 Thursday 22 February 2024 10:15:08 +0000 (0:00:00.351) 0:03:16.272 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:34 Thursday 22 February 2024 10:15:08 +0000 (0:00:00.019) 0:03:16.292 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:45 Thursday 22 February 2024 10:15:08 +0000 (0:00:00.019) 0:03:16.311 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:53 Thursday 22 February 2024 10:15:08 +0000 (0:00:00.019) 0:03:16.331 ***** ok: [sut] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Thursday 22 February 2024 10:15:08 +0000 (0:00:00.380) 0:03:16.712 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Thursday 22 February 2024 10:15:08 +0000 (0:00:00.020) 0:03:16.732 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Thursday 22 February 2024 10:15:08 +0000 (0:00:00.020) 0:03:16.753 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Thursday 22 February 2024 10:15:08 +0000 (0:00:00.022) 0:03:16.775 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Thursday 22 February 2024 10:15:08 +0000 (0:00:00.018) 0:03:16.794 ***** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Thursday 22 February 2024 10:15:08 +0000 (0:00:00.019) 0:03:16.813 ***** 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.408471", "end": "2024-02-22 10:15:09.454478", "rc": 0, "start": "2024-02-22 10:15:09.046007" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Thursday 22 February 2024 10:15:09 +0000 (0:00:00.542) 0:03:17.356 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Thursday 22 February 2024 10:15:09 +0000 (0:00:00.023) 0:03:17.379 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Thursday 22 February 2024 10:15:09 +0000 (0:00:00.022) 0:03:17.401 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Thursday 22 February 2024 10:15:09 +0000 (0:00:00.028) 0:03:17.430 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Thursday 22 February 2024 10:15:09 +0000 (0:00:00.021) 0:03:17.451 ***** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Thursday 22 February 2024 10:15:09 +0000 (0:00:00.023) 0:03:17.475 ***** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Thursday 22 February 2024 10:15:09 +0000 (0:00:00.021) 0:03:17.496 ***** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Thursday 22 February 2024 10:15:09 +0000 (0:00:00.018) 0:03:17.515 ***** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Thursday 22 February 2024 10:15:09 +0000 (0:00:00.019) 0:03:17.534 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Thursday 22 February 2024 10:15:12 +0000 (0:00:03.325) 0:03:20.860 ***** 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-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Thursday 22 February 2024 10:15:13 +0000 (0:00:00.034) 0:03:20.895 ***** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Thursday 22 February 2024 10:15:13 +0000 (0:00:00.028) 0:03:20.923 ***** TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/cleanup.yml:32 Thursday 22 February 2024 10:15:13 +0000 (0:00:00.027) 0:03:20.951 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/cleanup.yml:40 Thursday 22 February 2024 10:15:13 +0000 (0:00:00.034) 0:03:20.986 ***** 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-unconf5s2790f8/tests/tasks/cleanup.yml:44 Thursday 22 February 2024 10:15:13 +0000 (0:00:00.032) 0:03:21.018 ***** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/cleanup.yml:50 Thursday 22 February 2024 10:15:13 +0000 (0:00:00.140) 0:03:21.159 ***** changed: [sut] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\nFound and removing 9 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n msodbcsql17 x86_64 17.10.5.1-1 @packages-microsoft-com-prod 2.2 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+9 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/12 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/12 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/12 \n Erasing : msodbcsql17-17.10.5.1-1.x86_64 4/12 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 5/12 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/12 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/12 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/12 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/12 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 10/12 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 2/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 3/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 4/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 5/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 6/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 7/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 8/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 9/12 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-1 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n msodbcsql17.x86_64 0:17.10.5.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/cleanup.yml:63 Thursday 22 February 2024 10:15:16 +0000 (0:00:03.024) 0:03:24.184 ***** 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.008860", "end": "2024-02-22 10:15:16.422955", "rc": 0, "start": "2024-02-22 10:15:16.414095" } STDOUT: removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/FTData/tsvit.xml’ removed ‘/var/opt/mssql/FTData/tsesn.xml’ removed ‘/var/opt/mssql/FTData/tstel.xml’ removed ‘/var/opt/mssql/FTData/tscat.xml’ removed ‘/var/opt/mssql/FTData/tscht.xml’ removed ‘/var/opt/mssql/FTData/tsnor.xml’ removed ‘/var/opt/mssql/FTData/tssrl.xml’ removed ‘/var/opt/mssql/FTData/tsmal.xml’ removed ‘/var/opt/mssql/FTData/tschs.xml’ removed ‘/var/opt/mssql/FTData/tskor.xml’ removed ‘/var/opt/mssql/FTData/tsisl.xml’ removed ‘/var/opt/mssql/FTData/tsdan.xml’ removed ‘/var/opt/mssql/FTData/tslvi.xml’ removed ‘/var/opt/mssql/FTData/tsukr.xml’ removed ‘/var/opt/mssql/FTData/tsheb.xml’ removed ‘/var/opt/mssql/FTData/tsrus.xml’ removed ‘/var/opt/mssql/FTData/tssrb.xml’ removed ‘/var/opt/mssql/FTData/tspan.xml’ removed ‘/var/opt/mssql/FTData/tsita.xml’ removed ‘/var/opt/mssql/FTData/tsmar.xml’ removed ‘/var/opt/mssql/FTData/tsenu.xml’ removed ‘/var/opt/mssql/FTData/tstha.xml’ removed ‘/var/opt/mssql/FTData/tsguj.xml’ removed ‘/var/opt/mssql/FTData/tsgrk.xml’ removed ‘/var/opt/mssql/FTData/tsurd.xml’ removed ‘/var/opt/mssql/FTData/tslth.xml’ removed ‘/var/opt/mssql/FTData/tscze.xml’ removed ‘/var/opt/mssql/FTData/tskan.xml’ removed ‘/var/opt/mssql/FTData/tstam.xml’ removed ‘/var/opt/mssql/FTData/tsmsl.xml’ removed ‘/var/opt/mssql/FTData/tseng.xml’ removed directory: ‘/var/opt/mssql/FTData/FilterData’ removed ‘/var/opt/mssql/FTData/tstrk.xml’ removed ‘/var/opt/mssql/FTData/tsglobal.xml’ removed ‘/var/opt/mssql/FTData/tsptg.xml’ removed ‘/var/opt/mssql/FTData/tsind.xml’ removed ‘/var/opt/mssql/FTData/tsplk.xml’ removed ‘/var/opt/mssql/FTData/tsben.xml’ removed ‘/var/opt/mssql/FTData/tsrom.xml’ removed ‘/var/opt/mssql/FTData/tsjpn.xml’ removed ‘/var/opt/mssql/FTData/tshrv.xml’ removed ‘/var/opt/mssql/FTData/tsara.xml’ removed ‘/var/opt/mssql/FTData/tshin.xml’ removed ‘/var/opt/mssql/FTData/tsdeu.xml’ removed ‘/var/opt/mssql/FTData/tsfra.xml’ removed ‘/var/opt/mssql/FTData/tsslv.xml’ removed ‘/var/opt/mssql/FTData/tssve.xml’ removed ‘/var/opt/mssql/FTData/tsnld.xml’ removed ‘/var/opt/mssql/FTData/tsbgr.xml’ removed ‘/var/opt/mssql/FTData/tsptb.xml’ removed ‘/var/opt/mssql/FTData/tssky.xml’ removed directory: ‘/var/opt/mssql/FTData’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/log/system_health_0_133530703639550000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530704328440000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133530704836890000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/sqlagent.1’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530704834270000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133530704331310000.xel’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530704711960000.xel’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530703591570000.xel’ removed ‘/var/opt/mssql/log/FDLAUNCHERRORLOG’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/sqlagent.out’ removed ‘/var/opt/mssql/log/system_health_0_133530704715220000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530704647310000.xel’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/log_2.trc’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/system_health_0_133530704649680000.xel’ removed ‘/var/opt/mssql/log/log_1.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133530703635050000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/system_health_0_133530703598590000.xel’ removed ‘/var/opt/mssql/log/sqlagent.2’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/errorlog.3’ removed directory: ‘/var/opt/mssql/log’ removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed ‘/var/opt/mssql/.system/instance_id’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-3099734116-399386949-811551104-500/42e7704ae40b0d75de00736cc66b813a_3531c969-76f3-4d75-9adb-c6cfb4c4e493’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-3099734116-399386949-811551104-500’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3099734116-399386949-811551104-500/Preferred’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3099734116-399386949-811551104-500/9d51e02c-3822-470c-8113-0b8236e519ec’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3099734116-399386949-811551104-500’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/75bb70c7-6427-4b64-a01d-00eb53eae00c’ 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/misc’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2017.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed directory: ‘/tmp/mssql_data’ removed directory: ‘/tmp/mssql_log’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/cleanup.yml:77 Thursday 22 February 2024 10:15:16 +0000 (0:00:00.158) 0:03:24.342 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:01.421449", "end": "2024-02-22 10:15:17.992297", "rc": 0, "start": "2024-02-22 10:15:16.570848" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Thursday 22 February 2024 10:15:18 +0000 (0:00:01.544) 0:03:25.887 ***** changed: [sut] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.710895", "end": "2024-02-22 10:15:19.848202", "rc": 0, "start": "2024-02-22 10:15:18.137307" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=338 changed=41 unreachable=0 failed=0 skipped=522 rescued=0 ignored=1 Thursday 22 February 2024 10:15:19 +0000 (0:00:01.854) 0:03:27.742 ***** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 39.10s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:230 linux-system-roles.mssql : Ensure the package mssql-server-fts --------- 38.47s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:617 linux-system-roles.mssql : Ensure the package powershell --------------- 13.11s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 linux-system-roles.mssql : Set up MSSQL --------------------------------- 5.97s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:290 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 5.94s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 linux-system-roles.mssql : Change the edition of MSSQL ------------------ 5.23s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:538 linux-system-roles.mssql : Change the password of sa user --------------- 5.12s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:464 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 3.33s /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 3.07s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:352 Remove related packages ------------------------------------------------- 3.02s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/cleanup.yml:50 ----------------- linux-system-roles.mssql : Gather package facts ------------------------- 2.12s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 1.85s /WORKDIR/git-rhel-9-unconf5s2790f8/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles --- 1.83s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:395 Stop the mssql-server service ------------------------------------------- 1.54s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/tasks/cleanup.yml:77 ----------------- linux-system-roles.mssql : Gather system services facts ----------------- 1.50s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:261 linux-system-roles.mssql : Ensure the package mssql-server-fts ---------- 1.38s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:617 linux-system-roles.mssql : Ensure the package powershell ---------------- 1.28s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections --- 1.25s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:428 linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles --- 1.23s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:373 linux-system-roles.mssql : Gather package facts ------------------------- 1.22s /WORKDIR/git-rhel-9-unconf5s2790f8/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---