# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_idempotency_2019.yml ******************************************* 1 plays in /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tests_idempotency_2019.yml PLAY [Ensure that the role is idempotent] ************************************** META: ran handlers TASK [Run tests_idempotency with SQL Server 2019] ****************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tests_idempotency_2019.yml:15 Tuesday 06 February 2024 10:34:49 +0000 (0:00:00.021) 0:00:00.021 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/tests_idempotency.yml for sut TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/tests_idempotency.yml:2 Tuesday 06 February 2024 10:34:49 +0000 (0:00:00.011) 0:00:00.032 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/assert_fail_on_unsupported_ver.yml for sut TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/assert_fail_on_unsupported_ver.yml:2 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.020) 0:00:00.053 ****** ok: [sut] TASK [Run the role] ************************************************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/assert_fail_on_unsupported_ver.yml:15 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.343) 0:00:00.396 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/assert_fail_on_unsupported_ver.yml:22 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.010) 0:00:00.406 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run on a fresh host and set all parameters] ****************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/tests_idempotency.yml:5 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.008) 0:00:00.415 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.140) 0:00:00.556 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.009) 0:00:00.565 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.009) 0:00:00.575 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.024) 0:00:00.599 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.008) 0:00:00.608 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.007) 0:00:00.615 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.008) 0:00:00.624 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.007) 0:00:00.632 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.007) 0:00:00.639 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.007) 0:00:00.647 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.007) 0:00:00.655 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.008) 0:00:00.663 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.009) 0:00:00.672 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.011) 0:00:00.683 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.007) 0:00:00.690 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.007) 0:00:00.698 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.007) 0:00:00.705 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.007) 0:00:00.713 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Tuesday 06 February 2024 10:34:50 +0000 (0:00:00.008) 0:00:00.722 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Tuesday 06 February 2024 10:34:51 +0000 (0:00:00.812) 0:00:01.534 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Tuesday 06 February 2024 10:34:51 +0000 (0:00:00.034) 0:00:01.568 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Tuesday 06 February 2024 10:34:51 +0000 (0:00:00.015) 0:00:01.584 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Tuesday 06 February 2024 10:34:51 +0000 (0:00:00.019) 0:00:01.604 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Tuesday 06 February 2024 10:34:51 +0000 (0:00:00.029) 0:00:01.633 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Tuesday 06 February 2024 10:34:52 +0000 (0:00:00.417) 0:00:02.051 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Tuesday 06 February 2024 10:34:52 +0000 (0:00:00.015) 0:00:02.067 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Tuesday 06 February 2024 10:34:52 +0000 (0:00:00.016) 0:00:02.083 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Tuesday 06 February 2024 10:34:52 +0000 (0:00:00.016) 0:00:02.099 ****** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Tuesday 06 February 2024 10:34:52 +0000 (0:00:00.238) 0:00:02.338 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Tuesday 06 February 2024 10:34:52 +0000 (0:00:00.016) 0:00:02.354 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Tuesday 06 February 2024 10:34:52 +0000 (0:00:00.016) 0:00:02.371 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Tuesday 06 February 2024 10:34:52 +0000 (0:00:00.015) 0:00:02.386 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Tuesday 06 February 2024 10:34:52 +0000 (0:00:00.016) 0:00:02.403 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Tuesday 06 February 2024 10:34:52 +0000 (0:00:00.016) 0:00:02.419 ****** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4345.5-2 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4345.5-2.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4345.5-2.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 15.0.4345.5-2 packages-microsoft-com-mssql-server-2019\n 229 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 rhel-Server 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 rhel-Server 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 rhel-Server 41 k\n gdb x86_64 7.6.1-120.el7 rhel-Server 2.4 M\n libatomic x86_64 4.8.5-44.el7 rhel-Server 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 rhel-Server 170 k\n lsof x86_64 4.87-6.el7 rhel-Server 331 k\n python3 x86_64 3.6.8-21.el7_9 rhel-Server 71 k\n python3-libs x86_64 3.6.8-21.el7_9 rhel-Server 6.9 M\n python3-pip noarch 9.0.3-8.el7 rhel-Server 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 rhel-Server 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal download size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 55 MB/s | 241 MB 00:04 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 5/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/12 \n Installing : gdb-7.6.1-120.el7.x86_64 7/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Installing : lsof-4.87-6.el7.x86_64 9/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 10/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Installing : mssql-server-15.0.4345.5-2.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 2/12 \n Verifying : mssql-server-15.0.4345.5-2.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : lsof-4.87-6.el7.x86_64 5/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 6/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 7/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 8/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 9/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4345.5-2 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Tuesday 06 February 2024 10:35:40 +0000 (0:00:47.961) 0:00:50.381 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Tuesday 06 February 2024 10:35:40 +0000 (0:00:00.016) 0:00:50.398 ****** 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.006347", "end": "2024-02-06 10:35:40.554891", "rc": 0, "start": "2024-02-06 10:35:40.548544" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Tuesday 06 February 2024 10:35:40 +0000 (0:00:00.217) 0:00:50.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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Tuesday 06 February 2024 10:35:41 +0000 (0:00:00.917) 0:00:51.532 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Tuesday 06 February 2024 10:35:41 +0000 (0:00:00.024) 0:00:51.556 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Tuesday 06 February 2024 10:35:41 +0000 (0:00:00.020) 0:00:51.577 ****** changed: [sut] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:349 Tuesday 06 February 2024 10:35:47 +0000 (0:00:06.126) 0:00:57.703 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Ensure the directory and permissions /tmp/mssql_data] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Tuesday 06 February 2024 10:35:47 +0000 (0:00:00.041) 0:00:57.745 ****** changed: [sut] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 996 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Tuesday 06 February 2024 10:35:47 +0000 (0:00:00.233) 0:00:57.979 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:29 Tuesday 06 February 2024 10:35:47 +0000 (0:00:00.020) 0:00:57.999 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:35:47 +0000 (0:00:00.030) 0:00:58.029 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004159", "end": "2024-02-06 10:35:48.123717", "failed_when_result": false, "rc": 1, "start": "2024-02-06 10:35:48.119558" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:35:48 +0000 (0:00:00.157) 0:00:58.186 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/tmp/mssql_data" ], "delta": "0:00:00.175553", "end": "2024-02-06 10:35:48.456632", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:35:48.281079" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:35:48 +0000 (0:00:00.339) 0:00:58.526 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the directory and permissions /tmp/mssql_log] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Tuesday 06 February 2024 10:35:48 +0000 (0:00:00.020) 0:00:58.546 ****** changed: [sut] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 996 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Tuesday 06 February 2024 10:35:48 +0000 (0:00:00.165) 0:00:58.712 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:29 Tuesday 06 February 2024 10:35:48 +0000 (0:00:00.020) 0:00:58.733 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:35:48 +0000 (0:00:00.031) 0:00:58.765 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004098", "end": "2024-02-06 10:35:48.868130", "failed_when_result": false, "rc": 1, "start": "2024-02-06 10:35:48.864032" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:35:48 +0000 (0:00:00.166) 0:00:58.931 ****** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.147123", "end": "2024-02-06 10:35:49.177155", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:35:49.030032" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:35:49 +0000 (0:00:00.315) 0:00:59.246 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:364 Tuesday 06 February 2024 10:35:49 +0000 (0:00:00.018) 0:00:59.265 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:376 Tuesday 06 February 2024 10:35:49 +0000 (0:00:00.038) 0:00:59.304 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Tuesday 06 February 2024 10:35:49 +0000 (0:00:00.019) 0:00:59.323 ****** changed: [sut] => { "changed": true, "changes": { "installed": [ "tuned-profiles-mssql" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package tuned-profiles-mssql.noarch 0:2.11.0-12.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n tuned-profiles-mssql noarch 2.11.0-12.el7_9 rhel-Server-optional 30 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 30 k\nInstalled size: 1.1 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : tuned-profiles-mssql-2.11.0-12.el7_9.noarch 1/1 \n Verifying : tuned-profiles-mssql-2.11.0-12.el7_9.noarch 1/1 \n\nInstalled:\n tuned-profiles-mssql.noarch 0:2.11.0-12.el7_9 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:391 Tuesday 06 February 2024 10:35:55 +0000 (0:00:05.773) 0:01:05.096 ****** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-02-06 10:26:20 UTC", "ActiveEnterTimestampMonotonic": "14518773", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target system.slice dbus.service systemd-sysctl.service systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-02-06 10:26:19 UTC", "AssertTimestampMonotonic": "13650624", "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": "Tue 2024-02-06 10:26:19 UTC", "ConditionTimestampMonotonic": "13650622", "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": "946", "ExecMainStartTimestamp": "Tue 2024-02-06 10:26:19 UTC", "ExecMainStartTimestampMonotonic": "13658756", "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": "Tue 2024-02-06 10:26:19 UTC", "InactiveExitTimestampMonotonic": "13659299", "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": "946", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-02-06 10:26:20 UTC", "WatchdogTimestampMonotonic": "14518403", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:397 Tuesday 06 February 2024 10:35:55 +0000 (0:00:00.429) 0:01:05.525 ****** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.153039", "end": "2024-02-06 10:35:55.781589", "rc": 0, "start": "2024-02-06 10:35:55.628550" } STDOUT: Current active profile: virtual-guest TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:407 Tuesday 06 February 2024 10:35:55 +0000 (0:00:00.322) 0:01:05.847 ****** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:00.773065", "end": "2024-02-06 10:35:56.713708", "failed_when_result": false, "rc": 1, "start": "2024-02-06 10:35:55.940643" } STDERR: Cannot load profile(s) 'virtual-guest mssql': Cannot find profile 'throughput-performance' in '['/etc/tuned', '/usr/lib/tuned']'. MSG: non-zero return code TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:420 Tuesday 06 February 2024 10:35:56 +0000 (0:00:00.930) 0:01:06.778 ****** changed: [sut] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:429 Tuesday 06 February 2024 10:35:56 +0000 (0:00:00.230) 0:01:07.009 ****** changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.645420", "end": "2024-02-06 10:35:58.741050", "rc": 0, "start": "2024-02-06 10:35:57.095630" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Tuesday 06 February 2024 10:35:58 +0000 (0:00:01.796) 0:01:08.805 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Tuesday 06 February 2024 10:35:58 +0000 (0:00:00.162) 0:01:08.967 ****** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\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 rhel-Server 49 k\n msodbcsql17 x86_64 17.10.5.1-1 packages-microsoft-com-prod 913 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal download size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.1 MB/s | 1.5 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql17-17.10.5.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.5.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:458 Tuesday 06 February 2024 10:36:04 +0000 (0:00:05.115) 0:01:14.082 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:462 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.018) 0:01:14.101 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:468 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.017) 0:01:14.118 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:483 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.018) 0:01:14.137 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:490 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.018) 0:01:14.156 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the password of sa user] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:498 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.046) 0:01:14.203 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.019) 0:01:14.222 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:531 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.019) 0:01:14.241 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.017) 0:01:14.259 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:559 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.017) 0:01:14.276 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:566 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.017) 0:01:14.293 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.018) 0:01:14.312 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:592 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.017) 0:01:14.329 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.032) 0:01:14.361 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003588", "end": "2024-02-06 10:36:04.448518", "failed_when_result": false, "rc": 1, "start": "2024-02-06 10:36:04.444930" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.148) 0:01:14.510 ****** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.137196", "end": "2024-02-06 10:36:04.737982", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:36:04.600786" } 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.294) 0:01:14.804 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:599 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.018) 0:01:14.823 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:606 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.018) 0:01:14.842 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:618 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.018) 0:01:14.860 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:36:04 +0000 (0:00:00.030) 0:01:14.890 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003568", "end": "2024-02-06 10:36:04.978883", "failed_when_result": false, "rc": 1, "start": "2024-02-06 10:36:04.975315" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:36:05 +0000 (0:00:00.150) 0:01:15.041 ****** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.139436", "end": "2024-02-06 10:36:05.269400", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:36:05.129964" } 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:36:05 +0000 (0:00:00.294) 0:01:15.335 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Tuesday 06 February 2024 10:36:05 +0000 (0:00:00.017) 0:01:15.353 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:644 Tuesday 06 February 2024 10:36:05 +0000 (0:00:00.017) 0:01:15.370 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:36:05 +0000 (0:00:00.033) 0:01:15.404 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003647", "end": "2024-02-06 10:36:05.498099", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:36:05.494452" } STDOUT: enabled = false TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:36:05 +0000 (0:00:00.157) 0:01:15.561 ****** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.142263", "end": "2024-02-06 10:36:05.792256", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:36:05.649993" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:36:05 +0000 (0:00:00.296) 0:01:15.858 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:651 Tuesday 06 February 2024 10:36:05 +0000 (0:00:00.018) 0:01:15.876 ****** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:15.0.4345.5-2 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server-fts\n x86_64 15.0.4345.5-2 packages-microsoft-com-mssql-server-2019 225 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 225 M\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : mssql-server-fts-15.0.4345.5-2.x86_64 1/1 \n\n+-------------------------------------------------------------------------------------+\nPlease restart mssql-server to enable Microsoft SQL Server Full Text Search.\n+-------------------------------------------------------------------------------------+\n\n Verifying : mssql-server-fts-15.0.4345.5-2.x86_64 1/1 \n\nInstalled:\n mssql-server-fts.x86_64 0:15.0.4345.5-2 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:658 Tuesday 06 February 2024 10:36:36 +0000 (0:00:30.257) 0:01:46.134 ****** changed: [sut] => { "changed": true, "changes": { "installed": [ "powershell" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package powershell.x86_64 0:7.3.11-1.rh will be installed\n--> Processing Dependency: libicu for package: powershell-7.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libicu.x86_64 0:50.2-4.el7_7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n powershell x86_64 7.3.11-1.rh packages-microsoft-com-prod 66 M\nInstalling for dependencies:\n libicu x86_64 50.2-4.el7_7 rhel-Server 6.9 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+1 Dependent package)\n\nTotal download size: 72 M\nInstalled size: 192 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 25 MB/s | 72 MB 00:02 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libicu-50.2-4.el7_7.x86_64 1/2 \n Installing : powershell-7.3.11-1.rh.x86_64 2/2 \n Verifying : powershell-7.3.11-1.rh.x86_64 1/2 \n Verifying : libicu-50.2-4.el7_7.x86_64 2/2 \n\nInstalled:\n powershell.x86_64 0:7.3.11-1.rh \n\nDependency Installed:\n libicu.x86_64 0:50.2-4.el7_7 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:667 Tuesday 06 February 2024 10:36:48 +0000 (0:00:12.410) 0:01:58.544 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004403", "end": "2024-02-06 10:36:49.648775", "failed_when_result": false, "rc": 1, "start": "2024-02-06 10:36:48.644372" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Tuesday 06 February 2024 10:36:49 +0000 (0:00:01.166) 0:01:59.710 ****** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.138113", "end": "2024-02-06 10:36:49.935473", "rc": 0, "start": "2024-02-06 10:36:49.797360" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:680 Tuesday 06 February 2024 10:36:49 +0000 (0:00:00.287) 0:01:59.998 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Tuesday 06 February 2024 10:36:49 +0000 (0:00:00.019) 0:02:00.017 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:36:50 +0000 (0:00:00.041) 0:02:00.059 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003472", "end": "2024-02-06 10:36:50.149340", "failed_when_result": false, "rc": 1, "start": "2024-02-06 10:36:50.145868" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:36:50 +0000 (0:00:00.173) 0:02:00.232 ****** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.139701", "end": "2024-02-06 10:36:50.462388", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:36:50.322687" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:36:50 +0000 (0:00:00.296) 0:02:00.529 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:694 Tuesday 06 February 2024 10:36:50 +0000 (0:00:00.018) 0:02:00.548 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:36:50 +0000 (0:00:00.032) 0:02:00.580 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004727", "end": "2024-02-06 10:36:51.669360", "failed_when_result": false, "rc": 1, "start": "2024-02-06 10:36:50.664633" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:36:51 +0000 (0:00:01.152) 0:02:01.732 ****** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.136919", "end": "2024-02-06 10:36:51.958685", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:36:51.821766" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:36:51 +0000 (0:00:00.292) 0:02:02.025 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:712 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.019) 0:02:02.045 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:726 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.019) 0:02:02.064 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:731 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.018) 0:02:02.083 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.021) 0:02:02.105 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:758 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.018) 0:02:02.123 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.041) 0:02:02.165 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.018) 0:02:02.183 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.018) 0:02:02.202 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:791 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.018) 0:02:02.220 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:799 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.018) 0:02:02.239 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:806 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.017) 0:02:02.256 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:813 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.019) 0:02:02.275 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.020) 0:02:02.296 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:835 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.021) 0:02:02.318 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.022) 0:02:02.341 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:856 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.020) 0:02:02.361 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:861 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.018) 0:02:02.380 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:878 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.019) 0:02:02.399 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:883 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.018) 0:02:02.417 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:888 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.018) 0:02:02.436 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:894 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.019) 0:02:02.456 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.021) 0:02:02.477 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:941 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.020) 0:02:02.497 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:949 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.019) 0:02:02.516 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:959 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.018) 0:02:02.535 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:965 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.018) 0:02:02.553 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:982 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.017) 0:02:02.570 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.040) 0:02:02.611 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1017 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.020) 0:02:02.631 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.018) 0:02:02.650 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1078 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.017) 0:02:02.668 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.017) 0:02:02.685 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1096 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.017) 0:02:02.703 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1102 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.017) 0:02:02.720 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.022) 0:02:02.742 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1119 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.018) 0:02:02.761 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1127 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.019) 0:02:02.780 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1142 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.025) 0:02:02.805 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1149 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.019) 0:02:02.825 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1174 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.018) 0:02:02.844 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1183 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.019) 0:02:02.863 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1193 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.017) 0:02:02.881 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1204 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.018) 0:02:02.899 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.017) 0:02:02.917 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1230 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.019) 0:02:02.937 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1237 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.017) 0:02:02.954 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1244 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.019) 0:02:02.973 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1253 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.019) 0:02:02.992 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1260 Tuesday 06 February 2024 10:36:52 +0000 (0:00:00.044) 0:02:03.037 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1272 Tuesday 06 February 2024 10:36:53 +0000 (0:00:00.025) 0:02:03.062 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1281 Tuesday 06 February 2024 10:36:53 +0000 (0:00:00.021) 0:02:03.083 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Tuesday 06 February 2024 10:36:53 +0000 (0:00:00.024) 0:02:03.108 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Tuesday 06 February 2024 10:36:53 +0000 (0:00:00.018) 0:02:03.126 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1302 Tuesday 06 February 2024 10:36:53 +0000 (0:00:00.018) 0:02:03.145 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1315 Tuesday 06 February 2024 10:36:53 +0000 (0:00:00.023) 0:02:03.168 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Tuesday 06 February 2024 10:36:53 +0000 (0:00:00.018) 0:02:03.187 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for the cluster to finish configuration] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1332 Tuesday 06 February 2024 10:36:53 +0000 (0:00:00.018) 0:02:03.205 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1338 Tuesday 06 February 2024 10:36:53 +0000 (0:00:00.019) 0:02:03.224 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1347 Tuesday 06 February 2024 10:36:53 +0000 (0:00:00.018) 0:02:03.243 ****** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Tuesday 06 February 2024 10:36:53 +0000 (0:00:00.240) 0:02:03.484 ****** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-02-06 10:35:47 UTC", "ActiveEnterTimestampMonotonic": "581985745", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket -.mount network.target basic.target auditd.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-02-06 10:35:47 UTC", "AssertTimestampMonotonic": "581978130", "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": "Tue 2024-02-06 10:35:47 UTC", "ConditionTimestampMonotonic": "581978128", "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": "7069", "ExecMainStartTimestamp": "Tue 2024-02-06 10:35:47 UTC", "ExecMainStartTimestampMonotonic": "581985682", "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": "Tue 2024-02-06 10:35:47 UTC", "InactiveExitTimestampMonotonic": "581985745", "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": "7069", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-02-06 10:35:47 UTC", "WatchdogTimestampMonotonic": "581985725", "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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1360 Tuesday 06 February 2024 10:36:54 +0000 (0:00:01.291) 0:02:04.776 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1371 Tuesday 06 February 2024 10:36:54 +0000 (0:00:00.039) 0:02:04.816 ****** 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-ha-wait-for-pcs15e2j9_v/tests/tasks/tests_idempotency.yml:20 Tuesday 06 February 2024 10:36:54 +0000 (0:00:00.018) 0:02:04.834 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql-sever-increase-start-limit.yml:3 Tuesday 06 February 2024 10:36:54 +0000 (0:00:00.061) 0:02:04.896 ****** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql-sever-increase-start-limit.yml:10 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.200) 0:02:05.097 ****** changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql-sever-increase-start-limit.yml:17 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.146) 0:02:05.243 ****** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/tests_idempotency.yml:23 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.328) 0:02:05.572 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.130) 0:02:05.703 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.028) 0:02:05.732 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.022) 0:02:05.755 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.061) 0:02:05.816 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.017) 0:02:05.834 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.017) 0:02:05.852 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.018) 0:02:05.870 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.018) 0:02:05.889 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.018) 0:02:05.907 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.019) 0:02:05.926 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.017) 0:02:05.944 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.019) 0:02:05.963 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.019) 0:02:05.982 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.022) 0:02:06.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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Tuesday 06 February 2024 10:36:55 +0000 (0:00:00.018) 0:02:06.023 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Tuesday 06 February 2024 10:36:56 +0000 (0:00:00.019) 0:02:06.043 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 06 February 2024 10:36:56 +0000 (0:00:00.024) 0:02:06.067 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Tuesday 06 February 2024 10:36:56 +0000 (0:00:00.019) 0:02:06.087 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Tuesday 06 February 2024 10:36:56 +0000 (0:00:00.020) 0:02:06.107 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Tuesday 06 February 2024 10:36:56 +0000 (0:00:00.904) 0:02:07.011 ****** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Tuesday 06 February 2024 10:36:57 +0000 (0:00:00.056) 0:02:07.067 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Tuesday 06 February 2024 10:36:57 +0000 (0:00:00.020) 0:02:07.087 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Tuesday 06 February 2024 10:36:57 +0000 (0:00:00.021) 0:02:07.109 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Tuesday 06 February 2024 10:36:57 +0000 (0:00:00.038) 0:02:07.148 ****** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Tuesday 06 February 2024 10:36:57 +0000 (0:00:00.361) 0:02:07.509 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Tuesday 06 February 2024 10:36:57 +0000 (0:00:00.019) 0:02:07.529 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Tuesday 06 February 2024 10:36:57 +0000 (0:00:00.019) 0:02:07.549 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Tuesday 06 February 2024 10:36:57 +0000 (0:00:00.020) 0:02:07.570 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Tuesday 06 February 2024 10:36:57 +0000 (0:00:00.024) 0:02:07.594 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Tuesday 06 February 2024 10:36:57 +0000 (0:00:00.019) 0:02:07.614 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Tuesday 06 February 2024 10:36:57 +0000 (0:00:00.018) 0:02:07.633 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Tuesday 06 February 2024 10:36:57 +0000 (0:00:00.018) 0:02:07.651 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Tuesday 06 February 2024 10:36:57 +0000 (0:00:00.018) 0:02:07.670 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Tuesday 06 February 2024 10:36:57 +0000 (0:00:00.018) 0:02:07.689 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4345.5-2.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Tuesday 06 February 2024 10:36:58 +0000 (0:00:00.465) 0:02:08.154 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Tuesday 06 February 2024 10:36:58 +0000 (0:00:00.019) 0:02:08.174 ****** 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.014965", "end": "2024-02-06 10:36:58.318318", "rc": 0, "start": "2024-02-06 10:36:58.303353" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Tuesday 06 February 2024 10:36:58 +0000 (0:00:00.211) 0:02:08.385 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Tuesday 06 February 2024 10:36:59 +0000 (0:00:00.970) 0:02:09.356 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Tuesday 06 February 2024 10:36:59 +0000 (0:00:00.025) 0:02:09.381 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Tuesday 06 February 2024 10:36:59 +0000 (0:00:00.017) 0:02:09.399 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:349 Tuesday 06 February 2024 10:36:59 +0000 (0:00:00.017) 0:02:09.417 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Ensure the directory and permissions /tmp/mssql_data] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Tuesday 06 February 2024 10:36:59 +0000 (0:00:00.050) 0:02:09.467 ****** ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 996 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Tuesday 06 February 2024 10:36:59 +0000 (0:00:00.177) 0:02:09.644 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:29 Tuesday 06 February 2024 10:36:59 +0000 (0:00:00.023) 0:02:09.667 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:36:59 +0000 (0:00:00.061) 0:02:09.729 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003792", "end": "2024-02-06 10:36:59.825110", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:36:59.821318" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:36:59 +0000 (0:00:00.161) 0:02:09.890 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:36:59 +0000 (0:00:00.024) 0:02:09.914 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the directory and permissions /tmp/mssql_log] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Tuesday 06 February 2024 10:36:59 +0000 (0:00:00.022) 0:02:09.936 ****** ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 996 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Tuesday 06 February 2024 10:37:00 +0000 (0:00:00.187) 0:02:10.124 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:29 Tuesday 06 February 2024 10:37:00 +0000 (0:00:00.021) 0:02:10.146 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:37:00 +0000 (0:00:00.032) 0:02:10.179 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004281", "end": "2024-02-06 10:37:00.276822", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:00.272541" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:37:00 +0000 (0:00:00.163) 0:02:10.342 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:37:00 +0000 (0:00:00.023) 0:02:10.366 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:364 Tuesday 06 February 2024 10:37:00 +0000 (0:00:00.019) 0:02:10.386 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:376 Tuesday 06 February 2024 10:37:00 +0000 (0:00:00.017) 0:02:10.403 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Tuesday 06 February 2024 10:37:00 +0000 (0:00:00.017) 0:02:10.421 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:391 Tuesday 06 February 2024 10:37:00 +0000 (0:00:00.442) 0:02:10.863 ****** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-02-06 10:26:20 UTC", "ActiveEnterTimestampMonotonic": "14518773", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service systemd-sysctl.service basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-02-06 10:26:19 UTC", "AssertTimestampMonotonic": "13650624", "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": "Tue 2024-02-06 10:26:19 UTC", "ConditionTimestampMonotonic": "13650622", "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": "946", "ExecMainStartTimestamp": "Tue 2024-02-06 10:26:19 UTC", "ExecMainStartTimestampMonotonic": "13658756", "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": "Tue 2024-02-06 10:26:19 UTC", "InactiveExitTimestampMonotonic": "13659299", "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": "946", "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": "Tue 2024-02-06 10:26:20 UTC", "WatchdogTimestampMonotonic": "14518403", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:397 Tuesday 06 February 2024 10:37:01 +0000 (0:00:00.285) 0:02:11.149 ****** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.126081", "end": "2024-02-06 10:37:01.357244", "rc": 0, "start": "2024-02-06 10:37:01.231163" } 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:407 Tuesday 06 February 2024 10:37:01 +0000 (0:00:00.274) 0:02:11.424 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:420 Tuesday 06 February 2024 10:37:01 +0000 (0:00:00.019) 0:02:11.443 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:429 Tuesday 06 February 2024 10:37:01 +0000 (0:00:00.017) 0:02:11.461 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Tuesday 06 February 2024 10:37:01 +0000 (0:00:00.018) 0:02:11.479 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Tuesday 06 February 2024 10:37:01 +0000 (0:00:00.152) 0:02:11.632 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:458 Tuesday 06 February 2024 10:37:01 +0000 (0:00:00.366) 0:02:11.999 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Tuesday 06 February 2024 10:37:01 +0000 (0:00:00.034) 0:02:12.033 ****** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-02-06 10:36:54 UTC", "ActiveEnterTimestampMonotonic": "649189836", "ActiveExitTimestamp": "Tue 2024-02-06 10:36:53 UTC", "ActiveExitTimestampMonotonic": "648141180", "ActiveState": "active", "After": "network.target basic.target auditd.service systemd-journald.socket system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-02-06 10:36:54 UTC", "AssertTimestampMonotonic": "649183529", "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": "Tue 2024-02-06 10:36:54 UTC", "ConditionTimestampMonotonic": "649183527", "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": "7712", "ExecMainStartTimestamp": "Tue 2024-02-06 10:36:54 UTC", "ExecMainStartTimestampMonotonic": "649189763", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-02-06 10:36:54 UTC", "InactiveEnterTimestampMonotonic": "649174527", "InactiveExitTimestamp": "Tue 2024-02-06 10:36:54 UTC", "InactiveExitTimestampMonotonic": "649189836", "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": "7712", "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": "Tue 2024-02-06 10:36:54 UTC", "WatchdogTimestampMonotonic": "649189816", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Tuesday 06 February 2024 10:37:02 +0000 (0:00:00.224) 0:02:12.258 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004562", "end": "2024-02-06 10:37:03.347703", "failed_when_result": false, "rc": 1, "start": "2024-02-06 10:37:02.343141" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Tuesday 06 February 2024 10:37:03 +0000 (0:00:01.151) 0:02:13.409 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003445", "end": "2024-02-06 10:37:03.497961", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:03.494516" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Tuesday 06 February 2024 10:37:03 +0000 (0:00:00.151) 0:02:13.560 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:462 Tuesday 06 February 2024 10:37:03 +0000 (0:00:00.027) 0:02:13.588 ****** 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": 7957, "state": "file", "uid": 996 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:468 Tuesday 06 February 2024 10:37:04 +0000 (0:00:01.200) 0:02:14.788 ****** ok: [sut] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:483 Tuesday 06 February 2024 10:37:04 +0000 (0:00:00.209) 0:02:14.997 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:490 Tuesday 06 February 2024 10:37:04 +0000 (0:00:00.021) 0:02:15.019 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:498 Tuesday 06 February 2024 10:37:05 +0000 (0:00:00.744) 0:02:15.763 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Tuesday 06 February 2024 10:37:05 +0000 (0:00:00.023) 0:02:15.786 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:531 Tuesday 06 February 2024 10:37:05 +0000 (0:00:00.017) 0:02:15.804 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Tuesday 06 February 2024 10:37:05 +0000 (0:00:00.018) 0:02:15.822 ****** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005819", "end": "2024-02-06 10:37:05.917796", "rc": 0, "start": "2024-02-06 10:37:05.911977" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:559 Tuesday 06 February 2024 10:37:05 +0000 (0:00:00.159) 0:02:15.981 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:566 Tuesday 06 February 2024 10:37:05 +0000 (0:00:00.021) 0:02:16.003 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Tuesday 06 February 2024 10:37:06 +0000 (0:00:00.711) 0:02:16.715 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:592 Tuesday 06 February 2024 10:37:06 +0000 (0:00:00.022) 0:02:16.737 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:37:06 +0000 (0:00:00.034) 0:02:16.771 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003518", "end": "2024-02-06 10:37:06.861429", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:06.857911" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:37:06 +0000 (0:00:00.153) 0:02:16.925 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:37:06 +0000 (0:00:00.023) 0:02:16.948 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:599 Tuesday 06 February 2024 10:37:06 +0000 (0:00:00.046) 0:02:16.995 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:606 Tuesday 06 February 2024 10:37:06 +0000 (0:00:00.020) 0:02:17.015 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:618 Tuesday 06 February 2024 10:37:06 +0000 (0:00:00.019) 0:02:17.034 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:37:07 +0000 (0:00:00.031) 0:02:17.066 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003536", "end": "2024-02-06 10:37:07.154265", "failed_when_result": false, "rc": 1, "start": "2024-02-06 10:37:07.150729" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:37:07 +0000 (0:00:00.152) 0:02:17.218 ****** ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.143286", "end": "2024-02-06 10:37:07.448765", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:07.305479" } 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:37:07 +0000 (0:00:00.298) 0:02:17.517 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Tuesday 06 February 2024 10:37:07 +0000 (0:00:00.018) 0:02:17.535 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:644 Tuesday 06 February 2024 10:37:07 +0000 (0:00:00.019) 0:02:17.555 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:37:07 +0000 (0:00:00.036) 0:02:17.591 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003561", "end": "2024-02-06 10:37:07.680803", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:07.677242" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:37:07 +0000 (0:00:00.153) 0:02:17.745 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:37:07 +0000 (0:00:00.023) 0:02:17.769 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:651 Tuesday 06 February 2024 10:37:07 +0000 (0:00:00.020) 0:02:17.790 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts-15.0.4345.5-2.x86_64 providing mssql-server-fts is already installed" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:658 Tuesday 06 February 2024 10:37:08 +0000 (0:00:00.369) 0:02:18.159 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "powershell-7.3.11-1.rh.x86_64 providing powershell is already installed" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:667 Tuesday 06 February 2024 10:37:08 +0000 (0:00:00.363) 0:02:18.523 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003632", "end": "2024-02-06 10:37:08.610587", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:08.606955" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Tuesday 06 February 2024 10:37:08 +0000 (0:00:00.150) 0:02:18.674 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:680 Tuesday 06 February 2024 10:37:08 +0000 (0:00:00.021) 0:02:18.695 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Tuesday 06 February 2024 10:37:08 +0000 (0:00:00.019) 0:02:18.714 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:37:08 +0000 (0:00:00.031) 0:02:18.746 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003666", "end": "2024-02-06 10:37:08.843987", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:08.840321" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:37:08 +0000 (0:00:00.162) 0:02:18.909 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:37:08 +0000 (0:00:00.023) 0:02:18.932 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:694 Tuesday 06 February 2024 10:37:08 +0000 (0:00:00.019) 0:02:18.952 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:37:08 +0000 (0:00:00.033) 0:02:18.985 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003569", "end": "2024-02-06 10:37:09.076001", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:09.072432" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.155) 0:02:19.140 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.024) 0:02:19.165 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:712 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.020) 0:02:19.185 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:726 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.019) 0:02:19.205 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:731 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.019) 0:02:19.224 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.049) 0:02:19.273 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:758 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.019) 0:02:19.293 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.024) 0:02:19.317 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.019) 0:02:19.337 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.019) 0:02:19.357 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:791 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.021) 0:02:19.378 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:799 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.020) 0:02:19.398 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:806 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.020) 0:02:19.419 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:813 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.027) 0:02:19.446 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.026) 0:02:19.473 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:835 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.021) 0:02:19.494 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.020) 0:02:19.515 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:856 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.019) 0:02:19.534 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:861 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.019) 0:02:19.553 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:878 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.025) 0:02:19.579 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:883 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.020) 0:02:19.600 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:888 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.022) 0:02:19.622 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:894 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.029) 0:02:19.652 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.021) 0:02:19.674 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:941 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.019) 0:02:19.694 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:949 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.060) 0:02:19.754 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:959 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.019) 0:02:19.774 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:965 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.017) 0:02:19.792 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:982 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.018) 0:02:19.810 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.021) 0:02:19.832 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1017 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.019) 0:02:19.852 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.020) 0:02:19.872 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1078 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.019) 0:02:19.892 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.018) 0:02:19.910 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1096 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.017) 0:02:19.927 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1102 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.017) 0:02:19.945 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.024) 0:02:19.969 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1119 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.019) 0:02:19.989 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1127 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.019) 0:02:20.009 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1142 Tuesday 06 February 2024 10:37:09 +0000 (0:00:00.029) 0:02:20.039 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1149 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.028) 0:02:20.067 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1174 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.022) 0:02:20.089 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1183 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.021) 0:02:20.111 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1193 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.018) 0:02:20.129 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1204 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.057) 0:02:20.186 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.037) 0:02:20.223 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1230 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.033) 0:02:20.256 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1237 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.021) 0:02:20.278 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1244 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.021) 0:02:20.300 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1253 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.023) 0:02:20.323 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1260 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.022) 0:02:20.345 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1272 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.027) 0:02:20.372 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1281 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.020) 0:02:20.392 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.020) 0:02:20.413 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.020) 0:02:20.433 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1302 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.025) 0:02:20.459 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1315 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.028) 0:02:20.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 [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.018) 0:02:20.506 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for the cluster to finish configuration] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1332 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.019) 0:02:20.525 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1338 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.022) 0:02:20.547 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1347 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.019) 0:02:20.567 ****** ok: [sut] => { "changed": false } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1360 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.196) 0:02:20.764 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1371 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.019) 0:02:20.783 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/tests_idempotency.yml:38 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.055) 0:02:20.839 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:8 Tuesday 06 February 2024 10:37:10 +0000 (0:00:00.120) 0:02:20.960 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005875", "end": "2024-02-06 10:37:11.055293", "rc": 0, "start": "2024-02-06 10:37:11.049418" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:23 Tuesday 06 February 2024 10:37:11 +0000 (0:00:00.166) 0:02:21.126 ****** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.005587", "end": "2024-02-06 10:37:11.249269", "rc": 0, "start": "2024-02-06 10:37:11.243682" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:35 Tuesday 06 February 2024 10:37:11 +0000 (0:00:00.186) 0:02:21.313 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:39 Tuesday 06 February 2024 10:37:11 +0000 (0:00:00.039) 0:02:21.353 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:7 Tuesday 06 February 2024 10:37:11 +0000 (0:00:00.070) 0:02:21.424 ****** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004755", "end": "2024-02-06 10:37:11.523661", "rc": 0, "start": "2024-02-06 10:37:11.518906" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:14 Tuesday 06 February 2024 10:37:11 +0000 (0:00:00.167) 0:02:21.592 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:25 Tuesday 06 February 2024 10:37:11 +0000 (0:00:00.036) 0:02:21.629 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:40 Tuesday 06 February 2024 10:37:11 +0000 (0:00:00.031) 0:02:21.660 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:7 Tuesday 06 February 2024 10:37:11 +0000 (0:00:00.029) 0:02:21.690 ****** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004835", "end": "2024-02-06 10:37:11.803530", "rc": 0, "start": "2024-02-06 10:37:11.798695" } TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:14 Tuesday 06 February 2024 10:37:11 +0000 (0:00:00.178) 0:02:21.868 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:25 Tuesday 06 February 2024 10:37:11 +0000 (0:00:00.023) 0:02:21.892 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:40 Tuesday 06 February 2024 10:37:11 +0000 (0:00:00.058) 0:02:21.950 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:7 Tuesday 06 February 2024 10:37:11 +0000 (0:00:00.026) 0:02:21.977 ****** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004973", "end": "2024-02-06 10:37:12.068027", "rc": 0, "start": "2024-02-06 10:37:12.063054" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:14 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.155) 0:02:22.133 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:25 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.042) 0:02:22.175 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_data] *********************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:40 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.029) 0:02:22.204 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:7 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.035) 0:02:22.239 ****** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004761", "end": "2024-02-06 10:37:12.364469", "rc": 0, "start": "2024-02-06 10:37:12.359708" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:14 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.205) 0:02:22.445 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:25 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.033) 0:02:22.479 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_log] ************************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:40 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.025) 0:02:22.504 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:7 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.033) 0:02:22.537 ****** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004928", "end": "2024-02-06 10:37:12.640336", "rc": 0, "start": "2024-02-06 10:37:12.635408" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:14 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.179) 0:02:22.717 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:25 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.023) 0:02:22.740 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:40 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.076) 0:02:22.817 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:55 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.020) 0:02:22.837 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:60 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.022) 0:02:22.859 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:70 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.020) 0:02:22.880 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:75 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.019) 0:02:22.899 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:85 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.067) 0:02:22.967 ****** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Tuesday 06 February 2024 10:37:12 +0000 (0:00:00.039) 0:02:23.006 ****** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-02-06 10:36:54 UTC", "ActiveEnterTimestampMonotonic": "649189836", "ActiveExitTimestamp": "Tue 2024-02-06 10:36:53 UTC", "ActiveExitTimestampMonotonic": "648141180", "ActiveState": "active", "After": "network.target basic.target auditd.service systemd-journald.socket system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-02-06 10:36:54 UTC", "AssertTimestampMonotonic": "649183529", "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": "Tue 2024-02-06 10:36:54 UTC", "ConditionTimestampMonotonic": "649183527", "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": "7712", "ExecMainStartTimestamp": "Tue 2024-02-06 10:36:54 UTC", "ExecMainStartTimestampMonotonic": "649189763", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-02-06 10:36:54 UTC", "InactiveEnterTimestampMonotonic": "649174527", "InactiveExitTimestamp": "Tue 2024-02-06 10:36:54 UTC", "InactiveExitTimestampMonotonic": "649189836", "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": "7712", "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": "Tue 2024-02-06 10:36:54 UTC", "WatchdogTimestampMonotonic": "649189816", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Tuesday 06 February 2024 10:37:13 +0000 (0:00:00.225) 0:02:23.232 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003446", "end": "2024-02-06 10:37:13.320233", "failed_when_result": false, "rc": 1, "start": "2024-02-06 10:37:13.316787" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Tuesday 06 February 2024 10:37:13 +0000 (0:00:00.149) 0:02:23.382 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003469", "end": "2024-02-06 10:37:13.470626", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:13.467157" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Tuesday 06 February 2024 10:37:13 +0000 (0:00:00.151) 0:02:23.533 ****** 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-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:93 Tuesday 06 February 2024 10:37:13 +0000 (0:00:00.026) 0:02:23.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": 10144, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:99 Tuesday 06 February 2024 10:37:14 +0000 (0:00:01.168) 0:02:24.729 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "0.0.0.0", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.023242", "end": "2024-02-06 10:37:14.854765", "rc": 0, "start": "2024-02-06 10:37:14.831523" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU24) (KB5031908) - 15.0.4345.5 (X64) Dec 4 2023 14:44:16 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux Server 7.9 (Maipo)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:113 Tuesday 06 February 2024 10:37:14 +0000 (0:00:00.190) 0:02:24.920 ****** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:117 Tuesday 06 February 2024 10:37:14 +0000 (0:00:00.021) 0:02:24.941 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_package.yml:7 Tuesday 06 February 2024 10:37:14 +0000 (0:00:00.067) 0:02:25.008 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_package.yml:12 Tuesday 06 February 2024 10:37:15 +0000 (0:00:00.709) 0:02:25.718 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_package.yml:17 Tuesday 06 February 2024 10:37:15 +0000 (0:00:00.028) 0:02:25.746 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:124 Tuesday 06 February 2024 10:37:15 +0000 (0:00:00.027) 0:02:25.774 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_package.yml:7 Tuesday 06 February 2024 10:37:15 +0000 (0:00:00.037) 0:02:25.811 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_package.yml:12 Tuesday 06 February 2024 10:37:16 +0000 (0:00:00.770) 0:02:26.581 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_package.yml:17 Tuesday 06 February 2024 10:37:16 +0000 (0:00:00.029) 0:02:26.611 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:135 Tuesday 06 February 2024 10:37:16 +0000 (0:00:00.053) 0:02:26.664 ****** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004973", "end": "2024-02-06 10:37:16.758403", "rc": 0, "start": "2024-02-06 10:37:16.753430" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:140 Tuesday 06 February 2024 10:37:16 +0000 (0:00:00.156) 0:02:26.821 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:145 Tuesday 06 February 2024 10:37:16 +0000 (0:00:00.023) 0:02:26.844 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:151 Tuesday 06 February 2024 10:37:16 +0000 (0:00:00.021) 0:02:26.866 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:7 Tuesday 06 February 2024 10:37:16 +0000 (0:00:00.034) 0:02:26.900 ****** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005062", "end": "2024-02-06 10:37:17.017533", "rc": 0, "start": "2024-02-06 10:37:17.012471" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:14 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.182) 0:02:27.082 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:25 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.019) 0:02:27.102 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:40 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.025) 0:02:27.127 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:157 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.019) 0:02:27.147 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:7 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.032) 0:02:27.180 ****** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004858", "end": "2024-02-06 10:37:17.271168", "rc": 0, "start": "2024-02-06 10:37:17.266310" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:14 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.155) 0:02:27.335 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:25 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.022) 0:02:27.358 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:40 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.048) 0:02:27.407 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:167 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.023) 0:02:27.430 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:178 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.020) 0:02:27.451 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:190 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.020) 0:02:27.471 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:198 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.069) 0:02:27.541 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:208 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.026) 0:02:27.567 ****** 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-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:213 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.022) 0:02:27.590 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:221 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.022) 0:02:27.612 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/tests_idempotency.yml:52 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.017) 0:02:27.630 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.263) 0:02:27.894 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.029) 0:02:27.924 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.062) 0:02:27.987 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 06 February 2024 10:37:17 +0000 (0:00:00.036) 0:02:28.024 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 06 February 2024 10:37:18 +0000 (0:00:00.018) 0:02:28.043 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 06 February 2024 10:37:18 +0000 (0:00:00.018) 0:02:28.062 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 06 February 2024 10:37:18 +0000 (0:00:00.018) 0:02:28.080 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 06 February 2024 10:37:18 +0000 (0:00:00.017) 0:02:28.098 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Tuesday 06 February 2024 10:37:18 +0000 (0:00:00.018) 0:02:28.116 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Tuesday 06 February 2024 10:37:18 +0000 (0:00:00.018) 0:02:28.134 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Tuesday 06 February 2024 10:37:18 +0000 (0:00:00.017) 0:02:28.152 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Tuesday 06 February 2024 10:37:18 +0000 (0:00:00.018) 0:02:28.170 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Tuesday 06 February 2024 10:37:18 +0000 (0:00:00.017) 0:02:28.188 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Tuesday 06 February 2024 10:37:18 +0000 (0:00:00.021) 0:02:28.210 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Tuesday 06 February 2024 10:37:18 +0000 (0:00:00.017) 0:02:28.227 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Tuesday 06 February 2024 10:37:18 +0000 (0:00:00.021) 0:02:28.249 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 06 February 2024 10:37:18 +0000 (0:00:00.020) 0:02:28.269 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Tuesday 06 February 2024 10:37:18 +0000 (0:00:00.019) 0:02:28.289 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Tuesday 06 February 2024 10:37:18 +0000 (0:00:00.021) 0:02:28.310 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Tuesday 06 February 2024 10:37:19 +0000 (0:00:00.814) 0:02:29.125 ****** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Tuesday 06 February 2024 10:37:19 +0000 (0:00:00.054) 0:02:29.180 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Tuesday 06 February 2024 10:37:19 +0000 (0:00:00.019) 0:02:29.200 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Tuesday 06 February 2024 10:37:19 +0000 (0:00:00.021) 0:02:29.221 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Tuesday 06 February 2024 10:37:19 +0000 (0:00:00.038) 0:02:29.260 ****** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Tuesday 06 February 2024 10:37:19 +0000 (0:00:00.351) 0:02:29.611 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Tuesday 06 February 2024 10:37:19 +0000 (0:00:00.023) 0:02:29.635 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Tuesday 06 February 2024 10:37:19 +0000 (0:00:00.021) 0:02:29.656 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Tuesday 06 February 2024 10:37:19 +0000 (0:00:00.022) 0:02:29.679 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Tuesday 06 February 2024 10:37:19 +0000 (0:00:00.025) 0:02:29.704 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Tuesday 06 February 2024 10:37:19 +0000 (0:00:00.020) 0:02:29.724 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Tuesday 06 February 2024 10:37:19 +0000 (0:00:00.022) 0:02:29.747 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Tuesday 06 February 2024 10:37:19 +0000 (0:00:00.020) 0:02:29.767 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Tuesday 06 February 2024 10:37:19 +0000 (0:00:00.019) 0:02:29.787 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Tuesday 06 February 2024 10:37:19 +0000 (0:00:00.020) 0:02:29.807 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4345.5-2.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Tuesday 06 February 2024 10:37:20 +0000 (0:00:00.372) 0:02:30.180 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Tuesday 06 February 2024 10:37:20 +0000 (0:00:00.020) 0:02:30.200 ****** 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.005841", "end": "2024-02-06 10:37:20.290632", "rc": 0, "start": "2024-02-06 10:37:20.284791" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Tuesday 06 February 2024 10:37:20 +0000 (0:00:00.153) 0:02:30.353 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Tuesday 06 February 2024 10:37:21 +0000 (0:00:00.839) 0:02:31.193 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Tuesday 06 February 2024 10:37:21 +0000 (0:00:00.059) 0:02:31.253 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Tuesday 06 February 2024 10:37:21 +0000 (0:00:00.042) 0:02:31.296 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:349 Tuesday 06 February 2024 10:37:21 +0000 (0:00:00.032) 0:02:31.328 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Ensure the directory and permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Tuesday 06 February 2024 10:37:21 +0000 (0:00:00.047) 0:02:31.376 ****** ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Tuesday 06 February 2024 10:37:21 +0000 (0:00:00.161) 0:02:31.537 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:29 Tuesday 06 February 2024 10:37:21 +0000 (0:00:00.020) 0:02:31.558 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:37:21 +0000 (0:00:00.031) 0:02:31.589 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003522", "end": "2024-02-06 10:37:21.679520", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:21.675998" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:37:21 +0000 (0:00:00.152) 0:02:31.742 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/var/opt/mssql/data" ], "delta": "0:00:00.139284", "end": "2024-02-06 10:37:21.975689", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:21.836405" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:37:22 +0000 (0:00:00.303) 0:02:32.046 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the directory and permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Tuesday 06 February 2024 10:37:22 +0000 (0:00:00.026) 0:02:32.072 ****** ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Tuesday 06 February 2024 10:37:22 +0000 (0:00:00.174) 0:02:32.246 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:29 Tuesday 06 February 2024 10:37:22 +0000 (0:00:00.025) 0:02:32.272 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:37:22 +0000 (0:00:00.033) 0:02:32.306 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003660", "end": "2024-02-06 10:37:22.407874", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:22.404214" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:37:22 +0000 (0:00:00.169) 0:02:32.475 ****** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.135706", "end": "2024-02-06 10:37:22.701026", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:22.565320" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:37:22 +0000 (0:00:00.294) 0:02:32.770 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:364 Tuesday 06 February 2024 10:37:22 +0000 (0:00:00.019) 0:02:32.789 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:376 Tuesday 06 February 2024 10:37:22 +0000 (0:00:00.018) 0:02:32.808 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Tuesday 06 February 2024 10:37:22 +0000 (0:00:00.018) 0:02:32.826 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:391 Tuesday 06 February 2024 10:37:23 +0000 (0:00:00.362) 0:02:33.189 ****** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-02-06 10:26:20 UTC", "ActiveEnterTimestampMonotonic": "14518773", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service systemd-sysctl.service basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-02-06 10:26:19 UTC", "AssertTimestampMonotonic": "13650624", "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": "Tue 2024-02-06 10:26:19 UTC", "ConditionTimestampMonotonic": "13650622", "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": "946", "ExecMainStartTimestamp": "Tue 2024-02-06 10:26:19 UTC", "ExecMainStartTimestampMonotonic": "13658756", "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": "Tue 2024-02-06 10:26:19 UTC", "InactiveExitTimestampMonotonic": "13659299", "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": "946", "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": "Tue 2024-02-06 10:26:20 UTC", "WatchdogTimestampMonotonic": "14518403", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:397 Tuesday 06 February 2024 10:37:23 +0000 (0:00:00.280) 0:02:33.469 ****** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.113491", "end": "2024-02-06 10:37:23.665330", "rc": 0, "start": "2024-02-06 10:37:23.551839" } 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:407 Tuesday 06 February 2024 10:37:23 +0000 (0:00:00.260) 0:02:33.729 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:420 Tuesday 06 February 2024 10:37:23 +0000 (0:00:00.019) 0:02:33.749 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:429 Tuesday 06 February 2024 10:37:23 +0000 (0:00:00.018) 0:02:33.767 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Tuesday 06 February 2024 10:37:23 +0000 (0:00:00.018) 0:02:33.786 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Tuesday 06 February 2024 10:37:23 +0000 (0:00:00.151) 0:02:33.938 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:458 Tuesday 06 February 2024 10:37:24 +0000 (0:00:00.365) 0:02:34.303 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Tuesday 06 February 2024 10:37:24 +0000 (0:00:00.034) 0:02:34.338 ****** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-02-06 10:36:54 UTC", "ActiveEnterTimestampMonotonic": "649189836", "ActiveExitTimestamp": "Tue 2024-02-06 10:36:53 UTC", "ActiveExitTimestampMonotonic": "648141180", "ActiveState": "active", "After": "network.target basic.target auditd.service systemd-journald.socket system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-02-06 10:36:54 UTC", "AssertTimestampMonotonic": "649183529", "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": "Tue 2024-02-06 10:36:54 UTC", "ConditionTimestampMonotonic": "649183527", "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": "7712", "ExecMainStartTimestamp": "Tue 2024-02-06 10:36:54 UTC", "ExecMainStartTimestampMonotonic": "649189763", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-02-06 10:36:54 UTC", "InactiveEnterTimestampMonotonic": "649174527", "InactiveExitTimestamp": "Tue 2024-02-06 10:36:54 UTC", "InactiveExitTimestampMonotonic": "649189836", "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": "7712", "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": "Tue 2024-02-06 10:36:54 UTC", "WatchdogTimestampMonotonic": "649189816", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Tuesday 06 February 2024 10:37:24 +0000 (0:00:00.226) 0:02:34.564 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004214", "end": "2024-02-06 10:37:25.654237", "failed_when_result": false, "rc": 1, "start": "2024-02-06 10:37:24.650023" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Tuesday 06 February 2024 10:37:25 +0000 (0:00:01.163) 0:02:35.728 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003669", "end": "2024-02-06 10:37:25.824178", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:25.820509" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Tuesday 06 February 2024 10:37:25 +0000 (0:00:00.168) 0:02:35.897 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:462 Tuesday 06 February 2024 10:37:25 +0000 (0:00:00.040) 0:02:35.937 ****** 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": 10873, "state": "file", "uid": 996 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:468 Tuesday 06 February 2024 10:37:27 +0000 (0:00:01.161) 0:02:37.099 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:483 Tuesday 06 February 2024 10:37:27 +0000 (0:00:00.186) 0:02:37.286 ****** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Tue 2024-02-06 10:36:54 UTC", "ActiveEnterTimestampMonotonic": "649189836", "ActiveExitTimestamp": "Tue 2024-02-06 10:36:53 UTC", "ActiveExitTimestampMonotonic": "648141180", "ActiveState": "active", "After": "network.target basic.target auditd.service systemd-journald.socket system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-02-06 10:36:54 UTC", "AssertTimestampMonotonic": "649183529", "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": "Tue 2024-02-06 10:36:54 UTC", "ConditionTimestampMonotonic": "649183527", "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": "7712", "ExecMainStartTimestamp": "Tue 2024-02-06 10:36:54 UTC", "ExecMainStartTimestampMonotonic": "649189763", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-02-06 10:36:54 UTC", "InactiveEnterTimestampMonotonic": "649174527", "InactiveExitTimestamp": "Tue 2024-02-06 10:36:54 UTC", "InactiveExitTimestampMonotonic": "649189836", "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": "7712", "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": "Tue 2024-02-06 10:36:54 UTC", "WatchdogTimestampMonotonic": "649189816", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:490 Tuesday 06 February 2024 10:37:27 +0000 (0:00:00.475) 0:02:37.761 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:498 Tuesday 06 February 2024 10:37:28 +0000 (0:00:00.717) 0:02:38.479 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Tuesday 06 February 2024 10:37:34 +0000 (0:00:06.056) 0:02:44.535 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:531 Tuesday 06 February 2024 10:37:34 +0000 (0:00:00.022) 0:02:44.558 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Tuesday 06 February 2024 10:37:34 +0000 (0:00:00.024) 0:02:44.582 ****** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005481", "end": "2024-02-06 10:37:34.676127", "rc": 0, "start": "2024-02-06 10:37:34.670646" } STDOUT: false TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:559 Tuesday 06 February 2024 10:37:34 +0000 (0:00:00.160) 0:02:44.743 ****** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Tue 2024-02-06 10:36:54 UTC", "ActiveEnterTimestampMonotonic": "649189836", "ActiveExitTimestamp": "Tue 2024-02-06 10:37:27 UTC", "ActiveExitTimestampMonotonic": "681938713", "ActiveState": "inactive", "After": "network.target basic.target auditd.service systemd-journald.socket system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-02-06 10:36:54 UTC", "AssertTimestampMonotonic": "649183529", "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": "Tue 2024-02-06 10:36:54 UTC", "ConditionTimestampMonotonic": "649183527", "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": "Tue 2024-02-06 10:37:27 UTC", "ExecMainExitTimestampMonotonic": "682166380", "ExecMainPID": "7712", "ExecMainStartTimestamp": "Tue 2024-02-06 10:36:54 UTC", "ExecMainStartTimestampMonotonic": "649189763", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-02-06 10:36:54 UTC] ; stop_time=[Tue 2024-02-06 10:37:27 UTC] ; pid=7712 ; 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": "Tue 2024-02-06 10:37:27 UTC", "InactiveEnterTimestampMonotonic": "682166486", "InactiveExitTimestamp": "Tue 2024-02-06 10:36:54 UTC", "InactiveExitTimestampMonotonic": "649189836", "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" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:566 Tuesday 06 February 2024 10:37:34 +0000 (0:00:00.229) 0:02:44.972 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Tuesday 06 February 2024 10:37:35 +0000 (0:00:00.709) 0:02:45.682 ****** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:592 Tuesday 06 February 2024 10:37:41 +0000 (0:00:06.005) 0:02:51.688 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:37:41 +0000 (0:00:00.035) 0:02:51.723 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003552", "end": "2024-02-06 10:37:41.811762", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:41.808210" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:37:41 +0000 (0:00:00.150) 0:02:51.874 ****** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.137565", "end": "2024-02-06 10:37:42.102173", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:41.964608" } 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:37:42 +0000 (0:00:00.298) 0:02:52.173 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:599 Tuesday 06 February 2024 10:37:42 +0000 (0:00:00.023) 0:02:52.197 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:606 Tuesday 06 February 2024 10:37:42 +0000 (0:00:00.034) 0:02:52.232 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1435] ******* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:618 Tuesday 06 February 2024 10:37:42 +0000 (0:00:00.020) 0:02:52.253 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:37:42 +0000 (0:00:00.032) 0:02:52.285 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003695", "end": "2024-02-06 10:37:42.371468", "failed_when_result": false, "rc": 1, "start": "2024-02-06 10:37:42.367773" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:37:42 +0000 (0:00:00.150) 0:02:52.435 ****** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.139441", "end": "2024-02-06 10:37:42.662826", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:42.523385" } 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:37:42 +0000 (0:00:00.296) 0:02:52.731 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Tuesday 06 February 2024 10:37:42 +0000 (0:00:00.020) 0:02:52.752 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:644 Tuesday 06 February 2024 10:37:42 +0000 (0:00:00.020) 0:02:52.773 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:37:42 +0000 (0:00:00.036) 0:02:52.809 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003730", "end": "2024-02-06 10:37:42.898078", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:42.894348" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:37:42 +0000 (0:00:00.154) 0:02:52.963 ****** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.140332", "end": "2024-02-06 10:37:43.197468", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:43.057136" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:37:43 +0000 (0:00:00.339) 0:02:53.303 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:651 Tuesday 06 February 2024 10:37:43 +0000 (0:00:00.021) 0:02:53.324 ****** changed: [sut] => { "changed": true, "changes": { "removed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:15.0.4345.5-2 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server-fts\n x86_64 15.0.4345.5-2 @packages-microsoft-com-mssql-server-2019 554 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-fts-15.0.4345.5-2.x86_64 1/1 \n Verifying : mssql-server-fts-15.0.4345.5-2.x86_64 1/1 \n\nRemoved:\n mssql-server-fts.x86_64 0:15.0.4345.5-2 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:658 Tuesday 06 February 2024 10:37:44 +0000 (0:00:01.293) 0:02:54.617 ****** changed: [sut] => { "changed": true, "changes": { "removed": [ "powershell" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package powershell.x86_64 0:7.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n powershell x86_64 7.3.11-1.rh @packages-microsoft-com-prod 168 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 168 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : powershell-7.3.11-1.rh.x86_64 1/1 \n Verifying : powershell-7.3.11-1.rh.x86_64 1/1 \n\nRemoved:\n powershell.x86_64 0:7.3.11-1.rh \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:667 Tuesday 06 February 2024 10:37:45 +0000 (0:00:01.240) 0:02:55.858 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004785", "end": "2024-02-06 10:37:46.948000", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:45.943215" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Tuesday 06 February 2024 10:37:46 +0000 (0:00:01.154) 0:02:57.013 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:680 Tuesday 06 February 2024 10:37:46 +0000 (0:00:00.021) 0:02:57.034 ****** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.138998", "end": "2024-02-06 10:37:47.272914", "rc": 0, "start": "2024-02-06 10:37:47.133916" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Tuesday 06 February 2024 10:37:47 +0000 (0:00:00.303) 0:02:57.338 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:37:47 +0000 (0:00:00.043) 0:02:57.381 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003717", "end": "2024-02-06 10:37:47.472386", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:47.468669" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:37:47 +0000 (0:00:00.200) 0:02:57.581 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:37:47 +0000 (0:00:00.024) 0:02:57.606 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:694 Tuesday 06 February 2024 10:37:47 +0000 (0:00:00.021) 0:02:57.627 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:37:47 +0000 (0:00:00.036) 0:02:57.664 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003632", "end": "2024-02-06 10:37:47.752840", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:47.749208" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:37:47 +0000 (0:00:00.156) 0:02:57.820 ****** changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.138388", "end": "2024-02-06 10:37:48.049932", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:47.911544" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.297) 0:02:58.118 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:712 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.020) 0:02:58.138 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:726 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.018) 0:02:58.157 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:731 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.018) 0:02:58.175 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.022) 0:02:58.197 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:758 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.020) 0:02:58.217 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.021) 0:02:58.239 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.020) 0:02:58.260 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.019) 0:02:58.279 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:791 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.019) 0:02:58.299 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:799 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.019) 0:02:58.318 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:806 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.060) 0:02:58.379 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:813 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.023) 0:02:58.402 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.023) 0:02:58.426 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:835 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.023) 0:02:58.449 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.021) 0:02:58.471 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:856 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.021) 0:02:58.492 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:861 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.019) 0:02:58.511 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:878 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.019) 0:02:58.530 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:883 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.019) 0:02:58.549 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:888 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.019) 0:02:58.569 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:894 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.020) 0:02:58.590 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.022) 0:02:58.612 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:941 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.021) 0:02:58.634 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:949 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.019) 0:02:58.654 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:959 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.022) 0:02:58.676 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:965 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.021) 0:02:58.698 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:982 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.019) 0:02:58.718 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.020) 0:02:58.738 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1017 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.018) 0:02:58.757 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.020) 0:02:58.777 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1078 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.072) 0:02:58.850 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.021) 0:02:58.871 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1096 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.032) 0:02:58.904 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1102 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.022) 0:02:58.926 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.026) 0:02:58.952 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1119 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.020) 0:02:58.973 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1127 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.019) 0:02:58.992 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1142 Tuesday 06 February 2024 10:37:48 +0000 (0:00:00.026) 0:02:59.019 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1149 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.020) 0:02:59.040 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1174 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.019) 0:02:59.059 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1183 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.018) 0:02:59.078 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1193 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.018) 0:02:59.096 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1204 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.018) 0:02:59.115 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.017) 0:02:59.133 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1230 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.019) 0:02:59.152 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1237 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.017) 0:02:59.170 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1244 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.019) 0:02:59.190 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1253 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.018) 0:02:59.208 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1260 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.017) 0:02:59.226 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1272 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.079) 0:02:59.305 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1281 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.020) 0:02:59.326 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.020) 0:02:59.346 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.019) 0:02:59.366 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1302 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.021) 0:02:59.387 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1315 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.022) 0:02:59.410 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.018) 0:02:59.428 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for the cluster to finish configuration] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1332 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.018) 0:02:59.447 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1338 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.018) 0:02:59.466 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1347 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.019) 0:02:59.485 ****** changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.171) 0:02:59.657 ****** changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-02-06 10:36:54 UTC", "ActiveEnterTimestampMonotonic": "649189836", "ActiveExitTimestamp": "Tue 2024-02-06 10:37:27 UTC", "ActiveExitTimestampMonotonic": "681938713", "ActiveState": "inactive", "After": "network.target basic.target auditd.service systemd-journald.socket system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-02-06 10:36:54 UTC", "AssertTimestampMonotonic": "649183529", "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": "Tue 2024-02-06 10:36:54 UTC", "ConditionTimestampMonotonic": "649183527", "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": "Tue 2024-02-06 10:37:27 UTC", "ExecMainExitTimestampMonotonic": "682166380", "ExecMainPID": "7712", "ExecMainStartTimestamp": "Tue 2024-02-06 10:36:54 UTC", "ExecMainStartTimestampMonotonic": "649189763", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-02-06 10:36:54 UTC] ; stop_time=[Tue 2024-02-06 10:37:27 UTC] ; pid=7712 ; 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": "Tue 2024-02-06 10:37:27 UTC", "InactiveEnterTimestampMonotonic": "682166486", "InactiveExitTimestamp": "Tue 2024-02-06 10:36:54 UTC", "InactiveExitTimestampMonotonic": "649189836", "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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1360 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.306) 0:02:59.963 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1371 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.023) 0:02:59.987 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run with the edited settings again - should report not changed] ********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/tests_idempotency.yml:69 Tuesday 06 February 2024 10:37:49 +0000 (0:00:00.020) 0:03:00.007 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.390) 0:03:00.398 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.029) 0:03:00.428 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.024) 0:03:00.452 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.039) 0:03:00.492 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.020) 0:03:00.512 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.029) 0:03:00.542 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.020) 0:03:00.562 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.036) 0:03:00.598 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.024) 0:03:00.622 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.019) 0:03:00.642 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.083) 0:03:00.725 ****** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.023) 0:03:00.748 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.019) 0:03:00.768 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.023) 0:03:00.791 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.019) 0:03:00.811 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.020) 0:03:00.832 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.019) 0:03:00.851 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.019) 0:03:00.870 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Tuesday 06 February 2024 10:37:50 +0000 (0:00:00.020) 0:03:00.891 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Tuesday 06 February 2024 10:37:51 +0000 (0:00:00.751) 0:03:01.642 ****** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Tuesday 06 February 2024 10:37:51 +0000 (0:00:00.054) 0:03:01.697 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Tuesday 06 February 2024 10:37:51 +0000 (0:00:00.021) 0:03:01.718 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Tuesday 06 February 2024 10:37:51 +0000 (0:00:00.021) 0:03:01.740 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Tuesday 06 February 2024 10:37:51 +0000 (0:00:00.146) 0:03:01.886 ****** ok: [sut] => { "attempts": 1, "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Tuesday 06 February 2024 10:37:52 +0000 (0:00:00.397) 0:03:02.284 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Tuesday 06 February 2024 10:37:52 +0000 (0:00:00.020) 0:03:02.304 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Tuesday 06 February 2024 10:37:52 +0000 (0:00:00.021) 0:03:02.326 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Tuesday 06 February 2024 10:37:52 +0000 (0:00:00.022) 0:03:02.348 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Tuesday 06 February 2024 10:37:52 +0000 (0:00:00.025) 0:03:02.373 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Tuesday 06 February 2024 10:37:52 +0000 (0:00:00.019) 0:03:02.393 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Tuesday 06 February 2024 10:37:52 +0000 (0:00:00.020) 0:03:02.413 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Tuesday 06 February 2024 10:37:52 +0000 (0:00:00.020) 0:03:02.434 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Tuesday 06 February 2024 10:37:52 +0000 (0:00:00.023) 0:03:02.457 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Tuesday 06 February 2024 10:37:52 +0000 (0:00:00.019) 0:03:02.476 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4345.5-2.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Tuesday 06 February 2024 10:37:52 +0000 (0:00:00.426) 0:03:02.903 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Tuesday 06 February 2024 10:37:52 +0000 (0:00:00.019) 0:03:02.923 ****** 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.012970", "end": "2024-02-06 10:37:53.071533", "rc": 0, "start": "2024-02-06 10:37:53.058563" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Tuesday 06 February 2024 10:37:53 +0000 (0:00:00.223) 0:03:03.146 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Tuesday 06 February 2024 10:37:54 +0000 (0:00:01.105) 0:03:04.252 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Tuesday 06 February 2024 10:37:54 +0000 (0:00:00.027) 0:03:04.279 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Tuesday 06 February 2024 10:37:54 +0000 (0:00:00.019) 0:03:04.298 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:349 Tuesday 06 February 2024 10:37:54 +0000 (0:00:00.018) 0:03:04.317 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml for sut TASK [linux-system-roles.mssql : Ensure the directory and permissions /var/opt/mssql/data] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Tuesday 06 February 2024 10:37:54 +0000 (0:00:00.041) 0:03:04.359 ****** ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Tuesday 06 February 2024 10:37:54 +0000 (0:00:00.165) 0:03:04.524 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the setting defaultdatadir] ********* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:29 Tuesday 06 February 2024 10:37:54 +0000 (0:00:00.020) 0:03:04.545 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:37:54 +0000 (0:00:00.031) 0:03:04.576 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003482", "end": "2024-02-06 10:37:54.664546", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:54.661064" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [linux-system-roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:37:54 +0000 (0:00:00.153) 0:03:04.730 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:37:54 +0000 (0:00:00.024) 0:03:04.754 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the directory and permissions /var/opt/mssql/log] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:3 Tuesday 06 February 2024 10:37:54 +0000 (0:00:00.020) 0:03:04.775 ****** ok: [sut] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [linux-system-roles.mssql : Append facts for the selinux role] ************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:12 Tuesday 06 February 2024 10:37:54 +0000 (0:00:00.219) 0:03:04.995 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the setting defaultlogdir] ********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/configure_storage_paths.yml:29 Tuesday 06 February 2024 10:37:54 +0000 (0:00:00.021) 0:03:05.017 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:37:55 +0000 (0:00:00.033) 0:03:05.050 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003524", "end": "2024-02-06 10:37:55.150536", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:55.147012" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [linux-system-roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:37:55 +0000 (0:00:00.165) 0:03:05.216 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:37:55 +0000 (0:00:00.029) 0:03:05.246 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set selinux role facts for ports] ************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:364 Tuesday 06 February 2024 10:37:55 +0000 (0:00:00.022) 0:03:05.268 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:376 Tuesday 06 February 2024 10:37:55 +0000 (0:00:00.020) 0:03:05.289 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 Tuesday 06 February 2024 10:37:55 +0000 (0:00:00.020) 0:03:05.309 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:391 Tuesday 06 February 2024 10:37:55 +0000 (0:00:00.363) 0:03:05.673 ****** ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-02-06 10:26:20 UTC", "ActiveEnterTimestampMonotonic": "14518773", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service systemd-sysctl.service basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-02-06 10:26:19 UTC", "AssertTimestampMonotonic": "13650624", "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": "Tue 2024-02-06 10:26:19 UTC", "ConditionTimestampMonotonic": "13650622", "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": "946", "ExecMainStartTimestamp": "Tue 2024-02-06 10:26:19 UTC", "ExecMainStartTimestampMonotonic": "13658756", "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": "Tue 2024-02-06 10:26:19 UTC", "InactiveExitTimestampMonotonic": "13659299", "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": "946", "MemoryAccounting": "no", "MemoryCurrent": "18358272", "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": "5", "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": "Tue 2024-02-06 10:26:20 UTC", "WatchdogTimestampMonotonic": "14518403", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:397 Tuesday 06 February 2024 10:37:55 +0000 (0:00:00.225) 0:03:05.898 ****** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.114693", "end": "2024-02-06 10:37:56.093660", "rc": 0, "start": "2024-02-06 10:37:55.978967" } 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:407 Tuesday 06 February 2024 10:37:56 +0000 (0:00:00.258) 0:03:06.157 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:420 Tuesday 06 February 2024 10:37:56 +0000 (0:00:00.019) 0:03:06.176 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:429 Tuesday 06 February 2024 10:37:56 +0000 (0:00:00.019) 0:03:06.196 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Tuesday 06 February 2024 10:37:56 +0000 (0:00:00.018) 0:03:06.214 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Tuesday 06 February 2024 10:37:56 +0000 (0:00:00.212) 0:03:06.427 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:458 Tuesday 06 February 2024 10:37:56 +0000 (0:00:00.365) 0:03:06.793 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Tuesday 06 February 2024 10:37:56 +0000 (0:00:00.034) 0:03:06.827 ****** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-02-06 10:37:49 UTC", "ActiveEnterTimestampMonotonic": "704331740", "ActiveExitTimestamp": "Tue 2024-02-06 10:37:27 UTC", "ActiveExitTimestampMonotonic": "681938713", "ActiveState": "active", "After": "network.target basic.target auditd.service systemd-journald.socket system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-02-06 10:37:49 UTC", "AssertTimestampMonotonic": "704322726", "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": "Tue 2024-02-06 10:37:49 UTC", "ConditionTimestampMonotonic": "704322725", "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": "9679", "ExecMainStartTimestamp": "Tue 2024-02-06 10:37:49 UTC", "ExecMainStartTimestampMonotonic": "704331679", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-02-06 10:37:49 UTC] ; stop_time=[n/a] ; pid=9679 ; 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": "Tue 2024-02-06 10:37:27 UTC", "InactiveEnterTimestampMonotonic": "682166486", "InactiveExitTimestamp": "Tue 2024-02-06 10:37:49 UTC", "InactiveExitTimestampMonotonic": "704331740", "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": "9679", "MemoryAccounting": "no", "MemoryCurrent": "674992128", "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": "143", "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": "Tue 2024-02-06 10:37:49 UTC", "WatchdogTimestampMonotonic": "704331718", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Tuesday 06 February 2024 10:37:57 +0000 (0:00:00.227) 0:03:07.055 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003514", "end": "2024-02-06 10:37:57.145292", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:57.141778" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Tuesday 06 February 2024 10:37:57 +0000 (0:00:00.153) 0:03:07.209 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003578", "end": "2024-02-06 10:37:57.295796", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:37:57.292218" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Tuesday 06 February 2024 10:37:57 +0000 (0:00:00.150) 0:03:07.360 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:462 Tuesday 06 February 2024 10:37:57 +0000 (0:00:00.034) 0:03:07.394 ****** 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": 7552, "state": "file", "uid": 996 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:468 Tuesday 06 February 2024 10:37:58 +0000 (0:00:01.149) 0:03:08.544 ****** ok: [sut] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:483 Tuesday 06 February 2024 10:37:58 +0000 (0:00:00.185) 0:03:08.729 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:490 Tuesday 06 February 2024 10:37:58 +0000 (0:00:00.021) 0:03:08.750 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:498 Tuesday 06 February 2024 10:37:59 +0000 (0:00:00.754) 0:03:09.505 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:520 Tuesday 06 February 2024 10:37:59 +0000 (0:00:00.023) 0:03:09.528 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:531 Tuesday 06 February 2024 10:37:59 +0000 (0:00:00.018) 0:03:09.547 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:546 Tuesday 06 February 2024 10:37:59 +0000 (0:00:00.018) 0:03:09.565 ****** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005542", "end": "2024-02-06 10:37:59.662333", "rc": 0, "start": "2024-02-06 10:37:59.656791" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:559 Tuesday 06 February 2024 10:37:59 +0000 (0:00:00.160) 0:03:09.726 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:566 Tuesday 06 February 2024 10:37:59 +0000 (0:00:00.021) 0:03:09.747 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 Tuesday 06 February 2024 10:38:00 +0000 (0:00:00.700) 0:03:10.447 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:592 Tuesday 06 February 2024 10:38:00 +0000 (0:00:00.081) 0:03:10.528 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:38:00 +0000 (0:00:00.035) 0:03:10.564 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003504", "end": "2024-02-06 10:38:00.652507", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:38:00.649003" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:38:00 +0000 (0:00:00.154) 0:03:10.718 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:38:00 +0000 (0:00:00.025) 0:03:10.744 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:599 Tuesday 06 February 2024 10:38:00 +0000 (0:00:00.034) 0:03:10.779 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:606 Tuesday 06 February 2024 10:38:00 +0000 (0:00:00.022) 0:03:10.801 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1435] ******* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:618 Tuesday 06 February 2024 10:38:00 +0000 (0:00:00.031) 0:03:10.833 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:38:00 +0000 (0:00:00.034) 0:03:10.868 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003623", "end": "2024-02-06 10:38:00.956055", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:38:00.952432" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:38:00 +0000 (0:00:00.153) 0:03:11.021 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:38:01 +0000 (0:00:00.024) 0:03:11.046 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Tuesday 06 February 2024 10:38:01 +0000 (0:00:00.019) 0:03:11.066 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:644 Tuesday 06 February 2024 10:38:01 +0000 (0:00:00.018) 0:03:11.085 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting sqlagent enabled] ************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:38:01 +0000 (0:00:00.037) 0:03:11.122 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003500", "end": "2024-02-06 10:38:01.216601", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:38:01.213101" } STDOUT: enabled = False TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:38:01 +0000 (0:00:00.172) 0:03:11.294 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:38:01 +0000 (0:00:00.101) 0:03:11.396 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:651 Tuesday 06 February 2024 10:38:01 +0000 (0:00:00.021) 0:03:11.418 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts is not installed" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:658 Tuesday 06 February 2024 10:38:01 +0000 (0:00:00.409) 0:03:11.828 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "powershell is not installed" ] } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:667 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.339) 0:03:12.167 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003519", "end": "2024-02-06 10:38:02.255287", "failed_when_result": false, "rc": 1, "start": "2024-02-06 10:38:02.251768" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:673 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.149) 0:03:12.317 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:680 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.021) 0:03:12.339 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.021) 0:03:12.360 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control alternatewritethrough] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.034) 0:03:12.395 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003577", "end": "2024-02-06 10:38:02.483460", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:38:02.479883" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.153) 0:03:12.549 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.025) 0:03:12.575 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:694 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.021) 0:03:12.596 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting control writethrough] ********* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.036) 0:03:12.632 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003528", "end": "2024-02-06 10:38:02.721477", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:38:02.717949" } STDOUT: writethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.154) 0:03:12.787 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.105) 0:03:12.892 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:712 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.021) 0:03:12.913 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:726 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.019) 0:03:12.933 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:731 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.019) 0:03:12.952 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.022) 0:03:12.974 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:758 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.019) 0:03:12.993 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:767 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.020) 0:03:13.014 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:774 Tuesday 06 February 2024 10:38:02 +0000 (0:00:00.019) 0:03:13.034 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.020) 0:03:13.055 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:791 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.020) 0:03:13.076 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure adutil and krb5-workstation] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:799 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.020) 0:03:13.096 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:806 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.018) 0:03:13.115 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:813 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.020) 0:03:13.136 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:822 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.021) 0:03:13.157 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Check if AD user exists] ********************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:835 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.018) 0:03:13.176 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : In AD server create user] ********************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:844 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.019) 0:03:13.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 : Get SPNs for the principal] ******************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:856 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.019) 0:03:13.215 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:861 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.021) 0:03:13.236 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:878 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.018) 0:03:13.254 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:883 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.070) 0:03:13.325 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:888 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.020) 0:03:13.345 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:894 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.019) 0:03:13.364 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:920 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.018) 0:03:13.383 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:941 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.018) 0:03:13.401 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch keytab file to host] ******************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:949 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.020) 0:03:13.422 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:959 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.020) 0:03:13.442 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:965 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.020) 0:03:13.462 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:982 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.019) 0:03:13.482 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:997 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.021) 0:03:13.504 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1017 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.021) 0:03:13.526 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1071 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.022) 0:03:13.548 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1078 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.020) 0:03:13.569 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.019) 0:03:13.588 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1096 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.020) 0:03:13.608 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1102 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.019) 0:03:13.627 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1110 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.023) 0:03:13.650 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1119 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.018) 0:03:13.669 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1127 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.017) 0:03:13.687 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1142 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.092) 0:03:13.779 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1149 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.021) 0:03:13.800 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag] ********************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1174 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.021) 0:03:13.821 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1183 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.019) 0:03:13.841 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Replicate DBs] ******************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1193 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.019) 0:03:13.861 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1204 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.018) 0:03:13.879 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1217 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.018) 0:03:13.898 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1230 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.019) 0:03:13.918 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1237 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.018) 0:03:13.936 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1244 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.019) 0:03:13.956 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1253 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.020) 0:03:13.976 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1260 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.021) 0:03:13.997 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1272 Tuesday 06 February 2024 10:38:03 +0000 (0:00:00.026) 0:03:14.024 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create HA login] ****************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1281 Tuesday 06 February 2024 10:38:04 +0000 (0:00:00.020) 0:03:14.044 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join to availability group] ******************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1288 Tuesday 06 February 2024 10:38:04 +0000 (0:00:00.019) 0:03:14.063 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to HA login] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1294 Tuesday 06 February 2024 10:38:04 +0000 (0:00:00.018) 0:03:14.082 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1302 Tuesday 06 February 2024 10:38:04 +0000 (0:00:00.019) 0:03:14.101 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1315 Tuesday 06 February 2024 10:38:04 +0000 (0:00:00.022) 0:03:14.124 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1327 Tuesday 06 February 2024 10:38:04 +0000 (0:00:00.018) 0:03:14.142 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Wait for the cluster to finish configuration] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1332 Tuesday 06 February 2024 10:38:04 +0000 (0:00:00.017) 0:03:14.159 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1338 Tuesday 06 February 2024 10:38:04 +0000 (0:00:00.069) 0:03:14.229 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1347 Tuesday 06 February 2024 10:38:04 +0000 (0:00:00.022) 0:03:14.251 ****** ok: [sut] => { "changed": false } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1360 Tuesday 06 February 2024 10:38:04 +0000 (0:00:00.182) 0:03:14.433 ****** 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-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:1371 Tuesday 06 February 2024 10:38:04 +0000 (0:00:00.019) 0:03:14.453 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/tests_idempotency.yml:84 Tuesday 06 February 2024 10:38:04 +0000 (0:00:00.018) 0:03:14.471 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:8 Tuesday 06 February 2024 10:38:04 +0000 (0:00:00.195) 0:03:14.667 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005737", "end": "2024-02-06 10:38:04.759261", "rc": 0, "start": "2024-02-06 10:38:04.753524" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:23 Tuesday 06 February 2024 10:38:04 +0000 (0:00:00.156) 0:03:14.823 ****** ok: [sut] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.005687", "end": "2024-02-06 10:38:04.913954", "rc": 0, "start": "2024-02-06 10:38:04.908267" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:35 Tuesday 06 February 2024 10:38:04 +0000 (0:00:00.154) 0:03:14.977 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:39 Tuesday 06 February 2024 10:38:04 +0000 (0:00:00.022) 0:03:14.999 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml for sut included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting ipaddress] ********************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:7 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.051) 0:03:15.051 ****** ok: [sut] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004898", "end": "2024-02-06 10:38:05.145231", "rc": 0, "start": "2024-02-06 10:38:05.140333" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:14 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.158) 0:03:15.209 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:25 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.028) 0:03:15.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:40 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.020) 0:03:15.258 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:7 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.022) 0:03:15.280 ****** ok: [sut] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004973", "end": "2024-02-06 10:38:05.379136", "rc": 0, "start": "2024-02-06 10:38:05.374163" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:14 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.164) 0:03:15.445 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:25 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.024) 0:03:15.470 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:40 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.021) 0:03:15.491 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the setting defaultdatadir] ***************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:7 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.025) 0:03:15.517 ****** ok: [sut] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004930", "end": "2024-02-06 10:38:05.616354", "rc": 0, "start": "2024-02-06 10:38:05.611424" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:14 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.175) 0:03:15.692 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:25 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.031) 0:03:15.723 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:40 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.040) 0:03:15.764 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:7 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.023) 0:03:15.787 ****** ok: [sut] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004762", "end": "2024-02-06 10:38:05.877164", "rc": 0, "start": "2024-02-06 10:38:05.872402" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:14 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.169) 0:03:15.956 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:25 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.030) 0:03:15.986 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:40 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.020) 0:03:16.007 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:7 Tuesday 06 February 2024 10:38:05 +0000 (0:00:00.020) 0:03:16.027 ****** ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004803", "end": "2024-02-06 10:38:06.115978", "rc": 0, "start": "2024-02-06 10:38:06.111175" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:14 Tuesday 06 February 2024 10:38:06 +0000 (0:00:00.217) 0:03:16.245 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:25 Tuesday 06 February 2024 10:38:06 +0000 (0:00:00.023) 0:03:16.269 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:40 Tuesday 06 February 2024 10:38:06 +0000 (0:00:00.029) 0:03:16.299 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:55 Tuesday 06 February 2024 10:38:06 +0000 (0:00:00.021) 0:03:16.320 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707215747.386551, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1707215747.3555515, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 201327111, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1707215747.3555515, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "18446744072775797770", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:60 Tuesday 06 February 2024 10:38:06 +0000 (0:00:00.202) 0:03:16.523 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:70 Tuesday 06 February 2024 10:38:06 +0000 (0:00:00.024) 0:03:16.547 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707215873.1269379, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1707215873.1469376, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 205521412, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1707215873.1469376, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "18446744073486847390", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:75 Tuesday 06 February 2024 10:38:06 +0000 (0:00:00.161) 0:03:16.709 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:85 Tuesday 06 February 2024 10:38:06 +0000 (0:00:00.029) 0:03:16.738 ****** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Tuesday 06 February 2024 10:38:06 +0000 (0:00:00.037) 0:03:16.776 ****** ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-02-06 10:37:49 UTC", "ActiveEnterTimestampMonotonic": "704331740", "ActiveExitTimestamp": "Tue 2024-02-06 10:37:27 UTC", "ActiveExitTimestampMonotonic": "681938713", "ActiveState": "active", "After": "network.target basic.target auditd.service systemd-journald.socket system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-02-06 10:37:49 UTC", "AssertTimestampMonotonic": "704322726", "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": "Tue 2024-02-06 10:37:49 UTC", "ConditionTimestampMonotonic": "704322725", "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": "9679", "ExecMainStartTimestamp": "Tue 2024-02-06 10:37:49 UTC", "ExecMainStartTimestampMonotonic": "704331679", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-02-06 10:37:49 UTC] ; stop_time=[n/a] ; pid=9679 ; 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": "Tue 2024-02-06 10:37:27 UTC", "InactiveEnterTimestampMonotonic": "682166486", "InactiveExitTimestamp": "Tue 2024-02-06 10:37:49 UTC", "InactiveExitTimestampMonotonic": "704331740", "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": "9679", "MemoryAccounting": "no", "MemoryCurrent": "679153664", "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": "147", "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": "Tue 2024-02-06 10:37:49 UTC", "WatchdogTimestampMonotonic": "704331718", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Tuesday 06 February 2024 10:38:06 +0000 (0:00:00.225) 0:03:17.001 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003535", "end": "2024-02-06 10:38:07.091579", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:38:07.088044" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Tuesday 06 February 2024 10:38:07 +0000 (0:00:00.153) 0:03:17.155 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003542", "end": "2024-02-06 10:38:07.242812", "failed_when_result": false, "rc": 0, "start": "2024-02-06 10:38:07.239270" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Tuesday 06 February 2024 10:38:07 +0000 (0:00:00.150) 0:03:17.305 ****** 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-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:93 Tuesday 06 February 2024 10:38:07 +0000 (0:00:00.025) 0:03:17.331 ****** 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": 7552, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:99 Tuesday 06 February 2024 10:38:08 +0000 (0:00:01.152) 0:03:18.484 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1435", "-U", "sa", "-P", "p@55w0rD1", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.024404", "end": "2024-02-06 10:38:08.593791", "rc": 0, "start": "2024-02-06 10:38:08.569387" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU24) (KB5031908) - 15.0.4345.5 (X64) Dec 4 2023 14:44:16 Copyright (C) 2019 Microsoft Corporation Standard Edition (64-bit) on Linux (Red Hat Enterprise Linux Server 7.9 (Maipo)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:113 Tuesday 06 February 2024 10:38:08 +0000 (0:00:00.180) 0:03:18.664 ****** ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:117 Tuesday 06 February 2024 10:38:08 +0000 (0:00:00.023) 0:03:18.688 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_package.yml:7 Tuesday 06 February 2024 10:38:08 +0000 (0:00:00.033) 0:03:18.721 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_package.yml:12 Tuesday 06 February 2024 10:38:09 +0000 (0:00:00.706) 0:03:19.427 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_package.yml:17 Tuesday 06 February 2024 10:38:09 +0000 (0:00:00.021) 0:03:19.449 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:124 Tuesday 06 February 2024 10:38:09 +0000 (0:00:00.029) 0:03:19.479 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_package.yml:7 Tuesday 06 February 2024 10:38:09 +0000 (0:00:00.039) 0:03:19.518 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_package.yml:12 Tuesday 06 February 2024 10:38:10 +0000 (0:00:00.814) 0:03:20.333 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_package.yml:17 Tuesday 06 February 2024 10:38:10 +0000 (0:00:00.021) 0:03:20.355 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:135 Tuesday 06 February 2024 10:38:10 +0000 (0:00:00.027) 0:03:20.382 ****** ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004878", "end": "2024-02-06 10:38:10.471046", "rc": 0, "start": "2024-02-06 10:38:10.466168" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:140 Tuesday 06 February 2024 10:38:10 +0000 (0:00:00.152) 0:03:20.535 ****** 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-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:145 Tuesday 06 February 2024 10:38:10 +0000 (0:00:00.020) 0:03:20.556 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:151 Tuesday 06 February 2024 10:38:10 +0000 (0:00:00.026) 0:03:20.583 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:7 Tuesday 06 February 2024 10:38:10 +0000 (0:00:00.034) 0:03:20.617 ****** ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004951", "end": "2024-02-06 10:38:10.707236", "rc": 0, "start": "2024-02-06 10:38:10.702285" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:14 Tuesday 06 February 2024 10:38:10 +0000 (0:00:00.154) 0:03:20.772 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:25 Tuesday 06 February 2024 10:38:10 +0000 (0:00:00.021) 0:03:20.793 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:40 Tuesday 06 February 2024 10:38:10 +0000 (0:00:00.027) 0:03:20.821 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:157 Tuesday 06 February 2024 10:38:10 +0000 (0:00:00.019) 0:03:20.841 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:7 Tuesday 06 February 2024 10:38:10 +0000 (0:00:00.035) 0:03:20.876 ****** ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004913", "end": "2024-02-06 10:38:10.965869", "rc": 0, "start": "2024-02-06 10:38:10.960956" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:14 Tuesday 06 February 2024 10:38:10 +0000 (0:00:00.154) 0:03:21.030 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:25 Tuesday 06 February 2024 10:38:11 +0000 (0:00:00.021) 0:03:21.052 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/mssql_conf_verify.yml:40 Tuesday 06 February 2024 10:38:11 +0000 (0:00:00.087) 0:03:21.139 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:167 Tuesday 06 February 2024 10:38:11 +0000 (0:00:00.021) 0:03:21.160 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:178 Tuesday 06 February 2024 10:38:11 +0000 (0:00:00.020) 0:03:21.180 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:190 Tuesday 06 February 2024 10:38:11 +0000 (0:00:00.019) 0:03:21.200 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:198 Tuesday 06 February 2024 10:38:11 +0000 (0:00:00.017) 0:03:21.218 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the current mode of SELinux] ***************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:208 Tuesday 06 February 2024 10:38:11 +0000 (0:00:00.019) 0:03:21.237 ****** 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-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:213 Tuesday 06 February 2024 10:38:11 +0000 (0:00:00.020) 0:03:21.258 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-selinux] ********************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:221 Tuesday 06 February 2024 10:38:11 +0000 (0:00:00.019) 0:03:21.277 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/tests_idempotency.yml:101 Tuesday 06 February 2024 10:38:11 +0000 (0:00:00.019) 0:03:21.297 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/check_header.yml:4 Tuesday 06 February 2024 10:38:11 +0000 (0:00:00.202) 0:03:21.500 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003614", "end": "2024-02-06 10:38:11.622534", "rc": 0, "start": "2024-02-06 10:38:11.618920" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = False [EULA] accepteula = Y [filelocation] defaultdatadir = /var/opt/mssql/data defaultlogdir = /var/opt/mssql/log [network] ipaddress = 127.0.0.1 tcpport = 1435 [traceflag] [control] alternatewritethrough = 0 writethrough = 0 TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tests_idempotency_2019.yml:18 Tuesday 06 February 2024 10:38:11 +0000 (0:00:00.186) 0:03:21.686 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/cleanup.yml:2 Tuesday 06 February 2024 10:38:11 +0000 (0:00:00.100) 0:03:21.786 ****** 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-ha-wait-for-pcs15e2j9_v/tests/tasks/cleanup.yml:6 Tuesday 06 February 2024 10:38:12 +0000 (0:00:00.695) 0:03:22.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/cleanup.yml:14 Tuesday 06 February 2024 10:38:12 +0000 (0:00:00.023) 0:03:22.505 ****** ok: [sut] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/cleanup.yml:18 Tuesday 06 February 2024 10:38:12 +0000 (0:00:00.019) 0:03:22.525 ****** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 06 February 2024 10:38:12 +0000 (0:00:00.064) 0:03:22.589 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 06 February 2024 10:38:12 +0000 (0:00:00.035) 0:03:22.625 ****** 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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 06 February 2024 10:38:12 +0000 (0:00:00.033) 0:03:22.659 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 06 February 2024 10:38:12 +0000 (0:00:00.152) 0:03:22.811 ****** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Tuesday 06 February 2024 10:38:12 +0000 (0:00:00.022) 0:03:22.833 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 06 February 2024 10:38:13 +0000 (0:00:00.362) 0:03:23.195 ****** 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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 06 February 2024 10:38:13 +0000 (0:00:00.020) 0:03:23.216 ****** 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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 06 February 2024 10:38:13 +0000 (0:00:00.025) 0:03:23.242 ****** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2024-02-06 10:33:56 UTC", "ActiveEnterTimestampMonotonic": "471416430", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-02-06 10:33:56 UTC", "AssertTimestampMonotonic": "470902750", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-02-06 10:33:56 UTC", "ConditionTimestampMonotonic": "470902749", "Conflicts": "ebtables.service iptables.service ipset.service shutdown.target 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": "5183", "ExecMainStartTimestamp": "Tue 2024-02-06 10:33:56 UTC", "ExecMainStartTimestampMonotonic": "470914071", "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": "Tue 2024-02-06 10:33:56 UTC", "InactiveExitTimestampMonotonic": "470914104", "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": "5183", "MemoryAccounting": "no", "MemoryCurrent": "30367744", "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": "2", "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": "Tue 2024-02-06 10:33:56 UTC", "WatchdogTimestampMonotonic": "471416367", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 06 February 2024 10:38:13 +0000 (0:00:00.234) 0:03:23.476 ****** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-02-06 10:33:56 UTC", "ActiveEnterTimestampMonotonic": "471416430", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-02-06 10:33:56 UTC", "AssertTimestampMonotonic": "470902750", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-02-06 10:33:56 UTC", "ConditionTimestampMonotonic": "470902749", "Conflicts": "ebtables.service iptables.service ipset.service shutdown.target 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": "5183", "ExecMainStartTimestamp": "Tue 2024-02-06 10:33:56 UTC", "ExecMainStartTimestampMonotonic": "470914071", "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": "Tue 2024-02-06 10:33:56 UTC", "InactiveExitTimestampMonotonic": "470914104", "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": "5183", "MemoryAccounting": "no", "MemoryCurrent": "30367744", "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": "2", "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": "Tue 2024-02-06 10:33:56 UTC", "WatchdogTimestampMonotonic": "471416367", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 06 February 2024 10:38:13 +0000 (0:00:00.230) 0:03:23.707 ****** 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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 06 February 2024 10:38:13 +0000 (0:00:00.022) 0:03:23.730 ****** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.44.227 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 06 February 2024 10:38:14 +0000 (0:00:00.321) 0:03:24.051 ****** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 06 February 2024 10:38:14 +0000 (0:00:00.021) 0:03:24.072 ****** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Tuesday 06 February 2024 10:38:14 +0000 (0:00:00.019) 0:03:24.092 ****** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Tuesday 06 February 2024 10:38:14 +0000 (0:00:00.019) 0:03:24.111 ****** 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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Tuesday 06 February 2024 10:38:14 +0000 (0:00:00.021) 0:03:24.133 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Tuesday 06 February 2024 10:38:14 +0000 (0:00:00.019) 0:03:24.152 ****** 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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Tuesday 06 February 2024 10:38:14 +0000 (0:00:00.018) 0:03:24.171 ****** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.44.227 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Tuesday 06 February 2024 10:38:14 +0000 (0:00:00.407) 0:03:24.579 ****** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Tuesday 06 February 2024 10:38:14 +0000 (0:00:00.025) 0:03:24.605 ****** skipping: [sut] => {} TASK [Purge selinux configuration] ********************************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/cleanup.yml:26 Tuesday 06 February 2024 10:38:14 +0000 (0:00:00.021) 0:03:24.626 ****** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Tuesday 06 February 2024 10:38:14 +0000 (0:00:00.052) 0:03:24.678 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Tuesday 06 February 2024 10:38:14 +0000 (0:00:00.034) 0:03:24.712 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Tuesday 06 February 2024 10:38:14 +0000 (0:00:00.023) 0:03:24.736 ****** included: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Tuesday 06 February 2024 10:38:14 +0000 (0:00:00.033) 0:03:24.769 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Tuesday 06 February 2024 10:38:14 +0000 (0:00:00.146) 0:03:24.916 ****** ok: [sut] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:14 Tuesday 06 February 2024 10:38:14 +0000 (0:00:00.021) 0:03:24.938 ****** 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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:23 Tuesday 06 February 2024 10:38:15 +0000 (0:00:00.370) 0:03:25.308 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:34 Tuesday 06 February 2024 10:38:15 +0000 (0:00:00.019) 0:03:25.328 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:45 Tuesday 06 February 2024 10:38:15 +0000 (0:00:00.018) 0:03:25.347 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:53 Tuesday 06 February 2024 10:38:15 +0000 (0:00:00.019) 0:03:25.366 ****** ok: [sut] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Tuesday 06 February 2024 10:38:15 +0000 (0:00:00.420) 0:03:25.787 ****** 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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Tuesday 06 February 2024 10:38:15 +0000 (0:00:00.019) 0:03:25.806 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Tuesday 06 February 2024 10:38:15 +0000 (0:00:00.019) 0:03:25.826 ****** 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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Tuesday 06 February 2024 10:38:15 +0000 (0:00:00.020) 0:03:25.847 ****** 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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Tuesday 06 February 2024 10:38:15 +0000 (0:00:00.016) 0:03:25.863 ****** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Tuesday 06 February 2024 10:38:15 +0000 (0:00:00.018) 0:03:25.882 ****** 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.413836", "end": "2024-02-06 10:38:16.379794", "rc": 0, "start": "2024-02-06 10:38:15.965958" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Tuesday 06 February 2024 10:38:16 +0000 (0:00:00.562) 0:03:26.444 ****** 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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Tuesday 06 February 2024 10:38:16 +0000 (0:00:00.020) 0:03:26.464 ****** 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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Tuesday 06 February 2024 10:38:16 +0000 (0:00:00.018) 0:03:26.482 ****** 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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Tuesday 06 February 2024 10:38:16 +0000 (0:00:00.017) 0:03:26.500 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Tuesday 06 February 2024 10:38:16 +0000 (0:00:00.018) 0:03:26.519 ****** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Tuesday 06 February 2024 10:38:16 +0000 (0:00:00.017) 0:03:26.536 ****** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Tuesday 06 February 2024 10:38:16 +0000 (0:00:00.018) 0:03:26.555 ****** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Tuesday 06 February 2024 10:38:16 +0000 (0:00:00.019) 0:03:26.575 ****** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Tuesday 06 February 2024 10:38:16 +0000 (0:00:00.020) 0:03:26.595 ****** 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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Tuesday 06 February 2024 10:38:19 +0000 (0:00:02.888) 0:03:29.483 ****** 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-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Tuesday 06 February 2024 10:38:19 +0000 (0:00:00.026) 0:03:29.510 ****** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Tuesday 06 February 2024 10:38:19 +0000 (0:00:00.024) 0:03:29.535 ****** TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/cleanup.yml:32 Tuesday 06 February 2024 10:38:19 +0000 (0:00:00.025) 0:03:29.561 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/cleanup.yml:40 Tuesday 06 February 2024 10:38:19 +0000 (0:00:00.031) 0:03:29.592 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/cleanup.yml:44 Tuesday 06 February 2024 10:38:19 +0000 (0:00:00.075) 0:03:29.668 ****** ok: [sut] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/cleanup.yml:50 Tuesday 06 February 2024 10:38:19 +0000 (0:00:00.169) 0:03:29.838 ****** 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: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4345.5-2 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking python3 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking lsof to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.5.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 15.0.4345.5-2 @packages-microsoft-com-mssql-server-2019\n 1.1 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @rhel-Server 86 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @rhel-Server 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @rhel-Server 36 k\n gdb x86_64 7.6.1-120.el7 @rhel-Server 7.0 M\n libatomic x86_64 4.8.5-44.el7 @rhel-Server 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @rhel-Server 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @rhel-Server 66 k\n lsof x86_64 4.87-6.el7 @rhel-Server 927 k\n msodbcsql17 x86_64 17.10.5.1-1 @packages-microsoft-com-prod 2.2 M\n python3 x86_64 3.6.8-21.el7_9 @rhel-Server 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @rhel-Server 35 M\n python3-pip noarch 9.0.3-8.el7 @rhel-Server 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @rhel-Server 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+14 Dependent packages)\n\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-15.0.4345.5-2.x86_64 1/17 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/17 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/17 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 4/17 \n Erasing : python3-pip-9.0.3-8.el7.noarch 5/17 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 6/17 \n Erasing : python3-3.6.8-21.el7_9.x86_64 7/17 \n Erasing : msodbcsql17-17.10.5.1-1.x86_64 8/17 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 9/17 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 10/17 \n Erasing : libatomic-4.8.5-44.el7.x86_64 11/17 \n Erasing : bzip2-1.0.6-13.el7.x86_64 12/17 \n Erasing : gdb-7.6.1-120.el7.x86_64 13/17 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 14/17 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 16/17 \n Erasing : lsof-4.87-6.el7.x86_64 17/17 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/17 \n Verifying : python3-3.6.8-21.el7_9.x86_64 2/17 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 3/17 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/17 \n Verifying : libatomic-4.8.5-44.el7.x86_64 5/17 \n Verifying : mssql-server-15.0.4345.5-2.x86_64 6/17 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 7/17 \n Verifying : lsof-4.87-6.el7.x86_64 8/17 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 9/17 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 10/17 \n Verifying : gdb-7.6.1-120.el7.x86_64 11/17 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 12/17 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 13/17 \n Verifying : msodbcsql17-17.10.5.1-1.x86_64 14/17 \n Verifying : python3-pip-9.0.3-8.el7.noarch 15/17 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 16/17 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 17/17 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4345.5-2 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n lsof.x86_64 0:4.87-6.el7 \n msodbcsql17.x86_64 0:17.10.5.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/cleanup.yml:63 Tuesday 06 February 2024 10:38:23 +0000 (0:00:03.340) 0:03:33.179 ****** 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.012270", "end": "2024-02-06 10:38:23.272614", "rc": 0, "start": "2024-02-06 10:38:23.260344" } STDOUT: removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ 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/0661afca-6a0e-4edd-bad0-eb2d9db2d42b’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ 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 directory: ‘/var/opt/mssql/.system/system’ 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/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ 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 ‘/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 ‘/var/opt/mssql/.system/instance_id’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.mdf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.ldf’ removed ‘/var/opt/mssql/data/model_msdbdata.mdf’ removed ‘/var/opt/mssql/data/model_msdblog.ldf’ removed ‘/var/opt/mssql/data/Entropy.bin’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb2.ndf’ removed ‘/var/opt/mssql/data/tempdb3.ndf’ removed ‘/var/opt/mssql/data/tempdb4.ndf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/log/mssql-conf/mssql-conf.log’ removed directory: ‘/var/opt/mssql/log/mssql-conf’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133516893454830000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133516893461250000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133516893503800000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133516893552830000.xel’ removed ‘/var/opt/mssql/log/log_1.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133516894176350000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133516894181330000.xel’ removed ‘/var/opt/mssql/log/log_2.trc’ removed ‘/var/opt/mssql/log/FDLAUNCHERRORLOG’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133516894514700000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133516894518940000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/sqlagent.2’ removed ‘/var/opt/mssql/log/sqlagent.1’ removed ‘/var/opt/mssql/log/sqlagent.out’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133516894586950000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133516894590710000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133516894726070000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133516894731150000.xel’ removed ‘/var/opt/mssql/log/log_5.trc’ removed directory: ‘/var/opt/mssql/log’ removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/FTData/tsara.xml’ removed ‘/var/opt/mssql/FTData/tsben.xml’ removed ‘/var/opt/mssql/FTData/tsbgr.xml’ removed ‘/var/opt/mssql/FTData/tscat.xml’ removed ‘/var/opt/mssql/FTData/tschs.xml’ removed ‘/var/opt/mssql/FTData/tscht.xml’ removed ‘/var/opt/mssql/FTData/tscze.xml’ removed ‘/var/opt/mssql/FTData/tsdan.xml’ removed ‘/var/opt/mssql/FTData/tsdeu.xml’ removed ‘/var/opt/mssql/FTData/tseng.xml’ removed ‘/var/opt/mssql/FTData/tsenu.xml’ removed ‘/var/opt/mssql/FTData/tsesn.xml’ removed ‘/var/opt/mssql/FTData/tsfra.xml’ removed ‘/var/opt/mssql/FTData/tsgrk.xml’ removed ‘/var/opt/mssql/FTData/tsguj.xml’ removed ‘/var/opt/mssql/FTData/tsheb.xml’ removed ‘/var/opt/mssql/FTData/tshin.xml’ removed ‘/var/opt/mssql/FTData/tshrv.xml’ removed ‘/var/opt/mssql/FTData/tsind.xml’ removed ‘/var/opt/mssql/FTData/tsisl.xml’ removed ‘/var/opt/mssql/FTData/tsita.xml’ removed ‘/var/opt/mssql/FTData/tsjpn.xml’ removed ‘/var/opt/mssql/FTData/tskan.xml’ removed ‘/var/opt/mssql/FTData/tskor.xml’ removed ‘/var/opt/mssql/FTData/tslth.xml’ removed ‘/var/opt/mssql/FTData/tslvi.xml’ removed ‘/var/opt/mssql/FTData/tsmal.xml’ removed ‘/var/opt/mssql/FTData/tsmar.xml’ removed ‘/var/opt/mssql/FTData/tsmsl.xml’ removed ‘/var/opt/mssql/FTData/tsglobal.xml’ removed ‘/var/opt/mssql/FTData/tsnld.xml’ removed ‘/var/opt/mssql/FTData/tsnor.xml’ removed ‘/var/opt/mssql/FTData/tspan.xml’ removed ‘/var/opt/mssql/FTData/tsplk.xml’ removed ‘/var/opt/mssql/FTData/tsptb.xml’ removed ‘/var/opt/mssql/FTData/tsptg.xml’ removed ‘/var/opt/mssql/FTData/tsrom.xml’ removed ‘/var/opt/mssql/FTData/tsrus.xml’ removed ‘/var/opt/mssql/FTData/tssky.xml’ removed ‘/var/opt/mssql/FTData/tsslv.xml’ removed ‘/var/opt/mssql/FTData/tssrb.xml’ removed ‘/var/opt/mssql/FTData/tssrl.xml’ removed ‘/var/opt/mssql/FTData/tssve.xml’ removed ‘/var/opt/mssql/FTData/tstam.xml’ removed ‘/var/opt/mssql/FTData/tstel.xml’ removed ‘/var/opt/mssql/FTData/tstha.xml’ removed ‘/var/opt/mssql/FTData/tstrk.xml’ removed ‘/var/opt/mssql/FTData/tsukr.xml’ removed ‘/var/opt/mssql/FTData/tsurd.xml’ removed ‘/var/opt/mssql/FTData/tsvit.xml’ removed directory: ‘/var/opt/mssql/FTData/FilterData’ removed directory: ‘/var/opt/mssql/FTData’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql/misc’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2019.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed directory: ‘/tmp/mssql_data’ removed directory: ‘/tmp/mssql_log’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/cleanup.yml:77 Tuesday 06 February 2024 10:38:23 +0000 (0:00:00.167) 0:03:33.346 ****** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.716057", "end": "2024-02-06 10:38:24.147769", "rc": 0, "start": "2024-02-06 10:38:23.431712" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Tuesday 06 February 2024 10:38:24 +0000 (0:00:00.853) 0:03:34.200 ****** changed: [sut] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:02.159484", "end": "2024-02-06 10:38:26.462477", "rc": 0, "start": "2024-02-06 10:38:24.302993" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=334 changed=41 unreachable=0 failed=0 skipped=546 rescued=0 ignored=1 Tuesday 06 February 2024 10:38:26 +0000 (0:00:02.319) 0:03:36.520 ****** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 48.43s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 linux-system-roles.mssql : Ensure the package mssql-server-fts --------- 30.63s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:651 linux-system-roles.mssql : Ensure the package powershell --------------- 12.77s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:658 linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 6.22s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:386 linux-system-roles.mssql : Set up MSSQL --------------------------------- 6.14s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 linux-system-roles.mssql : Change the password of sa user --------------- 6.06s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:498 linux-system-roles.mssql : Change the edition of MSSQL ------------------ 6.01s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:572 linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 5.48s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Remove related packages ------------------------------------------------- 3.34s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/cleanup.yml:50 --------------- fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.89s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.32s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 linux-system-roles.mssql : Gather system services facts ----------------- 1.89s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles --- 1.81s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:429 linux-system-roles.mssql : Gather package facts ------------------------- 1.72s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 linux-system-roles.mssql : Check if the 3979 trace flag is enabled ------ 1.32s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:667 linux-system-roles.mssql : Ensure the package mssql-server-fts ---------- 1.29s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:651 linux-system-roles.mssql : Restart the mssql-server service ------------- 1.29s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 linux-system-roles.mssql : Ensure the package powershell ---------------- 1.24s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:658 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections --- 1.22s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/roles/linux-system-roles.mssql/tasks/main.yml:462 Wait for mssql-server to prepare for client connections ----------------- 1.17s /WORKDIR/git-ha-wait-for-pcs15e2j9_v/tests/tasks/verify_settings.yml:93 ------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---