# 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-unconff0755jgg/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-unconff0755jgg/tests/tests_idempotency_2017.yml:15 Thursday 22 February 2024 18:43:27 +0000 (0:00:00.021) 0:00:00.021 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/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-unconff0755jgg/tests/tasks/tests_idempotency.yml:2 Thursday 22 February 2024 18:43:27 +0000 (0:00:00.011) 0:00:00.033 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Thursday 22 February 2024 18:43:27 +0000 (0:00:00.020) 0:00:00.053 ***** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Thursday 22 February 2024 18:43:27 +0000 (0:00:00.420) 0:00:00.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Thursday 22 February 2024 18:43:27 +0000 (0:00:00.010) 0:00:00.484 ***** 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-unconff0755jgg/tests/tasks/tests_idempotency.yml:5 Thursday 22 February 2024 18:43:27 +0000 (0:00:00.010) 0:00:00.495 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 18:43:27 +0000 (0:00:00.141) 0:00:00.636 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 18:43:27 +0000 (0:00:00.009) 0:00:00.646 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 18:43:27 +0000 (0:00:00.009) 0:00:00.655 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 18:43:27 +0000 (0:00:00.022) 0:00:00.677 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 18:43:27 +0000 (0:00:00.007) 0:00:00.684 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 18:43:27 +0000 (0:00:00.007) 0:00:00.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 18:43:27 +0000 (0:00:00.007) 0:00:00.700 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 18:43:27 +0000 (0:00:00.007) 0:00:00.707 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 18:43:27 +0000 (0:00:00.007) 0:00:00.715 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 18:43:28 +0000 (0:00:00.007) 0:00:00.722 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 18:43:28 +0000 (0:00:00.008) 0:00:00.731 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 18:43:28 +0000 (0:00:00.007) 0:00:00.739 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 18:43:28 +0000 (0:00:00.009) 0:00:00.748 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 18:43:28 +0000 (0:00:00.012) 0:00:00.761 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 18:43:28 +0000 (0:00:00.011) 0:00:00.772 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 18:43:28 +0000 (0:00:00.008) 0:00:00.780 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 18:43:28 +0000 (0:00:00.008) 0:00:00.789 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 18:43:28 +0000 (0:00:00.009) 0:00:00.798 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 18:43:28 +0000 (0:00:00.009) 0:00:00.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Thursday 22 February 2024 18:43:28 +0000 (0:00:00.008) 0:00:00.816 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:146 Thursday 22 February 2024 18:43:29 +0000 (0:00:01.103) 0:00:01.920 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:155 Thursday 22 February 2024 18:43:29 +0000 (0:00:00.035) 0:00:01.955 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:162 Thursday 22 February 2024 18:43:29 +0000 (0:00:00.016) 0:00:01.971 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:169 Thursday 22 February 2024 18:43:29 +0000 (0:00:00.019) 0:00:01.991 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:184 Thursday 22 February 2024 18:43:29 +0000 (0:00:00.029) 0:00:02.021 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Thursday 22 February 2024 18:43:29 +0000 (0:00:00.419) 0:00:02.440 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 18:43:29 +0000 (0:00:00.016) 0:00:02.456 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:218 Thursday 22 February 2024 18:43:29 +0000 (0:00:00.017) 0:00:02.473 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Thursday 22 February 2024 18:43:29 +0000 (0:00:00.033) 0:00:02.507 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [linux-system-roles.mssql : Configure to run as a confined application with SELinux] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 22 February 2024 18:43:29 +0000 (0:00:00.196) 0:00:02.704 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Thursday 22 February 2024 18:43:30 +0000 (0:00:00.456) 0:00:03.160 ***** 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 63 MB/s | 203 MB 00:03 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libatomic-4.8.5-44.el7.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libatomic-4.8.5-44.el7.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Thursday 22 February 2024 18:44:11 +0000 (0:00:40.895) 0:00:44.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:257 Thursday 22 February 2024 18:44:11 +0000 (0:00:00.018) 0:00:44.074 ***** 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.006179", "end": "2024-02-22 18:44:11.545381", "rc": 0, "start": "2024-02-22 18:44:11.539202" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Thursday 22 February 2024 18:44:11 +0000 (0:00:00.215) 0:00:44.289 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:276 Thursday 22 February 2024 18:44:12 +0000 (0:00:00.824) 0:00:45.114 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 22 February 2024 18:44:12 +0000 (0:00:00.026) 0:00:45.140 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:301 Thursday 22 February 2024 18:44:12 +0000 (0:00:00.023) 0:00:45.164 ***** changed: [sut] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:326 Thursday 22 February 2024 18:44:18 +0000 (0:00:05.675) 0:00:50.839 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-rhel-9-unconff0755jgg/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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 22 February 2024 18:44:18 +0000 (0:00:00.066) 0:00:50.906 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Thursday 22 February 2024 18:44:18 +0000 (0:00:00.204) 0:00:51.110 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:31 Thursday 22 February 2024 18:44:18 +0000 (0:00:00.020) 0:00:51.131 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:44:18 +0000 (0:00:00.033) 0:00:51.165 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003761", "end": "2024-02-22 18:44:18.563640", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:44:18.559879" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:44:18 +0000 (0:00:00.143) 0:00:51.308 ***** 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.055351", "end": "2024-02-22 18:44:18.762384", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:44:18.707033" } 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:44:18 +0000 (0:00:00.203) 0:00:51.512 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 22 February 2024 18:44:18 +0000 (0:00:00.020) 0:00:51.532 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Thursday 22 February 2024 18:44:19 +0000 (0:00:00.195) 0:00:51.728 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:31 Thursday 22 February 2024 18:44:19 +0000 (0:00:00.022) 0:00:51.751 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:44:19 +0000 (0:00:00.034) 0:00:51.786 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004147", "end": "2024-02-22 18:44:19.192246", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:44:19.188099" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:44:19 +0000 (0:00:00.150) 0:00:51.936 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.058159", "end": "2024-02-22 18:44:19.416945", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:44:19.358786" } 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:44:19 +0000 (0:00:00.235) 0:00:52.172 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:341 Thursday 22 February 2024 18:44:19 +0000 (0:00:00.048) 0:00:52.221 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Thursday 22 February 2024 18:44:19 +0000 (0:00:00.018) 0:00:52.239 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Thursday 22 February 2024 18:44:19 +0000 (0:00:00.018) 0:00:52.258 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Thursday 22 February 2024 18:44:22 +0000 (0:00:02.609) 0:00:54.867 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:21:17 UTC", "ActiveEnterTimestampMonotonic": "23304235", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service network.target systemd-journald.socket system.slice basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:21:15 UTC", "AssertTimestampMonotonic": "22018389", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ConditionTimestampMonotonic": "22018388", "Conflicts": "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": "886", "ExecMainStartTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ExecMainStartTimestampMonotonic": "22019020", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-02-22 18:21:15 UTC", "InactiveExitTimestampMonotonic": "22019064", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "886", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:21:17 UTC", "WatchdogTimestampMonotonic": "23303924", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Thursday 22 February 2024 18:44:22 +0000 (0:00:00.377) 0:00:55.244 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.153100", "end": "2024-02-22 18:44:22.789546", "rc": 0, "start": "2024-02-22 18:44:22.636446" } 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Thursday 22 February 2024 18:44:22 +0000 (0:00:00.293) 0:00:55.538 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:00.809274", "end": "2024-02-22 18:44:23.743418", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:44:22.934144" } 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Thursday 22 February 2024 18:44:23 +0000 (0:00:00.952) 0:00:56.491 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Thursday 22 February 2024 18:44:23 +0000 (0:00:00.225) 0:00:56.717 ***** changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.662336", "end": "2024-02-22 18:44:25.772530", "rc": 0, "start": "2024-02-22 18:44:24.110194" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Thursday 22 February 2024 18:44:25 +0000 (0:00:01.801) 0:00:58.518 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Thursday 22 February 2024 18:44:25 +0000 (0:00:00.146) 0:00:58.665 ***** 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 3.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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Thursday 22 February 2024 18:44:31 +0000 (0:00:05.901) 0:01:04.566 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Thursday 22 February 2024 18:44:31 +0000 (0:00:00.019) 0:01:04.586 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Thursday 22 February 2024 18:44:31 +0000 (0:00:00.020) 0:01:04.606 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Thursday 22 February 2024 18:44:31 +0000 (0:00:00.020) 0:01:04.627 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Thursday 22 February 2024 18:44:31 +0000 (0:00:00.044) 0:01:04.671 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Thursday 22 February 2024 18:44:31 +0000 (0:00:00.021) 0:01:04.693 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Thursday 22 February 2024 18:44:31 +0000 (0:00:00.019) 0:01:04.713 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Thursday 22 February 2024 18:44:32 +0000 (0:00:00.023) 0:01:04.737 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Thursday 22 February 2024 18:44:32 +0000 (0:00:00.024) 0:01:04.761 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Thursday 22 February 2024 18:44:32 +0000 (0:00:00.019) 0:01:04.781 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Thursday 22 February 2024 18:44:32 +0000 (0:00:00.025) 0:01:04.806 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Thursday 22 February 2024 18:44:32 +0000 (0:00:00.019) 0:01:04.826 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 18:44:32 +0000 (0:00:00.019) 0:01:04.846 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:44:32 +0000 (0:00:00.034) 0:01:04.880 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003464", "end": "2024-02-22 18:44:32.276761", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:44:32.273297" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:44:32 +0000 (0:00:00.148) 0:01:05.028 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.052155", "end": "2024-02-22 18:44:32.485510", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:44:32.433355" } 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:44:32 +0000 (0:00:00.208) 0:01:05.236 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 22 February 2024 18:44:32 +0000 (0:00:00.021) 0:01:05.258 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Thursday 22 February 2024 18:44:32 +0000 (0:00:00.020) 0:01:05.278 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Thursday 22 February 2024 18:44:32 +0000 (0:00:00.020) 0:01:05.299 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:44:32 +0000 (0:00:00.056) 0:01:05.355 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003576", "end": "2024-02-22 18:44:32.774607", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:44:32.771031" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:44:32 +0000 (0:00:00.197) 0:01:05.553 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.054422", "end": "2024-02-22 18:44:33.014123", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:44:32.959701" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:44:33 +0000 (0:00:00.211) 0:01:05.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Thursday 22 February 2024 18:44:33 +0000 (0:00:00.043) 0:01:05.808 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 18:44:33 +0000 (0:00:00.036) 0:01:05.845 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:44:33 +0000 (0:00:00.056) 0:01:05.901 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003621", "end": "2024-02-22 18:44:33.296990", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:44:33.293369" } STDOUT: enabled = false TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:44:33 +0000 (0:00:00.139) 0:01:06.041 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.053022", "end": "2024-02-22 18:44:33.497666", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:44:33.444644" } 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:44:33 +0000 (0:00:00.210) 0:01:06.252 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Thursday 22 February 2024 18:44:33 +0000 (0:00:00.019) 0:01:06.272 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Thursday 22 February 2024 18:45:01 +0000 (0:00:28.118) 0:01:34.390 ***** 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 42 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Thursday 22 February 2024 18:45:14 +0000 (0:00:13.197) 0:01:47.588 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004912", "end": "2024-02-22 18:45:15.988403", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:45:14.983491" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Thursday 22 February 2024 18:45:16 +0000 (0:00:01.143) 0:01:48.732 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.054444", "end": "2024-02-22 18:45:16.181210", "rc": 0, "start": "2024-02-22 18:45:16.126766" } 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 18:45:16 +0000 (0:00:00.220) 0:01:48.952 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Thursday 22 February 2024 18:45:16 +0000 (0:00:00.020) 0:01:48.973 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:45:16 +0000 (0:00:00.035) 0:01:49.008 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004563", "end": "2024-02-22 18:45:17.409200", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:45:16.404637" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:45:17 +0000 (0:00:01.145) 0:01:50.154 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.052962", "end": "2024-02-22 18:45:17.619007", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:17.566045" } 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:45:17 +0000 (0:00:00.215) 0:01:50.370 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Thursday 22 February 2024 18:45:17 +0000 (0:00:00.021) 0:01:50.391 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:45:17 +0000 (0:00:00.044) 0:01:50.436 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004597", "end": "2024-02-22 18:45:18.854360", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:45:17.849763" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:45:18 +0000 (0:00:01.189) 0:01:51.625 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.052346", "end": "2024-02-22 18:45:19.076733", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:19.024387" } 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.204) 0:01:51.830 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.022) 0:01:51.852 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.024) 0:01:51.876 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.021) 0:01:51.897 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.023) 0:01:51.921 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.028) 0:01:51.950 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.026) 0:01:51.976 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.023) 0:01:51.999 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.027) 0:01:52.027 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.020) 0:01:52.048 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.018) 0:01:52.066 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.019) 0:01:52.086 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.021) 0:01:52.108 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.021) 0:01:52.129 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.019) 0:01:52.149 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.023) 0:01:52.173 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.023) 0:01:52.197 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.019) 0:01:52.216 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.043) 0:01:52.260 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.022) 0:01:52.283 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.019) 0:01:52.303 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.019) 0:01:52.322 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.018) 0:01:52.340 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.019) 0:01:52.359 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.019) 0:01:52.379 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.022) 0:01:52.402 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.019) 0:01:52.421 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.019) 0:01:52.441 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.018) 0:01:52.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:998 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.020) 0:01:52.481 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.019) 0:01:52.500 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.020) 0:01:52.521 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.019) 0:01:52.540 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.020) 0:01:52.560 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.017) 0:01:52.578 ***** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.024) 0:01:52.603 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.020) 0:01:52.623 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.019) 0:01:52.643 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1121 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.051) 0:01:52.694 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1128 Thursday 22 February 2024 18:45:19 +0000 (0:00:00.019) 0:01:52.714 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1153 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.019) 0:01:52.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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1162 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.019) 0:01:52.753 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1172 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.020) 0:01:52.773 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1183 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.019) 0:01:52.792 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1196 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.019) 0:01:52.812 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.020) 0:01:52.833 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1216 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.024) 0:01:52.857 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1223 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.019) 0:01:52.877 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.019) 0:01:52.897 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.019) 0:01:52.916 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1251 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.025) 0:01:52.942 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1260 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.020) 0:01:52.962 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.020) 0:01:52.982 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1273 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.020) 0:01:53.002 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1281 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.021) 0:01:53.024 ***** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.026) 0:01:53.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 [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1306 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.021) 0:01:53.072 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for the cluster to finish configuration] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1311 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.021) 0:01:53.093 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1317 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.026) 0:01:53.119 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1326 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.058) 0:01:53.178 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 22 February 2024 18:45:20 +0000 (0:00:00.211) 0:01:53.390 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:44:18 UTC", "ActiveEnterTimestampMonotonic": "1404077085", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target network.target auditd.service systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:44:18 UTC", "AssertTimestampMonotonic": "1404075188", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:44:18 UTC", "ConditionTimestampMonotonic": "1404075186", "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": "14364", "ExecMainStartTimestamp": "Thu 2024-02-22 18:44:18 UTC", "ExecMainStartTimestampMonotonic": "1404077030", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-02-22 18:44:18 UTC", "InactiveExitTimestampMonotonic": "1404077085", "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": "14364", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:44:18 UTC", "WatchdogTimestampMonotonic": "1404077063", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1339 Thursday 22 February 2024 18:45:21 +0000 (0:00:00.506) 0:01:53.896 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Thursday 22 February 2024 18:45:21 +0000 (0:00:00.018) 0:01:53.915 ***** 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-unconff0755jgg/tests/tasks/tests_idempotency.yml:20 Thursday 22 February 2024 18:45:21 +0000 (0:00:00.018) 0:01:53.933 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql-sever-increase-start-limit.yml:3 Thursday 22 February 2024 18:45:21 +0000 (0:00:00.062) 0:01:53.996 ***** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql-sever-increase-start-limit.yml:10 Thursday 22 February 2024 18:45:21 +0000 (0:00:00.219) 0:01:54.215 ***** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql-sever-increase-start-limit.yml:17 Thursday 22 February 2024 18:45:21 +0000 (0:00:00.139) 0:01:54.355 ***** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_idempotency.yml:23 Thursday 22 February 2024 18:45:21 +0000 (0:00:00.294) 0:01:54.649 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.162) 0:01:54.812 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.036) 0:01:54.848 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.038) 0:01:54.887 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.045) 0:01:54.932 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.022) 0:01:54.954 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.020) 0:01:54.975 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.026) 0:01:55.002 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.021) 0:01:55.023 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.019) 0:01:55.043 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.021) 0:01:55.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.019) 0:01:55.083 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.021) 0:01:55.104 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.020) 0:01:55.125 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.040) 0:01:55.166 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.036) 0:01:55.202 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.019) 0:01:55.222 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.021) 0:01:55.243 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.052) 0:01:55.296 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.019) 0:01:55.316 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Thursday 22 February 2024 18:45:22 +0000 (0:00:00.023) 0:01:55.339 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:146 Thursday 22 February 2024 18:45:23 +0000 (0:00:01.141) 0:01:56.481 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:155 Thursday 22 February 2024 18:45:23 +0000 (0:00:00.057) 0:01:56.539 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:162 Thursday 22 February 2024 18:45:23 +0000 (0:00:00.020) 0:01:56.559 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:169 Thursday 22 February 2024 18:45:23 +0000 (0:00:00.022) 0:01:56.582 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:184 Thursday 22 February 2024 18:45:23 +0000 (0:00:00.037) 0:01:56.619 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Thursday 22 February 2024 18:45:24 +0000 (0:00:00.501) 0:01:57.120 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 18:45:24 +0000 (0:00:00.086) 0:01:57.207 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:218 Thursday 22 February 2024 18:45:24 +0000 (0:00:00.022) 0:01:57.230 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Thursday 22 February 2024 18:45:24 +0000 (0:00:00.023) 0:01:57.253 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure to run as a confined application with SELinux] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 22 February 2024 18:45:24 +0000 (0:00:00.024) 0:01:57.278 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Thursday 22 February 2024 18:45:25 +0000 (0:00:00.491) 0:01:57.770 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Thursday 22 February 2024 18:45:25 +0000 (0:00:00.352) 0:01:58.122 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:257 Thursday 22 February 2024 18:45:25 +0000 (0:00:00.020) 0:01:58.143 ***** 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.005838", "end": "2024-02-22 18:45:25.540232", "rc": 0, "start": "2024-02-22 18:45:25.534394" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Thursday 22 February 2024 18:45:25 +0000 (0:00:00.141) 0:01:58.284 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:276 Thursday 22 February 2024 18:45:26 +0000 (0:00:00.816) 0:01:59.100 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 22 February 2024 18:45:26 +0000 (0:00:00.026) 0:01:59.127 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:301 Thursday 22 February 2024 18:45:26 +0000 (0:00:00.018) 0:01:59.145 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:326 Thursday 22 February 2024 18:45:26 +0000 (0:00:00.044) 0:01:59.189 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-rhel-9-unconff0755jgg/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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 22 February 2024 18:45:26 +0000 (0:00:00.042) 0:01:59.232 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Thursday 22 February 2024 18:45:26 +0000 (0:00:00.152) 0:01:59.385 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:31 Thursday 22 February 2024 18:45:26 +0000 (0:00:00.020) 0:01:59.406 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:45:26 +0000 (0:00:00.031) 0:01:59.438 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003868", "end": "2024-02-22 18:45:26.843349", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:26.839481" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:45:26 +0000 (0:00:00.152) 0:01:59.590 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:45:26 +0000 (0:00:00.024) 0:01:59.614 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 22 February 2024 18:45:26 +0000 (0:00:00.021) 0:01:59.636 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Thursday 22 February 2024 18:45:27 +0000 (0:00:00.151) 0:01:59.787 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:31 Thursday 22 February 2024 18:45:27 +0000 (0:00:00.020) 0:01:59.808 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:45:27 +0000 (0:00:00.032) 0:01:59.840 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003372", "end": "2024-02-22 18:45:27.237590", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:27.234218" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:45:27 +0000 (0:00:00.143) 0:01:59.984 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:45:27 +0000 (0:00:00.026) 0:02:00.011 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:341 Thursday 22 February 2024 18:45:27 +0000 (0:00:00.020) 0:02:00.032 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Thursday 22 February 2024 18:45:27 +0000 (0:00:00.054) 0:02:00.086 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Thursday 22 February 2024 18:45:27 +0000 (0:00:00.023) 0:02:00.109 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Thursday 22 February 2024 18:45:27 +0000 (0:00:00.355) 0:02:00.465 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:21:17 UTC", "ActiveEnterTimestampMonotonic": "23304235", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket systemd-sysctl.service basic.target dbus.service system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:21:15 UTC", "AssertTimestampMonotonic": "22018389", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ConditionTimestampMonotonic": "22018388", "Conflicts": "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": "886", "ExecMainStartTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ExecMainStartTimestampMonotonic": "22019020", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-02-22 18:21:15 UTC", "InactiveExitTimestampMonotonic": "22019064", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "886", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:21:17 UTC", "WatchdogTimestampMonotonic": "23303924", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Thursday 22 February 2024 18:45:27 +0000 (0:00:00.221) 0:02:00.686 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.101574", "end": "2024-02-22 18:45:28.177840", "rc": 0, "start": "2024-02-22 18:45:28.076266" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Thursday 22 February 2024 18:45:28 +0000 (0:00:00.237) 0:02:00.923 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Thursday 22 February 2024 18:45:28 +0000 (0:00:00.020) 0:02:00.944 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Thursday 22 February 2024 18:45:28 +0000 (0:00:00.020) 0:02:00.964 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Thursday 22 February 2024 18:45:28 +0000 (0:00:00.021) 0:02:00.986 ***** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Thursday 22 February 2024 18:45:28 +0000 (0:00:00.143) 0:02:01.130 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Thursday 22 February 2024 18:45:28 +0000 (0:00:00.355) 0:02:01.486 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 18:45:28 +0000 (0:00:00.035) 0:02:01.521 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ActiveEnterTimestampMonotonic": "1467198742", "ActiveExitTimestamp": "Thu 2024-02-22 18:45:20 UTC", "ActiveExitTimestampMonotonic": "1466931470", "ActiveState": "active", "After": "basic.target system.slice auditd.service systemd-journald.socket -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:45:21 UTC", "AssertTimestampMonotonic": "1467197377", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ConditionTimestampMonotonic": "1467197375", "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": "14925", "ExecMainStartTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ExecMainStartTimestampMonotonic": "1467198281", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-02-22 18:45:21 UTC", "InactiveEnterTimestampMonotonic": "1467195941", "InactiveExitTimestamp": "Thu 2024-02-22 18:45:21 UTC", "InactiveExitTimestampMonotonic": "1467198742", "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": "14925", "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": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:45:21 UTC", "WatchdogTimestampMonotonic": "1467198704", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 18:45:29 +0000 (0:00:00.253) 0:02:01.775 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004535", "end": "2024-02-22 18:45:30.177567", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:45:29.173032" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 18:45:30 +0000 (0:00:01.146) 0:02:02.922 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003494", "end": "2024-02-22 18:45:30.318462", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:30.314968" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 18:45:30 +0000 (0:00:00.141) 0:02:03.063 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Thursday 22 February 2024 18:45:30 +0000 (0:00:00.027) 0:02:03.091 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Thursday 22 February 2024 18:45:31 +0000 (0:00:01.223) 0:02:04.315 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Thursday 22 February 2024 18:45:31 +0000 (0:00:00.171) 0:02:04.486 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Thursday 22 February 2024 18:45:31 +0000 (0:00:00.022) 0:02:04.508 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Thursday 22 February 2024 18:45:32 +0000 (0:00:01.044) 0:02:05.553 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Thursday 22 February 2024 18:45:32 +0000 (0:00:00.023) 0:02:05.576 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Thursday 22 February 2024 18:45:32 +0000 (0:00:00.019) 0:02:05.596 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Thursday 22 February 2024 18:45:32 +0000 (0:00:00.020) 0:02:05.617 ***** 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.005775", "end": "2024-02-22 18:45:33.018677", "rc": 0, "start": "2024-02-22 18:45:33.012902" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Thursday 22 February 2024 18:45:33 +0000 (0:00:00.146) 0:02:05.763 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Thursday 22 February 2024 18:45:33 +0000 (0:00:00.022) 0:02:05.785 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Thursday 22 February 2024 18:45:34 +0000 (0:00:00.995) 0:02:06.780 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 18:45:34 +0000 (0:00:00.022) 0:02:06.803 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:45:34 +0000 (0:00:00.037) 0:02:06.841 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003516", "end": "2024-02-22 18:45:34.238645", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:34.235129" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:45:34 +0000 (0:00:00.142) 0:02:06.983 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:45:34 +0000 (0:00:00.060) 0:02:07.044 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 22 February 2024 18:45:34 +0000 (0:00:00.021) 0:02:07.065 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Thursday 22 February 2024 18:45:34 +0000 (0:00:00.021) 0:02:07.086 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Thursday 22 February 2024 18:45:34 +0000 (0:00:00.019) 0:02:07.106 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:45:34 +0000 (0:00:00.033) 0:02:07.139 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004441", "end": "2024-02-22 18:45:35.537967", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:45:34.533526" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:45:35 +0000 (0:00:01.143) 0:02:08.283 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.053303", "end": "2024-02-22 18:45:35.733956", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:35.680653" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:45:35 +0000 (0:00:00.220) 0:02:08.504 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Thursday 22 February 2024 18:45:35 +0000 (0:00:00.021) 0:02:08.525 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 18:45:35 +0000 (0:00:00.020) 0:02:08.546 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:45:35 +0000 (0:00:00.042) 0:02:08.588 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003503", "end": "2024-02-22 18:45:35.987434", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:35.983931" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:45:36 +0000 (0:00:00.179) 0:02:08.767 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:45:36 +0000 (0:00:00.028) 0:02:08.796 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Thursday 22 February 2024 18:45:36 +0000 (0:00:00.023) 0:02:08.820 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Thursday 22 February 2024 18:45:36 +0000 (0:00:00.366) 0:02:09.186 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Thursday 22 February 2024 18:45:36 +0000 (0:00:00.368) 0:02:09.555 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003599", "end": "2024-02-22 18:45:36.956680", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:36.953081" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Thursday 22 February 2024 18:45:36 +0000 (0:00:00.154) 0:02:09.709 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.028) 0:02:09.738 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.022) 0:02:09.760 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.042) 0:02:09.802 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003528", "end": "2024-02-22 18:45:37.200828", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:37.197300" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.145) 0:02:09.948 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.028) 0:02:09.977 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.045) 0:02:10.022 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.044) 0:02:10.067 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003410", "end": "2024-02-22 18:45:37.465367", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:37.461957" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.180) 0:02:10.248 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.025) 0:02:10.273 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.021) 0:02:10.295 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.023) 0:02:10.319 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.022) 0:02:10.341 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.028) 0:02:10.369 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.025) 0:02:10.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.022) 0:02:10.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.021) 0:02:10.439 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.020) 0:02:10.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.020) 0:02:10.480 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.021) 0:02:10.502 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.041) 0:02:10.543 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.028) 0:02:10.572 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.023) 0:02:10.595 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.020) 0:02:10.616 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.020) 0:02:10.637 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.023) 0:02:10.660 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.021) 0:02:10.681 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Thursday 22 February 2024 18:45:37 +0000 (0:00:00.019) 0:02:10.700 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.054) 0:02:10.755 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.024) 0:02:10.779 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.021) 0:02:10.801 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.027) 0:02:10.829 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.033) 0:02:10.862 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.020) 0:02:10.883 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.019) 0:02:10.903 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.020) 0:02:10.924 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.024) 0:02:10.948 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.021) 0:02:10.969 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:998 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.021) 0:02:10.991 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.030) 0:02:11.022 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.031) 0:02:11.054 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.032) 0:02:11.086 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.024) 0:02:11.110 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.026) 0:02:11.137 ***** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.028) 0:02:11.165 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.020) 0:02:11.186 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.020) 0:02:11.207 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1121 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.064) 0:02:11.271 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1128 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.023) 0:02:11.295 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1153 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.024) 0:02:11.319 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1162 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.021) 0:02:11.341 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1172 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.022) 0:02:11.364 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1183 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.033) 0:02:11.397 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1196 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.036) 0:02:11.433 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.059) 0:02:11.493 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1216 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.026) 0:02:11.520 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1223 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.034) 0:02:11.554 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.022) 0:02:11.576 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.021) 0:02:11.598 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1251 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.027) 0:02:11.625 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1260 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.019) 0:02:11.645 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.020) 0:02:11.666 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1273 Thursday 22 February 2024 18:45:38 +0000 (0:00:00.026) 0:02:11.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1281 Thursday 22 February 2024 18:45:39 +0000 (0:00:00.035) 0:02:11.728 ***** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 22 February 2024 18:45:39 +0000 (0:00:00.041) 0:02:11.769 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1306 Thursday 22 February 2024 18:45:39 +0000 (0:00:00.021) 0:02:11.791 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for the cluster to finish configuration] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1311 Thursday 22 February 2024 18:45:39 +0000 (0:00:00.067) 0:02:11.859 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1317 Thursday 22 February 2024 18:45:39 +0000 (0:00:00.021) 0:02:11.881 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1326 Thursday 22 February 2024 18:45:39 +0000 (0:00:00.021) 0:02:11.902 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1339 Thursday 22 February 2024 18:45:39 +0000 (0:00:00.172) 0:02:12.075 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Thursday 22 February 2024 18:45:39 +0000 (0:00:00.020) 0:02:12.095 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_idempotency.yml:38 Thursday 22 February 2024 18:45:39 +0000 (0:00:00.024) 0:02:12.120 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:8 Thursday 22 February 2024 18:45:39 +0000 (0:00:00.116) 0:02:12.236 ***** 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.005662", "end": "2024-02-22 18:45:39.636364", "rc": 0, "start": "2024-02-22 18:45:39.630702" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:23 Thursday 22 February 2024 18:45:39 +0000 (0:00:00.150) 0:02:12.387 ***** 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.005565", "end": "2024-02-22 18:45:39.786307", "rc": 0, "start": "2024-02-22 18:45:39.780742" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:35 Thursday 22 February 2024 18:45:39 +0000 (0:00:00.144) 0:02:12.531 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:39 Thursday 22 February 2024 18:45:39 +0000 (0:00:00.024) 0:02:12.556 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:45:39 +0000 (0:00:00.057) 0:02:12.613 ***** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004803", "end": "2024-02-22 18:45:40.012880", "rc": 0, "start": "2024-02-22 18:45:40.008077" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.178) 0:02:12.792 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.028) 0:02:12.821 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.022) 0:02:12.843 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.021) 0:02:12.864 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004541", "end": "2024-02-22 18:45:40.262304", "rc": 0, "start": "2024-02-22 18:45:40.257763" } TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.143) 0:02:13.007 ***** 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-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.025) 0:02:13.033 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.021) 0:02:13.055 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.025) 0:02:13.080 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004758", "end": "2024-02-22 18:45:40.478671", "rc": 0, "start": "2024-02-22 18:45:40.473913" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.147) 0:02:13.227 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.029) 0:02:13.257 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_data] *********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.020) 0:02:13.278 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.021) 0:02:13.300 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004921", "end": "2024-02-22 18:45:40.699055", "rc": 0, "start": "2024-02-22 18:45:40.694134" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.145) 0:02:13.446 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.028) 0:02:13.475 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_log] ************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.021) 0:02:13.496 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.020) 0:02:13.517 ***** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004863", "end": "2024-02-22 18:45:40.917186", "rc": 0, "start": "2024-02-22 18:45:40.912323" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.145) 0:02:13.662 ***** 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-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:45:40 +0000 (0:00:00.056) 0:02:13.718 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:45:41 +0000 (0:00:00.029) 0:02:13.748 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:55 Thursday 22 February 2024 18:45:41 +0000 (0:00:00.020) 0:02:13.768 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:60 Thursday 22 February 2024 18:45:41 +0000 (0:00:00.019) 0:02:13.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:70 Thursday 22 February 2024 18:45:41 +0000 (0:00:00.018) 0:02:13.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:75 Thursday 22 February 2024 18:45:41 +0000 (0:00:00.019) 0:02:13.826 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:85 Thursday 22 February 2024 18:45:41 +0000 (0:00:00.019) 0:02:13.845 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 18:45:41 +0000 (0:00:00.037) 0:02:13.883 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ActiveEnterTimestampMonotonic": "1467198742", "ActiveExitTimestamp": "Thu 2024-02-22 18:45:20 UTC", "ActiveExitTimestampMonotonic": "1466931470", "ActiveState": "active", "After": "basic.target system.slice auditd.service systemd-journald.socket -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:45:21 UTC", "AssertTimestampMonotonic": "1467197377", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ConditionTimestampMonotonic": "1467197375", "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": "14925", "ExecMainStartTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ExecMainStartTimestampMonotonic": "1467198281", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-02-22 18:45:21 UTC", "InactiveEnterTimestampMonotonic": "1467195941", "InactiveExitTimestamp": "Thu 2024-02-22 18:45:21 UTC", "InactiveExitTimestampMonotonic": "1467198742", "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": "14925", "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": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:45:21 UTC", "WatchdogTimestampMonotonic": "1467198704", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 18:45:41 +0000 (0:00:00.215) 0:02:14.098 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003502", "end": "2024-02-22 18:45:41.495361", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:45:41.491859" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 18:45:41 +0000 (0:00:00.140) 0:02:14.238 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003427", "end": "2024-02-22 18:45:41.636099", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:41.632672" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 18:45:41 +0000 (0:00:00.140) 0:02:14.379 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:93 Thursday 22 February 2024 18:45:41 +0000 (0:00:00.029) 0:02:14.408 ***** 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-unconff0755jgg/tests/tasks/verify_settings.yml:99 Thursday 22 February 2024 18:45:42 +0000 (0:00:01.139) 0:02:15.547 ***** 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.023994", "end": "2024-02-22 18:45:42.967114", "rc": 0, "start": "2024-02-22 18:45:42.943120" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:118 Thursday 22 February 2024 18:45:42 +0000 (0:00:00.169) 0:02:15.717 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:122 Thursday 22 February 2024 18:45:43 +0000 (0:00:00.025) 0:02:15.742 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_package.yml:7 Thursday 22 February 2024 18:45:43 +0000 (0:00:00.034) 0:02:15.776 ***** 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-unconff0755jgg/tests/tasks/verify_package.yml:12 Thursday 22 February 2024 18:45:44 +0000 (0:00:00.999) 0:02:16.776 ***** 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-unconff0755jgg/tests/tasks/verify_package.yml:17 Thursday 22 February 2024 18:45:44 +0000 (0:00:00.034) 0:02:16.811 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:129 Thursday 22 February 2024 18:45:44 +0000 (0:00:00.033) 0:02:16.844 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_package.yml:7 Thursday 22 February 2024 18:45:44 +0000 (0:00:00.037) 0:02:16.882 ***** 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-unconff0755jgg/tests/tasks/verify_package.yml:12 Thursday 22 February 2024 18:45:45 +0000 (0:00:01.023) 0:02:17.905 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_package.yml:17 Thursday 22 February 2024 18:45:45 +0000 (0:00:00.027) 0:02:17.933 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:140 Thursday 22 February 2024 18:45:45 +0000 (0:00:00.019) 0:02:17.952 ***** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004804", "end": "2024-02-22 18:45:45.349737", "rc": 0, "start": "2024-02-22 18:45:45.344933" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:145 Thursday 22 February 2024 18:45:45 +0000 (0:00:00.141) 0:02:18.093 ***** 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-unconff0755jgg/tests/tasks/verify_settings.yml:150 Thursday 22 February 2024 18:45:45 +0000 (0:00:00.022) 0:02:18.116 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:156 Thursday 22 February 2024 18:45:45 +0000 (0:00:00.019) 0:02:18.136 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:45:45 +0000 (0:00:00.035) 0:02:18.172 ***** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004781", "end": "2024-02-22 18:45:45.573287", "rc": 0, "start": "2024-02-22 18:45:45.568506" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:45:45 +0000 (0:00:00.147) 0:02:18.320 ***** 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-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:45:45 +0000 (0:00:00.030) 0:02:18.350 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:45:45 +0000 (0:00:00.027) 0:02:18.378 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:162 Thursday 22 February 2024 18:45:45 +0000 (0:00:00.052) 0:02:18.431 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:45:45 +0000 (0:00:00.036) 0:02:18.467 ***** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004708", "end": "2024-02-22 18:45:45.874166", "rc": 0, "start": "2024-02-22 18:45:45.869458" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:45:45 +0000 (0:00:00.152) 0:02:18.620 ***** 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-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:45:45 +0000 (0:00:00.021) 0:02:18.642 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:45:45 +0000 (0:00:00.030) 0:02:18.672 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:172 Thursday 22 February 2024 18:45:45 +0000 (0:00:00.021) 0:02:18.694 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:183 Thursday 22 February 2024 18:45:45 +0000 (0:00:00.019) 0:02:18.713 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:195 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.020) 0:02:18.734 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:203 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.024) 0:02:18.758 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:210 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.020) 0:02:18.779 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_idempotency.yml:52 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.020) 0:02:18.799 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.320) 0:02:19.119 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.031) 0:02:19.151 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.026) 0:02:19.178 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.034) 0:02:19.213 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.018) 0:02:19.231 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.020) 0:02:19.252 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.026) 0:02:19.279 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.019) 0:02:19.299 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.020) 0:02:19.319 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.019) 0:02:19.339 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.020) 0:02:19.360 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.021) 0:02:19.381 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.020) 0:02:19.402 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.023) 0:02:19.425 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.020) 0:02:19.446 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.020) 0:02:19.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.065) 0:02:19.531 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.021) 0:02:19.552 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.039) 0:02:19.592 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Thursday 22 February 2024 18:45:46 +0000 (0:00:00.032) 0:02:19.625 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:146 Thursday 22 February 2024 18:45:47 +0000 (0:00:01.014) 0:02:20.639 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:155 Thursday 22 February 2024 18:45:47 +0000 (0:00:00.056) 0:02:20.695 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:162 Thursday 22 February 2024 18:45:47 +0000 (0:00:00.024) 0:02:20.719 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:169 Thursday 22 February 2024 18:45:48 +0000 (0:00:00.023) 0:02:20.743 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:184 Thursday 22 February 2024 18:45:48 +0000 (0:00:00.039) 0:02:20.783 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Thursday 22 February 2024 18:45:48 +0000 (0:00:00.333) 0:02:21.116 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 18:45:48 +0000 (0:00:00.060) 0:02:21.176 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:218 Thursday 22 February 2024 18:45:48 +0000 (0:00:00.022) 0:02:21.199 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Thursday 22 February 2024 18:45:48 +0000 (0:00:00.022) 0:02:21.222 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure to run as a confined application with SELinux] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 22 February 2024 18:45:48 +0000 (0:00:00.024) 0:02:21.247 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Thursday 22 February 2024 18:45:48 +0000 (0:00:00.438) 0:02:21.685 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Thursday 22 February 2024 18:45:49 +0000 (0:00:00.352) 0:02:22.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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:257 Thursday 22 February 2024 18:45:49 +0000 (0:00:00.020) 0:02:22.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.005699", "end": "2024-02-22 18:45:49.458084", "rc": 0, "start": "2024-02-22 18:45:49.452385" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Thursday 22 February 2024 18:45:49 +0000 (0:00:00.145) 0:02:22.203 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:276 Thursday 22 February 2024 18:45:50 +0000 (0:00:00.725) 0:02:22.928 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 22 February 2024 18:45:50 +0000 (0:00:00.026) 0:02:22.955 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:301 Thursday 22 February 2024 18:45:50 +0000 (0:00:00.020) 0:02:22.975 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:326 Thursday 22 February 2024 18:45:50 +0000 (0:00:00.062) 0:02:23.038 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-rhel-9-unconff0755jgg/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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 22 February 2024 18:45:50 +0000 (0:00:00.044) 0:02:23.082 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Thursday 22 February 2024 18:45:50 +0000 (0:00:00.153) 0:02:23.235 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:31 Thursday 22 February 2024 18:45:50 +0000 (0:00:00.021) 0:02:23.256 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:45:50 +0000 (0:00:00.032) 0:02:23.289 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003496", "end": "2024-02-22 18:45:50.687774", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:50.684278" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:45:50 +0000 (0:00:00.144) 0:02:23.433 ***** 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.051719", "end": "2024-02-22 18:45:50.884923", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:50.833204" } 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:45:50 +0000 (0:00:00.201) 0:02:23.635 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 22 February 2024 18:45:50 +0000 (0:00:00.023) 0:02:23.658 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Thursday 22 February 2024 18:45:51 +0000 (0:00:00.152) 0:02:23.810 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:31 Thursday 22 February 2024 18:45:51 +0000 (0:00:00.021) 0:02:23.832 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:45:51 +0000 (0:00:00.034) 0:02:23.867 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003639", "end": "2024-02-22 18:45:51.266926", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:51.263287" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:45:51 +0000 (0:00:00.147) 0:02:24.014 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.052437", "end": "2024-02-22 18:45:51.464650", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:51.412213" } 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:45:51 +0000 (0:00:00.249) 0:02:24.263 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:341 Thursday 22 February 2024 18:45:51 +0000 (0:00:00.021) 0:02:24.285 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Thursday 22 February 2024 18:45:51 +0000 (0:00:00.020) 0:02:24.306 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Thursday 22 February 2024 18:45:51 +0000 (0:00:00.019) 0:02:24.325 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Thursday 22 February 2024 18:45:51 +0000 (0:00:00.356) 0:02:24.681 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:21:17 UTC", "ActiveEnterTimestampMonotonic": "23304235", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket systemd-sysctl.service basic.target dbus.service system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:21:15 UTC", "AssertTimestampMonotonic": "22018389", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ConditionTimestampMonotonic": "22018388", "Conflicts": "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": "886", "ExecMainStartTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ExecMainStartTimestampMonotonic": "22019020", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-02-22 18:21:15 UTC", "InactiveExitTimestampMonotonic": "22019064", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "886", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:21:17 UTC", "WatchdogTimestampMonotonic": "23303924", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Thursday 22 February 2024 18:45:52 +0000 (0:00:00.216) 0:02:24.898 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.099250", "end": "2024-02-22 18:45:52.392379", "rc": 0, "start": "2024-02-22 18:45:52.293129" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Thursday 22 February 2024 18:45:52 +0000 (0:00:00.239) 0:02:25.137 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Thursday 22 February 2024 18:45:52 +0000 (0:00:00.020) 0:02:25.158 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Thursday 22 February 2024 18:45:52 +0000 (0:00:00.025) 0:02:25.183 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Thursday 22 February 2024 18:45:52 +0000 (0:00:00.029) 0:02:25.213 ***** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Thursday 22 February 2024 18:45:52 +0000 (0:00:00.144) 0:02:25.357 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Thursday 22 February 2024 18:45:52 +0000 (0:00:00.354) 0:02:25.712 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 18:45:53 +0000 (0:00:00.035) 0:02:25.747 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ActiveEnterTimestampMonotonic": "1467198742", "ActiveExitTimestamp": "Thu 2024-02-22 18:45:20 UTC", "ActiveExitTimestampMonotonic": "1466931470", "ActiveState": "active", "After": "basic.target system.slice auditd.service systemd-journald.socket -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:45:21 UTC", "AssertTimestampMonotonic": "1467197377", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ConditionTimestampMonotonic": "1467197375", "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": "14925", "ExecMainStartTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ExecMainStartTimestampMonotonic": "1467198281", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-02-22 18:45:21 UTC", "InactiveEnterTimestampMonotonic": "1467195941", "InactiveExitTimestamp": "Thu 2024-02-22 18:45:21 UTC", "InactiveExitTimestampMonotonic": "1467198742", "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": "14925", "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": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:45:21 UTC", "WatchdogTimestampMonotonic": "1467198704", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 18:45:53 +0000 (0:00:00.213) 0:02:25.960 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004474", "end": "2024-02-22 18:45:54.360048", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:45:53.355574" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 18:45:54 +0000 (0:00:01.145) 0:02:27.106 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003515", "end": "2024-02-22 18:45:54.508485", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:45:54.504970" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 18:45:54 +0000 (0:00:00.147) 0:02:27.254 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Thursday 22 February 2024 18:45:54 +0000 (0:00:00.027) 0:02:27.281 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Thursday 22 February 2024 18:45:55 +0000 (0:00:01.145) 0:02:28.427 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Thursday 22 February 2024 18:45:55 +0000 (0:00:00.183) 0:02:28.611 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ActiveEnterTimestampMonotonic": "1467198742", "ActiveExitTimestamp": "Thu 2024-02-22 18:45:20 UTC", "ActiveExitTimestampMonotonic": "1466931470", "ActiveState": "active", "After": "basic.target system.slice auditd.service systemd-journald.socket -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:45:21 UTC", "AssertTimestampMonotonic": "1467197377", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ConditionTimestampMonotonic": "1467197375", "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": "14925", "ExecMainStartTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ExecMainStartTimestampMonotonic": "1467198281", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-02-22 18:45:21 UTC", "InactiveEnterTimestampMonotonic": "1467195941", "InactiveExitTimestamp": "Thu 2024-02-22 18:45:21 UTC", "InactiveExitTimestampMonotonic": "1467198742", "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": "14925", "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": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:45:21 UTC", "WatchdogTimestampMonotonic": "1467198704", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Thursday 22 February 2024 18:45:56 +0000 (0:00:01.014) 0:02:29.625 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Thursday 22 February 2024 18:45:57 +0000 (0:00:01.093) 0:02:30.718 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Thursday 22 February 2024 18:46:03 +0000 (0:00:05.255) 0:02:35.974 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Thursday 22 February 2024 18:46:03 +0000 (0:00:00.020) 0:02:35.994 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Thursday 22 February 2024 18:46:03 +0000 (0:00:00.019) 0:02:36.014 ***** 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.005400", "end": "2024-02-22 18:46:03.413011", "rc": 0, "start": "2024-02-22 18:46:03.407611" } STDOUT: false TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Thursday 22 February 2024 18:46:03 +0000 (0:00:00.143) 0:02:36.157 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ActiveEnterTimestampMonotonic": "1467198742", "ActiveExitTimestamp": "Thu 2024-02-22 18:45:56 UTC", "ActiveExitTimestampMonotonic": "1502154304", "ActiveState": "inactive", "After": "basic.target system.slice auditd.service systemd-journald.socket -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:45:21 UTC", "AssertTimestampMonotonic": "1467197377", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ConditionTimestampMonotonic": "1467197375", "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 18:45:56 UTC", "ExecMainExitTimestampMonotonic": "1502916393", "ExecMainPID": "14925", "ExecMainStartTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ExecMainStartTimestampMonotonic": "1467198281", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 18:45:21 UTC] ; stop_time=[Thu 2024-02-22 18:45:56 UTC] ; pid=14925 ; 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 18:45:56 UTC", "InactiveEnterTimestampMonotonic": "1502916497", "InactiveExitTimestamp": "Thu 2024-02-22 18:45:21 UTC", "InactiveExitTimestampMonotonic": "1467198742", "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": "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": "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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Thursday 22 February 2024 18:46:03 +0000 (0:00:00.222) 0:02:36.379 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Thursday 22 February 2024 18:46:04 +0000 (0:00:00.987) 0:02:37.366 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 18:46:09 +0000 (0:00:05.083) 0:02:42.450 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:46:09 +0000 (0:00:00.080) 0:02:42.530 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003451", "end": "2024-02-22 18:46:09.927484", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:09.924033" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:46:09 +0000 (0:00:00.145) 0:02:42.675 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.052393", "end": "2024-02-22 18:46:10.125285", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:10.072892" } 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:46:10 +0000 (0:00:00.198) 0:02:42.874 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 22 February 2024 18:46:10 +0000 (0:00:00.021) 0:02:42.895 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Thursday 22 February 2024 18:46:10 +0000 (0:00:00.020) 0:02:42.916 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Thursday 22 February 2024 18:46:10 +0000 (0:00:00.021) 0:02:42.938 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:46:10 +0000 (0:00:00.035) 0:02:42.973 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003433", "end": "2024-02-22 18:46:10.372503", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:46:10.369070" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:46:10 +0000 (0:00:00.152) 0:02:43.126 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.052565", "end": "2024-02-22 18:46:10.576481", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:10.523916" } 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:46:10 +0000 (0:00:00.201) 0:02:43.327 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Thursday 22 February 2024 18:46:10 +0000 (0:00:00.021) 0:02:43.348 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 18:46:10 +0000 (0:00:00.021) 0:02:43.370 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:46:10 +0000 (0:00:00.053) 0:02:43.423 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003428", "end": "2024-02-22 18:46:10.819812", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:10.816384" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:46:10 +0000 (0:00:00.155) 0:02:43.579 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.052970", "end": "2024-02-22 18:46:11.029905", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:10.976935" } 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:46:11 +0000 (0:00:00.205) 0:02:43.785 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Thursday 22 February 2024 18:46:11 +0000 (0:00:00.024) 0:02:43.809 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Thursday 22 February 2024 18:46:12 +0000 (0:00:01.421) 0:02:45.231 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Thursday 22 February 2024 18:46:13 +0000 (0:00:01.359) 0:02:46.591 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.005194", "end": "2024-02-22 18:46:14.992902", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:13.987708" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Thursday 22 February 2024 18:46:15 +0000 (0:00:01.146) 0:02:47.738 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 18:46:15 +0000 (0:00:00.021) 0:02:47.759 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.052245", "end": "2024-02-22 18:46:15.210336", "rc": 0, "start": "2024-02-22 18:46:15.158091" } 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Thursday 22 February 2024 18:46:15 +0000 (0:00:00.197) 0:02:47.957 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:46:15 +0000 (0:00:00.082) 0:02:48.039 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003593", "end": "2024-02-22 18:46:15.437428", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:15.433835" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:46:15 +0000 (0:00:00.145) 0:02:48.185 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:46:15 +0000 (0:00:00.028) 0:02:48.214 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Thursday 22 February 2024 18:46:15 +0000 (0:00:00.025) 0:02:48.239 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:46:15 +0000 (0:00:00.050) 0:02:48.290 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003517", "end": "2024-02-22 18:46:15.694992", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:15.691475" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:46:15 +0000 (0:00:00.152) 0:02:48.442 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.053844", "end": "2024-02-22 18:46:15.897240", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:15.843396" } 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:46:15 +0000 (0:00:00.211) 0:02:48.654 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 18:46:15 +0000 (0:00:00.033) 0:02:48.687 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Thursday 22 February 2024 18:46:15 +0000 (0:00:00.021) 0:02:48.709 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.021) 0:02:48.731 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.027) 0:02:48.758 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.020) 0:02:48.779 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.019) 0:02:48.798 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.019) 0:02:48.818 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.021) 0:02:48.839 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.022) 0:02:48.861 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.020) 0:02:48.882 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.065) 0:02:48.947 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.022) 0:02:48.970 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.024) 0:02:48.994 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.021) 0:02:49.015 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.020) 0:02:49.036 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.020) 0:02:49.057 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.019) 0:02:49.076 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.018) 0:02:49.095 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.020) 0:02:49.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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.018) 0:02:49.135 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.019) 0:02:49.154 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.019) 0:02:49.173 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.020) 0:02:49.193 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.018) 0:02:49.212 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.019) 0:02:49.231 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.019) 0:02:49.250 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.019) 0:02:49.270 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.021) 0:02:49.291 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:998 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.018) 0:02:49.310 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.061) 0:02:49.372 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.020) 0:02:49.392 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.020) 0:02:49.413 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.019) 0:02:49.432 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.019) 0:02:49.452 ***** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.023) 0:02:49.475 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.020) 0:02:49.495 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.018) 0:02:49.514 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1121 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.025) 0:02:49.539 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1128 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.020) 0:02:49.560 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1153 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.018) 0:02:49.579 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1162 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.020) 0:02:49.599 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1172 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.018) 0:02:49.618 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1183 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.019) 0:02:49.637 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1196 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.019) 0:02:49.657 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.020) 0:02:49.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1216 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.019) 0:02:49.697 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1223 Thursday 22 February 2024 18:46:16 +0000 (0:00:00.019) 0:02:49.717 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Thursday 22 February 2024 18:46:17 +0000 (0:00:00.018) 0:02:49.736 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Thursday 22 February 2024 18:46:17 +0000 (0:00:00.020) 0:02:49.756 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1251 Thursday 22 February 2024 18:46:17 +0000 (0:00:00.080) 0:02:49.836 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1260 Thursday 22 February 2024 18:46:17 +0000 (0:00:00.021) 0:02:49.857 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 18:46:17 +0000 (0:00:00.022) 0:02:49.880 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1273 Thursday 22 February 2024 18:46:17 +0000 (0:00:00.022) 0:02:49.902 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1281 Thursday 22 February 2024 18:46:17 +0000 (0:00:00.033) 0:02:49.935 ***** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 22 February 2024 18:46:17 +0000 (0:00:00.037) 0:02:49.973 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1306 Thursday 22 February 2024 18:46:17 +0000 (0:00:00.027) 0:02:50.001 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for the cluster to finish configuration] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1311 Thursday 22 February 2024 18:46:17 +0000 (0:00:00.024) 0:02:50.025 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1317 Thursday 22 February 2024 18:46:17 +0000 (0:00:00.034) 0:02:50.059 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1326 Thursday 22 February 2024 18:46:17 +0000 (0:00:00.023) 0:02:50.083 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Thursday 22 February 2024 18:46:17 +0000 (0:00:00.166) 0:02:50.249 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ActiveEnterTimestampMonotonic": "1467198742", "ActiveExitTimestamp": "Thu 2024-02-22 18:45:56 UTC", "ActiveExitTimestampMonotonic": "1502154304", "ActiveState": "inactive", "After": "basic.target system.slice auditd.service systemd-journald.socket -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:45:21 UTC", "AssertTimestampMonotonic": "1467197377", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ConditionTimestampMonotonic": "1467197375", "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 18:45:56 UTC", "ExecMainExitTimestampMonotonic": "1502916393", "ExecMainPID": "14925", "ExecMainStartTimestamp": "Thu 2024-02-22 18:45:21 UTC", "ExecMainStartTimestampMonotonic": "1467198281", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 18:45:21 UTC] ; stop_time=[Thu 2024-02-22 18:45:56 UTC] ; pid=14925 ; 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 18:45:56 UTC", "InactiveEnterTimestampMonotonic": "1502916497", "InactiveExitTimestamp": "Thu 2024-02-22 18:45:21 UTC", "InactiveExitTimestampMonotonic": "1467198742", "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": "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": "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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1339 Thursday 22 February 2024 18:46:17 +0000 (0:00:00.239) 0:02:50.488 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Thursday 22 February 2024 18:46:17 +0000 (0:00:00.020) 0:02:50.509 ***** 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-unconff0755jgg/tests/tasks/tests_idempotency.yml:69 Thursday 22 February 2024 18:46:17 +0000 (0:00:00.020) 0:02:50.530 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.407) 0:02:50.937 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.029) 0:02:50.967 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.024) 0:02:50.991 ***** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.037) 0:02:51.029 ***** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.021) 0:02:51.050 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.023) 0:02:51.074 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.020) 0:02:51.094 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.019) 0:02:51.114 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.018) 0:02:51.133 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.018) 0:02:51.151 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.073) 0:02:51.225 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.020) 0:02:51.245 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.020) 0:02:51.265 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.024) 0:02:51.290 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.020) 0:02:51.310 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.021) 0:02:51.331 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.020) 0:02:51.352 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.021) 0:02:51.373 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.022) 0:02:51.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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Thursday 22 February 2024 18:46:18 +0000 (0:00:00.022) 0:02:51.417 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:146 Thursday 22 February 2024 18:46:19 +0000 (0:00:01.098) 0:02:52.516 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:155 Thursday 22 February 2024 18:46:19 +0000 (0:00:00.059) 0:02:52.575 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:162 Thursday 22 February 2024 18:46:19 +0000 (0:00:00.086) 0:02:52.661 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:169 Thursday 22 February 2024 18:46:19 +0000 (0:00:00.023) 0:02:52.685 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:184 Thursday 22 February 2024 18:46:20 +0000 (0:00:00.040) 0:02:52.725 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Thursday 22 February 2024 18:46:20 +0000 (0:00:00.360) 0:02:53.086 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Thursday 22 February 2024 18:46:20 +0000 (0:00:00.023) 0:02:53.110 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:218 Thursday 22 February 2024 18:46:20 +0000 (0:00:00.023) 0:02:53.133 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Thursday 22 February 2024 18:46:20 +0000 (0:00:00.024) 0:02:53.157 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure to run as a confined application with SELinux] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Thursday 22 February 2024 18:46:20 +0000 (0:00:00.026) 0:02:53.184 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Thursday 22 February 2024 18:46:20 +0000 (0:00:00.529) 0:02:53.714 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Thursday 22 February 2024 18:46:21 +0000 (0:00:00.467) 0:02:54.181 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:257 Thursday 22 February 2024 18:46:21 +0000 (0:00:00.021) 0:02:54.203 ***** 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 18:46:21.625376", "rc": 0, "start": "2024-02-22 18:46:21.619574" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Thursday 22 February 2024 18:46:21 +0000 (0:00:00.166) 0:02:54.369 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:276 Thursday 22 February 2024 18:46:22 +0000 (0:00:00.725) 0:02:55.094 ***** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Thursday 22 February 2024 18:46:22 +0000 (0:00:00.027) 0:02:55.122 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:301 Thursday 22 February 2024 18:46:22 +0000 (0:00:00.020) 0:02:55.142 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:326 Thursday 22 February 2024 18:46:22 +0000 (0:00:00.019) 0:02:55.162 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-rhel-9-unconff0755jgg/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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 22 February 2024 18:46:22 +0000 (0:00:00.042) 0:02:55.204 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Thursday 22 February 2024 18:46:22 +0000 (0:00:00.150) 0:02:55.355 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:31 Thursday 22 February 2024 18:46:22 +0000 (0:00:00.026) 0:02:55.382 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:46:22 +0000 (0:00:00.034) 0:02:55.417 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003605", "end": "2024-02-22 18:46:22.819448", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:22.815843" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:46:22 +0000 (0:00:00.151) 0:02:55.568 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:46:22 +0000 (0:00:00.026) 0:02:55.595 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Thursday 22 February 2024 18:46:22 +0000 (0:00:00.026) 0:02:55.621 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Thursday 22 February 2024 18:46:23 +0000 (0:00:00.151) 0:02:55.772 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:31 Thursday 22 February 2024 18:46:23 +0000 (0:00:00.020) 0:02:55.793 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:46:23 +0000 (0:00:00.091) 0:02:55.885 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003559", "end": "2024-02-22 18:46:23.283971", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:23.280412" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:46:23 +0000 (0:00:00.145) 0:02:56.030 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:46:23 +0000 (0:00:00.028) 0:02:56.058 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:341 Thursday 22 February 2024 18:46:23 +0000 (0:00:00.024) 0:02:56.083 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Thursday 22 February 2024 18:46:23 +0000 (0:00:00.021) 0:02:56.104 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 Thursday 22 February 2024 18:46:23 +0000 (0:00:00.021) 0:02:56.125 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Thursday 22 February 2024 18:46:23 +0000 (0:00:00.355) 0:02:56.481 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:21:17 UTC", "ActiveEnterTimestampMonotonic": "23304235", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket systemd-sysctl.service basic.target dbus.service system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:21:15 UTC", "AssertTimestampMonotonic": "22018389", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ConditionTimestampMonotonic": "22018388", "Conflicts": "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": "886", "ExecMainStartTimestamp": "Thu 2024-02-22 18:21:15 UTC", "ExecMainStartTimestampMonotonic": "22019020", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-02-22 18:21:15 UTC", "InactiveExitTimestampMonotonic": "22019064", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "886", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:21:17 UTC", "WatchdogTimestampMonotonic": "23303924", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:377 Thursday 22 February 2024 18:46:23 +0000 (0:00:00.216) 0:02:56.697 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.096873", "end": "2024-02-22 18:46:24.185088", "rc": 0, "start": "2024-02-22 18:46:24.088215" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:387 Thursday 22 February 2024 18:46:24 +0000 (0:00:00.233) 0:02:56.931 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:400 Thursday 22 February 2024 18:46:24 +0000 (0:00:00.020) 0:02:56.951 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 Thursday 22 February 2024 18:46:24 +0000 (0:00:00.020) 0:02:56.971 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:419 Thursday 22 February 2024 18:46:24 +0000 (0:00:00.019) 0:02:56.991 ***** ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 Thursday 22 February 2024 18:46:24 +0000 (0:00:00.167) 0:02:57.159 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:438 Thursday 22 February 2024 18:46:24 +0000 (0:00:00.368) 0:02:57.527 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 18:46:24 +0000 (0:00:00.039) 0:02:57.567 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:46:17 UTC", "ActiveEnterTimestampMonotonic": "1523789140", "ActiveExitTimestamp": "Thu 2024-02-22 18:45:56 UTC", "ActiveExitTimestampMonotonic": "1502154304", "ActiveState": "active", "After": "basic.target system.slice auditd.service systemd-journald.socket -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:46:17 UTC", "AssertTimestampMonotonic": "1523788160", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:46:17 UTC", "ConditionTimestampMonotonic": "1523788158", "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": "16784", "ExecMainStartTimestamp": "Thu 2024-02-22 18:46:17 UTC", "ExecMainStartTimestampMonotonic": "1523789080", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 18:46:17 UTC] ; stop_time=[n/a] ; pid=16784 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-02-22 18:45:56 UTC", "InactiveEnterTimestampMonotonic": "1502916497", "InactiveExitTimestamp": "Thu 2024-02-22 18:46:17 UTC", "InactiveExitTimestampMonotonic": "1523789140", "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": "16784", "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": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:46:17 UTC", "WatchdogTimestampMonotonic": "1523789118", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 18:46:25 +0000 (0:00:00.224) 0:02:57.791 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003354", "end": "2024-02-22 18:46:25.190224", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:25.186870" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 18:46:25 +0000 (0:00:00.143) 0:02:57.934 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003376", "end": "2024-02-22 18:46:25.331178", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:25.327802" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 18:46:25 +0000 (0:00:00.141) 0:02:58.075 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 Thursday 22 February 2024 18:46:25 +0000 (0:00:00.029) 0:02:58.105 ***** 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": 6574, "state": "file", "uid": 996 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:448 Thursday 22 February 2024 18:46:26 +0000 (0:00:01.144) 0:02:59.250 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Thursday 22 February 2024 18:46:26 +0000 (0:00:00.168) 0:02:59.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:470 Thursday 22 February 2024 18:46:26 +0000 (0:00:00.023) 0:02:59.441 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Thursday 22 February 2024 18:46:27 +0000 (0:00:01.090) 0:03:00.532 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:500 Thursday 22 February 2024 18:46:27 +0000 (0:00:00.024) 0:03:00.556 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:511 Thursday 22 February 2024 18:46:27 +0000 (0:00:00.024) 0:03:00.581 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Thursday 22 February 2024 18:46:27 +0000 (0:00:00.022) 0:03:00.603 ***** 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.005491", "end": "2024-02-22 18:46:28.005765", "rc": 0, "start": "2024-02-22 18:46:28.000274" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:539 Thursday 22 February 2024 18:46:28 +0000 (0:00:00.147) 0:03:00.750 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Thursday 22 February 2024 18:46:28 +0000 (0:00:00.022) 0:03:00.773 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.992) 0:03:01.765 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.022) 0:03:01.788 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network ipaddress] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.035) 0:03:01.824 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003589", "end": "2024-02-22 18:46:29.222360", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:29.218771" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.218) 0:03:02.042 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.027) 0:03:02.069 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:579 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.020) 0:03:02.090 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:586 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.022) 0:03:02.112 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:598 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.021) 0:03:02.133 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting network tcpport] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.038) 0:03:02.172 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003571", "end": "2024-02-22 18:46:29.569216", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:29.565645" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.143) 0:03:02.315 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.025) 0:03:02.341 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:604 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.026) 0:03:02.367 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.021) 0:03:02.389 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.041) 0:03:02.430 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003469", "end": "2024-02-22 18:46:29.839769", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:29.836300" } STDOUT: enabled = False TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.163) 0:03:02.594 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.024) 0:03:02.618 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 Thursday 22 February 2024 18:46:29 +0000 (0:00:00.019) 0:03:02.637 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 Thursday 22 February 2024 18:46:30 +0000 (0:00:00.460) 0:03:03.098 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 Thursday 22 February 2024 18:46:30 +0000 (0:00:00.299) 0:03:03.397 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003508", "end": "2024-02-22 18:46:30.795656", "failed_when_result": false, "rc": 1, "start": "2024-02-22 18:46:30.792148" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Thursday 22 February 2024 18:46:30 +0000 (0:00:00.143) 0:03:03.541 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:660 Thursday 22 February 2024 18:46:30 +0000 (0:00:00.024) 0:03:03.566 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Thursday 22 February 2024 18:46:30 +0000 (0:00:00.023) 0:03:03.589 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:46:30 +0000 (0:00:00.053) 0:03:03.643 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003531", "end": "2024-02-22 18:46:31.042767", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:31.039236" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.146) 0:03:03.789 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.035) 0:03:03.825 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:674 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.023) 0:03:03.848 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.045) 0:03:03.894 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003486", "end": "2024-02-22 18:46:31.297402", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:31.293916" } STDOUT: writethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.148) 0:03:04.043 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.033) 0:03:04.076 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:692 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.025) 0:03:04.102 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.025) 0:03:04.127 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:711 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.091) 0:03:04.218 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.023) 0:03:04.242 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:738 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.020) 0:03:04.263 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.019) 0:03:04.282 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:754 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.019) 0:03:04.302 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:763 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.020) 0:03:04.323 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:771 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.027) 0:03:04.350 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:779 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.020) 0:03:04.371 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.019) 0:03:04.391 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.024) 0:03:04.416 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.023) 0:03:04.439 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:815 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.023) 0:03:04.462 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:824 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.021) 0:03:04.484 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:836 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.021) 0:03:04.506 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:841 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.021) 0:03:04.528 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:858 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.022) 0:03:04.550 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:863 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.023) 0:03:04.574 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:868 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.020) 0:03:04.595 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:874 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.034) 0:03:04.629 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:900 Thursday 22 February 2024 18:46:31 +0000 (0:00:00.025) 0:03:04.654 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:921 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.087) 0:03:04.742 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.021) 0:03:04.763 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:939 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.020) 0:03:04.783 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:945 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.021) 0:03:04.804 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.020) 0:03:04.825 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:978 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.023) 0:03:04.848 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:998 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.021) 0:03:04.869 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.024) 0:03:04.894 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1058 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.021) 0:03:04.916 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1065 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.024) 0:03:04.940 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1076 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.031) 0:03:04.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1082 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.024) 0:03:04.997 ***** skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1090 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.029) 0:03:05.026 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create login for HA on in SQL Server] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1099 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.020) 0:03:05.047 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1107 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.023) 0:03:05.070 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1121 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.027) 0:03:05.097 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1128 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.021) 0:03:05.119 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1153 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.021) 0:03:05.140 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1162 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.024) 0:03:05.165 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1172 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.089) 0:03:05.254 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1183 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.021) 0:03:05.276 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1196 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.021) 0:03:05.297 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1209 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.021) 0:03:05.318 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1216 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.023) 0:03:05.342 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1223 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.022) 0:03:05.365 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.022) 0:03:05.387 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.023) 0:03:05.411 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure SQL entities on not primary replicas] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1251 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.038) 0:03:05.450 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1260 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.022) 0:03:05.472 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.020) 0:03:05.493 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1273 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.021) 0:03:05.515 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1281 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.023) 0:03:05.539 ***** skipping: [sut] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.039) 0:03:05.579 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1306 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.022) 0:03:05.601 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for the cluster to finish configuration] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1311 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.022) 0:03:05.624 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1317 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.022) 0:03:05.646 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1326 Thursday 22 February 2024 18:46:32 +0000 (0:00:00.021) 0:03:05.667 ***** 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-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1339 Thursday 22 February 2024 18:46:33 +0000 (0:00:00.255) 0:03:05.922 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Thursday 22 February 2024 18:46:33 +0000 (0:00:00.097) 0:03:06.020 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_idempotency.yml:84 Thursday 22 February 2024 18:46:33 +0000 (0:00:00.024) 0:03:06.045 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:8 Thursday 22 February 2024 18:46:33 +0000 (0:00:00.198) 0:03:06.244 ***** 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.005648", "end": "2024-02-22 18:46:33.644172", "rc": 0, "start": "2024-02-22 18:46:33.638524" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:23 Thursday 22 February 2024 18:46:33 +0000 (0:00:00.145) 0:03:06.389 ***** 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.005484", "end": "2024-02-22 18:46:33.800516", "rc": 0, "start": "2024-02-22 18:46:33.795032" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:35 Thursday 22 February 2024 18:46:33 +0000 (0:00:00.154) 0:03:06.544 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:39 Thursday 22 February 2024 18:46:33 +0000 (0:00:00.024) 0:03:06.568 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:46:33 +0000 (0:00:00.057) 0:03:06.626 ***** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004711", "end": "2024-02-22 18:46:34.029613", "rc": 0, "start": "2024-02-22 18:46:34.024902" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:46:34 +0000 (0:00:00.149) 0:03:06.775 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:46:34 +0000 (0:00:00.033) 0:03:06.809 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:46:34 +0000 (0:00:00.026) 0:03:06.835 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:46:34 +0000 (0:00:00.099) 0:03:06.934 ***** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004635", "end": "2024-02-22 18:46:34.334169", "rc": 0, "start": "2024-02-22 18:46:34.329534" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:46:34 +0000 (0:00:00.181) 0:03:07.115 ***** 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-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:46:34 +0000 (0:00:00.054) 0:03:07.170 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:46:34 +0000 (0:00:00.032) 0:03:07.202 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:46:34 +0000 (0:00:00.049) 0:03:07.252 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004996", "end": "2024-02-22 18:46:34.667501", "rc": 0, "start": "2024-02-22 18:46:34.662505" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:46:34 +0000 (0:00:00.162) 0:03:07.414 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:46:34 +0000 (0:00:00.056) 0:03:07.470 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:46:34 +0000 (0:00:00.027) 0:03:07.498 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:46:34 +0000 (0:00:00.023) 0:03:07.521 ***** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004653", "end": "2024-02-22 18:46:34.919269", "rc": 0, "start": "2024-02-22 18:46:34.914616" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:46:34 +0000 (0:00:00.143) 0:03:07.665 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:46:34 +0000 (0:00:00.028) 0:03:07.694 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:46:34 +0000 (0:00:00.025) 0:03:07.719 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:46:35 +0000 (0:00:00.022) 0:03:07.742 ***** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004748", "end": "2024-02-22 18:46:35.143584", "rc": 0, "start": "2024-02-22 18:46:35.138836" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:46:35 +0000 (0:00:00.147) 0:03:07.890 ***** 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-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:46:35 +0000 (0:00:00.023) 0:03:07.913 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:46:35 +0000 (0:00:00.029) 0:03:07.942 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:55 Thursday 22 February 2024 18:46:35 +0000 (0:00:00.022) 0:03:07.965 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708627457.618858, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1708627457.5588582, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 655717, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1708627457.5588582, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "1458329427", "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-unconff0755jgg/tests/tasks/verify_settings.yml:60 Thursday 22 February 2024 18:46:35 +0000 (0:00:00.281) 0:03:08.246 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:70 Thursday 22 February 2024 18:46:35 +0000 (0:00:00.028) 0:03:08.274 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708627580.6109993, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1708627580.6229994, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 655718, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1708627580.6229994, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "1458329428", "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-unconff0755jgg/tests/tasks/verify_settings.yml:75 Thursday 22 February 2024 18:46:35 +0000 (0:00:00.153) 0:03:08.428 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:85 Thursday 22 February 2024 18:46:35 +0000 (0:00:00.027) 0:03:08.455 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Thursday 22 February 2024 18:46:35 +0000 (0:00:00.037) 0:03:08.492 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:46:17 UTC", "ActiveEnterTimestampMonotonic": "1523789140", "ActiveExitTimestamp": "Thu 2024-02-22 18:45:56 UTC", "ActiveExitTimestampMonotonic": "1502154304", "ActiveState": "active", "After": "basic.target system.slice auditd.service systemd-journald.socket -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:46:17 UTC", "AssertTimestampMonotonic": "1523788160", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:46:17 UTC", "ConditionTimestampMonotonic": "1523788158", "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": "16784", "ExecMainStartTimestamp": "Thu 2024-02-22 18:46:17 UTC", "ExecMainStartTimestampMonotonic": "1523789080", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-02-22 18:46:17 UTC] ; stop_time=[n/a] ; pid=16784 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-02-22 18:45:56 UTC", "InactiveEnterTimestampMonotonic": "1502916497", "InactiveExitTimestamp": "Thu 2024-02-22 18:46:17 UTC", "InactiveExitTimestampMonotonic": "1523789140", "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": "16784", "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": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-02-22 18:46:17 UTC", "WatchdogTimestampMonotonic": "1523789118", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Thursday 22 February 2024 18:46:36 +0000 (0:00:00.233) 0:03:08.726 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003441", "end": "2024-02-22 18:46:36.127611", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:36.124170" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Thursday 22 February 2024 18:46:36 +0000 (0:00:00.165) 0:03:08.892 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003575", "end": "2024-02-22 18:46:36.317488", "failed_when_result": false, "rc": 0, "start": "2024-02-22 18:46:36.313913" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Thursday 22 February 2024 18:46:36 +0000 (0:00:00.177) 0:03:09.069 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:93 Thursday 22 February 2024 18:46:36 +0000 (0:00:00.036) 0:03:09.106 ***** 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": 6574, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:99 Thursday 22 February 2024 18:46:37 +0000 (0:00:01.148) 0:03:10.254 ***** 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.023711", "end": "2024-02-22 18:46:37.673104", "rc": 0, "start": "2024-02-22 18:46:37.649393" } 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-unconff0755jgg/tests/tasks/verify_settings.yml:118 Thursday 22 February 2024 18:46:37 +0000 (0:00:00.170) 0:03:10.424 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:122 Thursday 22 February 2024 18:46:37 +0000 (0:00:00.037) 0:03:10.461 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_package.yml:7 Thursday 22 February 2024 18:46:37 +0000 (0:00:00.156) 0:03:10.618 ***** 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-unconff0755jgg/tests/tasks/verify_package.yml:12 Thursday 22 February 2024 18:46:38 +0000 (0:00:01.031) 0:03:11.649 ***** 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-unconff0755jgg/tests/tasks/verify_package.yml:17 Thursday 22 February 2024 18:46:38 +0000 (0:00:00.027) 0:03:11.676 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:129 Thursday 22 February 2024 18:46:38 +0000 (0:00:00.033) 0:03:11.710 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_package.yml:7 Thursday 22 February 2024 18:46:39 +0000 (0:00:00.045) 0:03:11.755 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_package.yml:12 Thursday 22 February 2024 18:46:40 +0000 (0:00:01.014) 0:03:12.770 ***** 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-unconff0755jgg/tests/tasks/verify_package.yml:17 Thursday 22 February 2024 18:46:40 +0000 (0:00:00.048) 0:03:12.818 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:140 Thursday 22 February 2024 18:46:40 +0000 (0:00:00.207) 0:03:13.026 ***** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004804", "end": "2024-02-22 18:46:40.437778", "rc": 0, "start": "2024-02-22 18:46:40.432974" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:145 Thursday 22 February 2024 18:46:40 +0000 (0:00:00.173) 0:03:13.199 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:150 Thursday 22 February 2024 18:46:40 +0000 (0:00:00.023) 0:03:13.223 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:156 Thursday 22 February 2024 18:46:40 +0000 (0:00:00.047) 0:03:13.270 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:46:40 +0000 (0:00:00.056) 0:03:13.327 ***** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004907", "end": "2024-02-22 18:46:40.769870", "rc": 0, "start": "2024-02-22 18:46:40.764963" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:46:40 +0000 (0:00:00.194) 0:03:13.521 ***** 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-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:46:40 +0000 (0:00:00.035) 0:03:13.557 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:46:40 +0000 (0:00:00.053) 0:03:13.610 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:162 Thursday 22 February 2024 18:46:40 +0000 (0:00:00.022) 0:03:13.633 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:7 Thursday 22 February 2024 18:46:40 +0000 (0:00:00.038) 0:03:13.671 ***** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004633", "end": "2024-02-22 18:46:41.073183", "rc": 0, "start": "2024-02-22 18:46:41.068550" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:14 Thursday 22 February 2024 18:46:41 +0000 (0:00:00.157) 0:03:13.829 ***** 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-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:25 Thursday 22 February 2024 18:46:41 +0000 (0:00:00.026) 0:03:13.855 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/mssql_conf_verify.yml:40 Thursday 22 February 2024 18:46:41 +0000 (0:00:00.031) 0:03:13.887 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:172 Thursday 22 February 2024 18:46:41 +0000 (0:00:00.023) 0:03:13.910 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:183 Thursday 22 February 2024 18:46:41 +0000 (0:00:00.021) 0:03:13.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:195 Thursday 22 February 2024 18:46:41 +0000 (0:00:00.020) 0:03:13.953 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:203 Thursday 22 February 2024 18:46:41 +0000 (0:00:00.090) 0:03:14.043 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/verify_settings.yml:210 Thursday 22 February 2024 18:46:41 +0000 (0:00:00.022) 0:03:14.066 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/tests_idempotency.yml:101 Thursday 22 February 2024 18:46:41 +0000 (0:00:00.024) 0:03:14.091 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/check_header.yml:4 Thursday 22 February 2024 18:46:41 +0000 (0:00:00.207) 0:03:14.299 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003471", "end": "2024-02-22 18:46:41.729179", "rc": 0, "start": "2024-02-22 18:46:41.725708" } 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-unconff0755jgg/tests/tests_idempotency_2017.yml:18 Thursday 22 February 2024 18:46:41 +0000 (0:00:00.174) 0:03:14.474 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:2 Thursday 22 February 2024 18:46:41 +0000 (0:00:00.032) 0:03:14.506 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:6 Thursday 22 February 2024 18:46:42 +0000 (0:00:01.102) 0:03:15.608 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:14 Thursday 22 February 2024 18:46:42 +0000 (0:00:00.032) 0:03:15.641 ***** ok: [sut] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:18 Thursday 22 February 2024 18:46:42 +0000 (0:00:00.022) 0:03:15.664 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 22 February 2024 18:46:43 +0000 (0:00:00.068) 0:03:15.733 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 22 February 2024 18:46:43 +0000 (0:00:00.045) 0:03:15.778 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Thursday 22 February 2024 18:46:43 +0000 (0:00:00.026) 0:03:15.805 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Thursday 22 February 2024 18:46:43 +0000 (0:00:00.137) 0:03:15.942 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Thursday 22 February 2024 18:46:43 +0000 (0:00:00.025) 0:03:15.968 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 22 February 2024 18:46:43 +0000 (0:00:00.368) 0:03:16.336 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 22 February 2024 18:46:43 +0000 (0:00:00.037) 0:03:16.374 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Thursday 22 February 2024 18:46:43 +0000 (0:00:00.029) 0:03:16.404 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:42:19 UTC", "ActiveEnterTimestampMonotonic": "1285976928", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:42:18 UTC", "AssertTimestampMonotonic": "1285044142", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:42:18 UTC", "ConditionTimestampMonotonic": "1285044141", "Conflicts": "shutdown.target ipset.service ebtables.service iptables.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12166", "ExecMainStartTimestamp": "Thu 2024-02-22 18:42:18 UTC", "ExecMainStartTimestampMonotonic": "1285046279", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-02-22 18:42:18 UTC", "InactiveExitTimestampMonotonic": "1285046313", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "12166", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2024-02-22 18:42:19 UTC", "WatchdogTimestampMonotonic": "1285976868", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Thursday 22 February 2024 18:46:43 +0000 (0:00:00.226) 0:03:16.630 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-02-22 18:42:19 UTC", "ActiveEnterTimestampMonotonic": "1285976928", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-02-22 18:42:18 UTC", "AssertTimestampMonotonic": "1285044142", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-02-22 18:42:18 UTC", "ConditionTimestampMonotonic": "1285044141", "Conflicts": "shutdown.target ipset.service ebtables.service iptables.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12166", "ExecMainStartTimestamp": "Thu 2024-02-22 18:42:18 UTC", "ExecMainStartTimestampMonotonic": "1285046279", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-02-22 18:42:18 UTC", "InactiveExitTimestampMonotonic": "1285046313", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "12166", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2024-02-22 18:42:19 UTC", "WatchdogTimestampMonotonic": "1285976868", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Thursday 22 February 2024 18:46:44 +0000 (0:00:00.299) 0:03:16.930 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Thursday 22 February 2024 18:46:44 +0000 (0:00:00.025) 0:03:16.955 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.8.225 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Thursday 22 February 2024 18:46:44 +0000 (0:00:00.273) 0:03:17.229 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 22 February 2024 18:46:44 +0000 (0:00:00.022) 0:03:17.252 ***** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Thursday 22 February 2024 18:46:44 +0000 (0:00:00.020) 0:03:17.272 ***** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Thursday 22 February 2024 18:46:44 +0000 (0:00:00.020) 0:03:17.293 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Thursday 22 February 2024 18:46:44 +0000 (0:00:00.022) 0:03:17.315 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Thursday 22 February 2024 18:46:44 +0000 (0:00:00.020) 0:03:17.336 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Thursday 22 February 2024 18:46:44 +0000 (0:00:00.023) 0:03:17.359 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.8.225 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Thursday 22 February 2024 18:46:44 +0000 (0:00:00.292) 0:03:17.652 ***** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Thursday 22 February 2024 18:46:44 +0000 (0:00:00.028) 0:03:17.680 ***** skipping: [sut] => {} TASK [Purge selinux configuration] ********************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:26 Thursday 22 February 2024 18:46:44 +0000 (0:00:00.025) 0:03:17.706 ***** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Thursday 22 February 2024 18:46:45 +0000 (0:00:00.056) 0:03:17.762 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for sut TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Thursday 22 February 2024 18:46:45 +0000 (0:00:00.113) 0:03:17.876 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Thursday 22 February 2024 18:46:45 +0000 (0:00:00.026) 0:03:17.902 ***** included: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for sut TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Thursday 22 February 2024 18:46:45 +0000 (0:00:00.045) 0:03:17.948 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Thursday 22 February 2024 18:46:45 +0000 (0:00:00.137) 0:03:18.086 ***** ok: [sut] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:14 Thursday 22 February 2024 18:46:45 +0000 (0:00:00.022) 0:03:18.109 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:23 Thursday 22 February 2024 18:46:45 +0000 (0:00:00.360) 0:03:18.470 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:34 Thursday 22 February 2024 18:46:45 +0000 (0:00:00.020) 0:03:18.490 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:45 Thursday 22 February 2024 18:46:45 +0000 (0:00:00.019) 0:03:18.510 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:53 Thursday 22 February 2024 18:46:45 +0000 (0:00:00.020) 0:03:18.530 ***** ok: [sut] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Thursday 22 February 2024 18:46:47 +0000 (0:00:01.470) 0:03:20.001 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Thursday 22 February 2024 18:46:47 +0000 (0:00:00.020) 0:03:20.021 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Thursday 22 February 2024 18:46:47 +0000 (0:00:00.077) 0:03:20.099 ***** ok: [sut] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Thursday 22 February 2024 18:46:47 +0000 (0:00:00.023) 0:03:20.122 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Thursday 22 February 2024 18:46:47 +0000 (0:00:00.018) 0:03:20.141 ***** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Thursday 22 February 2024 18:46:47 +0000 (0:00:00.019) 0:03:20.161 ***** 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.399045", "end": "2024-02-22 18:46:47.954120", "rc": 0, "start": "2024-02-22 18:46:47.555075" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Thursday 22 February 2024 18:46:47 +0000 (0:00:00.538) 0:03:20.699 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Thursday 22 February 2024 18:46:48 +0000 (0:00:00.020) 0:03:20.720 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Thursday 22 February 2024 18:46:48 +0000 (0:00:00.019) 0:03:20.740 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Thursday 22 February 2024 18:46:48 +0000 (0:00:00.020) 0:03:20.760 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Thursday 22 February 2024 18:46:48 +0000 (0:00:00.020) 0:03:20.780 ***** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Thursday 22 February 2024 18:46:48 +0000 (0:00:00.019) 0:03:20.800 ***** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Thursday 22 February 2024 18:46:48 +0000 (0:00:00.021) 0:03:20.822 ***** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Thursday 22 February 2024 18:46:48 +0000 (0:00:00.020) 0:03:20.842 ***** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Thursday 22 February 2024 18:46:48 +0000 (0:00:00.019) 0:03:20.862 ***** ok: [sut] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Thursday 22 February 2024 18:46:50 +0000 (0:00:02.834) 0:03:23.696 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Thursday 22 February 2024 18:46:51 +0000 (0:00:00.027) 0:03:23.724 ***** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Thursday 22 February 2024 18:46:51 +0000 (0:00:00.026) 0:03:23.750 ***** TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:32 Thursday 22 February 2024 18:46:51 +0000 (0:00:00.027) 0:03:23.778 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:40 Thursday 22 February 2024 18:46:51 +0000 (0:00:00.034) 0:03:23.813 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:44 Thursday 22 February 2024 18:46:51 +0000 (0:00:00.034) 0:03:23.847 ***** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:50 Thursday 22 February 2024 18:46:51 +0000 (0:00:00.148) 0:03:23.996 ***** changed: [sut] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\nFound and removing 9 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n msodbcsql17 x86_64 17.10.5.1-1 @packages-microsoft-com-prod 2.2 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+9 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/12 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/12 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/12 \n Erasing : msodbcsql17-17.10.5.1-1.x86_64 4/12 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 5/12 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/12 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/12 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/12 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/12 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 10/12 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 2/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 3/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 4/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 5/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 6/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 7/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 8/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 9/12 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-1 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n msodbcsql17.x86_64 0:17.10.5.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:63 Thursday 22 February 2024 18:46:54 +0000 (0:00:02.970) 0:03:26.966 ***** 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.008717", "end": "2024-02-22 18:46:54.442579", "rc": 0, "start": "2024-02-22 18:46:54.433862" } 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/HkEngineEventFile_0_133531011802480000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133531010561360000.xel’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/sqlagent.1’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/system_health_0_133531011805980000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133531010610490000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133531011238680000.xel’ removed ‘/var/opt/mssql/log/FDLAUNCHERRORLOG’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/system_health_0_133531010571140000.xel’ removed ‘/var/opt/mssql/log/sqlagent.out’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133531011673580000.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_133531011610890000.xel’ removed ‘/var/opt/mssql/log/log_1.trc’ removed ‘/var/opt/mssql/log/system_health_0_133531011241900000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133531011607510000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/sqlagent.2’ removed ‘/var/opt/mssql/log/system_health_0_133531011675940000.xel’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133531010606510000.xel’ removed directory: ‘/var/opt/mssql/log’ removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed ‘/var/opt/mssql/.system/instance_id’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-2716350838-700168337-1007536885-500/42e7704ae40b0d75de00736cc66b813a_9c1d1f75-3b6a-4625-8f93-73df23b1f536’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-2716350838-700168337-1007536885-500’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2716350838-700168337-1007536885-500/Preferred’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2716350838-700168337-1007536885-500/5ac44c86-05b0-4f57-8b3f-fd810834b612’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2716350838-700168337-1007536885-500’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/6f5930f8-3547-4ae2-9745-ea68dc4aa78b’ 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-unconff0755jgg/tests/tasks/cleanup.yml:77 Thursday 22 February 2024 18:46:54 +0000 (0:00:00.230) 0:03:27.197 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.645130", "end": "2024-02-22 18:46:55.238674", "rc": 0, "start": "2024-02-22 18:46:54.593544" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Thursday 22 February 2024 18:46:55 +0000 (0:00:00.774) 0:03:27.972 ***** changed: [sut] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:02.166219", "end": "2024-02-22 18:46:57.551254", "rc": 0, "start": "2024-02-22 18:46:55.385035" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=338 changed=41 unreachable=0 failed=0 skipped=526 rescued=0 ignored=1 Thursday 22 February 2024 18:46:57 +0000 (0:00:02.317) 0:03:30.289 ***** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 41.25s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 linux-system-roles.mssql : Ensure the package mssql-server-fts --------- 28.49s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 linux-system-roles.mssql : Ensure the package powershell --------------- 13.57s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 6.26s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:426 linux-system-roles.mssql : Set up MSSQL --------------------------------- 5.72s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:301 linux-system-roles.mssql : Change the password of sa user --------------- 5.26s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 linux-system-roles.mssql : Change the edition of MSSQL ------------------ 5.08s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:552 Remove related packages ------------------------------------------------- 2.97s /WORKDIR/git-rhel-9-unconff0755jgg/tests/tasks/cleanup.yml:50 ----------------- linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.97s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:366 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.83s /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.32s /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 linux-system-roles.mssql : Gather package facts ------------------------- 2.25s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles --- 1.82s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:409 linux-system-roles.mssql : Gather system services facts ----------------- 1.64s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 fedora.linux_system_roles.selinux : Refresh facts ----------------------- 1.47s /WORKDIR/git-rhel-9-unconff0755jgg/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:53 linux-system-roles.mssql : Ensure the package mssql-server-fts ---------- 1.42s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:631 linux-system-roles.mssql : Ensure the package powershell ---------------- 1.36s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:638 linux-system-roles.mssql : Check if the 3979 trace flag is enabled ------ 1.30s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:647 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections --- 1.24s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/main.yml:442 linux-system-roles.mssql : Get the setting control writethrough --------- 1.19s /WORKDIR/git-rhel-9-unconff0755jgg/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---