# 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_2017.yml ********************************************** 1 plays in /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tests_password_2017.yml PLAY [Ensure that the role is idempotent when changing the sa user password] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tests_password_2017.yml:3 Wednesday 17 January 2024 13:34:32 +0000 (0:00:00.013) 0:00:00.013 ***** ok: [sut] META: ran handlers TASK [Run tests_password with SQL Server 2017] ********************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tests_password_2017.yml:14 Wednesday 17 January 2024 13:34:32 +0000 (0:00:00.540) 0:00:00.554 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/tasks/tests_password.yml:2 Wednesday 17 January 2024 13:34:32 +0000 (0:00:00.012) 0:00:00.567 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Wednesday 17 January 2024 13:34:32 +0000 (0:00:00.023) 0:00:00.590 ***** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.226) 0:00:00.816 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.011) 0:00:00.827 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up MSSQL] ************************************************************ task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/tests_password.yml:5 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.010) 0:00:00.838 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.145) 0:00:00.983 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.010) 0:00:00.994 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.010) 0:00:01.004 ***** 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-conf1kup1avb/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-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.024) 0:00:01.028 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.009) 0:00:01.038 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.010) 0:00:01.048 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.010) 0:00:01.059 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.010) 0:00:01.069 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.012) 0:00:01.082 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.009) 0:00:01.091 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.009) 0:00:01.101 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.015) 0:00:01.116 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.011) 0:00:01.127 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.017) 0:00:01.145 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.010) 0:00:01.155 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.008) 0:00:01.163 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.009) 0:00:01.173 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.016) 0:00:01.190 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Wednesday 17 January 2024 13:34:33 +0000 (0:00:00.014) 0:00:01.205 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Wednesday 17 January 2024 13:34:34 +0000 (0:00:01.112) 0:00:02.317 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 17 January 2024 13:34:34 +0000 (0:00:00.040) 0:00:02.357 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Wednesday 17 January 2024 13:34:34 +0000 (0:00:00.043) 0:00:02.401 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Wednesday 17 January 2024 13:34:34 +0000 (0:00:00.021) 0:00:02.422 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Wednesday 17 January 2024 13:34:34 +0000 (0:00:00.033) 0:00:02.455 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Wednesday 17 January 2024 13:34:35 +0000 (0:00:00.433) 0:00:02.889 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Wednesday 17 January 2024 13:34:35 +0000 (0:00:00.019) 0:00:02.908 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Wednesday 17 January 2024 13:34:35 +0000 (0:00:00.061) 0:00:02.970 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Wednesday 17 January 2024 13:34:35 +0000 (0:00:00.019) 0:00:02.989 ***** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Wednesday 17 January 2024 13:34:35 +0000 (0:00:00.250) 0:00:03.240 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 17 January 2024 13:34:35 +0000 (0:00:00.023) 0:00:03.263 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 17 January 2024 13:34:35 +0000 (0:00:00.019) 0:00:03.283 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 17 January 2024 13:34:35 +0000 (0:00:00.018) 0:00:03.301 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Wednesday 17 January 2024 13:34:35 +0000 (0:00:00.031) 0:00:03.333 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Wednesday 17 January 2024 13:34:35 +0000 (0:00:00.025) 0:00:03.358 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3465.1-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.15 updates 170 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal size: 203 M\nTotal download size: 200 M\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libatomic-4.8.5-44.el7.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libatomic-4.8.5-44.el7.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Wednesday 17 January 2024 13:35:15 +0000 (0:00:40.007) 0:00:43.365 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Wednesday 17 January 2024 13:35:15 +0000 (0:00:00.036) 0:00:43.402 ***** 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.006161", "end": "2024-01-17 13:35:15.855289", "rc": 0, "start": "2024-01-17 13:35:15.849128" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Wednesday 17 January 2024 13:35:15 +0000 (0:00:00.213) 0:00:43.615 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Wednesday 17 January 2024 13:35:16 +0000 (0:00:00.816) 0:00:44.432 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Wednesday 17 January 2024 13:35:16 +0000 (0:00:00.027) 0:00:44.460 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 17 January 2024 13:35:16 +0000 (0:00:00.024) 0:00:44.485 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Wednesday 17 January 2024 13:35:25 +0000 (0:00:08.381) 0:00:52.866 ***** skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Wednesday 17 January 2024 13:35:25 +0000 (0:00:00.026) 0:00:52.893 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 17 January 2024 13:35:25 +0000 (0:00:00.021) 0:00:52.914 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:381 Wednesday 17 January 2024 13:35:25 +0000 (0:00:00.020) 0:00:52.934 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 17 January 2024 13:35:25 +0000 (0:00:00.415) 0:00:53.350 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:08:00 UTC", "ActiveEnterTimestampMonotonic": "25939631", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-sysctl.service dbus.service network.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:07:59 UTC", "AssertTimestampMonotonic": "24507187", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:07:59 UTC", "ConditionTimestampMonotonic": "24507186", "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": "885", "ExecMainStartTimestamp": "Wed 2024-01-17 13:07:59 UTC", "ExecMainStartTimestampMonotonic": "24507792", "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 13:07:59 UTC", "InactiveExitTimestampMonotonic": "24507836", "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": "885", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:08:00 UTC", "WatchdogTimestampMonotonic": "25939407", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:392 Wednesday 17 January 2024 13:35:26 +0000 (0:00:00.483) 0:00:53.833 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.135069", "end": "2024-01-17 13:35:26.358587", "rc": 0, "start": "2024-01-17 13:35:26.223518" } 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:402 Wednesday 17 January 2024 13:35:26 +0000 (0:00:00.293) 0:00:54.127 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:415 Wednesday 17 January 2024 13:35:26 +0000 (0:00:00.021) 0:00:54.148 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 17 January 2024 13:35:26 +0000 (0:00:00.019) 0:00:54.168 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 17 January 2024 13:35:26 +0000 (0:00:00.019) 0:00:54.187 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:441 Wednesday 17 January 2024 13:35:26 +0000 (0:00:00.152) 0:00:54.339 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:453 Wednesday 17 January 2024 13:35:31 +0000 (0:00:05.153) 0:00:59.493 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:457 Wednesday 17 January 2024 13:35:31 +0000 (0:00:00.036) 0:00:59.529 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 17 January 2024 13:35:31 +0000 (0:00:00.102) 0:00:59.631 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Wednesday 17 January 2024 13:35:31 +0000 (0:00:00.034) 0:00:59.666 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Wednesday 17 January 2024 13:35:31 +0000 (0:00:00.047) 0:00:59.713 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:493 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.070) 0:00:59.784 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:515 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.073) 0:00:59.858 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.073) 0:00:59.931 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:541 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.036) 0:00:59.967 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:554 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.024) 0:00:59.991 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:561 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.030) 0:01:00.022 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.020) 0:01:00.043 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:587 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.020) 0:01:00.063 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:594 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.030) 0:01:00.094 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:601 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.043) 0:01:00.138 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.046) 0:01:00.184 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.067) 0:01:00.251 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003474", "end": "2024-01-17 13:35:32.641548", "failed_when_result": false, "rc": 1, "start": "2024-01-17 13:35:32.638074" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.153) 0:01:00.405 ***** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.053607", "end": "2024-01-17 13:35:32.839679", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:35:32.786072" } 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.228) 0:01:00.633 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.020) 0:01:00.653 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.020) 0:01:00.674 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.020) 0:01:00.695 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.020) 0:01:00.716 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:662 Wednesday 17 January 2024 13:35:32 +0000 (0:00:00.020) 0:01:00.736 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.019) 0:01:00.755 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.020) 0:01:00.776 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:683 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.020) 0:01:00.796 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:689 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.020) 0:01:00.816 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:707 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.020) 0:01:00.837 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:721 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.019) 0:01:00.856 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:726 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.020) 0:01:00.876 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.021) 0:01:00.898 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:753 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.019) 0:01:00.918 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:762 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.019) 0:01:00.937 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.018) 0:01:00.955 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:778 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.019) 0:01:00.975 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.019) 0:01:00.994 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:794 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.041) 0:01:01.036 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.019) 0:01:01.056 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.021) 0:01:01.077 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.021) 0:01:01.099 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:830 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.021) 0:01:01.120 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.019) 0:01:01.140 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:851 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.020) 0:01:01.160 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:856 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.020) 0:01:01.180 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:873 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.017) 0:01:01.198 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:878 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.018) 0:01:01.217 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:883 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.019) 0:01:01.237 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:889 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.020) 0:01:01.257 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.020) 0:01:01.278 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.017) 0:01:01.295 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:944 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.020) 0:01:01.316 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:954 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.019) 0:01:01.336 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:960 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.020) 0:01:01.356 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.020) 0:01:01.376 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:992 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.020) 0:01:01.397 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1012 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.047) 0:01:01.445 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1066 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.021) 0:01:01.466 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1073 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.020) 0:01:01.487 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.020) 0:01:01.507 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1091 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.039) 0:01:01.547 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1097 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.031) 0:01:01.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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1105 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.029) 0:01:01.608 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.036) 0:01:01.645 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.021) 0:01:01.666 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1137 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.039) 0:01:01.706 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 17 January 2024 13:35:33 +0000 (0:00:00.027) 0:01:01.733 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.023) 0:01:01.756 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.025) 0:01:01.782 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1188 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.021) 0:01:01.803 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1199 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.026) 0:01:01.830 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1212 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.044) 0:01:01.874 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.037) 0:01:01.911 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.029) 0:01:01.941 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.026) 0:01:01.967 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1248 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.047) 0:01:02.015 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.094) 0:01:02.110 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.059) 0:01:02.169 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.037) 0:01:02.206 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1283 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.031) 0:01:02.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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1289 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.045) 0:01:02.284 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.026) 0:01:02.311 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1310 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.031) 0:01:02.342 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.040) 0:01:02.382 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1328 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.023) 0:01:02.406 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1337 Wednesday 17 January 2024 13:35:34 +0000 (0:00:00.046) 0:01:02.453 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Wednesday 17 January 2024 13:35:35 +0000 (0:00:00.359) 0:01:02.812 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1361 Wednesday 17 January 2024 13:35:35 +0000 (0:00:00.020) 0:01:02.833 ***** 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-conf1kup1avb/tests/tasks/tests_password.yml:12 Wednesday 17 January 2024 13:35:35 +0000 (0:00:00.020) 0:01:02.853 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 17 January 2024 13:35:35 +0000 (0:00:00.063) 0:01:02.917 ***** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 17 January 2024 13:35:35 +0000 (0:00:00.259) 0:01:03.176 ***** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 17 January 2024 13:35:36 +0000 (0:00:00.939) 0:01:04.115 ***** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Change the password with default settings. Should report Changed.] ******* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/tests_password.yml:15 Wednesday 17 January 2024 13:35:36 +0000 (0:00:00.284) 0:01:04.400 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 17 January 2024 13:35:36 +0000 (0:00:00.193) 0:01:04.593 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 17 January 2024 13:35:36 +0000 (0:00:00.032) 0:01:04.626 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 17 January 2024 13:35:36 +0000 (0:00:00.023) 0:01:04.650 ***** 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-conf1kup1avb/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-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 17 January 2024 13:35:36 +0000 (0:00:00.064) 0:01:04.715 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 17 January 2024 13:35:37 +0000 (0:00:00.039) 0:01:04.755 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 17 January 2024 13:35:37 +0000 (0:00:00.027) 0:01:04.782 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 17 January 2024 13:35:37 +0000 (0:00:00.026) 0:01:04.809 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 17 January 2024 13:35:37 +0000 (0:00:00.046) 0:01:04.855 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 17 January 2024 13:35:37 +0000 (0:00:00.021) 0:01:04.877 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 17 January 2024 13:35:37 +0000 (0:00:00.029) 0:01:04.906 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Wednesday 17 January 2024 13:35:37 +0000 (0:00:00.021) 0:01:04.928 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Wednesday 17 January 2024 13:35:37 +0000 (0:00:00.020) 0:01:04.948 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Wednesday 17 January 2024 13:35:37 +0000 (0:00:00.032) 0:01:04.980 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Wednesday 17 January 2024 13:35:37 +0000 (0:00:00.024) 0:01:05.005 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Wednesday 17 January 2024 13:35:37 +0000 (0:00:00.028) 0:01:05.034 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Wednesday 17 January 2024 13:35:37 +0000 (0:00:00.062) 0:01:05.097 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Wednesday 17 January 2024 13:35:37 +0000 (0:00:00.021) 0:01:05.118 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Wednesday 17 January 2024 13:35:37 +0000 (0:00:00.021) 0:01:05.139 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Wednesday 17 January 2024 13:35:37 +0000 (0:00:00.021) 0:01:05.161 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Wednesday 17 January 2024 13:35:38 +0000 (0:00:01.080) 0:01:06.241 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 17 January 2024 13:35:38 +0000 (0:00:00.059) 0:01:06.301 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Wednesday 17 January 2024 13:35:38 +0000 (0:00:00.023) 0:01:06.324 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Wednesday 17 January 2024 13:35:38 +0000 (0:00:00.047) 0:01:06.371 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Wednesday 17 January 2024 13:35:38 +0000 (0:00:00.053) 0:01:06.425 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Wednesday 17 January 2024 13:35:39 +0000 (0:00:00.360) 0:01:06.785 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Wednesday 17 January 2024 13:35:39 +0000 (0:00:00.028) 0:01:06.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 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Wednesday 17 January 2024 13:35:39 +0000 (0:00:00.042) 0:01:06.856 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Wednesday 17 January 2024 13:35:39 +0000 (0:00:00.022) 0:01:06.878 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Wednesday 17 January 2024 13:35:39 +0000 (0:00:00.023) 0:01:06.902 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 17 January 2024 13:35:39 +0000 (0:00:00.023) 0:01:06.926 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 17 January 2024 13:35:39 +0000 (0:00:00.019) 0:01:06.946 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 17 January 2024 13:35:39 +0000 (0:00:00.020) 0:01:06.966 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Wednesday 17 January 2024 13:35:39 +0000 (0:00:00.021) 0:01:06.988 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Wednesday 17 January 2024 13:35:39 +0000 (0:00:00.058) 0:01:07.047 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Wednesday 17 January 2024 13:35:39 +0000 (0:00:00.381) 0:01:07.428 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Wednesday 17 January 2024 13:35:39 +0000 (0:00:00.021) 0:01:07.450 ***** 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.006247", "end": "2024-01-17 13:35:39.835412", "rc": 0, "start": "2024-01-17 13:35:39.829165" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Wednesday 17 January 2024 13:35:39 +0000 (0:00:00.149) 0:01:07.599 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Wednesday 17 January 2024 13:35:40 +0000 (0:00:00.756) 0:01:08.355 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Wednesday 17 January 2024 13:35:40 +0000 (0:00:00.030) 0:01:08.385 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 17 January 2024 13:35:40 +0000 (0:00:00.050) 0:01:08.436 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Wednesday 17 January 2024 13:35:40 +0000 (0:00:00.021) 0:01:08.458 ***** skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Wednesday 17 January 2024 13:35:40 +0000 (0:00:00.040) 0:01:08.498 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 17 January 2024 13:35:40 +0000 (0:00:00.020) 0:01:08.519 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:381 Wednesday 17 January 2024 13:35:40 +0000 (0:00:00.022) 0:01:08.541 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 17 January 2024 13:35:41 +0000 (0:00:00.361) 0:01:08.903 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:08:00 UTC", "ActiveEnterTimestampMonotonic": "25939631", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service network.target basic.target systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:07:59 UTC", "AssertTimestampMonotonic": "24507187", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:07:59 UTC", "ConditionTimestampMonotonic": "24507186", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "885", "ExecMainStartTimestamp": "Wed 2024-01-17 13:07:59 UTC", "ExecMainStartTimestampMonotonic": "24507792", "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 13:07:59 UTC", "InactiveExitTimestampMonotonic": "24507836", "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": "885", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:08:00 UTC", "WatchdogTimestampMonotonic": "25939407", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:392 Wednesday 17 January 2024 13:35:41 +0000 (0:00:00.255) 0:01:09.158 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.100465", "end": "2024-01-17 13:35:41.635742", "rc": 0, "start": "2024-01-17 13:35:41.535277" } 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:402 Wednesday 17 January 2024 13:35:41 +0000 (0:00:00.242) 0:01:09.400 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:415 Wednesday 17 January 2024 13:35:41 +0000 (0:00:00.019) 0:01:09.420 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 17 January 2024 13:35:41 +0000 (0:00:00.018) 0:01:09.439 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 17 January 2024 13:35:41 +0000 (0:00:00.018) 0:01:09.458 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:441 Wednesday 17 January 2024 13:35:41 +0000 (0:00:00.148) 0:01:09.606 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:453 Wednesday 17 January 2024 13:35:42 +0000 (0:00:00.354) 0:01:09.960 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 17 January 2024 13:35:42 +0000 (0:00:00.035) 0:01:09.996 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:35:25 UTC", "ActiveEnterTimestampMonotonic": "1670078407", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice auditd.service network.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:35:25 UTC", "AssertTimestampMonotonic": "1670077398", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:35:25 UTC", "ConditionTimestampMonotonic": "1670077396", "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": "18346", "ExecMainStartTimestamp": "Wed 2024-01-17 13:35:25 UTC", "ExecMainStartTimestampMonotonic": "1670078349", "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 13:35:25 UTC", "InactiveExitTimestampMonotonic": "1670078407", "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": "18346", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:35:25 UTC", "WatchdogTimestampMonotonic": "1670078387", "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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 17 January 2024 13:35:42 +0000 (0:00:00.216) 0:01:10.213 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003350", "end": "2024-01-17 13:35:42.598421", "failed_when_result": false, "rc": 1, "start": "2024-01-17 13:35:42.595071" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 17 January 2024 13:35:42 +0000 (0:00:00.146) 0:01:10.359 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003301", "end": "2024-01-17 13:35:42.737625", "failed_when_result": false, "rc": 1, "start": "2024-01-17 13:35:42.734324" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 17 January 2024 13:35:42 +0000 (0:00:00.139) 0:01:10.499 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:457 Wednesday 17 January 2024 13:35:42 +0000 (0:00:00.060) 0:01:10.560 ***** 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": 7061, "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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 17 January 2024 13:35:44 +0000 (0:00:01.202) 0:01:11.762 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Wednesday 17 January 2024 13:35:44 +0000 (0:00:00.193) 0:01:11.955 ***** 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 13:35:25 UTC", "ActiveEnterTimestampMonotonic": "1670078407", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice auditd.service network.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:35:25 UTC", "AssertTimestampMonotonic": "1670077398", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:35:25 UTC", "ConditionTimestampMonotonic": "1670077396", "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": "18346", "ExecMainStartTimestamp": "Wed 2024-01-17 13:35:25 UTC", "ExecMainStartTimestampMonotonic": "1670078349", "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 13:35:25 UTC", "InactiveExitTimestampMonotonic": "1670078407", "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": "18346", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:35:25 UTC", "WatchdogTimestampMonotonic": "1670078387", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Wednesday 17 January 2024 13:35:44 +0000 (0:00:00.514) 0:01:12.470 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:493 Wednesday 17 January 2024 13:35:45 +0000 (0:00:00.992) 0:01:13.463 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:515 Wednesday 17 January 2024 13:35:49 +0000 (0:00:03.738) 0:01:17.202 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Wednesday 17 January 2024 13:35:49 +0000 (0:00:00.021) 0:01:17.223 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:541 Wednesday 17 January 2024 13:35:49 +0000 (0:00:00.020) 0:01:17.243 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:554 Wednesday 17 January 2024 13:35:49 +0000 (0:00:00.022) 0:01:17.265 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:561 Wednesday 17 January 2024 13:35:49 +0000 (0:00:00.021) 0:01:17.287 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 17 January 2024 13:35:49 +0000 (0:00:00.022) 0:01:17.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 : Configure the IP address setting] ************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:587 Wednesday 17 January 2024 13:35:49 +0000 (0:00:00.021) 0:01:17.331 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:594 Wednesday 17 January 2024 13:35:49 +0000 (0:00:00.047) 0:01:17.378 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:601 Wednesday 17 January 2024 13:35:49 +0000 (0:00:00.021) 0:01:17.400 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 17 January 2024 13:35:49 +0000 (0:00:00.021) 0:01:17.421 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 17 January 2024 13:35:49 +0000 (0:00:00.033) 0:01:17.454 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003484", "end": "2024-01-17 13:35:49.835501", "failed_when_result": false, "rc": 1, "start": "2024-01-17 13:35:49.832017" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 17 January 2024 13:35:49 +0000 (0:00:00.144) 0:01:17.598 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.052714", "end": "2024-01-17 13:35:50.032566", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:35:49.979852" } 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.201) 0:01:17.800 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.019) 0:01:17.819 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.018) 0:01:17.838 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.019) 0:01:17.858 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.020) 0:01:17.878 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:662 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.019) 0:01:17.898 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.019) 0:01:17.917 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.018) 0:01:17.935 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:683 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.018) 0:01:17.954 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:689 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.018) 0:01:17.973 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:707 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.018) 0:01:17.991 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:721 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.052) 0:01:18.043 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:726 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.020) 0:01:18.064 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.023) 0:01:18.087 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:753 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.020) 0:01:18.107 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:762 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.019) 0:01:18.127 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.021) 0:01:18.148 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:778 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.021) 0:01:18.169 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.023) 0:01:18.193 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:794 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.020) 0:01:18.214 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.021) 0:01:18.236 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.023) 0:01:18.259 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.022) 0:01:18.281 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:830 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.021) 0:01:18.303 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.020) 0:01:18.324 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:851 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.021) 0:01:18.345 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:856 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.021) 0:01:18.367 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:873 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.021) 0:01:18.388 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:878 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.021) 0:01:18.409 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:883 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.020) 0:01:18.430 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:889 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.057) 0:01:18.487 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.020) 0:01:18.507 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.019) 0:01:18.527 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:944 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.018) 0:01:18.545 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:954 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.018) 0:01:18.564 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:960 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.019) 0:01:18.583 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.018) 0:01:18.601 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:992 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.020) 0:01:18.622 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1012 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.018) 0:01:18.640 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1066 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.019) 0:01:18.660 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1073 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.019) 0:01:18.679 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.018) 0:01:18.698 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1091 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.021) 0:01:18.719 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1097 Wednesday 17 January 2024 13:35:50 +0000 (0:00:00.020) 0:01:18.739 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1105 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.025) 0:01:18.765 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.018) 0:01:18.783 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.018) 0:01:18.802 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1137 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.025) 0:01:18.827 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.018) 0:01:18.846 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.051) 0:01:18.898 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.020) 0:01:18.918 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1188 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.021) 0:01:18.940 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1199 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.020) 0:01:18.961 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1212 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.021) 0:01:18.982 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.023) 0:01:19.006 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.021) 0:01:19.027 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.022) 0:01:19.049 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1248 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.021) 0:01:19.070 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.021) 0:01:19.092 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.026) 0:01:19.119 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.018) 0:01:19.138 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1283 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.019) 0:01:19.157 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1289 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.020) 0:01:19.178 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.020) 0:01:19.198 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1310 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.023) 0:01:19.221 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.019) 0:01:19.240 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1328 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.019) 0:01:19.260 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1337 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.019) 0:01:19.280 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.202) 0:01:19.482 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:35:25 UTC", "ActiveEnterTimestampMonotonic": "1670078407", "ActiveExitTimestamp": "Wed 2024-01-17 13:35:44 UTC", "ActiveExitTimestampMonotonic": "1689463694", "ActiveState": "inactive", "After": "system.slice auditd.service network.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:35:25 UTC", "AssertTimestampMonotonic": "1670077398", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:35:25 UTC", "ConditionTimestampMonotonic": "1670077396", "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 13:35:44 UTC", "ExecMainExitTimestampMonotonic": "1689745451", "ExecMainPID": "18346", "ExecMainStartTimestamp": "Wed 2024-01-17 13:35:25 UTC", "ExecMainStartTimestampMonotonic": "1670078349", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 13:35:25 UTC] ; stop_time=[Wed 2024-01-17 13:35:44 UTC] ; pid=18346 ; 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 13:35:44 UTC", "InactiveEnterTimestampMonotonic": "1689745553", "InactiveExitTimestamp": "Wed 2024-01-17 13:35:25 UTC", "InactiveExitTimestampMonotonic": "1670078407", "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": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Wednesday 17 January 2024 13:35:51 +0000 (0:00:00.253) 0:01:19.736 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1361 Wednesday 17 January 2024 13:35:52 +0000 (0:00:00.021) 0:01:19.757 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/tests_password.yml:23 Wednesday 17 January 2024 13:35:52 +0000 (0:00:00.020) 0:01:19.778 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:8 Wednesday 17 January 2024 13:35:52 +0000 (0:00:00.113) 0:01:19.891 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:23 Wednesday 17 January 2024 13:35:52 +0000 (0:00:00.019) 0:01:19.911 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:35 Wednesday 17 January 2024 13:35:52 +0000 (0:00:00.018) 0:01:19.929 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:39 Wednesday 17 January 2024 13:35:52 +0000 (0:00:00.018) 0:01:19.948 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:55 Wednesday 17 January 2024 13:35:52 +0000 (0:00:00.020) 0:01:19.969 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:60 Wednesday 17 January 2024 13:35:52 +0000 (0:00:00.018) 0:01:19.987 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:70 Wednesday 17 January 2024 13:35:52 +0000 (0:00:00.017) 0:01:20.005 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:75 Wednesday 17 January 2024 13:35:52 +0000 (0:00:00.018) 0:01:20.024 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:85 Wednesday 17 January 2024 13:35:52 +0000 (0:00:00.018) 0:01:20.042 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 17 January 2024 13:35:52 +0000 (0:00:00.066) 0:01:20.108 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:35:51 UTC", "ActiveEnterTimestampMonotonic": "1697013247", "ActiveExitTimestamp": "Wed 2024-01-17 13:35:44 UTC", "ActiveExitTimestampMonotonic": "1689463694", "ActiveState": "active", "After": "system.slice auditd.service network.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:35:51 UTC", "AssertTimestampMonotonic": "1697012429", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:35:51 UTC", "ConditionTimestampMonotonic": "1697012427", "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": "19271", "ExecMainStartTimestamp": "Wed 2024-01-17 13:35:51 UTC", "ExecMainStartTimestampMonotonic": "1697013184", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 13:35:51 UTC] ; stop_time=[n/a] ; pid=19271 ; 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 13:35:44 UTC", "InactiveEnterTimestampMonotonic": "1689745553", "InactiveExitTimestamp": "Wed 2024-01-17 13:35:51 UTC", "InactiveExitTimestampMonotonic": "1697013247", "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": "19271", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:35:51 UTC", "WatchdogTimestampMonotonic": "1697013226", "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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 17 January 2024 13:35:52 +0000 (0:00:00.228) 0:01:20.336 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004346", "end": "2024-01-17 13:35:52.723423", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:35:52.719077" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 17 January 2024 13:35:52 +0000 (0:00:00.150) 0:01:20.487 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003502", "end": "2024-01-17 13:35:52.872609", "failed_when_result": false, "rc": 1, "start": "2024-01-17 13:35:52.869107" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 17 January 2024 13:35:52 +0000 (0:00:00.147) 0:01:20.634 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:93 Wednesday 17 January 2024 13:35:52 +0000 (0:00:00.027) 0:01:20.662 ***** 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": 6532, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:99 Wednesday 17 January 2024 13:35:54 +0000 (0:00:01.147) 0:01:21.810 ***** 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.566739", "end": "2024-01-17 13:35:55.764440", "rc": 0, "start": "2024-01-17 13:35:54.197701" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:113 Wednesday 17 January 2024 13:35:55 +0000 (0:00:01.723) 0:01:23.533 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:117 Wednesday 17 January 2024 13:35:55 +0000 (0:00:00.064) 0:01:23.598 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:124 Wednesday 17 January 2024 13:35:55 +0000 (0:00:00.022) 0:01:23.620 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:135 Wednesday 17 January 2024 13:35:55 +0000 (0:00:00.021) 0:01:23.641 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:140 Wednesday 17 January 2024 13:35:55 +0000 (0:00:00.020) 0:01:23.662 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:145 Wednesday 17 January 2024 13:35:55 +0000 (0:00:00.021) 0:01:23.683 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:151 Wednesday 17 January 2024 13:35:55 +0000 (0:00:00.030) 0:01:23.714 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:157 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.026) 0:01:23.740 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:167 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.023) 0:01:23.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:178 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.026) 0:01:23.790 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:190 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.022) 0:01:23.813 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:198 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.025) 0:01:23.838 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:208 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.022) 0:01:23.861 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:213 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.022) 0:01:23.883 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:221 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.022) 0:01:23.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the IP address setting.] ****************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/tests_password.yml:28 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.022) 0:01:23.929 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.318) 0:01:24.248 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.034) 0:01:24.283 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.026) 0:01:24.309 ***** 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-conf1kup1avb/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-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.036) 0:01:24.346 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.020) 0:01:24.366 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.021) 0:01:24.387 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.027) 0:01:24.415 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.031) 0:01:24.446 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.026) 0:01:24.473 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.028) 0:01:24.501 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.030) 0:01:24.532 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.029) 0:01:24.562 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.084) 0:01:24.646 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.036) 0:01:24.682 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.028) 0:01:24.710 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Wednesday 17 January 2024 13:35:56 +0000 (0:00:00.021) 0:01:24.731 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Wednesday 17 January 2024 13:35:57 +0000 (0:00:00.020) 0:01:24.752 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Wednesday 17 January 2024 13:35:57 +0000 (0:00:00.021) 0:01:24.774 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Wednesday 17 January 2024 13:35:57 +0000 (0:00:00.021) 0:01:24.795 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Wednesday 17 January 2024 13:35:58 +0000 (0:00:01.016) 0:01:25.812 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 17 January 2024 13:35:58 +0000 (0:00:00.069) 0:01:25.882 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Wednesday 17 January 2024 13:35:58 +0000 (0:00:00.029) 0:01:25.911 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Wednesday 17 January 2024 13:35:58 +0000 (0:00:00.036) 0:01:25.948 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Wednesday 17 January 2024 13:35:58 +0000 (0:00:00.042) 0:01:25.990 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Wednesday 17 January 2024 13:35:58 +0000 (0:00:00.351) 0:01:26.342 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Wednesday 17 January 2024 13:35:58 +0000 (0:00:00.021) 0:01:26.363 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Wednesday 17 January 2024 13:35:58 +0000 (0:00:00.026) 0:01:26.389 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Wednesday 17 January 2024 13:35:58 +0000 (0:00:00.025) 0:01:26.415 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Wednesday 17 January 2024 13:35:58 +0000 (0:00:00.033) 0:01:26.448 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 17 January 2024 13:35:58 +0000 (0:00:00.024) 0:01:26.472 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 17 January 2024 13:35:58 +0000 (0:00:00.022) 0:01:26.495 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 17 January 2024 13:35:58 +0000 (0:00:00.021) 0:01:26.517 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Wednesday 17 January 2024 13:35:58 +0000 (0:00:00.020) 0:01:26.537 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Wednesday 17 January 2024 13:35:58 +0000 (0:00:00.022) 0:01:26.559 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Wednesday 17 January 2024 13:35:59 +0000 (0:00:00.360) 0:01:26.920 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Wednesday 17 January 2024 13:35:59 +0000 (0:00:00.020) 0:01:26.941 ***** 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.005766", "end": "2024-01-17 13:35:59.326777", "rc": 0, "start": "2024-01-17 13:35:59.321011" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Wednesday 17 January 2024 13:35:59 +0000 (0:00:00.149) 0:01:27.090 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Wednesday 17 January 2024 13:36:00 +0000 (0:00:00.762) 0:01:27.853 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Wednesday 17 January 2024 13:36:00 +0000 (0:00:00.029) 0:01:27.883 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 17 January 2024 13:36:00 +0000 (0:00:00.024) 0:01:27.907 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Wednesday 17 January 2024 13:36:00 +0000 (0:00:00.034) 0:01:27.941 ***** skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Wednesday 17 January 2024 13:36:00 +0000 (0:00:00.026) 0:01:27.968 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 17 January 2024 13:36:00 +0000 (0:00:00.022) 0:01:27.990 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:381 Wednesday 17 January 2024 13:36:00 +0000 (0:00:00.021) 0:01:28.012 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 17 January 2024 13:36:00 +0000 (0:00:00.377) 0:01:28.389 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:08:00 UTC", "ActiveEnterTimestampMonotonic": "25939631", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service network.target basic.target systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:07:59 UTC", "AssertTimestampMonotonic": "24507187", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:07:59 UTC", "ConditionTimestampMonotonic": "24507186", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "885", "ExecMainStartTimestamp": "Wed 2024-01-17 13:07:59 UTC", "ExecMainStartTimestampMonotonic": "24507792", "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 13:07:59 UTC", "InactiveExitTimestampMonotonic": "24507836", "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": "885", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:08:00 UTC", "WatchdogTimestampMonotonic": "25939407", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:392 Wednesday 17 January 2024 13:36:00 +0000 (0:00:00.240) 0:01:28.629 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.096934", "end": "2024-01-17 13:36:01.101957", "rc": 0, "start": "2024-01-17 13:36:01.005023" } 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:402 Wednesday 17 January 2024 13:36:01 +0000 (0:00:00.252) 0:01:28.882 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:415 Wednesday 17 January 2024 13:36:01 +0000 (0:00:00.036) 0:01:28.919 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 17 January 2024 13:36:01 +0000 (0:00:00.032) 0:01:28.951 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 17 January 2024 13:36:01 +0000 (0:00:00.020) 0:01:28.972 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:441 Wednesday 17 January 2024 13:36:01 +0000 (0:00:00.169) 0:01:29.141 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:453 Wednesday 17 January 2024 13:36:01 +0000 (0:00:00.365) 0:01:29.506 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:457 Wednesday 17 January 2024 13:36:01 +0000 (0:00:00.022) 0:01:29.529 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 17 January 2024 13:36:01 +0000 (0:00:00.022) 0:01:29.551 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Wednesday 17 January 2024 13:36:01 +0000 (0:00:00.022) 0:01:29.573 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Wednesday 17 January 2024 13:36:01 +0000 (0:00:00.022) 0:01:29.596 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:493 Wednesday 17 January 2024 13:36:01 +0000 (0:00:00.028) 0:01:29.625 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Pre-input SQL script files to SQL Server] ***** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:515 Wednesday 17 January 2024 13:36:01 +0000 (0:00:00.035) 0:01:29.660 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Wednesday 17 January 2024 13:36:01 +0000 (0:00:00.024) 0:01:29.685 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:541 Wednesday 17 January 2024 13:36:01 +0000 (0:00:00.024) 0:01:29.709 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:554 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.033) 0:01:29.743 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:561 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.032) 0:01:29.775 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.027) 0:01:29.802 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:587 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.024) 0:01:29.826 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.042) 0:01:29.869 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003770", "end": "2024-01-17 13:36:02.265890", "failed_when_result": false, "rc": 1, "start": "2024-01-17 13:36:02.262120" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.160) 0:01:30.029 ***** 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.052243", "end": "2024-01-17 13:36:02.464938", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:36:02.412695" } 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.276) 0:01:30.306 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:594 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.038) 0:01:30.345 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:601 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.024) 0:01:30.370 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.022) 0:01:30.392 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.036) 0:01:30.428 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003472", "end": "2024-01-17 13:36:02.808362", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:36:02.804890" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.146) 0:01:30.574 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.026) 0:01:30.601 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.023) 0:01:30.624 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.022) 0:01:30.647 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.022) 0:01:30.669 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.040) 0:01:30.710 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:662 Wednesday 17 January 2024 13:36:02 +0000 (0:00:00.020) 0:01:30.730 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.020) 0:01:30.751 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.021) 0:01:30.773 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:683 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.024) 0:01:30.798 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:689 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.020) 0:01:30.819 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:707 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.020) 0:01:30.839 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:721 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.073) 0:01:30.912 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:726 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.020) 0:01:30.933 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.024) 0:01:30.957 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:753 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.021) 0:01:30.979 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:762 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.030) 0:01:31.009 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.026) 0:01:31.036 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:778 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.037) 0:01:31.074 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.022) 0:01:31.096 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:794 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.020) 0:01:31.117 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.022) 0:01:31.139 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.024) 0:01:31.164 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.030) 0:01:31.194 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:830 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.024) 0:01:31.219 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.022) 0:01:31.241 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:851 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.022) 0:01:31.263 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:856 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.021) 0:01:31.285 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:873 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.021) 0:01:31.307 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:878 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.020) 0:01:31.327 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:883 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.027) 0:01:31.355 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:889 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.079) 0:01:31.434 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.029) 0:01:31.464 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.022) 0:01:31.487 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:944 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.020) 0:01:31.508 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:954 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.021) 0:01:31.530 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:960 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.021) 0:01:31.551 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.020) 0:01:31.571 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:992 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.023) 0:01:31.595 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1012 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.019) 0:01:31.614 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1066 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.021) 0:01:31.636 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1073 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.025) 0:01:31.661 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.021) 0:01:31.683 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1091 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.021) 0:01:31.704 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1097 Wednesday 17 January 2024 13:36:03 +0000 (0:00:00.020) 0:01:31.725 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1105 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.025) 0:01:31.751 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.019) 0:01:31.770 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.019) 0:01:31.790 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1137 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.025) 0:01:31.815 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.020) 0:01:31.836 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.097) 0:01:31.934 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.026) 0:01:31.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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1188 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.023) 0:01:31.984 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1199 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.021) 0:01:32.005 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1212 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.024) 0:01:32.030 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.021) 0:01:32.052 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.021) 0:01:32.073 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.021) 0:01:32.094 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1248 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.020) 0:01:32.115 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.021) 0:01:32.136 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.028) 0:01:32.165 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.022) 0:01:32.187 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1283 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.022) 0:01:32.210 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1289 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.020) 0:01:32.230 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.021) 0:01:32.252 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1310 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.025) 0:01:32.277 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.022) 0:01:32.299 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1328 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.021) 0:01:32.321 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1337 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.021) 0:01:32.343 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 17 January 2024 13:36:04 +0000 (0:00:00.291) 0:01:32.635 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:35:51 UTC", "ActiveEnterTimestampMonotonic": "1697013247", "ActiveExitTimestamp": "Wed 2024-01-17 13:35:44 UTC", "ActiveExitTimestampMonotonic": "1689463694", "ActiveState": "active", "After": "system.slice auditd.service network.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:35:51 UTC", "AssertTimestampMonotonic": "1697012429", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:35:51 UTC", "ConditionTimestampMonotonic": "1697012427", "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": "19271", "ExecMainStartTimestamp": "Wed 2024-01-17 13:35:51 UTC", "ExecMainStartTimestampMonotonic": "1697013184", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 13:35:51 UTC] ; stop_time=[n/a] ; pid=19271 ; 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 13:35:44 UTC", "InactiveEnterTimestampMonotonic": "1689745553", "InactiveExitTimestamp": "Wed 2024-01-17 13:35:51 UTC", "InactiveExitTimestampMonotonic": "1697013247", "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": "19271", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:35:51 UTC", "WatchdogTimestampMonotonic": "1697013226", "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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Wednesday 17 January 2024 13:36:05 +0000 (0:00:00.557) 0:01:33.192 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1361 Wednesday 17 January 2024 13:36:05 +0000 (0:00:00.022) 0:01:33.215 ***** 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-conf1kup1avb/tests/tasks/tests_password.yml:34 Wednesday 17 January 2024 13:36:05 +0000 (0:00:00.021) 0:01:33.237 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 17 January 2024 13:36:05 +0000 (0:00:00.386) 0:01:33.623 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 17 January 2024 13:36:05 +0000 (0:00:00.035) 0:01:33.659 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 17 January 2024 13:36:05 +0000 (0:00:00.026) 0:01:33.685 ***** 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-conf1kup1avb/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-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 17 January 2024 13:36:05 +0000 (0:00:00.034) 0:01:33.720 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 17 January 2024 13:36:06 +0000 (0:00:00.020) 0:01:33.741 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 17 January 2024 13:36:06 +0000 (0:00:00.021) 0:01:33.762 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 17 January 2024 13:36:06 +0000 (0:00:00.021) 0:01:33.783 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 17 January 2024 13:36:06 +0000 (0:00:00.021) 0:01:33.805 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 17 January 2024 13:36:06 +0000 (0:00:00.028) 0:01:33.833 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 17 January 2024 13:36:06 +0000 (0:00:00.020) 0:01:33.853 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Wednesday 17 January 2024 13:36:06 +0000 (0:00:00.021) 0:01:33.875 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Wednesday 17 January 2024 13:36:06 +0000 (0:00:00.021) 0:01:33.896 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Wednesday 17 January 2024 13:36:06 +0000 (0:00:00.021) 0:01:33.917 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Wednesday 17 January 2024 13:36:06 +0000 (0:00:00.023) 0:01:33.941 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Wednesday 17 January 2024 13:36:06 +0000 (0:00:00.021) 0:01:33.962 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Wednesday 17 January 2024 13:36:06 +0000 (0:00:00.019) 0:01:33.981 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Wednesday 17 January 2024 13:36:06 +0000 (0:00:00.019) 0:01:34.000 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Wednesday 17 January 2024 13:36:06 +0000 (0:00:00.096) 0:01:34.096 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Wednesday 17 January 2024 13:36:06 +0000 (0:00:00.021) 0:01:34.118 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Wednesday 17 January 2024 13:36:07 +0000 (0:00:01.202) 0:01:35.321 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 17 January 2024 13:36:07 +0000 (0:00:00.056) 0:01:35.378 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Wednesday 17 January 2024 13:36:07 +0000 (0:00:00.020) 0:01:35.398 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Wednesday 17 January 2024 13:36:07 +0000 (0:00:00.022) 0:01:35.420 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Wednesday 17 January 2024 13:36:07 +0000 (0:00:00.039) 0:01:35.459 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Wednesday 17 January 2024 13:36:08 +0000 (0:00:00.380) 0:01:35.839 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Wednesday 17 January 2024 13:36:08 +0000 (0:00:00.023) 0:01:35.863 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Wednesday 17 January 2024 13:36:08 +0000 (0:00:00.023) 0:01:35.886 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Wednesday 17 January 2024 13:36:08 +0000 (0:00:00.021) 0:01:35.907 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Wednesday 17 January 2024 13:36:08 +0000 (0:00:00.082) 0:01:35.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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 17 January 2024 13:36:08 +0000 (0:00:00.021) 0:01:36.012 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 17 January 2024 13:36:08 +0000 (0:00:00.021) 0:01:36.033 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 17 January 2024 13:36:08 +0000 (0:00:00.018) 0:01:36.052 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Wednesday 17 January 2024 13:36:08 +0000 (0:00:00.020) 0:01:36.072 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Wednesday 17 January 2024 13:36:08 +0000 (0:00:00.020) 0:01:36.092 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Wednesday 17 January 2024 13:36:08 +0000 (0:00:00.454) 0:01:36.547 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Wednesday 17 January 2024 13:36:08 +0000 (0:00:00.020) 0:01:36.568 ***** 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.006912", "end": "2024-01-17 13:36:08.964200", "rc": 0, "start": "2024-01-17 13:36:08.957288" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Wednesday 17 January 2024 13:36:08 +0000 (0:00:00.170) 0:01:36.738 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Wednesday 17 January 2024 13:36:09 +0000 (0:00:00.746) 0:01:37.484 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Wednesday 17 January 2024 13:36:09 +0000 (0:00:00.030) 0:01:37.515 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 17 January 2024 13:36:09 +0000 (0:00:00.020) 0:01:37.535 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Wednesday 17 January 2024 13:36:09 +0000 (0:00:00.081) 0:01:37.617 ***** skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Wednesday 17 January 2024 13:36:09 +0000 (0:00:00.026) 0:01:37.644 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 17 January 2024 13:36:09 +0000 (0:00:00.021) 0:01:37.665 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:381 Wednesday 17 January 2024 13:36:09 +0000 (0:00:00.019) 0:01:37.684 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 17 January 2024 13:36:10 +0000 (0:00:00.354) 0:01:38.039 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:08:00 UTC", "ActiveEnterTimestampMonotonic": "25939631", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service network.target basic.target systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:07:59 UTC", "AssertTimestampMonotonic": "24507187", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:07:59 UTC", "ConditionTimestampMonotonic": "24507186", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "885", "ExecMainStartTimestamp": "Wed 2024-01-17 13:07:59 UTC", "ExecMainStartTimestampMonotonic": "24507792", "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 13:07:59 UTC", "InactiveExitTimestampMonotonic": "24507836", "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": "885", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:08:00 UTC", "WatchdogTimestampMonotonic": "25939407", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:392 Wednesday 17 January 2024 13:36:10 +0000 (0:00:00.217) 0:01:38.256 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.093358", "end": "2024-01-17 13:36:10.720817", "rc": 0, "start": "2024-01-17 13:36:10.627459" } 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:402 Wednesday 17 January 2024 13:36:10 +0000 (0:00:00.228) 0:01:38.485 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:415 Wednesday 17 January 2024 13:36:10 +0000 (0:00:00.026) 0:01:38.512 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 17 January 2024 13:36:10 +0000 (0:00:00.023) 0:01:38.535 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 17 January 2024 13:36:10 +0000 (0:00:00.023) 0:01:38.559 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:441 Wednesday 17 January 2024 13:36:10 +0000 (0:00:00.156) 0:01:38.716 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:453 Wednesday 17 January 2024 13:36:11 +0000 (0:00:00.356) 0:01:39.072 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 17 January 2024 13:36:11 +0000 (0:00:00.037) 0:01:39.110 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:36:05 UTC", "ActiveEnterTimestampMonotonic": "1710470051", "ActiveExitTimestamp": "Wed 2024-01-17 13:36:05 UTC", "ActiveExitTimestampMonotonic": "1710151960", "ActiveState": "active", "After": "system.slice auditd.service network.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:36:05 UTC", "AssertTimestampMonotonic": "1710469364", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:36:05 UTC", "ConditionTimestampMonotonic": "1710469362", "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": "19774", "ExecMainStartTimestamp": "Wed 2024-01-17 13:36:05 UTC", "ExecMainStartTimestampMonotonic": "1710469965", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 13:36:05 UTC] ; stop_time=[n/a] ; pid=19774 ; 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 13:36:05 UTC", "InactiveEnterTimestampMonotonic": "1710468410", "InactiveExitTimestamp": "Wed 2024-01-17 13:36:05 UTC", "InactiveExitTimestampMonotonic": "1710470051", "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": "19774", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:36:05 UTC", "WatchdogTimestampMonotonic": "1710470026", "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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 17 January 2024 13:36:11 +0000 (0:00:00.294) 0:01:39.405 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003397", "end": "2024-01-17 13:36:11.785954", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:36:11.782557" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 17 January 2024 13:36:11 +0000 (0:00:00.144) 0:01:39.550 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003500", "end": "2024-01-17 13:36:11.931007", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:36:11.927507" } 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 17 January 2024 13:36:11 +0000 (0:00:00.143) 0:01:39.694 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:457 Wednesday 17 January 2024 13:36:11 +0000 (0:00:00.029) 0:01:39.723 ***** 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": 6187, "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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 17 January 2024 13:36:13 +0000 (0:00:01.147) 0:01:40.870 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Wednesday 17 January 2024 13:36:13 +0000 (0:00:00.178) 0:01:41.049 ***** 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 13:36:05 UTC", "ActiveEnterTimestampMonotonic": "1710470051", "ActiveExitTimestamp": "Wed 2024-01-17 13:36:05 UTC", "ActiveExitTimestampMonotonic": "1710151960", "ActiveState": "active", "After": "system.slice auditd.service network.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:36:05 UTC", "AssertTimestampMonotonic": "1710469364", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:36:05 UTC", "ConditionTimestampMonotonic": "1710469362", "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": "19774", "ExecMainStartTimestamp": "Wed 2024-01-17 13:36:05 UTC", "ExecMainStartTimestampMonotonic": "1710469965", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 13:36:05 UTC] ; stop_time=[n/a] ; pid=19774 ; 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 13:36:05 UTC", "InactiveEnterTimestampMonotonic": "1710468410", "InactiveExitTimestamp": "Wed 2024-01-17 13:36:05 UTC", "InactiveExitTimestampMonotonic": "1710470051", "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": "19774", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:36:05 UTC", "WatchdogTimestampMonotonic": "1710470026", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Wednesday 17 January 2024 13:36:19 +0000 (0:00:05.845) 0:01:46.894 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:493 Wednesday 17 January 2024 13:36:20 +0000 (0:00:00.982) 0:01:47.877 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:515 Wednesday 17 January 2024 13:36:23 +0000 (0:00:03.790) 0:01:51.668 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.075) 0:01:51.743 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:541 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.020) 0:01:51.764 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:554 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.020) 0:01:51.785 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:561 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.019) 0:01:51.805 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.021) 0:01:51.827 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:587 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.020) 0:01:51.847 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:594 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.018) 0:01:51.866 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:601 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.020) 0:01:51.887 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.020) 0:01:51.907 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.035) 0:01:51.943 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003474", "end": "2024-01-17 13:36:24.323732", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:36:24.320258" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.145) 0:01:52.088 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.027) 0:01:52.115 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.022) 0:01:52.138 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.020) 0:01:52.159 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.023) 0:01:52.183 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.022) 0:01:52.205 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:662 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.021) 0:01:52.226 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.021) 0:01:52.248 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.078) 0:01:52.326 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:683 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.022) 0:01:52.349 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:689 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.021) 0:01:52.370 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:707 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.023) 0:01:52.393 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:721 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.024) 0:01:52.417 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:726 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.022) 0:01:52.440 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.025) 0:01:52.465 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:753 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.021) 0:01:52.487 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:762 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.021) 0:01:52.509 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.019) 0:01:52.529 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:778 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.019) 0:01:52.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.019) 0:01:52.568 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:794 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.019) 0:01:52.587 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.019) 0:01:52.607 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.021) 0:01:52.628 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.023) 0:01:52.651 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:830 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.021) 0:01:52.673 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.022) 0:01:52.696 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:851 Wednesday 17 January 2024 13:36:24 +0000 (0:00:00.022) 0:01:52.718 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:856 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.101) 0:01:52.819 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:873 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.021) 0:01:52.841 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:878 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.019) 0:01:52.860 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:883 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.019) 0:01:52.879 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:889 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.019) 0:01:52.898 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.019) 0:01:52.918 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.019) 0:01:52.938 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:944 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.018) 0:01:52.957 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:954 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.019) 0:01:52.977 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:960 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.018) 0:01:52.996 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.019) 0:01:53.015 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:992 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.019) 0:01:53.035 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1012 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.020) 0:01:53.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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1066 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.022) 0:01:53.078 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1073 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.021) 0:01:53.100 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.023) 0:01:53.123 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1091 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.021) 0:01:53.144 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1097 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.021) 0:01:53.166 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1105 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.027) 0:01:53.194 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.079) 0:01:53.273 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.021) 0:01:53.295 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1137 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.026) 0:01:53.322 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.021) 0:01:53.343 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.020) 0:01:53.363 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.019) 0:01:53.383 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1188 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.019) 0:01:53.403 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1199 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.020) 0:01:53.423 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1212 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.020) 0:01:53.444 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.019) 0:01:53.464 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.019) 0:01:53.484 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.021) 0:01:53.505 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1248 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.021) 0:01:53.527 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.021) 0:01:53.549 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.027) 0:01:53.577 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.021) 0:01:53.598 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1283 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.020) 0:01:53.619 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1289 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.021) 0:01:53.640 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Wednesday 17 January 2024 13:36:25 +0000 (0:00:00.021) 0:01:53.662 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1310 Wednesday 17 January 2024 13:36:26 +0000 (0:00:00.125) 0:01:53.787 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Wednesday 17 January 2024 13:36:26 +0000 (0:00:00.029) 0:01:53.816 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1328 Wednesday 17 January 2024 13:36:26 +0000 (0:00:00.035) 0:01:53.852 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1337 Wednesday 17 January 2024 13:36:26 +0000 (0:00:00.030) 0:01:53.882 ***** ok: [sut] => { "changed": false } RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 17 January 2024 13:36:26 +0000 (0:00:00.171) 0:01:54.053 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:36:05 UTC", "ActiveEnterTimestampMonotonic": "1710470051", "ActiveExitTimestamp": "Wed 2024-01-17 13:36:13 UTC", "ActiveExitTimestampMonotonic": "1718558731", "ActiveState": "inactive", "After": "system.slice auditd.service network.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:36:05 UTC", "AssertTimestampMonotonic": "1710469364", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:36:05 UTC", "ConditionTimestampMonotonic": "1710469362", "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 13:36:19 UTC", "ExecMainExitTimestampMonotonic": "1724170910", "ExecMainPID": "19774", "ExecMainStartTimestamp": "Wed 2024-01-17 13:36:05 UTC", "ExecMainStartTimestampMonotonic": "1710469965", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 13:36:05 UTC] ; stop_time=[Wed 2024-01-17 13:36:19 UTC] ; pid=19774 ; 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 13:36:19 UTC", "InactiveEnterTimestampMonotonic": "1724171039", "InactiveExitTimestamp": "Wed 2024-01-17 13:36:05 UTC", "InactiveExitTimestampMonotonic": "1710470051", "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": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Wednesday 17 January 2024 13:36:26 +0000 (0:00:00.247) 0:01:54.301 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1361 Wednesday 17 January 2024 13:36:26 +0000 (0:00:00.034) 0:01:54.335 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/tests_password.yml:42 Wednesday 17 January 2024 13:36:26 +0000 (0:00:00.026) 0:01:54.361 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:8 Wednesday 17 January 2024 13:36:26 +0000 (0:00:00.201) 0:01:54.563 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:23 Wednesday 17 January 2024 13:36:26 +0000 (0:00:00.023) 0:01:54.586 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:35 Wednesday 17 January 2024 13:36:26 +0000 (0:00:00.113) 0:01:54.700 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:39 Wednesday 17 January 2024 13:36:26 +0000 (0:00:00.023) 0:01:54.723 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:55 Wednesday 17 January 2024 13:36:27 +0000 (0:00:00.023) 0:01:54.746 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:60 Wednesday 17 January 2024 13:36:27 +0000 (0:00:00.021) 0:01:54.768 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:70 Wednesday 17 January 2024 13:36:27 +0000 (0:00:00.020) 0:01:54.788 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:75 Wednesday 17 January 2024 13:36:27 +0000 (0:00:00.020) 0:01:54.809 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:85 Wednesday 17 January 2024 13:36:27 +0000 (0:00:00.019) 0:01:54.829 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 17 January 2024 13:36:27 +0000 (0:00:00.035) 0:01:54.865 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:36:26 UTC", "ActiveEnterTimestampMonotonic": "1731570541", "ActiveExitTimestamp": "Wed 2024-01-17 13:36:13 UTC", "ActiveExitTimestampMonotonic": "1718558731", "ActiveState": "active", "After": "system.slice auditd.service network.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:36:26 UTC", "AssertTimestampMonotonic": "1731569853", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:36:26 UTC", "ConditionTimestampMonotonic": "1731569852", "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": "20472", "ExecMainStartTimestamp": "Wed 2024-01-17 13:36:26 UTC", "ExecMainStartTimestampMonotonic": "1731570484", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 13:36:26 UTC] ; stop_time=[n/a] ; pid=20472 ; 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 13:36:19 UTC", "InactiveEnterTimestampMonotonic": "1724171039", "InactiveExitTimestamp": "Wed 2024-01-17 13:36:26 UTC", "InactiveExitTimestampMonotonic": "1731570541", "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": "20472", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:36:26 UTC", "WatchdogTimestampMonotonic": "1731570520", "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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 17 January 2024 13:36:27 +0000 (0:00:00.230) 0:01:55.095 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004108", "end": "2024-01-17 13:36:27.480081", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:36:27.475973" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 17 January 2024 13:36:27 +0000 (0:00:00.148) 0:01:55.243 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003644", "end": "2024-01-17 13:36:27.632488", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:36:27.628844" } 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 17 January 2024 13:36:27 +0000 (0:00:00.154) 0:01:55.398 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:93 Wednesday 17 January 2024 13:36:27 +0000 (0:00:00.027) 0:01:55.426 ***** ok: [sut] => { "changed": false, "elapsed": 2, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6858, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:99 Wednesday 17 January 2024 13:36:29 +0000 (0:00:02.251) 0:01:57.677 ***** 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:00.029951", "end": "2024-01-17 13:36:30.091096", "rc": 0, "start": "2024-01-17 13:36:30.061145" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:113 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.180) 0:01:57.857 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:117 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.022) 0:01:57.880 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:124 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.020) 0:01:57.900 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:135 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.019) 0:01:57.919 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:140 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.019) 0:01:57.939 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:145 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.020) 0:01:57.960 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:151 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.019) 0:01:57.979 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:157 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.019) 0:01:57.999 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:167 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.018) 0:01:58.018 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:178 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.019) 0:01:58.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:190 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.019) 0:01:58.057 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:198 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.018) 0:01:58.075 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:208 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.019) 0:01:58.094 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:213 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.021) 0:01:58.116 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:221 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.020) 0:01:58.136 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the TCP port setting.] ******************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/tests_password.yml:47 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.019) 0:01:58.156 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.479) 0:01:58.635 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.032) 0:01:58.668 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.025) 0:01:58.693 ***** 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-conf1kup1avb/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-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 17 January 2024 13:36:30 +0000 (0:00:00.034) 0:01:58.727 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 17 January 2024 13:36:31 +0000 (0:00:00.094) 0:01:58.822 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 17 January 2024 13:36:31 +0000 (0:00:00.021) 0:01:58.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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 17 January 2024 13:36:31 +0000 (0:00:00.021) 0:01:58.864 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 17 January 2024 13:36:31 +0000 (0:00:00.020) 0:01:58.884 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 17 January 2024 13:36:31 +0000 (0:00:00.019) 0:01:58.904 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 17 January 2024 13:36:31 +0000 (0:00:00.019) 0:01:58.924 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Wednesday 17 January 2024 13:36:31 +0000 (0:00:00.018) 0:01:58.943 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Wednesday 17 January 2024 13:36:31 +0000 (0:00:00.020) 0:01:58.964 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Wednesday 17 January 2024 13:36:31 +0000 (0:00:00.020) 0:01:58.984 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Wednesday 17 January 2024 13:36:31 +0000 (0:00:00.024) 0:01:59.009 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Wednesday 17 January 2024 13:36:31 +0000 (0:00:00.020) 0:01:59.030 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Wednesday 17 January 2024 13:36:31 +0000 (0:00:00.019) 0:01:59.049 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Wednesday 17 January 2024 13:36:31 +0000 (0:00:00.019) 0:01:59.069 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Wednesday 17 January 2024 13:36:31 +0000 (0:00:00.019) 0:01:59.089 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Wednesday 17 January 2024 13:36:31 +0000 (0:00:00.020) 0:01:59.109 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Wednesday 17 January 2024 13:36:32 +0000 (0:00:01.070) 0:02:00.180 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 17 January 2024 13:36:32 +0000 (0:00:00.056) 0:02:00.237 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Wednesday 17 January 2024 13:36:32 +0000 (0:00:00.020) 0:02:00.257 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Wednesday 17 January 2024 13:36:32 +0000 (0:00:00.021) 0:02:00.279 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Wednesday 17 January 2024 13:36:32 +0000 (0:00:00.039) 0:02:00.319 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Wednesday 17 January 2024 13:36:32 +0000 (0:00:00.340) 0:02:00.660 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Wednesday 17 January 2024 13:36:32 +0000 (0:00:00.022) 0:02:00.682 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Wednesday 17 January 2024 13:36:32 +0000 (0:00:00.023) 0:02:00.705 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Wednesday 17 January 2024 13:36:32 +0000 (0:00:00.021) 0:02:00.727 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Wednesday 17 January 2024 13:36:33 +0000 (0:00:00.025) 0:02:00.752 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 17 January 2024 13:36:33 +0000 (0:00:00.020) 0:02:00.773 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 17 January 2024 13:36:33 +0000 (0:00:00.022) 0:02:00.796 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 17 January 2024 13:36:33 +0000 (0:00:00.022) 0:02:00.818 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Wednesday 17 January 2024 13:36:33 +0000 (0:00:00.021) 0:02:00.840 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Wednesday 17 January 2024 13:36:33 +0000 (0:00:00.020) 0:02:00.860 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Wednesday 17 January 2024 13:36:33 +0000 (0:00:00.385) 0:02:01.246 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Wednesday 17 January 2024 13:36:33 +0000 (0:00:00.021) 0:02:01.268 ***** 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.005924", "end": "2024-01-17 13:36:33.649721", "rc": 0, "start": "2024-01-17 13:36:33.643797" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Wednesday 17 January 2024 13:36:33 +0000 (0:00:00.146) 0:02:01.414 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Wednesday 17 January 2024 13:36:34 +0000 (0:00:00.731) 0:02:02.145 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Wednesday 17 January 2024 13:36:34 +0000 (0:00:00.028) 0:02:02.174 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 17 January 2024 13:36:34 +0000 (0:00:00.021) 0:02:02.195 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Wednesday 17 January 2024 13:36:34 +0000 (0:00:00.019) 0:02:02.215 ***** skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Wednesday 17 January 2024 13:36:34 +0000 (0:00:00.025) 0:02:02.240 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 17 January 2024 13:36:34 +0000 (0:00:00.020) 0:02:02.261 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:381 Wednesday 17 January 2024 13:36:34 +0000 (0:00:00.021) 0:02:02.282 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 17 January 2024 13:36:34 +0000 (0:00:00.359) 0:02:02.642 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:08:00 UTC", "ActiveEnterTimestampMonotonic": "25939631", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service network.target basic.target systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:07:59 UTC", "AssertTimestampMonotonic": "24507187", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:07:59 UTC", "ConditionTimestampMonotonic": "24507186", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "885", "ExecMainStartTimestamp": "Wed 2024-01-17 13:07:59 UTC", "ExecMainStartTimestampMonotonic": "24507792", "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 13:07:59 UTC", "InactiveExitTimestampMonotonic": "24507836", "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": "885", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:08:00 UTC", "WatchdogTimestampMonotonic": "25939407", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:392 Wednesday 17 January 2024 13:36:35 +0000 (0:00:00.221) 0:02:02.864 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.094760", "end": "2024-01-17 13:36:35.332376", "rc": 0, "start": "2024-01-17 13:36:35.237616" } 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:402 Wednesday 17 January 2024 13:36:35 +0000 (0:00:00.328) 0:02:03.192 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:415 Wednesday 17 January 2024 13:36:35 +0000 (0:00:00.021) 0:02:03.214 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 17 January 2024 13:36:35 +0000 (0:00:00.022) 0:02:03.237 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 17 January 2024 13:36:35 +0000 (0:00:00.024) 0:02:03.261 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:441 Wednesday 17 January 2024 13:36:35 +0000 (0:00:00.153) 0:02:03.415 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:453 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.369) 0:02:03.784 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:457 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.022) 0:02:03.807 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.020) 0:02:03.827 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.020) 0:02:03.848 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.019) 0:02:03.868 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:493 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.021) 0:02:03.890 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:515 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.022) 0:02:03.912 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.020) 0:02:03.933 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:541 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.019) 0:02:03.953 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:554 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.023) 0:02:03.976 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:561 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.025) 0:02:04.001 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.022) 0:02:04.024 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:587 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.108) 0:02:04.132 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:594 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.022) 0:02:04.155 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1432] ************************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:601 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.021) 0:02:04.176 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.021) 0:02:04.198 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.033) 0:02:04.231 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003291", "end": "2024-01-17 13:36:36.610069", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:36:36.606778" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.143) 0:02:04.375 ***** 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.052196", "end": "2024-01-17 13:36:36.819011", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:36:36.766815" } 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.213) 0:02:04.588 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.020) 0:02:04.608 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.020) 0:02:04.628 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.020) 0:02:04.649 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.021) 0:02:04.671 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:662 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.021) 0:02:04.692 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.020) 0:02:04.712 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 17 January 2024 13:36:36 +0000 (0:00:00.021) 0:02:04.734 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:683 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.022) 0:02:04.756 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:689 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.020) 0:02:04.777 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:707 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.113) 0:02:04.890 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:721 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.023) 0:02:04.914 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:726 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.021) 0:02:04.936 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.024) 0:02:04.960 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:753 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.021) 0:02:04.982 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:762 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.023) 0:02:05.006 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.021) 0:02:05.028 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:778 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.022) 0:02:05.050 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.022) 0:02:05.072 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:794 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.022) 0:02:05.094 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.021) 0:02:05.116 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.024) 0:02:05.141 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.024) 0:02:05.165 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:830 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.022) 0:02:05.188 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.023) 0:02:05.211 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:851 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.022) 0:02:05.234 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:856 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.023) 0:02:05.257 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:873 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.021) 0:02:05.278 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:878 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.020) 0:02:05.298 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:883 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.103) 0:02:05.402 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:889 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.021) 0:02:05.423 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.020) 0:02:05.444 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.020) 0:02:05.464 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:944 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.019) 0:02:05.484 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:954 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.021) 0:02:05.505 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:960 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.020) 0:02:05.526 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.020) 0:02:05.547 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:992 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.019) 0:02:05.567 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1012 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.019) 0:02:05.586 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1066 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.020) 0:02:05.607 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1073 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.019) 0:02:05.626 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.019) 0:02:05.646 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1091 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.018) 0:02:05.664 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1097 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.019) 0:02:05.684 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1105 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.023) 0:02:05.707 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Wednesday 17 January 2024 13:36:37 +0000 (0:00:00.019) 0:02:05.727 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.020) 0:02:05.748 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1137 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.026) 0:02:05.774 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.093) 0:02:05.867 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.021) 0:02:05.889 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.019) 0:02:05.908 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1188 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.019) 0:02:05.928 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1199 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.019) 0:02:05.947 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1212 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.020) 0:02:05.967 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.022) 0:02:05.990 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.023) 0:02:06.013 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.021) 0:02:06.035 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1248 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.021) 0:02:06.056 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.020) 0:02:06.077 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.030) 0:02:06.107 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.025) 0:02:06.133 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1283 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.020) 0:02:06.154 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1289 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.020) 0:02:06.174 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.029) 0:02:06.204 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1310 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.029) 0:02:06.234 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.022) 0:02:06.256 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1328 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.028) 0:02:06.284 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1337 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.150) 0:02:06.434 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 17 January 2024 13:36:38 +0000 (0:00:00.164) 0:02:06.599 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:36:26 UTC", "ActiveEnterTimestampMonotonic": "1731570541", "ActiveExitTimestamp": "Wed 2024-01-17 13:36:13 UTC", "ActiveExitTimestampMonotonic": "1718558731", "ActiveState": "active", "After": "system.slice auditd.service network.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:36:26 UTC", "AssertTimestampMonotonic": "1731569853", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:36:26 UTC", "ConditionTimestampMonotonic": "1731569852", "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": "20472", "ExecMainStartTimestamp": "Wed 2024-01-17 13:36:26 UTC", "ExecMainStartTimestampMonotonic": "1731570484", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 13:36:26 UTC] ; stop_time=[n/a] ; pid=20472 ; 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 13:36:19 UTC", "InactiveEnterTimestampMonotonic": "1724171039", "InactiveExitTimestamp": "Wed 2024-01-17 13:36:26 UTC", "InactiveExitTimestampMonotonic": "1731570541", "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": "20472", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:36:26 UTC", "WatchdogTimestampMonotonic": "1731570520", "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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Wednesday 17 January 2024 13:36:40 +0000 (0:00:01.169) 0:02:07.769 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1361 Wednesday 17 January 2024 13:36:40 +0000 (0:00:00.024) 0:02:07.794 ***** 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-conf1kup1avb/tests/tasks/tests_password.yml:53 Wednesday 17 January 2024 13:36:40 +0000 (0:00:00.021) 0:02:07.815 ***** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 17 January 2024 13:36:40 +0000 (0:00:00.557) 0:02:08.373 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 17 January 2024 13:36:40 +0000 (0:00:00.039) 0:02:08.412 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 17 January 2024 13:36:40 +0000 (0:00:00.027) 0:02:08.440 ***** 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-conf1kup1avb/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-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 17 January 2024 13:36:40 +0000 (0:00:00.037) 0:02:08.477 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 17 January 2024 13:36:40 +0000 (0:00:00.020) 0:02:08.498 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 17 January 2024 13:36:40 +0000 (0:00:00.020) 0:02:08.518 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 17 January 2024 13:36:40 +0000 (0:00:00.019) 0:02:08.537 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 17 January 2024 13:36:40 +0000 (0:00:00.018) 0:02:08.555 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 17 January 2024 13:36:40 +0000 (0:00:00.018) 0:02:08.574 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 17 January 2024 13:36:40 +0000 (0:00:00.018) 0:02:08.593 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Wednesday 17 January 2024 13:36:40 +0000 (0:00:00.018) 0:02:08.612 ***** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Wednesday 17 January 2024 13:36:40 +0000 (0:00:00.126) 0:02:08.739 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Wednesday 17 January 2024 13:36:41 +0000 (0:00:00.022) 0:02:08.761 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Wednesday 17 January 2024 13:36:41 +0000 (0:00:00.024) 0:02:08.785 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Wednesday 17 January 2024 13:36:41 +0000 (0:00:00.018) 0:02:08.804 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Wednesday 17 January 2024 13:36:41 +0000 (0:00:00.019) 0:02:08.824 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Wednesday 17 January 2024 13:36:41 +0000 (0:00:00.021) 0:02:08.845 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Wednesday 17 January 2024 13:36:41 +0000 (0:00:00.020) 0:02:08.866 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Wednesday 17 January 2024 13:36:41 +0000 (0:00:00.020) 0:02:08.886 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Wednesday 17 January 2024 13:36:42 +0000 (0:00:01.352) 0:02:10.238 ***** ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 17 January 2024 13:36:42 +0000 (0:00:00.060) 0:02:10.299 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Wednesday 17 January 2024 13:36:42 +0000 (0:00:00.021) 0:02:10.320 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Wednesday 17 January 2024 13:36:42 +0000 (0:00:00.023) 0:02:10.344 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Wednesday 17 January 2024 13:36:42 +0000 (0:00:00.040) 0:02:10.385 ***** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Wednesday 17 January 2024 13:36:43 +0000 (0:00:00.513) 0:02:10.898 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Wednesday 17 January 2024 13:36:43 +0000 (0:00:00.022) 0:02:10.920 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Wednesday 17 January 2024 13:36:43 +0000 (0:00:00.021) 0:02:10.941 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Wednesday 17 January 2024 13:36:43 +0000 (0:00:00.118) 0:02:11.060 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Wednesday 17 January 2024 13:36:43 +0000 (0:00:00.025) 0:02:11.085 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 17 January 2024 13:36:43 +0000 (0:00:00.020) 0:02:11.105 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 17 January 2024 13:36:43 +0000 (0:00:00.020) 0:02:11.126 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 17 January 2024 13:36:43 +0000 (0:00:00.020) 0:02:11.146 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Wednesday 17 January 2024 13:36:43 +0000 (0:00:00.022) 0:02:11.169 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Wednesday 17 January 2024 13:36:43 +0000 (0:00:00.021) 0:02:11.190 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Wednesday 17 January 2024 13:36:43 +0000 (0:00:00.374) 0:02:11.565 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Wednesday 17 January 2024 13:36:43 +0000 (0:00:00.020) 0:02:11.586 ***** 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.005573", "end": "2024-01-17 13:36:43.971051", "rc": 0, "start": "2024-01-17 13:36:43.965478" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Wednesday 17 January 2024 13:36:43 +0000 (0:00:00.147) 0:02:11.734 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Wednesday 17 January 2024 13:36:44 +0000 (0:00:00.733) 0:02:12.467 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Wednesday 17 January 2024 13:36:44 +0000 (0:00:00.026) 0:02:12.493 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 17 January 2024 13:36:44 +0000 (0:00:00.018) 0:02:12.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 : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:344 Wednesday 17 January 2024 13:36:44 +0000 (0:00:00.019) 0:02:12.531 ***** skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': None, 'mode': '755', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:359 Wednesday 17 January 2024 13:36:44 +0000 (0:00:00.024) 0:02:12.556 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 17 January 2024 13:36:44 +0000 (0:00:00.019) 0:02:12.575 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:381 Wednesday 17 January 2024 13:36:44 +0000 (0:00:00.019) 0:02:12.594 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Wednesday 17 January 2024 13:36:45 +0000 (0:00:00.349) 0:02:12.944 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:08:00 UTC", "ActiveEnterTimestampMonotonic": "25939631", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service network.target basic.target systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:07:59 UTC", "AssertTimestampMonotonic": "24507187", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:07:59 UTC", "ConditionTimestampMonotonic": "24507186", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "885", "ExecMainStartTimestamp": "Wed 2024-01-17 13:07:59 UTC", "ExecMainStartTimestampMonotonic": "24507792", "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 13:07:59 UTC", "InactiveExitTimestampMonotonic": "24507836", "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": "885", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:08:00 UTC", "WatchdogTimestampMonotonic": "25939407", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:392 Wednesday 17 January 2024 13:36:45 +0000 (0:00:00.283) 0:02:13.228 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.095504", "end": "2024-01-17 13:36:45.702967", "rc": 0, "start": "2024-01-17 13:36:45.607463" } 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:402 Wednesday 17 January 2024 13:36:45 +0000 (0:00:00.239) 0:02:13.467 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:415 Wednesday 17 January 2024 13:36:45 +0000 (0:00:00.020) 0:02:13.488 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:424 Wednesday 17 January 2024 13:36:45 +0000 (0:00:00.019) 0:02:13.507 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:434 Wednesday 17 January 2024 13:36:45 +0000 (0:00:00.018) 0:02:13.526 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:441 Wednesday 17 January 2024 13:36:45 +0000 (0:00:00.146) 0:02:13.673 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:453 Wednesday 17 January 2024 13:36:46 +0000 (0:00:00.352) 0:02:14.025 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 17 January 2024 13:36:46 +0000 (0:00:00.036) 0:02:14.062 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:36:40 UTC", "ActiveEnterTimestampMonotonic": "1745046334", "ActiveExitTimestamp": "Wed 2024-01-17 13:36:39 UTC", "ActiveExitTimestampMonotonic": "1744115960", "ActiveState": "active", "After": "system.slice auditd.service network.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:36:39 UTC", "AssertTimestampMonotonic": "1745045522", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:36:39 UTC", "ConditionTimestampMonotonic": "1745045520", "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": "20964", "ExecMainStartTimestamp": "Wed 2024-01-17 13:36:40 UTC", "ExecMainStartTimestampMonotonic": "1745046270", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 13:36:40 UTC] ; stop_time=[n/a] ; pid=20964 ; 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 13:36:39 UTC", "InactiveEnterTimestampMonotonic": "1745044933", "InactiveExitTimestamp": "Wed 2024-01-17 13:36:40 UTC", "InactiveExitTimestampMonotonic": "1745046334", "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": "20964", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:36:40 UTC", "WatchdogTimestampMonotonic": "1745046313", "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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 17 January 2024 13:36:46 +0000 (0:00:00.219) 0:02:14.282 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003239", "end": "2024-01-17 13:36:46.664103", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:36:46.660864" } STDOUT: tcpport = 1432 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 17 January 2024 13:36:46 +0000 (0:00:00.145) 0:02:14.427 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003344", "end": "2024-01-17 13:36:46.809453", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:36:46.806109" } 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 17 January 2024 13:36:46 +0000 (0:00:00.145) 0:02:14.573 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:457 Wednesday 17 January 2024 13:36:46 +0000 (0:00:00.028) 0:02:14.601 ***** 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": 6187, "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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 17 January 2024 13:36:48 +0000 (0:00:01.144) 0:02:15.745 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 Wednesday 17 January 2024 13:36:48 +0000 (0:00:00.174) 0:02:15.920 ***** 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 13:36:40 UTC", "ActiveEnterTimestampMonotonic": "1745046334", "ActiveExitTimestamp": "Wed 2024-01-17 13:36:39 UTC", "ActiveExitTimestampMonotonic": "1744115960", "ActiveState": "active", "After": "system.slice auditd.service network.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:36:39 UTC", "AssertTimestampMonotonic": "1745045522", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:36:39 UTC", "ConditionTimestampMonotonic": "1745045520", "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": "20964", "ExecMainStartTimestamp": "Wed 2024-01-17 13:36:40 UTC", "ExecMainStartTimestampMonotonic": "1745046270", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 13:36:40 UTC] ; stop_time=[n/a] ; pid=20964 ; 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 13:36:39 UTC", "InactiveEnterTimestampMonotonic": "1745044933", "InactiveExitTimestamp": "Wed 2024-01-17 13:36:40 UTC", "InactiveExitTimestampMonotonic": "1745046334", "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": "20964", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:36:40 UTC", "WatchdogTimestampMonotonic": "1745046313", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Wednesday 17 January 2024 13:36:53 +0000 (0:00:05.488) 0:02:21.409 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:493 Wednesday 17 January 2024 13:36:54 +0000 (0:00:01.082) 0:02:22.491 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:515 Wednesday 17 January 2024 13:36:58 +0000 (0:00:03.864) 0:02:26.356 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:526 Wednesday 17 January 2024 13:36:58 +0000 (0:00:00.021) 0:02:26.377 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:541 Wednesday 17 January 2024 13:36:58 +0000 (0:00:00.021) 0:02:26.398 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:554 Wednesday 17 January 2024 13:36:58 +0000 (0:00:00.021) 0:02:26.420 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:561 Wednesday 17 January 2024 13:36:58 +0000 (0:00:00.021) 0:02:26.442 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:567 Wednesday 17 January 2024 13:36:58 +0000 (0:00:00.021) 0:02:26.463 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:587 Wednesday 17 January 2024 13:36:58 +0000 (0:00:00.020) 0:02:26.484 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:594 Wednesday 17 January 2024 13:36:58 +0000 (0:00:00.019) 0:02:26.504 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:601 Wednesday 17 January 2024 13:36:58 +0000 (0:00:00.021) 0:02:26.525 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 17 January 2024 13:36:58 +0000 (0:00:00.022) 0:02:26.548 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 17 January 2024 13:36:58 +0000 (0:00:00.044) 0:02:26.592 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003474", "end": "2024-01-17 13:36:58.976142", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:36:58.972668" } STDOUT: tcpport = 1432 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.237) 0:02:26.829 ***** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.053405", "end": "2024-01-17 13:36:59.274490", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:36:59.221085" } 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.212) 0:02:27.042 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.020) 0:02:27.063 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:639 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.020) 0:02:27.083 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:646 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.024) 0:02:27.107 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:653 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.022) 0:02:27.129 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:662 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.022) 0:02:27.152 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.021) 0:02:27.173 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.021) 0:02:27.194 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:683 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.021) 0:02:27.216 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:689 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.021) 0:02:27.237 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:707 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.022) 0:02:27.259 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:721 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.023) 0:02:27.283 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:726 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.026) 0:02:27.309 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.026) 0:02:27.336 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:753 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.021) 0:02:27.357 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:762 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.020) 0:02:27.378 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.020) 0:02:27.398 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:778 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.115) 0:02:27.514 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:786 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.022) 0:02:27.536 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:794 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.020) 0:02:27.556 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:801 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.019) 0:02:27.576 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.021) 0:02:27.597 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.021) 0:02:27.619 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:830 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.020) 0:02:27.640 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:839 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.023) 0:02:27.663 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:851 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.022) 0:02:27.686 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:856 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.021) 0:02:27.707 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:873 Wednesday 17 January 2024 13:36:59 +0000 (0:00:00.020) 0:02:27.728 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:878 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.018) 0:02:27.747 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:883 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.019) 0:02:27.766 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:889 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.018) 0:02:27.785 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:915 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.019) 0:02:27.805 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.020) 0:02:27.826 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:944 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.020) 0:02:27.847 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:954 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.019) 0:02:27.866 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:960 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.018) 0:02:27.885 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:977 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.124) 0:02:28.009 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:992 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.022) 0:02:28.032 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1012 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.022) 0:02:28.054 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1066 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.022) 0:02:28.077 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1073 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.022) 0:02:28.099 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1080 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.021) 0:02:28.121 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1091 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.019) 0:02:28.140 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1097 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.020) 0:02:28.160 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1105 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.024) 0:02:28.185 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1114 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.019) 0:02:28.205 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1122 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.019) 0:02:28.225 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1137 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.026) 0:02:28.251 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1144 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.019) 0:02:28.270 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1169 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.018) 0:02:28.289 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1178 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.019) 0:02:28.308 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1188 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.020) 0:02:28.329 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1199 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.020) 0:02:28.350 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1212 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.020) 0:02:28.371 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1225 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.021) 0:02:28.392 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1232 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.132) 0:02:28.524 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1239 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.021) 0:02:28.546 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1248 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.022) 0:02:28.569 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1255 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.022) 0:02:28.591 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1267 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.031) 0:02:28.623 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1276 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.022) 0:02:28.645 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1283 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.022) 0:02:28.668 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1289 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.024) 0:02:28.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1297 Wednesday 17 January 2024 13:37:00 +0000 (0:00:00.022) 0:02:28.714 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1310 Wednesday 17 January 2024 13:37:01 +0000 (0:00:00.028) 0:02:28.743 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1322 Wednesday 17 January 2024 13:37:01 +0000 (0:00:00.021) 0:02:28.765 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1328 Wednesday 17 January 2024 13:37:01 +0000 (0:00:00.025) 0:02:28.790 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1337 Wednesday 17 January 2024 13:37:01 +0000 (0:00:00.022) 0:02:28.813 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 17 January 2024 13:37:01 +0000 (0:00:00.184) 0:02:28.998 ***** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:36:40 UTC", "ActiveEnterTimestampMonotonic": "1745046334", "ActiveExitTimestamp": "Wed 2024-01-17 13:36:48 UTC", "ActiveExitTimestampMonotonic": "1753428437", "ActiveState": "inactive", "After": "system.slice auditd.service network.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:36:39 UTC", "AssertTimestampMonotonic": "1745045522", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:36:39 UTC", "ConditionTimestampMonotonic": "1745045520", "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 13:36:53 UTC", "ExecMainExitTimestampMonotonic": "1758685809", "ExecMainPID": "20964", "ExecMainStartTimestamp": "Wed 2024-01-17 13:36:40 UTC", "ExecMainStartTimestampMonotonic": "1745046270", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 13:36:40 UTC] ; stop_time=[Wed 2024-01-17 13:36:53 UTC] ; pid=20964 ; 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 13:36:53 UTC", "InactiveEnterTimestampMonotonic": "1758685910", "InactiveExitTimestamp": "Wed 2024-01-17 13:36:40 UTC", "InactiveExitTimestampMonotonic": "1745046334", "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": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1350 Wednesday 17 January 2024 13:37:01 +0000 (0:00:00.240) 0:02:29.238 ***** 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:1361 Wednesday 17 January 2024 13:37:01 +0000 (0:00:00.023) 0:02:29.262 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/tests_password.yml:61 Wednesday 17 January 2024 13:37:01 +0000 (0:00:00.020) 0:02:29.282 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:8 Wednesday 17 January 2024 13:37:01 +0000 (0:00:00.372) 0:02:29.654 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:23 Wednesday 17 January 2024 13:37:01 +0000 (0:00:00.021) 0:02:29.675 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:35 Wednesday 17 January 2024 13:37:01 +0000 (0:00:00.019) 0:02:29.694 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:39 Wednesday 17 January 2024 13:37:01 +0000 (0:00:00.022) 0:02:29.717 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:55 Wednesday 17 January 2024 13:37:01 +0000 (0:00:00.020) 0:02:29.737 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:60 Wednesday 17 January 2024 13:37:02 +0000 (0:00:00.019) 0:02:29.757 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:70 Wednesday 17 January 2024 13:37:02 +0000 (0:00:00.024) 0:02:29.781 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:75 Wednesday 17 January 2024 13:37:02 +0000 (0:00:00.020) 0:02:29.802 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:85 Wednesday 17 January 2024 13:37:02 +0000 (0:00:00.019) 0:02:29.821 ***** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 17 January 2024 13:37:02 +0000 (0:00:00.033) 0:02:29.854 ***** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:37:01 UTC", "ActiveEnterTimestampMonotonic": "1766511871", "ActiveExitTimestamp": "Wed 2024-01-17 13:36:48 UTC", "ActiveExitTimestampMonotonic": "1753428437", "ActiveState": "active", "After": "system.slice auditd.service network.target basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:37:01 UTC", "AssertTimestampMonotonic": "1766511241", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:37:01 UTC", "ConditionTimestampMonotonic": "1766511239", "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": "21650", "ExecMainStartTimestamp": "Wed 2024-01-17 13:37:01 UTC", "ExecMainStartTimestampMonotonic": "1766511817", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-01-17 13:37:01 UTC] ; stop_time=[n/a] ; pid=21650 ; 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 13:36:53 UTC", "InactiveEnterTimestampMonotonic": "1758685910", "InactiveExitTimestamp": "Wed 2024-01-17 13:37:01 UTC", "InactiveExitTimestampMonotonic": "1766511871", "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": "21650", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-01-17 13:37:01 UTC", "WatchdogTimestampMonotonic": "1766511852", "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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 17 January 2024 13:37:02 +0000 (0:00:00.364) 0:02:30.219 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003829", "end": "2024-01-17 13:37:02.624516", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:37:02.620687" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 17 January 2024 13:37:02 +0000 (0:00:00.172) 0:02:30.392 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003954", "end": "2024-01-17 13:37:02.793144", "failed_when_result": false, "rc": 0, "start": "2024-01-17 13:37:02.789190" } 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-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 17 January 2024 13:37:02 +0000 (0:00:00.165) 0:02:30.557 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:93 Wednesday 17 January 2024 13:37:02 +0000 (0:00:00.029) 0:02:30.586 ***** ok: [sut] => { "changed": false, "elapsed": 2, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6983, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:99 Wednesday 17 January 2024 13:37:04 +0000 (0:00:02.151) 0:02:32.738 ***** 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.028788", "end": "2024-01-17 13:37:05.149208", "rc": 0, "start": "2024-01-17 13:37:05.120420" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:113 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.178) 0:02:32.916 ***** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:117 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.024) 0:02:32.940 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:124 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.022) 0:02:32.962 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:135 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.021) 0:02:32.983 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:140 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.020) 0:02:33.004 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:145 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.019) 0:02:33.023 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:151 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.019) 0:02:33.043 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:157 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.021) 0:02:33.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:167 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.026) 0:02:33.090 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:178 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.027) 0:02:33.118 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:190 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.020) 0:02:33.138 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:198 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.020) 0:02:33.159 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:208 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.022) 0:02:33.181 ***** 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-conf1kup1avb/tests/tasks/verify_settings.yml:213 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.022) 0:02:33.204 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:221 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.121) 0:02:33.326 ***** 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-conf1kup1avb/tests/tasks/tests_password.yml:66 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.022) 0:02:33.348 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/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-conf1kup1avb/tests/tasks/check_header.yml:4 Wednesday 17 January 2024 13:37:05 +0000 (0:00:00.288) 0:02:33.637 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003687", "end": "2024-01-17 13:37:06.054411", "rc": 0, "start": "2024-01-17 13:37:06.050724" } 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-conf1kup1avb/tests/tests_password_2017.yml:17 Wednesday 17 January 2024 13:37:06 +0000 (0:00:00.180) 0:02:33.817 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/cleanup.yml:2 Wednesday 17 January 2024 13:37:06 +0000 (0:00:00.035) 0:02:33.853 ***** 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-conf1kup1avb/tests/tasks/cleanup.yml:6 Wednesday 17 January 2024 13:37:07 +0000 (0:00:01.261) 0:02:35.114 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/cleanup.yml:14 Wednesday 17 January 2024 13:37:07 +0000 (0:00:00.025) 0:02:35.140 ***** ok: [sut] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/cleanup.yml:18 Wednesday 17 January 2024 13:37:07 +0000 (0:00:00.020) 0:02:35.161 ***** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 17 January 2024 13:37:07 +0000 (0:00:00.066) 0:02:35.227 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/.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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 17 January 2024 13:37:07 +0000 (0:00:00.038) 0:02:35.266 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Wednesday 17 January 2024 13:37:07 +0000 (0:00:00.033) 0:02:35.300 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Wednesday 17 January 2024 13:37:07 +0000 (0:00:00.312) 0:02:35.612 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Wednesday 17 January 2024 13:37:07 +0000 (0:00:00.025) 0:02:35.638 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:26 Wednesday 17 January 2024 13:37:08 +0000 (0:00:00.366) 0:02:36.005 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 17 January 2024 13:37:08 +0000 (0:00:00.021) 0:02:36.026 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 17 January 2024 13:37:08 +0000 (0:00:00.020) 0:02:36.047 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 17 January 2024 13:37:08 +0000 (0:00:00.025) 0:02:36.073 ***** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:30:20 UTC", "ActiveEnterTimestampMonotonic": "1365378851", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:30:19 UTC", "AssertTimestampMonotonic": "1364770283", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:30:19 UTC", "ConditionTimestampMonotonic": "1364770281", "Conflicts": "iptables.service shutdown.target ebtables.service ipset.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12643", "ExecMainStartTimestamp": "Wed 2024-01-17 13:30:19 UTC", "ExecMainStartTimestampMonotonic": "1364771464", "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 13:30:19 UTC", "InactiveExitTimestampMonotonic": "1364771958", "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": "12643", "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 13:30:20 UTC", "WatchdogTimestampMonotonic": "1365378789", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 17 January 2024 13:37:08 +0000 (0:00:00.227) 0:02:36.300 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-01-17 13:30:20 UTC", "ActiveEnterTimestampMonotonic": "1365378851", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-01-17 13:30:19 UTC", "AssertTimestampMonotonic": "1364770283", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-01-17 13:30:19 UTC", "ConditionTimestampMonotonic": "1364770281", "Conflicts": "iptables.service shutdown.target ebtables.service ipset.service ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12643", "ExecMainStartTimestamp": "Wed 2024-01-17 13:30:19 UTC", "ExecMainStartTimestampMonotonic": "1364771464", "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 13:30:19 UTC", "InactiveExitTimestampMonotonic": "1364771958", "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": "12643", "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 13:30:20 UTC", "WatchdogTimestampMonotonic": "1365378789", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 17 January 2024 13:37:08 +0000 (0:00:00.225) 0:02:36.525 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 17 January 2024 13:37:08 +0000 (0:00:00.123) 0:02:36.648 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.15.121 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 17 January 2024 13:37:09 +0000 (0:00:00.299) 0:02:36.948 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 17 January 2024 13:37:09 +0000 (0:00:00.024) 0:02:36.972 ***** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 17 January 2024 13:37:09 +0000 (0:00:00.022) 0:02:36.994 ***** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 17 January 2024 13:37:09 +0000 (0:00:00.023) 0:02:37.018 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 17 January 2024 13:37:09 +0000 (0:00:00.024) 0:02:37.043 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 17 January 2024 13:37:09 +0000 (0:00:00.021) 0:02:37.064 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 17 January 2024 13:37:09 +0000 (0:00:00.021) 0:02:37.086 ***** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.15.121 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 17 January 2024 13:37:09 +0000 (0:00:00.292) 0:02:37.379 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 17 January 2024 13:37:09 +0000 (0:00:00.027) 0:02:37.406 ***** skipping: [sut] => {} TASK [Purge selinux configuration] ********************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/cleanup.yml:26 Wednesday 17 January 2024 13:37:09 +0000 (0:00:00.027) 0:02:37.434 ***** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 17 January 2024 13:37:09 +0000 (0:00:00.069) 0:02:37.503 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/.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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Wednesday 17 January 2024 13:37:09 +0000 (0:00:00.051) 0:02:37.554 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Wednesday 17 January 2024 13:37:09 +0000 (0:00:00.157) 0:02:37.712 ***** included: /WORKDIR/git-selinux-install-after-conf1kup1avb/.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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Wednesday 17 January 2024 13:37:10 +0000 (0:00:00.045) 0:02:37.758 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Wednesday 17 January 2024 13:37:10 +0000 (0:00:00.147) 0:02:37.905 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:14 Wednesday 17 January 2024 13:37:10 +0000 (0:00:00.024) 0:02:37.929 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:23 Wednesday 17 January 2024 13:37:10 +0000 (0:00:00.374) 0:02:38.304 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:34 Wednesday 17 January 2024 13:37:10 +0000 (0:00:00.022) 0:02:38.326 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:45 Wednesday 17 January 2024 13:37:10 +0000 (0:00:00.022) 0:02:38.348 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:53 Wednesday 17 January 2024 13:37:10 +0000 (0:00:00.028) 0:02:38.377 ***** ok: [sut] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 17 January 2024 13:37:11 +0000 (0:00:00.400) 0:02:38.777 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Wednesday 17 January 2024 13:37:11 +0000 (0:00:00.021) 0:02:38.799 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Wednesday 17 January 2024 13:37:11 +0000 (0:00:00.036) 0:02:38.836 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Wednesday 17 January 2024 13:37:11 +0000 (0:00:00.035) 0:02:38.871 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Wednesday 17 January 2024 13:37:11 +0000 (0:00:00.039) 0:02:38.911 ***** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Wednesday 17 January 2024 13:37:11 +0000 (0:00:00.045) 0:02:38.956 ***** 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.391259", "end": "2024-01-17 13:37:11.730247", "rc": 0, "start": "2024-01-17 13:37:11.338988" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Wednesday 17 January 2024 13:37:11 +0000 (0:00:00.564) 0:02:39.521 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 17 January 2024 13:37:11 +0000 (0:00:00.049) 0:02:39.571 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Wednesday 17 January 2024 13:37:11 +0000 (0:00:00.149) 0:02:39.720 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Wednesday 17 January 2024 13:37:12 +0000 (0:00:00.024) 0:02:39.745 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 17 January 2024 13:37:12 +0000 (0:00:00.042) 0:02:39.787 ***** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Wednesday 17 January 2024 13:37:12 +0000 (0:00:00.039) 0:02:39.826 ***** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Wednesday 17 January 2024 13:37:12 +0000 (0:00:00.025) 0:02:39.852 ***** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Wednesday 17 January 2024 13:37:12 +0000 (0:00:00.029) 0:02:39.882 ***** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Wednesday 17 January 2024 13:37:12 +0000 (0:00:00.034) 0:02:39.916 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Wednesday 17 January 2024 13:37:14 +0000 (0:00:02.803) 0:02:42.719 ***** 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-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Wednesday 17 January 2024 13:37:15 +0000 (0:00:00.027) 0:02:42.747 ***** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Wednesday 17 January 2024 13:37:15 +0000 (0:00:00.031) 0:02:42.779 ***** TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/cleanup.yml:32 Wednesday 17 January 2024 13:37:15 +0000 (0:00:00.119) 0:02:42.899 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/cleanup.yml:40 Wednesday 17 January 2024 13:37:15 +0000 (0:00:00.041) 0:02:42.940 ***** 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-conf1kup1avb/tests/tasks/cleanup.yml:44 Wednesday 17 January 2024 13:37:15 +0000 (0:00:00.035) 0:02:42.976 ***** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/cleanup.yml:50 Wednesday 17 January 2024 13:37:15 +0000 (0:00:00.202) 0:02:43.178 ***** changed: [sut] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking libsss_nss_idmap 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 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\nFound and removing 9 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.15 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n msodbcsql17 x86_64 17.10.5.1-1 @packages-microsoft-com-prod 2.2 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+9 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/12 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/12 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/12 \n Erasing : msodbcsql17-17.10.5.1-1.x86_64 4/12 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 5/12 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/12 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/12 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/12 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/12 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 10/12 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 2/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 3/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 4/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 5/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 6/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 7/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 8/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 9/12 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-1 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n msodbcsql17.x86_64 0:17.10.5.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/cleanup.yml:63 Wednesday 17 January 2024 13:37:18 +0000 (0:00:03.009) 0:02:46.187 ***** 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.007987", "end": "2024-01-17 13:37:18.574175", "rc": 0, "start": "2024-01-17 13:37:18.566188" } STDOUT: removed ‘/var/opt/mssql/log/system_health_0_133499721282830000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499722173400000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499721544570000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133499721485210000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499721889820000.xel’ removed ‘/var/opt/mssql/log/log_9.trc’ removed ‘/var/opt/mssql/log/system_health_0_133499721682420000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133499721892970000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133499721547390000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499722239890000.xel’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/system_health_0_133499722177070000.xel’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499721278430000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133499721829810000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499721679720000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499722026330000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133499722029280000.xel’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499721199360000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499721827230000.xel’ removed ‘/var/opt/mssql/log/errorlog.4’ 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_133499721206700000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133499722242590000.xel’ removed ‘/var/opt/mssql/log/log_8.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133499721482720000.xel’ removed ‘/var/opt/mssql/log/errorlog.2’ removed directory: ‘/var/opt/mssql/log’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ 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/msdbdata.mdf’ 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/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 ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-1278655628-4040173764-1677602410-500/42e7704ae40b0d75de00736cc66b813a_05fc2f1a-2d9e-4009-ab45-516db0b24351’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-1278655628-4040173764-1677602410-500’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto’ removed 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 ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-1278655628-4040173764-1677602410-500/Preferred’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-1278655628-4040173764-1677602410-500/754cef8b-ca0c-4c00-84c8-bf2a2344690b’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-1278655628-4040173764-1677602410-500’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/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/d786dafc-af77-49e1-99fd-f2222af12ed9’ 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-2017.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/cleanup.yml:77 Wednesday 17 January 2024 13:37:18 +0000 (0:00:00.162) 0:02:46.349 ***** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.375423", "end": "2024-01-17 13:37:19.101115", "rc": 0, "start": "2024-01-17 13:37:18.725692" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Wednesday 17 January 2024 13:37:19 +0000 (0:00:00.503) 0:02:46.853 ***** changed: [sut] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:02.170284", "end": "2024-01-17 13:37:21.426275", "rc": 0, "start": "2024-01-17 13:37:19.255991" } 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 13:37:21 +0000 (0:00:02.332) 0:02:49.185 ***** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 40.01s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 linux-system-roles.mssql : Set up MSSQL --------------------------------- 8.38s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 linux-system-roles.mssql : Change the password of sa user --------------- 7.60s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:493 linux-system-roles.mssql : Ensure that the mssql-server service is stopped --- 6.00s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 linux-system-roles.mssql : Ensure that the mssql-server service is stopped --- 5.85s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:478 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 5.15s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:441 linux-system-roles.mssql : Change the password of sa user --------------- 3.79s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:493 Remove related packages ------------------------------------------------- 3.01s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/cleanup.yml:50 ---- fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.80s /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 linux-system-roles.mssql : Gather package facts ------------------------- 2.43s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections --- 2.35s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:457 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.33s /WORKDIR/git-selinux-install-after-conf1kup1avb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Wait for mssql-server to prepare for client connections ----------------- 2.25s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:93 Wait for mssql-server to prepare for client connections ----------------- 2.15s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:93 linux-system-roles.mssql : Gather package facts ------------------------- 2.08s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Check if the set password matches the existing password ----------------- 1.72s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/verify_settings.yml:99 linux-system-roles.mssql : Gather system services facts ----------------- 1.49s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Gather package facts ---------------------------------------------------- 1.26s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/tasks/cleanup.yml:2 ----- linux-system-roles.mssql : Gather package facts ------------------------- 1.20s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 linux-system-roles.mssql : Restart the mssql-server service ------------- 1.17s /WORKDIR/git-selinux-install-after-conf1kup1avb/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---