# 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_password_2019.yml ********************************************** 1 plays in /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tests_password_2019.yml PLAY [Ensure that the role is idempotent when changing the sa user password] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tests_password_2019.yml:3 Wednesday 17 January 2024 10:28:33 +0000 (0:00:00.013) 0:00:00.013 ***** ok: [sut] META: ran handlers TASK [Run tests_password with SQL Server 2019] ********************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tests_password_2019.yml:14 Wednesday 17 January 2024 10:28:33 +0000 (0:00:00.503) 0:00:00.517 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/tests_password.yml for sut TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/tests_password.yml:2 Wednesday 17 January 2024 10:28:33 +0000 (0:00:00.013) 0:00:00.530 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Wednesday 17 January 2024 10:28:33 +0000 (0:00:00.022) 0:00:00.553 ***** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Wednesday 17 January 2024 10:28:33 +0000 (0:00:00.211) 0:00:00.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Wednesday 17 January 2024 10:28:33 +0000 (0:00:00.010) 0:00:00.775 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up MSSQL] ************************************************************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/tests_password.yml:5 Wednesday 17 January 2024 10:28:33 +0000 (0:00:00.010) 0:00:00.786 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.142) 0:00:00.928 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.012) 0:00:00.941 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.010) 0:00:00.951 ***** 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-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.032) 0:00:00.984 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.010) 0:00:00.994 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.017) 0:00:01.011 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.018) 0:00:01.030 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.032) 0:00:01.063 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.011) 0:00:01.074 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.017) 0:00:01.092 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.010) 0:00:01.103 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.009) 0:00:01.112 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.011) 0:00:01.123 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.013) 0:00:01.137 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.013) 0:00:01.150 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.009) 0:00:01.160 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.008) 0:00:01.168 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.010) 0:00:01.179 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Wednesday 17 January 2024 10:28:34 +0000 (0:00:00.009) 0:00:01.188 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Wednesday 17 January 2024 10:28:35 +0000 (0:00:01.069) 0:00:02.258 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 17 January 2024 10:28:35 +0000 (0:00:00.042) 0:00:02.300 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Wednesday 17 January 2024 10:28:35 +0000 (0:00:00.018) 0:00:02.319 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Wednesday 17 January 2024 10:28:35 +0000 (0:00:00.025) 0:00:02.345 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Wednesday 17 January 2024 10:28:35 +0000 (0:00:00.048) 0:00:02.393 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Wednesday 17 January 2024 10:28:35 +0000 (0:00:00.399) 0:00:02.793 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Wednesday 17 January 2024 10:28:35 +0000 (0:00:00.021) 0:00:02.814 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Wednesday 17 January 2024 10:28:35 +0000 (0:00:00.035) 0:00:02.849 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Wednesday 17 January 2024 10:28:35 +0000 (0:00:00.019) 0:00:02.868 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Wednesday 17 January 2024 10:28:36 +0000 (0:00:00.187) 0:00:03.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 17 January 2024 10:28:36 +0000 (0:00:00.018) 0:00:03.074 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 17 January 2024 10:28:36 +0000 (0:00:00.017) 0:00:03.092 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 17 January 2024 10:28:36 +0000 (0:00:00.018) 0:00:03.111 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Wednesday 17 January 2024 10:28:36 +0000 (0:00:00.019) 0:00:03.130 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Wednesday 17 January 2024 10:28:36 +0000 (0:00:00.019) 0:00:03.150 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4345.5-2 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4345.5-2.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.15 will be installed\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 15.0.4345.5-2 packages-microsoft-com-mssql-server-2019\n 229 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.15 updates 170 k\n lsof x86_64 4.87-6.el7 base 331 k\n python3 x86_64 3.6.8-21.el7_9 updates 71 k\n python3-libs x86_64 3.6.8-21.el7_9 updates 7.0 M\n python3-pip noarch 9.0.3-8.el7 base 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 base 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal size: 241 M\nTotal download size: 238 M\nInstalled size: 1.2 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 36 MB/s | 238 MB 00:06 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 5/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 6/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 7/12 \n Installing : gdb-7.6.1-120.el7.x86_64 8/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 9/12 \n Installing : lsof-4.87-6.el7.x86_64 10/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 11/12 \n Installing : mssql-server-15.0.4345.5-2.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/12 \n Verifying : mssql-server-15.0.4345.5-2.x86_64 3/12 \n Verifying : lsof-4.87-6.el7.x86_64 4/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 5/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 6/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 7/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 8/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 9/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 10/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 11/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4345.5-2 \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.15 \n lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Wednesday 17 January 2024 10:29:21 +0000 (0:00:45.129) 0:00:48.279 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Wednesday 17 January 2024 10:29:21 +0000 (0:00:00.016) 0:00:48.295 ***** 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.005758", "end": "2024-01-17 10:29:21.605437", "rc": 0, "start": "2024-01-17 10:29:21.599679" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Wednesday 17 January 2024 10:29:21 +0000 (0:00:00.206) 0:00:48.502 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Wednesday 17 January 2024 10:29:22 +0000 (0:00:00.772) 0:00:49.274 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Wednesday 17 January 2024 10:29:22 +0000 (0:00:00.025) 0:00:49.299 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 17 January 2024 10:29:22 +0000 (0:00:00.022) 0:00:49.322 ***** 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 : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Wednesday 17 January 2024 10:29:28 +0000 (0:00:05.813) 0:00:55.136 ***** skipping: [sut] => (item={'path': None, 'mode': 'omit', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "omit", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': 'omit', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "omit", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Wednesday 17 January 2024 10:29:28 +0000 (0:00:00.024) 0:00:55.160 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 17 January 2024 10:29:28 +0000 (0:00:00.036) 0:00:55.197 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:381 Wednesday 17 January 2024 10:29:28 +0000 (0:00:00.019) 0:00:55.217 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 17 January 2024 10:29:28 +0000 (0:00:00.350) 0:00:55.567 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 09:58:24 UTC", "ActiveEnterTimestampMonotonic": "25212687", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice systemd-sysctl.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 09:58:22 UTC", "AssertTimestampMonotonic": "23770188", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 09:58:22 UTC", "ConditionTimestampMonotonic": "23770186", "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": "881", "ExecMainStartTimestamp": "Wed 2024-01-17 09:58:22 UTC", "ExecMainStartTimestampMonotonic": "23770951", "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": "Wed 2024-01-17 09:58:22 UTC", "InactiveExitTimestampMonotonic": "23771023", "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": "881", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 09:58:24 UTC", "WatchdogTimestampMonotonic": "25212615", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:392 Wednesday 17 January 2024 10:29:29 +0000 (0:00:00.346) 0:00:55.914 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.099946", "end": "2024-01-17 10:29:29.252011", "rc": 0, "start": "2024-01-17 10:29:29.152065" } 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:402 Wednesday 17 January 2024 10:29:29 +0000 (0:00:00.236) 0:00:56.151 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:415 Wednesday 17 January 2024 10:29:29 +0000 (0:00:00.019) 0:00:56.170 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 17 January 2024 10:29:29 +0000 (0:00:00.018) 0:00:56.188 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 17 January 2024 10:29:29 +0000 (0:00:00.017) 0:00:56.206 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:441 Wednesday 17 January 2024 10:29:29 +0000 (0:00:00.184) 0:00:56.391 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql17 x86_64 17.10.5.1-1 packages-microsoft-com-prod 913 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql17-17.10.5.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.5.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:453 Wednesday 17 January 2024 10:29:35 +0000 (0:00:05.799) 0:01:02.190 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:457 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.020) 0:01:02.211 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.019) 0:01:02.230 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.019) 0:01:02.250 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.020) 0:01:02.270 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:493 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.019) 0:01:02.289 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:515 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.044) 0:01:02.334 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.021) 0:01:02.356 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:541 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.021) 0:01:02.377 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:554 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.019) 0:01:02.397 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:561 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.021) 0:01:02.418 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.020) 0:01:02.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 : Configure the IP address setting] ************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:587 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.020) 0:01:02.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:594 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.018) 0:01:02.479 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:601 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.018) 0:01:02.498 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.019) 0:01:02.517 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.032) 0:01:02.549 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004334", "end": "2024-01-17 10:29:35.814298", "failed_when_result": false, "rc": 1, "start": "2024-01-17 10:29:35.809964" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 17 January 2024 10:29:35 +0000 (0:00:00.165) 0:01:02.715 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.210234", "end": "2024-01-17 10:29:36.187190", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:29:35.976956" } 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.379) 0:01:03.094 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.019) 0:01:03.113 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.019) 0:01:03.133 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.019) 0:01:03.152 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.040) 0:01:03.193 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:662 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.019) 0:01:03.213 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.019) 0:01:03.233 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.019) 0:01:03.253 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:683 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.018) 0:01:03.271 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:689 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.035) 0:01:03.307 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:707 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.018) 0:01:03.325 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:721 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.019) 0:01:03.345 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:726 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.020) 0:01:03.365 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.021) 0:01:03.387 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:753 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.019) 0:01:03.406 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:762 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.017) 0:01:03.424 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.018) 0:01:03.442 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:778 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.017) 0:01:03.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.020) 0:01:03.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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:794 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.018) 0:01:03.499 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.018) 0:01:03.517 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.020) 0:01:03.538 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.020) 0:01:03.558 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:830 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.044) 0:01:03.603 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.020) 0:01:03.624 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:851 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.019) 0:01:03.644 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:856 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.019) 0:01:03.663 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:873 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.018) 0:01:03.682 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:878 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.020) 0:01:03.702 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:883 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.021) 0:01:03.724 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:889 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.020) 0:01:03.744 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.019) 0:01:03.764 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.018) 0:01:03.782 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:944 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.018) 0:01:03.801 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:954 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.018) 0:01:03.819 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:960 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.018) 0:01:03.837 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Wednesday 17 January 2024 10:29:36 +0000 (0:00:00.018) 0:01:03.856 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:992 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.021) 0:01:03.877 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1012 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.020) 0:01:03.898 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1066 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.021) 0:01:03.919 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1073 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.028) 0:01:03.948 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.020) 0:01:03.968 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1091 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.050) 0:01:04.019 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1097 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.021) 0:01:04.041 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1105 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.027) 0:01:04.069 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.019) 0:01:04.088 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.020) 0:01:04.109 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1137 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.036) 0:01:04.145 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.020) 0:01:04.165 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.021) 0:01:04.187 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.021) 0:01:04.208 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1188 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.028) 0:01:04.237 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1199 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.022) 0:01:04.259 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1212 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.024) 0:01:04.283 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.021) 0:01:04.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.024) 0:01:04.329 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.027) 0:01:04.356 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1248 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.029) 0:01:04.386 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.019) 0:01:04.405 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.030) 0:01:04.435 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.024) 0:01:04.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1283 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.048) 0:01:04.509 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1289 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.021) 0:01:04.530 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.032) 0:01:04.563 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1310 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.034) 0:01:04.598 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.021) 0:01:04.619 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1328 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.022) 0:01:04.642 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1337 Wednesday 17 January 2024 10:29:37 +0000 (0:00:00.020) 0:01:04.663 ***** changed: [sut] => { "changed": true } MSG: Block inserted META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Wednesday 17 January 2024 10:29:38 +0000 (0:00:00.250) 0:01:04.913 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1361 Wednesday 17 January 2024 10:29:38 +0000 (0:00:00.027) 0:01:04.940 ***** 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-selinux-install-after-confi_8_7r8k/tests/tasks/tests_password.yml:12 Wednesday 17 January 2024 10:29:38 +0000 (0:00:00.021) 0:01:04.961 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 17 January 2024 10:29:38 +0000 (0:00:00.065) 0:01:05.027 ***** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 17 January 2024 10:29:38 +0000 (0:00:00.219) 0:01:05.247 ***** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 17 January 2024 10:29:38 +0000 (0:00:00.129) 0:01:05.376 ***** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Change the password with default settings. Should report Changed.] ******* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/tests_password.yml:15 Wednesday 17 January 2024 10:29:38 +0000 (0:00:00.250) 0:01:05.627 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 17 January 2024 10:29:38 +0000 (0:00:00.193) 0:01:05.820 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 17 January 2024 10:29:38 +0000 (0:00:00.031) 0:01:05.851 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.024) 0:01:05.875 ***** 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-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.033) 0:01:05.908 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.018) 0:01:05.927 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.018) 0:01:05.945 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.018) 0:01:05.963 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.018) 0:01:05.982 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.022) 0:01:06.005 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.019) 0:01:06.024 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.019) 0:01:06.043 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.047) 0:01:06.091 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.020) 0:01:06.112 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.028) 0:01:06.141 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.030) 0:01:06.171 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.020) 0:01:06.191 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.021) 0:01:06.212 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.038) 0:01:06.251 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Wednesday 17 January 2024 10:29:39 +0000 (0:00:00.045) 0:01:06.296 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Wednesday 17 January 2024 10:29:40 +0000 (0:00:00.954) 0:01:07.250 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 17 January 2024 10:29:40 +0000 (0:00:00.121) 0:01:07.372 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Wednesday 17 January 2024 10:29:40 +0000 (0:00:00.033) 0:01:07.406 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Wednesday 17 January 2024 10:29:40 +0000 (0:00:00.027) 0:01:07.433 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Wednesday 17 January 2024 10:29:40 +0000 (0:00:00.109) 0:01:07.543 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Wednesday 17 January 2024 10:29:41 +0000 (0:00:00.332) 0:01:07.875 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Wednesday 17 January 2024 10:29:41 +0000 (0:00:00.022) 0:01:07.898 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Wednesday 17 January 2024 10:29:41 +0000 (0:00:00.027) 0:01:07.925 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Wednesday 17 January 2024 10:29:41 +0000 (0:00:00.023) 0:01:07.949 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Wednesday 17 January 2024 10:29:41 +0000 (0:00:00.041) 0:01:07.990 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 17 January 2024 10:29:41 +0000 (0:00:00.028) 0:01:08.018 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 17 January 2024 10:29:41 +0000 (0:00:00.034) 0:01:08.053 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 17 January 2024 10:29:41 +0000 (0:00:00.021) 0:01:08.074 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Wednesday 17 January 2024 10:29:41 +0000 (0:00:00.033) 0:01:08.108 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Wednesday 17 January 2024 10:29:41 +0000 (0:00:00.023) 0:01:08.131 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4345.5-2.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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Wednesday 17 January 2024 10:29:41 +0000 (0:00:00.337) 0:01:08.468 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Wednesday 17 January 2024 10:29:41 +0000 (0:00:00.020) 0:01:08.489 ***** 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.005485", "end": "2024-01-17 10:29:41.738527", "rc": 0, "start": "2024-01-17 10:29:41.733042" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Wednesday 17 January 2024 10:29:41 +0000 (0:00:00.147) 0:01:08.637 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Wednesday 17 January 2024 10:29:42 +0000 (0:00:00.710) 0:01:09.347 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Wednesday 17 January 2024 10:29:42 +0000 (0:00:00.032) 0:01:09.379 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 17 January 2024 10:29:42 +0000 (0:00:00.020) 0:01:09.400 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Wednesday 17 January 2024 10:29:42 +0000 (0:00:00.019) 0:01:09.419 ***** skipping: [sut] => (item={'path': None, 'mode': 'omit', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "omit", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': 'omit', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "omit", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Wednesday 17 January 2024 10:29:42 +0000 (0:00:00.025) 0:01:09.444 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 17 January 2024 10:29:42 +0000 (0:00:00.018) 0:01:09.463 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:381 Wednesday 17 January 2024 10:29:42 +0000 (0:00:00.019) 0:01:09.483 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 17 January 2024 10:29:42 +0000 (0:00:00.353) 0:01:09.837 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 09:58:24 UTC", "ActiveEnterTimestampMonotonic": "25212687", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target system.slice systemd-journald.socket systemd-sysctl.service dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 09:58:22 UTC", "AssertTimestampMonotonic": "23770188", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 09:58:22 UTC", "ConditionTimestampMonotonic": "23770186", "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": "881", "ExecMainStartTimestamp": "Wed 2024-01-17 09:58:22 UTC", "ExecMainStartTimestampMonotonic": "23770951", "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": "Wed 2024-01-17 09:58:22 UTC", "InactiveExitTimestampMonotonic": "23771023", "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": "881", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service dbus.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 09:58:24 UTC", "WatchdogTimestampMonotonic": "25212615", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:392 Wednesday 17 January 2024 10:29:43 +0000 (0:00:00.208) 0:01:10.046 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.094395", "end": "2024-01-17 10:29:43.382440", "rc": 0, "start": "2024-01-17 10:29:43.288045" } 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:402 Wednesday 17 January 2024 10:29:43 +0000 (0:00:00.237) 0:01:10.283 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:415 Wednesday 17 January 2024 10:29:43 +0000 (0:00:00.020) 0:01:10.304 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 17 January 2024 10:29:43 +0000 (0:00:00.020) 0:01:10.324 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 17 January 2024 10:29:43 +0000 (0:00:00.019) 0:01:10.343 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:441 Wednesday 17 January 2024 10:29:43 +0000 (0:00:00.171) 0:01:10.515 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:453 Wednesday 17 January 2024 10:29:44 +0000 (0:00:00.359) 0:01:10.875 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 17 January 2024 10:29:44 +0000 (0:00:00.066) 0:01:10.941 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 10:29:28 UTC", "ActiveEnterTimestampMonotonic": "1889221867", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 10:29:28 UTC", "AssertTimestampMonotonic": "1889220441", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 10:29:28 UTC", "ConditionTimestampMonotonic": "1889220440", "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": "25613", "ExecMainStartTimestamp": "Wed 2024-01-17 10:29:28 UTC", "ExecMainStartTimestampMonotonic": "1889221785", "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": "Wed 2024-01-17 10:29:28 UTC", "InactiveExitTimestampMonotonic": "1889221867", "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": "25613", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 10:29:28 UTC", "WatchdogTimestampMonotonic": "1889221841", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 17 January 2024 10:29:44 +0000 (0:00:00.272) 0:01:11.214 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003279", "end": "2024-01-17 10:29:44.460317", "failed_when_result": false, "rc": 1, "start": "2024-01-17 10:29:44.457038" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 17 January 2024 10:29:44 +0000 (0:00:00.165) 0:01:11.379 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003241", "end": "2024-01-17 10:29:44.648056", "failed_when_result": false, "rc": 1, "start": "2024-01-17 10:29:44.644815" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 17 January 2024 10:29:44 +0000 (0:00:00.186) 0:01:11.565 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:457 Wednesday 17 January 2024 10:29:44 +0000 (0:00:00.060) 0:01:11.626 ***** 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": 7702, "state": "file", "uid": 996 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 17 January 2024 10:29:45 +0000 (0:00:01.247) 0:01:12.874 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Wednesday 17 January 2024 10:29:46 +0000 (0:00:00.222) 0:01:13.096 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 10:29:28 UTC", "ActiveEnterTimestampMonotonic": "1889221867", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 10:29:28 UTC", "AssertTimestampMonotonic": "1889220441", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 10:29:28 UTC", "ConditionTimestampMonotonic": "1889220440", "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": "25613", "ExecMainStartTimestamp": "Wed 2024-01-17 10:29:28 UTC", "ExecMainStartTimestampMonotonic": "1889221785", "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": "Wed 2024-01-17 10:29:28 UTC", "InactiveExitTimestampMonotonic": "1889221867", "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": "25613", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 10:29:28 UTC", "WatchdogTimestampMonotonic": "1889221841", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Wednesday 17 January 2024 10:29:47 +0000 (0:00:00.841) 0:01:13.937 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:493 Wednesday 17 January 2024 10:29:48 +0000 (0:00:00.968) 0:01:14.906 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:515 Wednesday 17 January 2024 10:29:52 +0000 (0:00:04.413) 0:01:19.319 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Wednesday 17 January 2024 10:29:52 +0000 (0:00:00.020) 0:01:19.340 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:541 Wednesday 17 January 2024 10:29:52 +0000 (0:00:00.022) 0:01:19.363 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:554 Wednesday 17 January 2024 10:29:52 +0000 (0:00:00.072) 0:01:19.435 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:561 Wednesday 17 January 2024 10:29:52 +0000 (0:00:00.022) 0:01:19.458 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 17 January 2024 10:29:52 +0000 (0:00:00.025) 0:01:19.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 : Configure the IP address setting] ************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:587 Wednesday 17 January 2024 10:29:52 +0000 (0:00:00.020) 0:01:19.504 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:594 Wednesday 17 January 2024 10:29:52 +0000 (0:00:00.023) 0:01:19.528 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:601 Wednesday 17 January 2024 10:29:52 +0000 (0:00:00.023) 0:01:19.551 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 17 January 2024 10:29:52 +0000 (0:00:00.020) 0:01:19.572 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 17 January 2024 10:29:52 +0000 (0:00:00.032) 0:01:19.605 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003279", "end": "2024-01-17 10:29:52.848207", "failed_when_result": false, "rc": 1, "start": "2024-01-17 10:29:52.844928" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 17 January 2024 10:29:52 +0000 (0:00:00.145) 0:01:19.750 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.134056", "end": "2024-01-17 10:29:53.128935", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:29:52.994879" } 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.282) 0:01:20.032 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.020) 0:01:20.053 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.019) 0:01:20.072 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.019) 0:01:20.092 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.021) 0:01:20.114 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:662 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.018) 0:01:20.132 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.020) 0:01:20.152 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.019) 0:01:20.172 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:683 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.049) 0:01:20.221 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:689 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.021) 0:01:20.243 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:707 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.019) 0:01:20.263 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:721 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.021) 0:01:20.284 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:726 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.019) 0:01:20.303 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.024) 0:01:20.328 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:753 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.020) 0:01:20.348 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:762 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.020) 0:01:20.369 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.020) 0:01:20.389 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:778 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.019) 0:01:20.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.021) 0:01:20.430 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:794 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.018) 0:01:20.449 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.020) 0:01:20.469 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.021) 0:01:20.490 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.021) 0:01:20.512 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:830 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.020) 0:01:20.532 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.019) 0:01:20.552 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:851 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.021) 0:01:20.573 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:856 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.019) 0:01:20.592 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:873 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.047) 0:01:20.639 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:878 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.021) 0:01:20.661 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:883 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.019) 0:01:20.680 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:889 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.019) 0:01:20.699 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.018) 0:01:20.718 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.019) 0:01:20.737 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:944 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.018) 0:01:20.756 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:954 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.019) 0:01:20.776 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:960 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.025) 0:01:20.801 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.026) 0:01:20.828 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:992 Wednesday 17 January 2024 10:29:53 +0000 (0:00:00.034) 0:01:20.862 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1012 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.033) 0:01:20.896 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1066 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.029) 0:01:20.926 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1073 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.026) 0:01:20.952 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.021) 0:01:20.974 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1091 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.025) 0:01:20.999 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1097 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.021) 0:01:21.020 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1105 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.032) 0:01:21.052 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.027) 0:01:21.080 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.050) 0:01:21.131 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1137 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.027) 0:01:21.158 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set fact with the current primary replica] **** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.020) 0:01:21.178 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.019) 0:01:21.198 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.019) 0:01:21.218 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1188 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.020) 0:01:21.238 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1199 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.020) 0:01:21.259 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1212 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.019) 0:01:21.278 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.021) 0:01:21.299 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.019) 0:01:21.319 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.020) 0:01:21.340 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1248 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.019) 0:01:21.359 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.033) 0:01:21.393 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.026) 0:01:21.420 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.019) 0:01:21.439 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1283 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.019) 0:01:21.458 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1289 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.018) 0:01:21.477 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.020) 0:01:21.497 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1310 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.024) 0:01:21.522 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.051) 0:01:21.574 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1328 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.025) 0:01:21.599 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1337 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.023) 0:01:21.623 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 17 January 2024 10:29:54 +0000 (0:00:00.175) 0:01:21.798 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 10:29:28 UTC", "ActiveEnterTimestampMonotonic": "1889221867", "ActiveExitTimestamp": "Wed 2024-01-17 10:29:46 UTC", "ActiveExitTimestampMonotonic": "1907476226", "ActiveState": "inactive", "After": "basic.target network.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 10:29:28 UTC", "AssertTimestampMonotonic": "1889220441", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 10:29:28 UTC", "ConditionTimestampMonotonic": "1889220440", "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": "Wed 2024-01-17 10:29:47 UTC", "ExecMainExitTimestampMonotonic": "1908090354", "ExecMainPID": "25613", "ExecMainStartTimestamp": "Wed 2024-01-17 10:29:28 UTC", "ExecMainStartTimestampMonotonic": "1889221785", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 10:29:28 UTC] ; stop_time=[Wed 2024-01-17 10:29:47 UTC] ; pid=25613 ; 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": "Wed 2024-01-17 10:29:47 UTC", "InactiveEnterTimestampMonotonic": "1908090459", "InactiveExitTimestamp": "Wed 2024-01-17 10:29:28 UTC", "InactiveExitTimestampMonotonic": "1889221867", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Wednesday 17 January 2024 10:29:55 +0000 (0:00:00.237) 0:01:22.036 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1361 Wednesday 17 January 2024 10:29:55 +0000 (0:00:00.019) 0:01:22.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/tests_password.yml:23 Wednesday 17 January 2024 10:29:55 +0000 (0:00:00.019) 0:01:22.075 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:8 Wednesday 17 January 2024 10:29:55 +0000 (0:00:00.114) 0:01:22.190 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:23 Wednesday 17 January 2024 10:29:55 +0000 (0:00:00.020) 0:01:22.210 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:35 Wednesday 17 January 2024 10:29:55 +0000 (0:00:00.019) 0:01:22.229 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:39 Wednesday 17 January 2024 10:29:55 +0000 (0:00:00.020) 0:01:22.250 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:55 Wednesday 17 January 2024 10:29:55 +0000 (0:00:00.020) 0:01:22.271 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:60 Wednesday 17 January 2024 10:29:55 +0000 (0:00:00.051) 0:01:22.323 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:70 Wednesday 17 January 2024 10:29:55 +0000 (0:00:00.023) 0:01:22.346 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:75 Wednesday 17 January 2024 10:29:55 +0000 (0:00:00.020) 0:01:22.366 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:85 Wednesday 17 January 2024 10:29:55 +0000 (0:00:00.019) 0:01:22.385 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 17 January 2024 10:29:55 +0000 (0:00:00.037) 0:01:22.423 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 10:29:55 UTC", "ActiveEnterTimestampMonotonic": "1916190988", "ActiveExitTimestamp": "Wed 2024-01-17 10:29:46 UTC", "ActiveExitTimestampMonotonic": "1907476226", "ActiveState": "active", "After": "basic.target network.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 10:29:55 UTC", "AssertTimestampMonotonic": "1916190167", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 10:29:55 UTC", "ConditionTimestampMonotonic": "1916190165", "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": "26534", "ExecMainStartTimestamp": "Wed 2024-01-17 10:29:55 UTC", "ExecMainStartTimestampMonotonic": "1916190910", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 10:29:55 UTC] ; stop_time=[n/a] ; pid=26534 ; 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": "Wed 2024-01-17 10:29:47 UTC", "InactiveEnterTimestampMonotonic": "1908090459", "InactiveExitTimestamp": "Wed 2024-01-17 10:29:55 UTC", "InactiveExitTimestampMonotonic": "1916190988", "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": "26534", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 10:29:55 UTC", "WatchdogTimestampMonotonic": "1916190959", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 17 January 2024 10:29:55 +0000 (0:00:00.215) 0:01:22.638 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003721", "end": "2024-01-17 10:29:55.902123", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:29:55.898402" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 17 January 2024 10:29:55 +0000 (0:00:00.165) 0:01:22.804 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003322", "end": "2024-01-17 10:29:56.045465", "failed_when_result": false, "rc": 1, "start": "2024-01-17 10:29:56.042143" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 17 January 2024 10:29:56 +0000 (0:00:00.140) 0:01:22.945 ***** 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-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:93 Wednesday 17 January 2024 10:29:56 +0000 (0:00:00.027) 0:01:22.972 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0640", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "unconfined_u:object_r:var_t:s0", "size": 7173, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:99 Wednesday 17 January 2024 10:29:57 +0000 (0:00:01.142) 0:01:24.114 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "localhost,1433", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:01.569494", "end": "2024-01-17 10:29:58.921443", "rc": 0, "start": "2024-01-17 10:29:57.351949" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU24) (KB5031908) - 15.0.4345.5 (X64) Dec 4 2023 14:44:16 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:113 Wednesday 17 January 2024 10:29:58 +0000 (0:00:01.712) 0:01:25.826 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:117 Wednesday 17 January 2024 10:29:58 +0000 (0:00:00.023) 0:01:25.850 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:124 Wednesday 17 January 2024 10:29:58 +0000 (0:00:00.020) 0:01:25.870 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:135 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.020) 0:01:25.891 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:140 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.019) 0:01:25.911 ***** 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-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:145 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.019) 0:01:25.930 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:151 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.018) 0:01:25.949 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:157 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.020) 0:01:25.969 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:167 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.020) 0:01:25.990 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:178 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.019) 0:01:26.010 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:190 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.018) 0:01:26.029 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:198 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.019) 0:01:26.049 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:208 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.052) 0:01:26.101 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:213 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.021) 0:01:26.123 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:221 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.022) 0:01:26.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the IP address setting.] ****************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/tests_password.yml:28 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.022) 0:01:26.168 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.264) 0:01:26.432 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.031) 0:01:26.464 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.024) 0:01:26.489 ***** 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-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.034) 0:01:26.523 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.066) 0:01:26.590 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.021) 0:01:26.611 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.020) 0:01:26.631 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.020) 0:01:26.652 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.019) 0:01:26.672 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.019) 0:01:26.692 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.021) 0:01:26.713 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.021) 0:01:26.735 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.021) 0:01:26.756 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.023) 0:01:26.779 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.020) 0:01:26.800 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.018) 0:01:26.819 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.020) 0:01:26.839 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Wednesday 17 January 2024 10:29:59 +0000 (0:00:00.020) 0:01:26.860 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Wednesday 17 January 2024 10:30:00 +0000 (0:00:00.020) 0:01:26.880 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Wednesday 17 January 2024 10:30:01 +0000 (0:00:01.048) 0:01:27.928 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 17 January 2024 10:30:01 +0000 (0:00:00.063) 0:01:27.992 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Wednesday 17 January 2024 10:30:01 +0000 (0:00:00.022) 0:01:28.015 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Wednesday 17 January 2024 10:30:01 +0000 (0:00:00.022) 0:01:28.037 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Wednesday 17 January 2024 10:30:01 +0000 (0:00:00.038) 0:01:28.076 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Wednesday 17 January 2024 10:30:01 +0000 (0:00:00.363) 0:01:28.440 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Wednesday 17 January 2024 10:30:01 +0000 (0:00:00.022) 0:01:28.462 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Wednesday 17 January 2024 10:30:01 +0000 (0:00:00.023) 0:01:28.485 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Wednesday 17 January 2024 10:30:01 +0000 (0:00:00.022) 0:01:28.508 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Wednesday 17 January 2024 10:30:01 +0000 (0:00:00.026) 0:01:28.534 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 17 January 2024 10:30:01 +0000 (0:00:00.020) 0:01:28.554 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 17 January 2024 10:30:01 +0000 (0:00:00.020) 0:01:28.574 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 17 January 2024 10:30:01 +0000 (0:00:00.019) 0:01:28.594 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Wednesday 17 January 2024 10:30:01 +0000 (0:00:00.019) 0:01:28.614 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Wednesday 17 January 2024 10:30:01 +0000 (0:00:00.065) 0:01:28.679 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4345.5-2.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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Wednesday 17 January 2024 10:30:02 +0000 (0:00:00.368) 0:01:29.047 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Wednesday 17 January 2024 10:30:02 +0000 (0:00:00.020) 0:01:29.068 ***** 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.005580", "end": "2024-01-17 10:30:02.316003", "rc": 0, "start": "2024-01-17 10:30:02.310423" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Wednesday 17 January 2024 10:30:02 +0000 (0:00:00.147) 0:01:29.216 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Wednesday 17 January 2024 10:30:03 +0000 (0:00:00.736) 0:01:29.952 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Wednesday 17 January 2024 10:30:03 +0000 (0:00:00.027) 0:01:29.979 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 17 January 2024 10:30:03 +0000 (0:00:00.020) 0:01:30.000 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Wednesday 17 January 2024 10:30:03 +0000 (0:00:00.018) 0:01:30.018 ***** skipping: [sut] => (item={'path': None, 'mode': 'omit', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "omit", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': 'omit', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "omit", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Wednesday 17 January 2024 10:30:03 +0000 (0:00:00.025) 0:01:30.044 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 17 January 2024 10:30:03 +0000 (0:00:00.021) 0:01:30.065 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:381 Wednesday 17 January 2024 10:30:03 +0000 (0:00:00.020) 0:01:30.086 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 17 January 2024 10:30:03 +0000 (0:00:00.403) 0:01:30.489 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 09:58:24 UTC", "ActiveEnterTimestampMonotonic": "25212687", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target system.slice systemd-journald.socket systemd-sysctl.service dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 09:58:22 UTC", "AssertTimestampMonotonic": "23770188", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 09:58:22 UTC", "ConditionTimestampMonotonic": "23770186", "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": "881", "ExecMainStartTimestamp": "Wed 2024-01-17 09:58:22 UTC", "ExecMainStartTimestampMonotonic": "23770951", "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": "Wed 2024-01-17 09:58:22 UTC", "InactiveExitTimestampMonotonic": "23771023", "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": "881", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service dbus.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 09:58:24 UTC", "WatchdogTimestampMonotonic": "25212615", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:392 Wednesday 17 January 2024 10:30:03 +0000 (0:00:00.218) 0:01:30.708 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.098602", "end": "2024-01-17 10:30:04.044873", "rc": 0, "start": "2024-01-17 10:30:03.946271" } 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:402 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.237) 0:01:30.945 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:415 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.020) 0:01:30.966 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.019) 0:01:30.986 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.022) 0:01:31.009 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:441 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.148) 0:01:31.157 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:453 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.358) 0:01:31.516 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:457 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.022) 0:01:31.538 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.021) 0:01:31.559 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.021) 0:01:31.581 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.020) 0:01:31.601 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:493 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.021) 0:01:31.623 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:515 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.022) 0:01:31.645 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.026) 0:01:31.671 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:541 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.087) 0:01:31.758 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:554 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.023) 0:01:31.782 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:561 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.022) 0:01:31.804 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.032) 0:01:31.836 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:587 Wednesday 17 January 2024 10:30:04 +0000 (0:00:00.031) 0:01:31.867 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 17 January 2024 10:30:05 +0000 (0:00:00.045) 0:01:31.913 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003306", "end": "2024-01-17 10:30:05.163845", "failed_when_result": false, "rc": 1, "start": "2024-01-17 10:30:05.160539" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 17 January 2024 10:30:05 +0000 (0:00:00.153) 0:01:32.067 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.135671", "end": "2024-01-17 10:30:05.447539", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:30:05.311868" } 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 17 January 2024 10:30:05 +0000 (0:00:00.286) 0:01:32.353 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:594 Wednesday 17 January 2024 10:30:05 +0000 (0:00:00.034) 0:01:32.387 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:601 Wednesday 17 January 2024 10:30:05 +0000 (0:00:00.044) 0:01:32.431 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 17 January 2024 10:30:05 +0000 (0:00:00.023) 0:01:32.455 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 17 January 2024 10:30:05 +0000 (0:00:00.038) 0:01:32.493 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003359", "end": "2024-01-17 10:30:05.752774", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:30:05.749415" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 17 January 2024 10:30:05 +0000 (0:00:00.160) 0:01:32.653 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 17 January 2024 10:30:05 +0000 (0:00:00.025) 0:01:32.679 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 17 January 2024 10:30:05 +0000 (0:00:00.078) 0:01:32.757 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Wednesday 17 January 2024 10:30:05 +0000 (0:00:00.037) 0:01:32.795 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Wednesday 17 January 2024 10:30:05 +0000 (0:00:00.028) 0:01:32.823 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Wednesday 17 January 2024 10:30:05 +0000 (0:00:00.024) 0:01:32.848 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:662 Wednesday 17 January 2024 10:30:05 +0000 (0:00:00.022) 0:01:32.870 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.027) 0:01:32.898 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.032) 0:01:32.930 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:683 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.025) 0:01:32.956 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:689 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.025) 0:01:32.981 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:707 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.032) 0:01:33.013 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:721 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.024) 0:01:33.038 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:726 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.031) 0:01:33.069 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.032) 0:01:33.102 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:753 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.022) 0:01:33.124 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:762 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.029) 0:01:33.154 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.021) 0:01:33.175 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:778 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.022) 0:01:33.198 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.022) 0:01:33.221 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:794 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.021) 0:01:33.242 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.082) 0:01:33.325 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.024) 0:01:33.349 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.024) 0:01:33.373 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:830 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.022) 0:01:33.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.040) 0:01:33.436 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:851 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.024) 0:01:33.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:856 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.022) 0:01:33.483 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:873 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.021) 0:01:33.504 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:878 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.020) 0:01:33.525 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:883 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.021) 0:01:33.547 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:889 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.022) 0:01:33.569 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.020) 0:01:33.590 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.021) 0:01:33.611 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:944 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.020) 0:01:33.632 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:954 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.021) 0:01:33.653 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:960 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.020) 0:01:33.674 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.025) 0:01:33.700 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:992 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.023) 0:01:33.724 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1012 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.024) 0:01:33.748 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1066 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.079) 0:01:33.827 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1073 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.021) 0:01:33.848 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 17 January 2024 10:30:06 +0000 (0:00:00.025) 0:01:33.874 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1091 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.023) 0:01:33.897 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1097 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.021) 0:01:33.919 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1105 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.026) 0:01:33.946 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.020) 0:01:33.966 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.021) 0:01:33.988 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1137 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.027) 0:01:34.015 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.021) 0:01:34.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.022) 0:01:34.060 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.019) 0:01:34.079 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1188 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.019) 0:01:34.099 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1199 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.018) 0:01:34.117 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1212 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.019) 0:01:34.136 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.019) 0:01:34.156 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.019) 0:01:34.175 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.020) 0:01:34.196 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1248 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.020) 0:01:34.216 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.063) 0:01:34.280 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.026) 0:01:34.306 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.019) 0:01:34.326 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1283 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.019) 0:01:34.345 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1289 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.019) 0:01:34.364 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.020) 0:01:34.385 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1310 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.023) 0:01:34.409 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.027) 0:01:34.436 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1328 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.026) 0:01:34.463 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1337 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.023) 0:01:34.486 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 17 January 2024 10:30:07 +0000 (0:00:00.167) 0:01:34.653 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 10:29:55 UTC", "ActiveEnterTimestampMonotonic": "1916190988", "ActiveExitTimestamp": "Wed 2024-01-17 10:29:46 UTC", "ActiveExitTimestampMonotonic": "1907476226", "ActiveState": "active", "After": "basic.target network.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 10:29:55 UTC", "AssertTimestampMonotonic": "1916190167", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 10:29:55 UTC", "ConditionTimestampMonotonic": "1916190165", "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": "26534", "ExecMainStartTimestamp": "Wed 2024-01-17 10:29:55 UTC", "ExecMainStartTimestampMonotonic": "1916190910", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 10:29:55 UTC] ; stop_time=[n/a] ; pid=26534 ; 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": "Wed 2024-01-17 10:29:47 UTC", "InactiveEnterTimestampMonotonic": "1908090459", "InactiveExitTimestamp": "Wed 2024-01-17 10:29:55 UTC", "InactiveExitTimestampMonotonic": "1916190988", "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": "26534", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 10:29:55 UTC", "WatchdogTimestampMonotonic": "1916190959", "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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Wednesday 17 January 2024 10:30:09 +0000 (0:00:01.615) 0:01:36.269 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1361 Wednesday 17 January 2024 10:30:09 +0000 (0:00:00.021) 0:01:36.291 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the password with a custom IP address. Should report Changed.] **** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/tests_password.yml:34 Wednesday 17 January 2024 10:30:09 +0000 (0:00:00.019) 0:01:36.310 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 17 January 2024 10:30:09 +0000 (0:00:00.319) 0:01:36.630 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 17 January 2024 10:30:09 +0000 (0:00:00.032) 0:01:36.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 17 January 2024 10:30:09 +0000 (0:00:00.024) 0:01:36.686 ***** 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-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 17 January 2024 10:30:09 +0000 (0:00:00.114) 0:01:36.801 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 17 January 2024 10:30:09 +0000 (0:00:00.021) 0:01:36.822 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 17 January 2024 10:30:09 +0000 (0:00:00.021) 0:01:36.843 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 17 January 2024 10:30:09 +0000 (0:00:00.022) 0:01:36.866 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 17 January 2024 10:30:10 +0000 (0:00:00.020) 0:01:36.887 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 17 January 2024 10:30:10 +0000 (0:00:00.021) 0:01:36.908 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 17 January 2024 10:30:10 +0000 (0:00:00.021) 0:01:36.929 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Wednesday 17 January 2024 10:30:10 +0000 (0:00:00.025) 0:01:36.954 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Wednesday 17 January 2024 10:30:10 +0000 (0:00:00.023) 0:01:36.978 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Wednesday 17 January 2024 10:30:10 +0000 (0:00:00.020) 0:01:36.999 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Wednesday 17 January 2024 10:30:10 +0000 (0:00:00.024) 0:01:37.023 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Wednesday 17 January 2024 10:30:10 +0000 (0:00:00.020) 0:01:37.043 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Wednesday 17 January 2024 10:30:10 +0000 (0:00:00.019) 0:01:37.063 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Wednesday 17 January 2024 10:30:10 +0000 (0:00:00.019) 0:01:37.082 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Wednesday 17 January 2024 10:30:10 +0000 (0:00:00.018) 0:01:37.101 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Wednesday 17 January 2024 10:30:10 +0000 (0:00:00.020) 0:01:37.121 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Wednesday 17 January 2024 10:30:11 +0000 (0:00:01.275) 0:01:38.397 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 17 January 2024 10:30:11 +0000 (0:00:00.058) 0:01:38.455 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Wednesday 17 January 2024 10:30:11 +0000 (0:00:00.020) 0:01:38.476 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Wednesday 17 January 2024 10:30:11 +0000 (0:00:00.023) 0:01:38.500 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Wednesday 17 January 2024 10:30:11 +0000 (0:00:00.041) 0:01:38.541 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Wednesday 17 January 2024 10:30:12 +0000 (0:00:00.346) 0:01:38.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Wednesday 17 January 2024 10:30:12 +0000 (0:00:00.021) 0:01:38.910 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Wednesday 17 January 2024 10:30:12 +0000 (0:00:00.021) 0:01:38.931 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Wednesday 17 January 2024 10:30:12 +0000 (0:00:00.021) 0:01:38.953 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Wednesday 17 January 2024 10:30:12 +0000 (0:00:00.024) 0:01:38.978 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 17 January 2024 10:30:12 +0000 (0:00:00.019) 0:01:38.997 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 17 January 2024 10:30:12 +0000 (0:00:00.019) 0:01:39.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 17 January 2024 10:30:12 +0000 (0:00:00.083) 0:01:39.100 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Wednesday 17 January 2024 10:30:12 +0000 (0:00:00.022) 0:01:39.122 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Wednesday 17 January 2024 10:30:12 +0000 (0:00:00.020) 0:01:39.143 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4345.5-2.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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Wednesday 17 January 2024 10:30:12 +0000 (0:00:00.537) 0:01:39.680 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Wednesday 17 January 2024 10:30:12 +0000 (0:00:00.020) 0:01:39.701 ***** 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.005722", "end": "2024-01-17 10:30:13.022462", "rc": 0, "start": "2024-01-17 10:30:13.016740" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Wednesday 17 January 2024 10:30:13 +0000 (0:00:00.220) 0:01:39.922 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Wednesday 17 January 2024 10:30:13 +0000 (0:00:00.895) 0:01:40.817 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Wednesday 17 January 2024 10:30:13 +0000 (0:00:00.027) 0:01:40.844 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 17 January 2024 10:30:13 +0000 (0:00:00.018) 0:01:40.863 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Wednesday 17 January 2024 10:30:14 +0000 (0:00:00.019) 0:01:40.882 ***** skipping: [sut] => (item={'path': None, 'mode': 'omit', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "omit", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': 'omit', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "omit", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Wednesday 17 January 2024 10:30:14 +0000 (0:00:00.072) 0:01:40.955 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 17 January 2024 10:30:14 +0000 (0:00:00.020) 0:01:40.976 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:381 Wednesday 17 January 2024 10:30:14 +0000 (0:00:00.023) 0:01:40.999 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 17 January 2024 10:30:14 +0000 (0:00:00.349) 0:01:41.349 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 09:58:24 UTC", "ActiveEnterTimestampMonotonic": "25212687", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target system.slice systemd-journald.socket systemd-sysctl.service dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 09:58:22 UTC", "AssertTimestampMonotonic": "23770188", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 09:58:22 UTC", "ConditionTimestampMonotonic": "23770186", "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": "881", "ExecMainStartTimestamp": "Wed 2024-01-17 09:58:22 UTC", "ExecMainStartTimestampMonotonic": "23770951", "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": "Wed 2024-01-17 09:58:22 UTC", "InactiveExitTimestampMonotonic": "23771023", "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": "881", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service dbus.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 09:58:24 UTC", "WatchdogTimestampMonotonic": "25212615", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:392 Wednesday 17 January 2024 10:30:14 +0000 (0:00:00.223) 0:01:41.573 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.096965", "end": "2024-01-17 10:30:14.907233", "rc": 0, "start": "2024-01-17 10:30:14.810268" } 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:402 Wednesday 17 January 2024 10:30:14 +0000 (0:00:00.234) 0:01:41.807 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:415 Wednesday 17 January 2024 10:30:14 +0000 (0:00:00.020) 0:01:41.828 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 17 January 2024 10:30:14 +0000 (0:00:00.021) 0:01:41.849 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 17 January 2024 10:30:14 +0000 (0:00:00.020) 0:01:41.870 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:441 Wednesday 17 January 2024 10:30:15 +0000 (0:00:00.143) 0:01:42.014 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:453 Wednesday 17 January 2024 10:30:15 +0000 (0:00:00.354) 0:01:42.368 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 17 January 2024 10:30:15 +0000 (0:00:00.037) 0:01:42.405 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 10:30:09 UTC", "ActiveEnterTimestampMonotonic": "1930385645", "ActiveExitTimestamp": "Wed 2024-01-17 10:30:07 UTC", "ActiveExitTimestampMonotonic": "1929044855", "ActiveState": "active", "After": "basic.target network.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 10:30:09 UTC", "AssertTimestampMonotonic": "1930384940", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 10:30:09 UTC", "ConditionTimestampMonotonic": "1930384939", "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": "27053", "ExecMainStartTimestamp": "Wed 2024-01-17 10:30:09 UTC", "ExecMainStartTimestampMonotonic": "1930385568", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 10:30:09 UTC] ; stop_time=[n/a] ; pid=27053 ; 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": "Wed 2024-01-17 10:30:09 UTC", "InactiveEnterTimestampMonotonic": "1930384349", "InactiveExitTimestamp": "Wed 2024-01-17 10:30:09 UTC", "InactiveExitTimestampMonotonic": "1930385645", "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": "27053", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 10:30:09 UTC", "WatchdogTimestampMonotonic": "1930385616", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 17 January 2024 10:30:15 +0000 (0:00:00.269) 0:01:42.675 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003329", "end": "2024-01-17 10:30:15.921425", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:30:15.918096" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 17 January 2024 10:30:15 +0000 (0:00:00.146) 0:01:42.822 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003338", "end": "2024-01-17 10:30:16.064745", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:30:16.061407" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 17 January 2024 10:30:16 +0000 (0:00:00.142) 0:01:42.964 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:457 Wednesday 17 January 2024 10:30:16 +0000 (0:00:00.028) 0:01:42.993 ***** 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": 6828, "state": "file", "uid": 996 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 17 January 2024 10:30:17 +0000 (0:00:01.144) 0:01:44.138 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Wednesday 17 January 2024 10:30:17 +0000 (0:00:00.170) 0:01:44.309 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 10:30:09 UTC", "ActiveEnterTimestampMonotonic": "1930385645", "ActiveExitTimestamp": "Wed 2024-01-17 10:30:07 UTC", "ActiveExitTimestampMonotonic": "1929044855", "ActiveState": "active", "After": "basic.target network.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 10:30:09 UTC", "AssertTimestampMonotonic": "1930384940", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 10:30:09 UTC", "ConditionTimestampMonotonic": "1930384939", "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": "27053", "ExecMainStartTimestamp": "Wed 2024-01-17 10:30:09 UTC", "ExecMainStartTimestampMonotonic": "1930385568", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 10:30:09 UTC] ; stop_time=[n/a] ; pid=27053 ; 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": "Wed 2024-01-17 10:30:09 UTC", "InactiveEnterTimestampMonotonic": "1930384349", "InactiveExitTimestamp": "Wed 2024-01-17 10:30:09 UTC", "InactiveExitTimestampMonotonic": "1930385645", "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": "27053", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 10:30:09 UTC", "WatchdogTimestampMonotonic": "1930385616", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Wednesday 17 January 2024 10:30:23 +0000 (0:00:06.347) 0:01:50.656 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:493 Wednesday 17 January 2024 10:30:24 +0000 (0:00:00.962) 0:01:51.618 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:515 Wednesday 17 January 2024 10:30:29 +0000 (0:00:04.399) 0:01:56.018 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.083) 0:01:56.101 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:541 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.021) 0:01:56.122 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:554 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.020) 0:01:56.143 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:561 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.022) 0:01:56.166 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.021) 0:01:56.188 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:587 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.022) 0:01:56.211 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:594 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.022) 0:01:56.233 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:601 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.023) 0:01:56.256 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.023) 0:01:56.279 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.035) 0:01:56.315 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003373", "end": "2024-01-17 10:30:29.564300", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:30:29.560927" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.150) 0:01:56.465 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.033) 0:01:56.498 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.021) 0:01:56.520 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.019) 0:01:56.539 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.022) 0:01:56.561 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.022) 0:01:56.584 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:662 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.020) 0:01:56.605 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.096) 0:01:56.701 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.025) 0:01:56.726 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:683 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.022) 0:01:56.749 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:689 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.020) 0:01:56.770 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:707 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.022) 0:01:56.792 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:721 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.020) 0:01:56.812 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:726 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.021) 0:01:56.834 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 17 January 2024 10:30:29 +0000 (0:00:00.023) 0:01:56.857 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:753 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.020) 0:01:56.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:762 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.021) 0:01:56.899 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.019) 0:01:56.919 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:778 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.021) 0:01:56.940 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.025) 0:01:56.965 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:794 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.023) 0:01:56.988 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.028) 0:01:57.017 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.024) 0:01:57.041 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.024) 0:01:57.066 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:830 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.028) 0:01:57.094 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.024) 0:01:57.119 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:851 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.079) 0:01:57.198 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:856 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.022) 0:01:57.220 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:873 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.022) 0:01:57.242 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:878 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.020) 0:01:57.263 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:883 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.022) 0:01:57.286 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:889 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.022) 0:01:57.309 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.022) 0:01:57.332 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.021) 0:01:57.353 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:944 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.020) 0:01:57.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:954 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.022) 0:01:57.396 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:960 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.020) 0:01:57.417 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.020) 0:01:57.437 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:992 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.022) 0:01:57.459 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1012 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.020) 0:01:57.479 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1066 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.020) 0:01:57.500 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1073 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.018) 0:01:57.519 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.019) 0:01:57.538 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1091 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.020) 0:01:57.559 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1097 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.019) 0:01:57.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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1105 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.077) 0:01:57.655 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.021) 0:01:57.677 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.021) 0:01:57.698 ***** skipping: [sut] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current primary replica in SQL] ******* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1137 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.026) 0:01:57.724 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.019) 0:01:57.744 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.019) 0:01:57.763 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.019) 0:01:57.783 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1188 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.019) 0:01:57.802 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1199 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.018) 0:01:57.821 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1212 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.019) 0:01:57.841 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Wednesday 17 January 2024 10:30:30 +0000 (0:00:00.020) 0:01:57.861 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.025) 0:01:57.887 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.021) 0:01:57.909 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1248 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.021) 0:01:57.930 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.022) 0:01:57.952 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.029) 0:01:57.982 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.022) 0:01:58.004 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1283 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.020) 0:01:58.025 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1289 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.019) 0:01:58.044 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.074) 0:01:58.119 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1310 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.025) 0:01:58.144 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.020) 0:01:58.165 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1328 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.022) 0:01:58.187 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1337 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.023) 0:01:58.211 ***** ok: [sut] => { "changed": false } RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.163) 0:01:58.374 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 10:30:09 UTC", "ActiveEnterTimestampMonotonic": "1930385645", "ActiveExitTimestamp": "Wed 2024-01-17 10:30:17 UTC", "ActiveExitTimestampMonotonic": "1938685944", "ActiveState": "inactive", "After": "basic.target network.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 10:30:09 UTC", "AssertTimestampMonotonic": "1930384940", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 10:30:09 UTC", "ConditionTimestampMonotonic": "1930384939", "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": "Wed 2024-01-17 10:30:23 UTC", "ExecMainExitTimestampMonotonic": "1944811658", "ExecMainPID": "27053", "ExecMainStartTimestamp": "Wed 2024-01-17 10:30:09 UTC", "ExecMainStartTimestampMonotonic": "1930385568", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 10:30:09 UTC] ; stop_time=[Wed 2024-01-17 10:30:23 UTC] ; pid=27053 ; 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": "Wed 2024-01-17 10:30:23 UTC", "InactiveEnterTimestampMonotonic": "1944811763", "InactiveExitTimestamp": "Wed 2024-01-17 10:30:09 UTC", "InactiveExitTimestampMonotonic": "1930385645", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.256) 0:01:58.631 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1361 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.021) 0:01:58.652 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/tests_password.yml:42 Wednesday 17 January 2024 10:30:31 +0000 (0:00:00.021) 0:01:58.674 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:8 Wednesday 17 January 2024 10:30:32 +0000 (0:00:00.208) 0:01:58.883 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:23 Wednesday 17 January 2024 10:30:32 +0000 (0:00:00.021) 0:01:58.904 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:35 Wednesday 17 January 2024 10:30:32 +0000 (0:00:00.019) 0:01:58.923 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:39 Wednesday 17 January 2024 10:30:32 +0000 (0:00:00.089) 0:01:59.013 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:55 Wednesday 17 January 2024 10:30:32 +0000 (0:00:00.022) 0:01:59.035 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:60 Wednesday 17 January 2024 10:30:32 +0000 (0:00:00.019) 0:01:59.054 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:70 Wednesday 17 January 2024 10:30:32 +0000 (0:00:00.019) 0:01:59.074 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:75 Wednesday 17 January 2024 10:30:32 +0000 (0:00:00.019) 0:01:59.093 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:85 Wednesday 17 January 2024 10:30:32 +0000 (0:00:00.019) 0:01:59.112 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 17 January 2024 10:30:32 +0000 (0:00:00.033) 0:01:59.146 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 10:30:31 UTC", "ActiveEnterTimestampMonotonic": "1952781419", "ActiveExitTimestamp": "Wed 2024-01-17 10:30:17 UTC", "ActiveExitTimestampMonotonic": "1938685944", "ActiveState": "active", "After": "basic.target network.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 10:30:31 UTC", "AssertTimestampMonotonic": "1952780713", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 10:30:31 UTC", "ConditionTimestampMonotonic": "1952780711", "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": "27779", "ExecMainStartTimestamp": "Wed 2024-01-17 10:30:31 UTC", "ExecMainStartTimestampMonotonic": "1952781337", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 10:30:31 UTC] ; stop_time=[n/a] ; pid=27779 ; 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": "Wed 2024-01-17 10:30:23 UTC", "InactiveEnterTimestampMonotonic": "1944811763", "InactiveExitTimestamp": "Wed 2024-01-17 10:30:31 UTC", "InactiveExitTimestampMonotonic": "1952781419", "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": "27779", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 10:30:31 UTC", "WatchdogTimestampMonotonic": "1952781386", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 17 January 2024 10:30:32 +0000 (0:00:00.225) 0:01:59.372 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003335", "end": "2024-01-17 10:30:32.631216", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:30:32.627881" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 17 January 2024 10:30:32 +0000 (0:00:00.157) 0:01:59.529 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003360", "end": "2024-01-17 10:30:32.766898", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:30:32.763538" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 17 January 2024 10:30:32 +0000 (0:00:00.135) 0:01:59.665 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:93 Wednesday 17 January 2024 10:30:32 +0000 (0:00:00.028) 0:01:59.694 ***** ok: [sut] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0640", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "unconfined_u:object_r:var_t:s0", "size": 7096, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:99 Wednesday 17 January 2024 10:30:33 +0000 (0:00:01.163) 0:02:00.857 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:01.535244", "end": "2024-01-17 10:30:35.639295", "rc": 0, "start": "2024-01-17 10:30:34.104051" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU24) (KB5031908) - 15.0.4345.5 (X64) Dec 4 2023 14:44:16 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:113 Wednesday 17 January 2024 10:30:35 +0000 (0:00:01.768) 0:02:02.625 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:117 Wednesday 17 January 2024 10:30:35 +0000 (0:00:00.024) 0:02:02.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:124 Wednesday 17 January 2024 10:30:35 +0000 (0:00:00.022) 0:02:02.673 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:135 Wednesday 17 January 2024 10:30:35 +0000 (0:00:00.021) 0:02:02.694 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:140 Wednesday 17 January 2024 10:30:35 +0000 (0:00:00.021) 0:02:02.716 ***** 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-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:145 Wednesday 17 January 2024 10:30:35 +0000 (0:00:00.021) 0:02:02.738 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:151 Wednesday 17 January 2024 10:30:35 +0000 (0:00:00.020) 0:02:02.758 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:157 Wednesday 17 January 2024 10:30:35 +0000 (0:00:00.021) 0:02:02.780 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:167 Wednesday 17 January 2024 10:30:35 +0000 (0:00:00.020) 0:02:02.801 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:178 Wednesday 17 January 2024 10:30:35 +0000 (0:00:00.021) 0:02:02.822 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:190 Wednesday 17 January 2024 10:30:35 +0000 (0:00:00.019) 0:02:02.841 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:198 Wednesday 17 January 2024 10:30:35 +0000 (0:00:00.019) 0:02:02.861 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:208 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.032) 0:02:02.893 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:213 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.024) 0:02:02.917 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:221 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.023) 0:02:02.940 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the TCP port setting.] ******************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/tests_password.yml:47 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.024) 0:02:02.965 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.492) 0:02:03.457 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.030) 0:02:03.488 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.024) 0:02:03.513 ***** 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-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.035) 0:02:03.548 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.019) 0:02:03.567 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.018) 0:02:03.586 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.097) 0:02:03.683 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.021) 0:02:03.705 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.020) 0:02:03.725 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.021) 0:02:03.746 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.019) 0:02:03.766 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.019) 0:02:03.785 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.019) 0:02:03.805 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.022) 0:02:03.827 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.018) 0:02:03.846 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Wednesday 17 January 2024 10:30:36 +0000 (0:00:00.019) 0:02:03.866 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Wednesday 17 January 2024 10:30:37 +0000 (0:00:00.019) 0:02:03.885 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Wednesday 17 January 2024 10:30:37 +0000 (0:00:00.020) 0:02:03.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Wednesday 17 January 2024 10:30:37 +0000 (0:00:00.022) 0:02:03.929 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Wednesday 17 January 2024 10:30:37 +0000 (0:00:00.929) 0:02:04.859 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 17 January 2024 10:30:38 +0000 (0:00:00.180) 0:02:05.039 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Wednesday 17 January 2024 10:30:38 +0000 (0:00:00.021) 0:02:05.061 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Wednesday 17 January 2024 10:30:38 +0000 (0:00:00.022) 0:02:05.083 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Wednesday 17 January 2024 10:30:38 +0000 (0:00:00.039) 0:02:05.123 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Wednesday 17 January 2024 10:30:38 +0000 (0:00:00.320) 0:02:05.443 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Wednesday 17 January 2024 10:30:38 +0000 (0:00:00.021) 0:02:05.464 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Wednesday 17 January 2024 10:30:38 +0000 (0:00:00.022) 0:02:05.486 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Wednesday 17 January 2024 10:30:38 +0000 (0:00:00.021) 0:02:05.508 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Wednesday 17 January 2024 10:30:38 +0000 (0:00:00.025) 0:02:05.533 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 17 January 2024 10:30:38 +0000 (0:00:00.019) 0:02:05.553 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 17 January 2024 10:30:38 +0000 (0:00:00.019) 0:02:05.573 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 17 January 2024 10:30:38 +0000 (0:00:00.018) 0:02:05.592 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Wednesday 17 January 2024 10:30:38 +0000 (0:00:00.020) 0:02:05.612 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Wednesday 17 January 2024 10:30:38 +0000 (0:00:00.020) 0:02:05.633 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4345.5-2.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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Wednesday 17 January 2024 10:30:39 +0000 (0:00:00.339) 0:02:05.972 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Wednesday 17 January 2024 10:30:39 +0000 (0:00:00.100) 0:02:06.072 ***** 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.005276", "end": "2024-01-17 10:30:39.313076", "rc": 0, "start": "2024-01-17 10:30:39.307800" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Wednesday 17 January 2024 10:30:39 +0000 (0:00:00.139) 0:02:06.212 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Wednesday 17 January 2024 10:30:40 +0000 (0:00:00.690) 0:02:06.903 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Wednesday 17 January 2024 10:30:40 +0000 (0:00:00.029) 0:02:06.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 17 January 2024 10:30:40 +0000 (0:00:00.022) 0:02:06.954 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Wednesday 17 January 2024 10:30:40 +0000 (0:00:00.020) 0:02:06.975 ***** skipping: [sut] => (item={'path': None, 'mode': 'omit', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "omit", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': 'omit', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "omit", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Wednesday 17 January 2024 10:30:40 +0000 (0:00:00.026) 0:02:07.001 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 17 January 2024 10:30:40 +0000 (0:00:00.019) 0:02:07.020 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:381 Wednesday 17 January 2024 10:30:40 +0000 (0:00:00.019) 0:02:07.040 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 17 January 2024 10:30:40 +0000 (0:00:00.333) 0:02:07.373 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 09:58:24 UTC", "ActiveEnterTimestampMonotonic": "25212687", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target system.slice systemd-journald.socket systemd-sysctl.service dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 09:58:22 UTC", "AssertTimestampMonotonic": "23770188", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 09:58:22 UTC", "ConditionTimestampMonotonic": "23770186", "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": "881", "ExecMainStartTimestamp": "Wed 2024-01-17 09:58:22 UTC", "ExecMainStartTimestampMonotonic": "23770951", "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": "Wed 2024-01-17 09:58:22 UTC", "InactiveExitTimestampMonotonic": "23771023", "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": "881", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service dbus.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 09:58:24 UTC", "WatchdogTimestampMonotonic": "25212615", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:392 Wednesday 17 January 2024 10:30:40 +0000 (0:00:00.209) 0:02:07.583 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.090946", "end": "2024-01-17 10:30:40.905307", "rc": 0, "start": "2024-01-17 10:30:40.814361" } 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:402 Wednesday 17 January 2024 10:30:40 +0000 (0:00:00.221) 0:02:07.804 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:415 Wednesday 17 January 2024 10:30:40 +0000 (0:00:00.020) 0:02:07.825 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.100) 0:02:07.925 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.022) 0:02:07.948 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:441 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.139) 0:02:08.088 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:453 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.336) 0:02:08.424 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:457 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.022) 0:02:08.447 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.023) 0:02:08.470 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.021) 0:02:08.492 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.021) 0:02:08.514 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:493 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.023) 0:02:08.537 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:515 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.022) 0:02:08.560 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.031) 0:02:08.591 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:541 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.025) 0:02:08.617 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:554 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.024) 0:02:08.641 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:561 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.023) 0:02:08.665 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.021) 0:02:08.686 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:587 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.020) 0:02:08.707 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:594 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.019) 0:02:08.727 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1432] ************************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:601 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.094) 0:02:08.822 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1432] ******* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 17 January 2024 10:30:41 +0000 (0:00:00.022) 0:02:08.844 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.033) 0:02:08.877 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003146", "end": "2024-01-17 10:30:42.115206", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:30:42.112060" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.137) 0:02:09.014 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1432" ], "delta": "0:00:00.126920", "end": "2024-01-17 10:30:42.381068", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:30:42.254148" } 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.270) 0:02:09.285 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.020) 0:02:09.306 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.021) 0:02:09.327 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.021) 0:02:09.349 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.021) 0:02:09.371 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:662 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.020) 0:02:09.391 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.020) 0:02:09.412 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.020) 0:02:09.432 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:683 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.020) 0:02:09.453 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:689 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.020) 0:02:09.473 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:707 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.019) 0:02:09.492 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:721 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.020) 0:02:09.513 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:726 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.022) 0:02:09.535 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.164) 0:02:09.700 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:753 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.022) 0:02:09.722 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:762 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.032) 0:02:09.755 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.039) 0:02:09.795 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:778 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.022) 0:02:09.817 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.021) 0:02:09.839 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:794 Wednesday 17 January 2024 10:30:42 +0000 (0:00:00.021) 0:02:09.861 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.032) 0:02:09.894 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.026) 0:02:09.920 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.022) 0:02:09.942 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:830 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.022) 0:02:09.965 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.022) 0:02:09.987 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:851 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.020) 0:02:10.008 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:856 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.022) 0:02:10.031 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:873 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.031) 0:02:10.062 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:878 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.027) 0:02:10.089 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:883 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.023) 0:02:10.113 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:889 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.033) 0:02:10.146 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.114) 0:02:10.261 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.021) 0:02:10.283 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:944 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.020) 0:02:10.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:954 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.020) 0:02:10.324 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:960 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.019) 0:02:10.344 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.020) 0:02:10.365 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:992 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.021) 0:02:10.386 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1012 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.020) 0:02:10.406 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1066 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.021) 0:02:10.427 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1073 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.021) 0:02:10.449 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.020) 0:02:10.469 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1091 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.020) 0:02:10.489 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1097 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.023) 0:02:10.513 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1105 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.028) 0:02:10.541 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.019) 0:02:10.561 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.020) 0:02:10.582 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1137 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.028) 0:02:10.610 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.021) 0:02:10.632 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.024) 0:02:10.656 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.117) 0:02:10.773 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1188 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.022) 0:02:10.795 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1199 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.023) 0:02:10.819 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1212 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.021) 0:02:10.841 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Wednesday 17 January 2024 10:30:43 +0000 (0:00:00.024) 0:02:10.865 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Wednesday 17 January 2024 10:30:44 +0000 (0:00:00.050) 0:02:10.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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Wednesday 17 January 2024 10:30:44 +0000 (0:00:00.031) 0:02:10.947 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1248 Wednesday 17 January 2024 10:30:44 +0000 (0:00:00.024) 0:02:10.971 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 17 January 2024 10:30:44 +0000 (0:00:00.022) 0:02:10.994 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Wednesday 17 January 2024 10:30:44 +0000 (0:00:00.030) 0:02:11.025 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 17 January 2024 10:30:44 +0000 (0:00:00.031) 0:02:11.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1283 Wednesday 17 January 2024 10:30:44 +0000 (0:00:00.028) 0:02:11.085 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1289 Wednesday 17 January 2024 10:30:44 +0000 (0:00:00.026) 0:02:11.111 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Wednesday 17 January 2024 10:30:44 +0000 (0:00:00.021) 0:02:11.132 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1310 Wednesday 17 January 2024 10:30:44 +0000 (0:00:00.024) 0:02:11.157 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Wednesday 17 January 2024 10:30:44 +0000 (0:00:00.020) 0:02:11.177 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1328 Wednesday 17 January 2024 10:30:44 +0000 (0:00:00.020) 0:02:11.198 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1337 Wednesday 17 January 2024 10:30:44 +0000 (0:00:00.020) 0:02:11.218 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 17 January 2024 10:30:44 +0000 (0:00:00.233) 0:02:11.452 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 10:30:31 UTC", "ActiveEnterTimestampMonotonic": "1952781419", "ActiveExitTimestamp": "Wed 2024-01-17 10:30:17 UTC", "ActiveExitTimestampMonotonic": "1938685944", "ActiveState": "active", "After": "basic.target network.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 10:30:31 UTC", "AssertTimestampMonotonic": "1952780713", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 10:30:31 UTC", "ConditionTimestampMonotonic": "1952780711", "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": "27779", "ExecMainStartTimestamp": "Wed 2024-01-17 10:30:31 UTC", "ExecMainStartTimestampMonotonic": "1952781337", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 10:30:31 UTC] ; stop_time=[n/a] ; pid=27779 ; 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": "Wed 2024-01-17 10:30:23 UTC", "InactiveEnterTimestampMonotonic": "1944811763", "InactiveExitTimestamp": "Wed 2024-01-17 10:30:31 UTC", "InactiveExitTimestampMonotonic": "1952781419", "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": "27779", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 10:30:31 UTC", "WatchdogTimestampMonotonic": "1952781386", "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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Wednesday 17 January 2024 10:30:45 +0000 (0:00:01.415) 0:02:12.868 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1361 Wednesday 17 January 2024 10:30:46 +0000 (0:00:00.020) 0:02:12.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the password with a custom TCP port and IP address. Should report Changed.] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/tests_password.yml:53 Wednesday 17 January 2024 10:30:46 +0000 (0:00:00.020) 0:02:12.909 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 17 January 2024 10:30:46 +0000 (0:00:00.543) 0:02:13.453 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 17 January 2024 10:30:46 +0000 (0:00:00.048) 0:02:13.501 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 17 January 2024 10:30:46 +0000 (0:00:00.027) 0:02:13.529 ***** 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-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 17 January 2024 10:30:46 +0000 (0:00:00.037) 0:02:13.567 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 17 January 2024 10:30:46 +0000 (0:00:00.019) 0:02:13.586 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 17 January 2024 10:30:46 +0000 (0:00:00.020) 0:02:13.607 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 17 January 2024 10:30:46 +0000 (0:00:00.020) 0:02:13.628 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 17 January 2024 10:30:46 +0000 (0:00:00.019) 0:02:13.648 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 17 January 2024 10:30:46 +0000 (0:00:00.020) 0:02:13.669 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 17 January 2024 10:30:46 +0000 (0:00:00.021) 0:02:13.690 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Wednesday 17 January 2024 10:30:46 +0000 (0:00:00.033) 0:02:13.724 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Wednesday 17 January 2024 10:30:46 +0000 (0:00:00.021) 0:02:13.746 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Wednesday 17 January 2024 10:30:46 +0000 (0:00:00.031) 0:02:13.777 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Wednesday 17 January 2024 10:30:46 +0000 (0:00:00.054) 0:02:13.832 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Wednesday 17 January 2024 10:30:47 +0000 (0:00:00.154) 0:02:13.987 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Wednesday 17 January 2024 10:30:47 +0000 (0:00:00.025) 0:02:14.012 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Wednesday 17 January 2024 10:30:47 +0000 (0:00:00.024) 0:02:14.036 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Wednesday 17 January 2024 10:30:47 +0000 (0:00:00.039) 0:02:14.076 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Wednesday 17 January 2024 10:30:47 +0000 (0:00:00.037) 0:02:14.113 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Wednesday 17 January 2024 10:30:48 +0000 (0:00:01.069) 0:02:15.183 ***** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 17 January 2024 10:30:48 +0000 (0:00:00.057) 0:02:15.240 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Wednesday 17 January 2024 10:30:48 +0000 (0:00:00.032) 0:02:15.273 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Wednesday 17 January 2024 10:30:48 +0000 (0:00:00.039) 0:02:15.312 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Wednesday 17 January 2024 10:30:48 +0000 (0:00:00.044) 0:02:15.356 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Wednesday 17 January 2024 10:30:48 +0000 (0:00:00.381) 0:02:15.738 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Wednesday 17 January 2024 10:30:48 +0000 (0:00:00.033) 0:02:15.771 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Wednesday 17 January 2024 10:30:48 +0000 (0:00:00.022) 0:02:15.793 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Wednesday 17 January 2024 10:30:48 +0000 (0:00:00.036) 0:02:15.829 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Wednesday 17 January 2024 10:30:48 +0000 (0:00:00.030) 0:02:15.860 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 17 January 2024 10:30:49 +0000 (0:00:00.109) 0:02:15.969 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 17 January 2024 10:30:49 +0000 (0:00:00.025) 0:02:15.995 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 17 January 2024 10:30:49 +0000 (0:00:00.021) 0:02:16.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Wednesday 17 January 2024 10:30:49 +0000 (0:00:00.040) 0:02:16.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Wednesday 17 January 2024 10:30:49 +0000 (0:00:00.026) 0:02:16.083 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4345.5-2.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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Wednesday 17 January 2024 10:30:49 +0000 (0:00:00.494) 0:02:16.577 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Wednesday 17 January 2024 10:30:49 +0000 (0:00:00.021) 0:02:16.599 ***** 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.008344", "end": "2024-01-17 10:30:49.885035", "rc": 0, "start": "2024-01-17 10:30:49.876691" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Wednesday 17 January 2024 10:30:49 +0000 (0:00:00.210) 0:02:16.809 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Wednesday 17 January 2024 10:30:50 +0000 (0:00:00.776) 0:02:17.586 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Wednesday 17 January 2024 10:30:50 +0000 (0:00:00.047) 0:02:17.633 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 17 January 2024 10:30:50 +0000 (0:00:00.022) 0:02:17.656 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Wednesday 17 January 2024 10:30:50 +0000 (0:00:00.021) 0:02:17.677 ***** skipping: [sut] => (item={'path': None, 'mode': 'omit', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "omit", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': 'omit', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "omit", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Wednesday 17 January 2024 10:30:50 +0000 (0:00:00.029) 0:02:17.706 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 17 January 2024 10:30:50 +0000 (0:00:00.020) 0:02:17.727 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:381 Wednesday 17 January 2024 10:30:50 +0000 (0:00:00.020) 0:02:17.748 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 17 January 2024 10:30:51 +0000 (0:00:00.374) 0:02:18.122 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 09:58:24 UTC", "ActiveEnterTimestampMonotonic": "25212687", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target system.slice systemd-journald.socket systemd-sysctl.service dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 09:58:22 UTC", "AssertTimestampMonotonic": "23770188", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 09:58:22 UTC", "ConditionTimestampMonotonic": "23770186", "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": "881", "ExecMainStartTimestamp": "Wed 2024-01-17 09:58:22 UTC", "ExecMainStartTimestampMonotonic": "23770951", "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": "Wed 2024-01-17 09:58:22 UTC", "InactiveExitTimestampMonotonic": "23771023", "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": "881", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service dbus.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 09:58:24 UTC", "WatchdogTimestampMonotonic": "25212615", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:392 Wednesday 17 January 2024 10:30:51 +0000 (0:00:00.298) 0:02:18.420 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.091154", "end": "2024-01-17 10:30:51.772027", "rc": 0, "start": "2024-01-17 10:30:51.680873" } 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:402 Wednesday 17 January 2024 10:30:51 +0000 (0:00:00.258) 0:02:18.679 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:415 Wednesday 17 January 2024 10:30:51 +0000 (0:00:00.125) 0:02:18.804 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 17 January 2024 10:30:51 +0000 (0:00:00.023) 0:02:18.828 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 17 January 2024 10:30:51 +0000 (0:00:00.022) 0:02:18.850 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:441 Wednesday 17 January 2024 10:30:52 +0000 (0:00:00.152) 0:02:19.002 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:453 Wednesday 17 January 2024 10:30:52 +0000 (0:00:00.344) 0:02:19.347 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 17 January 2024 10:30:52 +0000 (0:00:00.041) 0:02:19.388 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 10:30:45 UTC", "ActiveEnterTimestampMonotonic": "1967024498", "ActiveExitTimestamp": "Wed 2024-01-17 10:30:44 UTC", "ActiveExitTimestampMonotonic": "1965911576", "ActiveState": "active", "After": "basic.target network.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 10:30:45 UTC", "AssertTimestampMonotonic": "1967023797", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 10:30:45 UTC", "ConditionTimestampMonotonic": "1967023796", "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": "28289", "ExecMainStartTimestamp": "Wed 2024-01-17 10:30:45 UTC", "ExecMainStartTimestampMonotonic": "1967024416", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 10:30:45 UTC] ; stop_time=[n/a] ; pid=28289 ; 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": "Wed 2024-01-17 10:30:45 UTC", "InactiveEnterTimestampMonotonic": "1967023188", "InactiveExitTimestamp": "Wed 2024-01-17 10:30:45 UTC", "InactiveExitTimestampMonotonic": "1967024498", "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": "28289", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 10:30:45 UTC", "WatchdogTimestampMonotonic": "1967024465", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 17 January 2024 10:30:52 +0000 (0:00:00.212) 0:02:19.601 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003322", "end": "2024-01-17 10:30:52.870401", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:30:52.867079" } STDOUT: tcpport = 1432 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 17 January 2024 10:30:52 +0000 (0:00:00.201) 0:02:19.802 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003045", "end": "2024-01-17 10:30:53.043635", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:30:53.040590" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 17 January 2024 10:30:53 +0000 (0:00:00.150) 0:02:19.952 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:457 Wednesday 17 January 2024 10:30:53 +0000 (0:00:00.040) 0:02:19.993 ***** 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": 6828, "state": "file", "uid": 996 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 17 January 2024 10:30:54 +0000 (0:00:01.143) 0:02:21.136 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Wednesday 17 January 2024 10:30:54 +0000 (0:00:00.168) 0:02:21.305 ***** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 10:30:45 UTC", "ActiveEnterTimestampMonotonic": "1967024498", "ActiveExitTimestamp": "Wed 2024-01-17 10:30:44 UTC", "ActiveExitTimestampMonotonic": "1965911576", "ActiveState": "active", "After": "basic.target network.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 10:30:45 UTC", "AssertTimestampMonotonic": "1967023797", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 10:30:45 UTC", "ConditionTimestampMonotonic": "1967023796", "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": "28289", "ExecMainStartTimestamp": "Wed 2024-01-17 10:30:45 UTC", "ExecMainStartTimestampMonotonic": "1967024416", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 10:30:45 UTC] ; stop_time=[n/a] ; pid=28289 ; 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": "Wed 2024-01-17 10:30:45 UTC", "InactiveEnterTimestampMonotonic": "1967023188", "InactiveExitTimestamp": "Wed 2024-01-17 10:30:45 UTC", "InactiveExitTimestampMonotonic": "1967024498", "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": "28289", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 10:30:45 UTC", "WatchdogTimestampMonotonic": "1967024465", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Wednesday 17 January 2024 10:31:00 +0000 (0:00:05.927) 0:02:27.232 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:493 Wednesday 17 January 2024 10:31:01 +0000 (0:00:01.167) 0:02:28.399 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:515 Wednesday 17 January 2024 10:31:05 +0000 (0:00:04.272) 0:02:32.672 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Wednesday 17 January 2024 10:31:05 +0000 (0:00:00.022) 0:02:32.694 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:541 Wednesday 17 January 2024 10:31:05 +0000 (0:00:00.022) 0:02:32.717 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:554 Wednesday 17 January 2024 10:31:05 +0000 (0:00:00.023) 0:02:32.741 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:561 Wednesday 17 January 2024 10:31:05 +0000 (0:00:00.025) 0:02:32.766 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 17 January 2024 10:31:05 +0000 (0:00:00.026) 0:02:32.792 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:587 Wednesday 17 January 2024 10:31:05 +0000 (0:00:00.028) 0:02:32.820 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:594 Wednesday 17 January 2024 10:31:05 +0000 (0:00:00.021) 0:02:32.842 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:601 Wednesday 17 January 2024 10:31:05 +0000 (0:00:00.032) 0:02:32.874 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.041) 0:02:32.916 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.042) 0:02:32.958 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003386", "end": "2024-01-17 10:31:06.199388", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:31:06.196002" } STDOUT: tcpport = 1432 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.142) 0:02:33.101 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.127867", "end": "2024-01-17 10:31:06.472527", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:31:06.344660" } 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.275) 0:02:33.377 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.030) 0:02:33.408 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.122) 0:02:33.530 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.031) 0:02:33.561 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.029) 0:02:33.590 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:662 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.030) 0:02:33.620 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.026) 0:02:33.647 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.023) 0:02:33.670 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:683 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.023) 0:02:33.694 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:689 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.023) 0:02:33.717 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:707 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.023) 0:02:33.741 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:721 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.030) 0:02:33.772 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:726 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.027) 0:02:33.799 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.024) 0:02:33.823 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:753 Wednesday 17 January 2024 10:31:06 +0000 (0:00:00.026) 0:02:33.849 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:762 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.027) 0:02:33.877 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.021) 0:02:33.898 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:778 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.023) 0:02:33.922 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.025) 0:02:33.947 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:794 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.023) 0:02:33.971 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.022) 0:02:33.993 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.133) 0:02:34.127 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.031) 0:02:34.159 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:830 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.026) 0:02:34.185 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.023) 0:02:34.209 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:851 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.022) 0:02:34.231 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:856 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.027) 0:02:34.259 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:873 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.022) 0:02:34.282 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:878 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.027) 0:02:34.310 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:883 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.022) 0:02:34.333 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:889 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.034) 0:02:34.367 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.021) 0:02:34.389 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.022) 0:02:34.411 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:944 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.022) 0:02:34.434 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:954 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.030) 0:02:34.464 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:960 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.020) 0:02:34.485 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.020) 0:02:34.506 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:992 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.020) 0:02:34.526 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1012 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.021) 0:02:34.548 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1066 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.122) 0:02:34.670 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1073 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.036) 0:02:34.707 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.022) 0:02:34.729 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1091 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.022) 0:02:34.751 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1097 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.023) 0:02:34.775 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1105 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.028) 0:02:34.803 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.023) 0:02:34.826 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Wednesday 17 January 2024 10:31:07 +0000 (0:00:00.022) 0:02:34.848 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1137 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.028) 0:02:34.877 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.022) 0:02:34.899 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.024) 0:02:34.924 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.036) 0:02:34.961 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1188 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.040) 0:02:35.002 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1199 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.029) 0:02:35.031 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1212 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.024) 0:02:35.056 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.024) 0:02:35.080 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.022) 0:02:35.102 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.029) 0:02:35.132 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1248 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.026) 0:02:35.159 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.130) 0:02:35.289 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.029) 0:02:35.319 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.022) 0:02:35.341 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1283 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.022) 0:02:35.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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1289 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.023) 0:02:35.388 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.024) 0:02:35.412 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1310 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.026) 0:02:35.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 [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.023) 0:02:35.463 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1328 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.022) 0:02:35.485 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1337 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.022) 0:02:35.507 ***** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 17 January 2024 10:31:08 +0000 (0:00:00.160) 0:02:35.667 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 10:30:45 UTC", "ActiveEnterTimestampMonotonic": "1967024498", "ActiveExitTimestamp": "Wed 2024-01-17 10:30:54 UTC", "ActiveExitTimestampMonotonic": "1975685935", "ActiveState": "inactive", "After": "basic.target network.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 10:30:45 UTC", "AssertTimestampMonotonic": "1967023797", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 10:30:45 UTC", "ConditionTimestampMonotonic": "1967023796", "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": "Wed 2024-01-17 10:31:00 UTC", "ExecMainExitTimestampMonotonic": "1981385974", "ExecMainPID": "28289", "ExecMainStartTimestamp": "Wed 2024-01-17 10:30:45 UTC", "ExecMainStartTimestampMonotonic": "1967024416", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 10:30:45 UTC] ; stop_time=[Wed 2024-01-17 10:31:00 UTC] ; pid=28289 ; 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": "Wed 2024-01-17 10:31:00 UTC", "InactiveEnterTimestampMonotonic": "1981386106", "InactiveExitTimestamp": "Wed 2024-01-17 10:30:45 UTC", "InactiveExitTimestampMonotonic": "1967024498", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Wednesday 17 January 2024 10:31:09 +0000 (0:00:00.243) 0:02:35.910 ***** 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-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:1361 Wednesday 17 January 2024 10:31:09 +0000 (0:00:00.028) 0:02:35.939 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/tests_password.yml:61 Wednesday 17 January 2024 10:31:09 +0000 (0:00:00.025) 0:02:35.964 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:8 Wednesday 17 January 2024 10:31:09 +0000 (0:00:00.393) 0:02:36.357 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:23 Wednesday 17 January 2024 10:31:09 +0000 (0:00:00.033) 0:02:36.390 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:35 Wednesday 17 January 2024 10:31:09 +0000 (0:00:00.021) 0:02:36.412 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:39 Wednesday 17 January 2024 10:31:09 +0000 (0:00:00.021) 0:02:36.434 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:55 Wednesday 17 January 2024 10:31:09 +0000 (0:00:00.042) 0:02:36.477 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:60 Wednesday 17 January 2024 10:31:09 +0000 (0:00:00.023) 0:02:36.500 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:70 Wednesday 17 January 2024 10:31:09 +0000 (0:00:00.021) 0:02:36.521 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:75 Wednesday 17 January 2024 10:31:09 +0000 (0:00:00.020) 0:02:36.542 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:85 Wednesday 17 January 2024 10:31:09 +0000 (0:00:00.021) 0:02:36.563 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 17 January 2024 10:31:09 +0000 (0:00:00.056) 0:02:36.619 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 10:31:08 UTC", "ActiveEnterTimestampMonotonic": "1990052072", "ActiveExitTimestamp": "Wed 2024-01-17 10:30:54 UTC", "ActiveExitTimestampMonotonic": "1975685935", "ActiveState": "active", "After": "basic.target network.target system.slice systemd-journald.socket -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 10:31:08 UTC", "AssertTimestampMonotonic": "1990051391", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 10:31:08 UTC", "ConditionTimestampMonotonic": "1990051389", "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": "29045", "ExecMainStartTimestamp": "Wed 2024-01-17 10:31:08 UTC", "ExecMainStartTimestampMonotonic": "1990051967", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 10:31:08 UTC] ; stop_time=[n/a] ; pid=29045 ; 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": "Wed 2024-01-17 10:31:00 UTC", "InactiveEnterTimestampMonotonic": "1981386106", "InactiveExitTimestamp": "Wed 2024-01-17 10:31:08 UTC", "InactiveExitTimestampMonotonic": "1990052072", "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": "29045", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 10:31:08 UTC", "WatchdogTimestampMonotonic": "1990052040", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 17 January 2024 10:31:10 +0000 (0:00:00.311) 0:02:36.931 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003564", "end": "2024-01-17 10:31:10.185064", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:31:10.181500" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 17 January 2024 10:31:10 +0000 (0:00:00.151) 0:02:37.083 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003528", "end": "2024-01-17 10:31:10.365439", "failed_when_result": false, "rc": 0, "start": "2024-01-17 10:31:10.361911" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 17 January 2024 10:31:10 +0000 (0:00:00.268) 0:02:37.351 ***** 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-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:93 Wednesday 17 January 2024 10:31:10 +0000 (0:00:00.044) 0:02:37.396 ***** ok: [sut] => { "changed": false, "elapsed": 3, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7624, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:99 Wednesday 17 January 2024 10:31:13 +0000 (0:00:03.142) 0:02:40.539 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.026291", "end": "2024-01-17 10:31:13.800257", "rc": 0, "start": "2024-01-17 10:31:13.773966" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU24) (KB5031908) - 15.0.4345.5 (X64) Dec 4 2023 14:44:16 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:113 Wednesday 17 January 2024 10:31:13 +0000 (0:00:00.172) 0:02:40.711 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:117 Wednesday 17 January 2024 10:31:13 +0000 (0:00:00.032) 0:02:40.743 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:124 Wednesday 17 January 2024 10:31:13 +0000 (0:00:00.027) 0:02:40.771 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:135 Wednesday 17 January 2024 10:31:13 +0000 (0:00:00.027) 0:02:40.799 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:140 Wednesday 17 January 2024 10:31:13 +0000 (0:00:00.020) 0:02:40.820 ***** 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-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:145 Wednesday 17 January 2024 10:31:13 +0000 (0:00:00.020) 0:02:40.840 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:151 Wednesday 17 January 2024 10:31:13 +0000 (0:00:00.023) 0:02:40.864 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:157 Wednesday 17 January 2024 10:31:14 +0000 (0:00:00.019) 0:02:40.884 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:167 Wednesday 17 January 2024 10:31:14 +0000 (0:00:00.019) 0:02:40.904 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:178 Wednesday 17 January 2024 10:31:14 +0000 (0:00:00.020) 0:02:40.924 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:190 Wednesday 17 January 2024 10:31:14 +0000 (0:00:00.022) 0:02:40.947 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:198 Wednesday 17 January 2024 10:31:14 +0000 (0:00:00.021) 0:02:40.968 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:208 Wednesday 17 January 2024 10:31:14 +0000 (0:00:00.021) 0:02:40.990 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that SELinux is in the mode {{ __mssql_selinux_mode }}] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:213 Wednesday 17 January 2024 10:31:14 +0000 (0:00:00.022) 0:02:41.013 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:221 Wednesday 17 January 2024 10:31:14 +0000 (0:00:00.132) 0:02:41.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/tests_password.yml:66 Wednesday 17 January 2024 10:31:14 +0000 (0:00:00.021) 0:02:41.167 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/check_header.yml:4 Wednesday 17 January 2024 10:31:14 +0000 (0:00:00.296) 0:02:41.464 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003158", "end": "2024-01-17 10:31:14.741915", "rc": 0, "start": "2024-01-17 10:31:14.738757" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = false [EULA] accepteula = Y [network] tcpport = 1433 ipaddress = 127.0.0.1 TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tests_password_2019.yml:17 Wednesday 17 January 2024 10:31:14 +0000 (0:00:00.176) 0:02:41.640 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/cleanup.yml:2 Wednesday 17 January 2024 10:31:14 +0000 (0:00:00.033) 0:02:41.674 ***** 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-selinux-install-after-confi_8_7r8k/tests/tasks/cleanup.yml:6 Wednesday 17 January 2024 10:31:15 +0000 (0:00:01.039) 0:02:42.713 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/cleanup.yml:14 Wednesday 17 January 2024 10:31:15 +0000 (0:00:00.026) 0:02:42.739 ***** ok: [sut] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/cleanup.yml:18 Wednesday 17 January 2024 10:31:15 +0000 (0:00:00.022) 0:02:42.761 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 17 January 2024 10:31:15 +0000 (0:00:00.066) 0:02:42.828 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 17 January 2024 10:31:15 +0000 (0:00:00.037) 0:02:42.865 ***** 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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Wednesday 17 January 2024 10:31:16 +0000 (0:00:00.025) 0:02:42.891 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Wednesday 17 January 2024 10:31:16 +0000 (0:00:00.274) 0:02:43.165 ***** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Wednesday 17 January 2024 10:31:16 +0000 (0:00:00.023) 0:02:43.189 ***** 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 : Reboot transactional update systems] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:26 Wednesday 17 January 2024 10:31:16 +0000 (0:00:00.338) 0:02:43.527 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 17 January 2024 10:31:16 +0000 (0:00:00.021) 0:02:43.549 ***** 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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 17 January 2024 10:31:16 +0000 (0:00:00.020) 0:02:43.569 ***** 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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 17 January 2024 10:31:16 +0000 (0:00:00.025) 0:02:43.594 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 10:20:30 UTC", "ActiveEnterTimestampMonotonic": "1351896780", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target polkit.service dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 10:20:30 UTC", "AssertTimestampMonotonic": "1351331974", "Before": "shutdown.target multi-user.target network-pre.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": "Wed 2024-01-17 10:20:30 UTC", "ConditionTimestampMonotonic": "1351331972", "Conflicts": "ipset.service ip6tables.service ebtables.service shutdown.target iptables.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": "14317", "ExecMainStartTimestamp": "Wed 2024-01-17 10:20:30 UTC", "ExecMainStartTimestampMonotonic": "1351333240", "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": "Wed 2024-01-17 10:20:30 UTC", "InactiveExitTimestampMonotonic": "1351333559", "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": "14317", "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": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2024-01-17 10:20:30 UTC", "WatchdogTimestampMonotonic": "1351896326", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 17 January 2024 10:31:16 +0000 (0:00:00.210) 0:02:43.805 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 10:20:30 UTC", "ActiveEnterTimestampMonotonic": "1351896780", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target polkit.service dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 10:20:30 UTC", "AssertTimestampMonotonic": "1351331974", "Before": "shutdown.target multi-user.target network-pre.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": "Wed 2024-01-17 10:20:30 UTC", "ConditionTimestampMonotonic": "1351331972", "Conflicts": "ipset.service ip6tables.service ebtables.service shutdown.target iptables.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": "14317", "ExecMainStartTimestamp": "Wed 2024-01-17 10:20:30 UTC", "ExecMainStartTimestampMonotonic": "1351333240", "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": "Wed 2024-01-17 10:20:30 UTC", "InactiveExitTimestampMonotonic": "1351333559", "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": "14317", "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": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2024-01-17 10:20:30 UTC", "WatchdogTimestampMonotonic": "1351896326", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 17 January 2024 10:31:17 +0000 (0:00:00.209) 0:02:44.015 ***** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 17 January 2024 10:31:17 +0000 (0:00:00.109) 0:02:44.124 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.46.206 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 17 January 2024 10:31:17 +0000 (0:00:00.282) 0:02:44.407 ***** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 17 January 2024 10:31:17 +0000 (0:00:00.024) 0:02:44.432 ***** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 17 January 2024 10:31:17 +0000 (0:00:00.023) 0:02:44.455 ***** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 17 January 2024 10:31:17 +0000 (0:00:00.023) 0:02:44.479 ***** 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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 17 January 2024 10:31:17 +0000 (0:00:00.024) 0:02:44.504 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 17 January 2024 10:31:17 +0000 (0:00:00.021) 0:02:44.525 ***** 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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 17 January 2024 10:31:17 +0000 (0:00:00.021) 0:02:44.546 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.46.206 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 17 January 2024 10:31:17 +0000 (0:00:00.273) 0:02:44.819 ***** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 17 January 2024 10:31:17 +0000 (0:00:00.026) 0:02:44.846 ***** skipping: [sut] => {} TASK [Purge selinux configuration] ********************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/cleanup.yml:26 Wednesday 17 January 2024 10:31:17 +0000 (0:00:00.022) 0:02:44.868 ***** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 17 January 2024 10:31:18 +0000 (0:00:00.061) 0:02:44.930 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Wednesday 17 January 2024 10:31:18 +0000 (0:00:00.036) 0:02:44.966 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Wednesday 17 January 2024 10:31:18 +0000 (0:00:00.025) 0:02:44.992 ***** included: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Wednesday 17 January 2024 10:31:18 +0000 (0:00:00.123) 0:02:45.115 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Wednesday 17 January 2024 10:31:18 +0000 (0:00:00.135) 0:02:45.251 ***** ok: [sut] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:14 Wednesday 17 January 2024 10:31:18 +0000 (0:00:00.024) 0:02:45.275 ***** 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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:23 Wednesday 17 January 2024 10:31:18 +0000 (0:00:00.339) 0:02:45.615 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:34 Wednesday 17 January 2024 10:31:18 +0000 (0:00:00.021) 0:02:45.636 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:45 Wednesday 17 January 2024 10:31:18 +0000 (0:00:00.021) 0:02:45.657 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:53 Wednesday 17 January 2024 10:31:18 +0000 (0:00:00.020) 0:02:45.678 ***** ok: [sut] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 17 January 2024 10:31:19 +0000 (0:00:00.387) 0:02:46.065 ***** 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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Wednesday 17 January 2024 10:31:19 +0000 (0:00:00.023) 0:02:46.089 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Wednesday 17 January 2024 10:31:19 +0000 (0:00:00.021) 0:02:46.111 ***** 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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Wednesday 17 January 2024 10:31:19 +0000 (0:00:00.024) 0:02:46.135 ***** 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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Wednesday 17 January 2024 10:31:19 +0000 (0:00:00.018) 0:02:46.154 ***** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Wednesday 17 January 2024 10:31:19 +0000 (0:00:00.021) 0:02:46.175 ***** 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.383141", "end": "2024-01-17 10:31:19.802605", "rc": 0, "start": "2024-01-17 10:31:19.419464" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Wednesday 17 January 2024 10:31:19 +0000 (0:00:00.526) 0:02:46.702 ***** 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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 17 January 2024 10:31:19 +0000 (0:00:00.021) 0:02:46.724 ***** 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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Wednesday 17 January 2024 10:31:19 +0000 (0:00:00.099) 0:02:46.824 ***** 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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Wednesday 17 January 2024 10:31:19 +0000 (0:00:00.022) 0:02:46.846 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 17 January 2024 10:31:19 +0000 (0:00:00.020) 0:02:46.866 ***** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Wednesday 17 January 2024 10:31:20 +0000 (0:00:00.020) 0:02:46.887 ***** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Wednesday 17 January 2024 10:31:20 +0000 (0:00:00.020) 0:02:46.907 ***** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Wednesday 17 January 2024 10:31:20 +0000 (0:00:00.020) 0:02:46.927 ***** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Wednesday 17 January 2024 10:31:20 +0000 (0:00:00.022) 0:02:46.949 ***** 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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Wednesday 17 January 2024 10:31:23 +0000 (0:00:03.266) 0:02:50.216 ***** 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-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Wednesday 17 January 2024 10:31:23 +0000 (0:00:00.028) 0:02:50.244 ***** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Wednesday 17 January 2024 10:31:23 +0000 (0:00:00.026) 0:02:50.270 ***** TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/cleanup.yml:32 Wednesday 17 January 2024 10:31:23 +0000 (0:00:00.120) 0:02:50.391 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/cleanup.yml:40 Wednesday 17 January 2024 10:31:23 +0000 (0:00:00.035) 0:02:50.427 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/cleanup.yml:44 Wednesday 17 January 2024 10:31:23 +0000 (0:00:00.034) 0:02:50.461 ***** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/cleanup.yml:50 Wednesday 17 January 2024 10:31:23 +0000 (0:00:00.191) 0:02:50.652 ***** changed: [sut] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4345.5-2 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking python3 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking lsof to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi 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 libtool-ltdl to be removed - no longer needed by unixODBC\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 15.0.4345.5-2 @packages-microsoft-com-mssql-server-2019\n 1.1 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.15 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n lsof x86_64 4.87-6.el7 @base 927 k\n msodbcsql17 x86_64 17.10.5.1-1 @packages-microsoft-com-prod 2.2 M\n python3 x86_64 3.6.8-21.el7_9 @updates 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @updates 35 M\n python3-pip noarch 9.0.3-8.el7 @base 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @base 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+14 Dependent packages)\n\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-15.0.4345.5-2.x86_64 1/17 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/17 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/17 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 4/17 \n Erasing : python3-pip-9.0.3-8.el7.noarch 5/17 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 6/17 \n Erasing : python3-3.6.8-21.el7_9.x86_64 7/17 \n Erasing : msodbcsql17-17.10.5.1-1.x86_64 8/17 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 9/17 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 10/17 \n Erasing : libatomic-4.8.5-44.el7.x86_64 11/17 \n Erasing : bzip2-1.0.6-13.el7.x86_64 12/17 \n Erasing : gdb-7.6.1-120.el7.x86_64 13/17 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 14/17 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 16/17 \n Erasing : lsof-4.87-6.el7.x86_64 17/17 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/17 \n Verifying : python3-3.6.8-21.el7_9.x86_64 2/17 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 3/17 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/17 \n Verifying : mssql-server-15.0.4345.5-2.x86_64 5/17 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/17 \n Verifying : lsof-4.87-6.el7.x86_64 7/17 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 8/17 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 9/17 \n Verifying : gdb-7.6.1-120.el7.x86_64 10/17 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 11/17 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 12/17 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 13/17 \n Verifying : python3-pip-9.0.3-8.el7.noarch 14/17 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Verifying : libatomic-4.8.5-44.el7.x86_64 16/17 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 17/17 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4345.5-2 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.15 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n lsof.x86_64 0:4.87-6.el7 \n msodbcsql17.x86_64 0:17.10.5.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/cleanup.yml:63 Wednesday 17 January 2024 10:31:27 +0000 (0:00:03.647) 0:02:54.299 ***** 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.009975", "end": "2024-01-17 10:31:27.545621", "rc": 0, "start": "2024-01-17 10:31:27.535646" } STDOUT: removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499609909680000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/system_health_0_133499610125210000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/system_health_0_133499610722670000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133499610349060000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/log_9.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499610717690000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133499609759040000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499610276580000.xel’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499610344440000.xel’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/system_health_0_133499609913860000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499610486850000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499609978050000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133499610491630000.xel’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/mssql-conf/mssql-conf.log’ removed directory: ‘/var/opt/mssql/log/mssql-conf’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499609660890000.xel’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/system_health_0_133499610648300000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499610643700000.xel’ removed ‘/var/opt/mssql/log/errorlog.9’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/errorlog.10’ removed ‘/var/opt/mssql/log/system_health_0_133499609668050000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133499610281080000.xel’ removed ‘/var/opt/mssql/log/log_8.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499610120630000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499609752660000.xel’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/system_health_0_133499609982840000.xel’ removed directory: ‘/var/opt/mssql/log’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/data/model_msdbdata.mdf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.mdf’ removed ‘/var/opt/mssql/data/tempdb3.ndf’ removed ‘/var/opt/mssql/data/tempdb4.ndf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/tempdb2.ndf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/Entropy.bin’ removed ‘/var/opt/mssql/data/model_msdblog.ldf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/.system/instance_id’ 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/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ 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/Certificates’ 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/CTLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/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’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ 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/5a3ebd85-c593-41f0-844c-524f8e05c3ae’ 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/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed directory: ‘/var/opt/mssql/.system/system’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, 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 directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/mssql.conf’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2019.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/cleanup.yml:77 Wednesday 17 January 2024 10:31:27 +0000 (0:00:00.153) 0:02:54.453 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:01.034858", "end": "2024-01-17 10:31:28.721920", "rc": 0, "start": "2024-01-17 10:31:27.687062" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Wednesday 17 January 2024 10:31:28 +0000 (0:00:01.156) 0:02:55.609 ***** changed: [sut] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.714378", "end": "2024-01-17 10:31:30.583297", "rc": 0, "start": "2024-01-17 10:31:28.868919" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=226 changed=31 unreachable=0 failed=0 skipped=790 rescued=0 ignored=3 Wednesday 17 January 2024 10:31:30 +0000 (0:00:01.863) 0:02:57.473 ***** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 45.13s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 linux-system-roles.mssql : Change the password of sa user --------------- 8.69s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:493 linux-system-roles.mssql : Ensure that the mssql-server service is stopped --- 6.77s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 linux-system-roles.mssql : Ensure that the mssql-server service is stopped --- 6.35s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 linux-system-roles.mssql : Set up MSSQL --------------------------------- 5.81s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 5.80s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:441 linux-system-roles.mssql : Change the password of sa user --------------- 4.40s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:493 Remove related packages ------------------------------------------------- 3.65s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/cleanup.yml:50 ---- fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 3.27s /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Wait for mssql-server to prepare for client connections ----------------- 3.14s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:93 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections --- 2.39s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:457 linux-system-roles.mssql : Gather package facts ------------------------- 2.14s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 linux-system-roles.mssql : Gather package facts ------------------------- 2.02s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 1.86s /WORKDIR/git-selinux-install-after-confi_8_7r8k/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Check if the set password matches the existing password ----------------- 1.77s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:99 Check if the set password matches the existing password ----------------- 1.71s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/tasks/verify_settings.yml:99 linux-system-roles.mssql : Restart the mssql-server service ------------- 1.62s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 linux-system-roles.mssql : Gather system services facts ----------------- 1.49s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 linux-system-roles.mssql : Restart the mssql-server service ------------- 1.42s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 linux-system-roles.mssql : Gather package facts ------------------------- 1.28s /WORKDIR/git-selinux-install-after-confi_8_7r8k/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---