# 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.6/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.6.8 (default, Oct 26 2022, 09:13:21) [GCC 8.5.0 20210514 (Red Hat 8.5.0-17)] 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_2022.yml ******************************************* 1 plays in /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_idempotency_2022.yml PLAY [Ensure that the role is idempotent] ************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_idempotency_2022.yml:3 Tuesday 31 January 2023 15:35:13 +0000 (0:00:00.062) 0:00:00.062 ******* ok: [sut] META: ran handlers TASK [Assert fail on RHEL 7 when upgrading to 2022] **************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_idempotency_2022.yml:11 Tuesday 31 January 2023 15:35:14 +0000 (0:00:01.088) 0:00:01.151 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/sqlserver2022-rhel7-assert-fail.yml for sut TASK [Run the role] ************************************************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/sqlserver2022-rhel7-assert-fail.yml:7 Tuesday 31 January 2023 15:35:14 +0000 (0:00:00.110) 0:00:01.261 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/sqlserver2022-rhel7-assert-fail.yml:15 Tuesday 31 January 2023 15:35:14 +0000 (0:00:00.162) 0:00:01.424 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [Run on a fresh host and set all parameters] ****************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_idempotency_2022.yml:14 Tuesday 31 January 2023 15:35:14 +0000 (0:00:00.200) 0:00:01.624 ******* TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 31 January 2023 15:35:16 +0000 (0:00:01.340) 0:00:02.965 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 31 January 2023 15:35:16 +0000 (0:00:00.080) 0:00:03.046 ******* ok: [sut] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Tuesday 31 January 2023 15:35:16 +0000 (0:00:00.519) 0:00:03.565 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 31 January 2023 15:35:17 +0000 (0:00:00.237) 0:00:03.802 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 31 January 2023 15:35:17 +0000 (0:00:00.064) 0:00:03.867 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 31 January 2023 15:35:17 +0000 (0:00:00.068) 0:00:03.936 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 31 January 2023 15:35:17 +0000 (0:00:00.102) 0:00:04.038 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 31 January 2023 15:35:17 +0000 (0:00:00.054) 0:00:04.092 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:41 Tuesday 31 January 2023 15:35:17 +0000 (0:00:00.048) 0:00:04.141 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:53 Tuesday 31 January 2023 15:35:17 +0000 (0:00:00.068) 0:00:04.209 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:61 Tuesday 31 January 2023 15:35:17 +0000 (0:00:00.076) 0:00:04.286 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:70 Tuesday 31 January 2023 15:35:17 +0000 (0:00:00.149) 0:00:04.436 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 Tuesday 31 January 2023 15:35:17 +0000 (0:00:00.074) 0:00:04.510 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:88 Tuesday 31 January 2023 15:35:20 +0000 (0:00:03.076) 0:00:07.587 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 31 January 2023 15:35:21 +0000 (0:00:00.475) 0:00:08.062 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:104 Tuesday 31 January 2023 15:35:21 +0000 (0:00:00.111) 0:00:08.174 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that version 2022 is not used with RHEL 7] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 31 January 2023 15:35:21 +0000 (0:00:00.166) 0:00:08.343 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:120 Tuesday 31 January 2023 15:35:21 +0000 (0:00:00.228) 0:00:08.571 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Tuesday 31 January 2023 15:35:22 +0000 (0:00:00.478) 0:00:09.049 ******* changed: [sut] => { "changed": true } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Tuesday 31 January 2023 15:35:23 +0000 (0:00:01.157) 0:00:10.206 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:154 Tuesday 31 January 2023 15:35:23 +0000 (0:00:00.179) 0:00:10.386 ******* 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 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:163 Tuesday 31 January 2023 15:35:23 +0000 (0:00:00.214) 0:00:10.601 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:171 Tuesday 31 January 2023 15:35:24 +0000 (0:00:00.231) 0:00:10.833 ******* changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2022", "state": "present" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:181 Tuesday 31 January 2023 15:35:25 +0000 (0:00:01.343) 0:00:12.176 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: gc-7.6.4-3.el8.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: gdb-headless-8.2-19.el8.x86_64", "Installed: gcc-gdb-plugin-8.5.0-18.el8.x86_64", "Installed: guile-5:2.0.14-7.el8.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: mssql-server-16.0.1000.6-26.x86_64", "Installed: libatomic-8.5.0-18.el8.x86_64", "Installed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Installed: libipt-1.6.1-8.el8.x86_64", "Installed: libtool-ltdl-2.4.6-25.el8.x86_64", "Installed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Installed: libbabeltrace-1.5.4-4.el8.x86_64", "Installed: gdb-8.2-19.el8.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Tuesday 31 January 2023 15:36:20 +0000 (0:00:54.552) 0:01:06.728 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Tuesday 31 January 2023 15:36:22 +0000 (0:00:02.754) 0:01:09.483 ******* 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.007805", "end": "2023-01-31 15:36:27.901063", "rc": 0, "start": "2023-01-31 15:36:27.893258" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:212 Tuesday 31 January 2023 15:36:30 +0000 (0:00:07.957) 0:01:17.441 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Tuesday 31 January 2023 15:36:38 +0000 (0:00:07.269) 0:01:24.710 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Tuesday 31 January 2023 15:36:39 +0000 (0:00:01.116) 0:01:25.827 ******* changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Tuesday 31 January 2023 15:36:52 +0000 (0:00:13.039) 0:01:38.866 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: tuned-profiles-mssql-2.19.0-1.el8.noarch" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:254 Tuesday 31 January 2023 15:36:59 +0000 (0:00:07.520) 0:01:46.386 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:11:56 UTC", "ActiveEnterTimestampMonotonic": "12742604", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.socket sysinit.target systemd-sysctl.service basic.target system.slice dbus.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:11:55 UTC", "AssertTimestampMonotonic": "11681926", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-01-31 15:11:55 UTC", "ConditionTimestampMonotonic": "11681919", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target power-profiles-daemon.service auto-cpufreq.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "660", "ExecMainStartTimestamp": "Tue 2023-01-31 15:11:55 UTC", "ExecMainStartTimestampMonotonic": "11683544", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-01-31 15:11:55 UTC", "InactiveExitTimestampMonotonic": "11683618", "InvocationID": "54070dc1bb91452b87a4fc112ff85fb6", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14014", "LimitNPROCSoft": "14014", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "660", "MemoryAccounting": "yes", "MemoryCurrent": "23437312", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.service dbus.socket system.slice polkit.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:11:56 UTC", "StateChangeTimestampMonotonic": "12742604", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "22423", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2023-01-31 15:11:56 UTC", "WatchdogTimestampMonotonic": "12742599", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:260 Tuesday 31 January 2023 15:37:14 +0000 (0:00:15.137) 0:02:01.524 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:01.149985", "end": "2023-01-31 15:37:18.483630", "rc": 0, "start": "2023-01-31 15:37:17.333645" } STDOUT: Current active profile: virtual-guest TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Tuesday 31 January 2023 15:37:21 +0000 (0:00:06.668) 0:02:08.192 ******* changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:02.206945", "end": "2023-01-31 15:37:25.581642", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:37:23.374697" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:283 Tuesday 31 January 2023 15:37:28 +0000 (0:00:06.617) 0:02:14.810 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:292 Tuesday 31 January 2023 15:37:29 +0000 (0:00:01.229) 0:02:16.040 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Tuesday 31 January 2023 15:37:32 +0000 (0:00:02.644) 0:02:18.684 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:309 Tuesday 31 January 2023 15:37:34 +0000 (0:00:02.844) 0:02:21.529 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: unixODBC-2.3.7-1.rh.x86_64", "Installed: unixODBC-devel-2.3.7-1.rh.x86_64", "Installed: mssql-tools-17.10.1.1-1.x86_64", "Installed: msodbcsql17-17.10.2.1-1.x86_64" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:321 Tuesday 31 January 2023 15:37:42 +0000 (0:00:07.931) 0:02:29.460 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:325 Tuesday 31 January 2023 15:37:44 +0000 (0:00:01.267) 0:02:30.728 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:332 Tuesday 31 January 2023 15:37:45 +0000 (0:00:01.008) 0:02:31.737 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:339 Tuesday 31 January 2023 15:37:45 +0000 (0:00:00.870) 0:02:32.608 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:346 Tuesday 31 January 2023 15:37:47 +0000 (0:00:02.027) 0:02:34.635 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Tuesday 31 January 2023 15:37:49 +0000 (0:00:01.669) 0:02:36.304 ******* 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 scripts to SQL Server] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:375 Tuesday 31 January 2023 15:37:51 +0000 (0:00:02.115) 0:02:38.419 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:390 Tuesday 31 January 2023 15:37:53 +0000 (0:00:02.045) 0:02:40.465 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Tuesday 31 January 2023 15:37:55 +0000 (0:00:01.733) 0:02:42.198 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:410 Tuesday 31 January 2023 15:37:57 +0000 (0:00:01.765) 0:02:43.964 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:417 Tuesday 31 January 2023 15:38:00 +0000 (0:00:02.834) 0:02:46.799 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:436 Tuesday 31 January 2023 15:38:01 +0000 (0:00:01.873) 0:02:48.672 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:38:05 +0000 (0:00:03.458) 0:02:52.130 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003992", "end": "2023-01-31 15:38:06.797592", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:38:06.793600" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:38:07 +0000 (0:00:02.521) 0:02:54.652 ******* NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.152419", "end": "2023-01-31 15:38:10.351966", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:38:10.199547" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:38:12 +0000 (0:00:04.419) 0:02:59.071 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:443 Tuesday 31 January 2023 15:38:14 +0000 (0:00:02.261) 0:03:01.332 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:450 Tuesday 31 January 2023 15:38:18 +0000 (0:00:03.793) 0:03:05.126 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:461 Tuesday 31 January 2023 15:38:22 +0000 (0:00:03.632) 0:03:08.759 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:38:26 +0000 (0:00:04.743) 0:03:13.502 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003971", "end": "2023-01-31 15:38:29.024403", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:38:29.020432" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:38:30 +0000 (0:00:03.314) 0:03:16.817 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.154983", "end": "2023-01-31 15:38:32.380601", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:38:32.225618" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:38:34 +0000 (0:00:04.603) 0:03:21.420 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:467 Tuesday 31 January 2023 15:38:35 +0000 (0:00:01.160) 0:03:22.580 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Tuesday 31 January 2023 15:38:37 +0000 (0:00:01.287) 0:03:23.868 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:38:40 +0000 (0:00:03.717) 0:03:27.585 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003617", "end": "2023-01-31 15:38:42.168656", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:38:42.165039" } STDOUT: enabled = false TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:38:43 +0000 (0:00:02.997) 0:03:30.583 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.154393", "end": "2023-01-31 15:38:45.456143", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:38:45.301750" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:38:47 +0000 (0:00:03.548) 0:03:34.131 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Tuesday 31 January 2023 15:38:48 +0000 (0:00:01.263) 0:03:35.395 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-fts-16.0.1000.6-26.x86_64" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:499 Tuesday 31 January 2023 15:39:21 +0000 (0:00:32.627) 0:04:08.022 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: libicu-60.3-2.el8_1.x86_64", "Installed: powershell-7.3.2-1.rh.x86_64" ] } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:508 Tuesday 31 January 2023 15:39:33 +0000 (0:00:12.369) 0:04:20.392 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: net-tools-2.0-0.52.20160912git.el8.x86_64", "Installed: mssql-server-ha-16.0.1000.6-26.x86_64", "Installed: cifs-utils-6.8-3.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-9.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-9.el8.x86_64", "Installed: libwbclient-4.17.4-1.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Installed: samba-client-libs-4.17.4-1.el8.x86_64", "Installed: samba-common-4.17.4-1.el8.noarch", "Installed: resource-agents-4.9.0-40.el8.x86_64", "Installed: samba-common-libs-4.17.4-1.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: lvm2-8:2.03.14-9.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-9.el8.x86_64" ] } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Tuesday 31 January 2023 15:39:46 +0000 (0:00:13.197) 0:04:33.590 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting hadr hadrenabled] ************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:39:49 +0000 (0:00:02.842) 0:04:36.433 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004544", "end": "2023-01-31 15:39:52.067696", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:39:52.063152" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting hadr hadrenabled] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:39:53 +0000 (0:00:03.624) 0:04:40.058 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "hadr.hadrenabled", "1" ], "delta": "0:00:00.168966", "end": "2023-01-31 15:39:54.453511", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:39:54.284545" } 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 hadr hadrenabled] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:39:56 +0000 (0:00:03.073) 0:04:43.132 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:523 Tuesday 31 January 2023 15:39:57 +0000 (0:00:01.428) 0:04:44.561 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003751", "end": "2023-01-31 15:39:59.239798", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:39:59.236047" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:529 Tuesday 31 January 2023 15:40:00 +0000 (0:00:02.543) 0:04:47.104 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.152539", "end": "2023-01-31 15:40:01.438235", "rc": 0, "start": "2023-01-31 15:40:01.285696" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:535 Tuesday 31 January 2023 15:40:03 +0000 (0:00:02.874) 0:04:49.979 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:542 Tuesday 31 January 2023 15:40:04 +0000 (0:00:00.982) 0:04:50.961 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:40:05 +0000 (0:00:01.365) 0:04:52.326 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004110", "end": "2023-01-31 15:40:06.569849", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:40:06.565739" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:40:06 +0000 (0:00:01.059) 0:04:53.386 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.156247", "end": "2023-01-31 15:40:07.128114", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:40:06.971867" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:40:07 +0000 (0:00:00.540) 0:04:53.926 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:548 Tuesday 31 January 2023 15:40:07 +0000 (0:00:00.162) 0:04:54.089 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:40:07 +0000 (0:00:00.484) 0:04:54.573 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004076", "end": "2023-01-31 15:40:08.230333", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:40:08.226257" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:40:08 +0000 (0:00:00.496) 0:04:55.070 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.153486", "end": "2023-01-31 15:40:08.878450", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:40:08.724964" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:40:08 +0000 (0:00:00.590) 0:04:55.661 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:566 Tuesday 31 January 2023 15:40:09 +0000 (0:00:00.152) 0:04:55.814 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:580 Tuesday 31 January 2023 15:40:09 +0000 (0:00:00.251) 0:04:56.065 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Tuesday 31 January 2023 15:40:09 +0000 (0:00:00.160) 0:04:56.225 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:603 Tuesday 31 January 2023 15:40:09 +0000 (0:00:00.167) 0:04:56.392 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Tuesday 31 January 2023 15:40:09 +0000 (0:00:00.133) 0:04:56.526 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:621 Tuesday 31 January 2023 15:40:09 +0000 (0:00:00.107) 0:04:56.633 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Tuesday 31 January 2023 15:40:10 +0000 (0:00:00.143) 0:04:56.777 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:640 Tuesday 31 January 2023 15:40:10 +0000 (0:00:00.132) 0:04:56.910 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the adutil package] ******************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:644 Tuesday 31 January 2023 15:40:10 +0000 (0:00:00.135) 0:04:57.045 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Tuesday 31 January 2023 15:40:10 +0000 (0:00:00.224) 0:04:57.269 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print the status of credential cache for {{ __mssql_kinit_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:656 Tuesday 31 January 2023 15:40:10 +0000 (0:00:00.210) 0:04:57.480 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket of the AD user {{ ad_integration_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:664 Tuesday 31 January 2023 15:40:10 +0000 (0:00:00.111) 0:04:57.592 ******* 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 SQL user exists] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:677 Tuesday 31 January 2023 15:40:11 +0000 (0:00:00.150) 0:04:57.742 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify password provided for user] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:686 Tuesday 31 January 2023 15:40:11 +0000 (0:00:00.189) 0:04:57.931 ******* 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 : Update password for the SQL user] ************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:698 Tuesday 31 January 2023 15:40:11 +0000 (0:00:00.253) 0:04:58.185 ******* 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 : In AD server create user] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Tuesday 31 January 2023 15:40:11 +0000 (0:00:00.237) 0:04:58.423 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:720 Tuesday 31 January 2023 15:40:11 +0000 (0:00:00.156) 0:04:58.579 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:725 Tuesday 31 January 2023 15:40:12 +0000 (0:00:00.133) 0:04:58.712 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:742 Tuesday 31 January 2023 15:40:12 +0000 (0:00:00.078) 0:04:58.791 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Tuesday 31 January 2023 15:40:12 +0000 (0:00:00.103) 0:04:58.894 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Tuesday 31 January 2023 15:40:12 +0000 (0:00:00.145) 0:04:59.040 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:758 Tuesday 31 January 2023 15:40:12 +0000 (0:00:00.193) 0:04:59.234 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Tuesday 31 January 2023 15:40:12 +0000 (0:00:00.234) 0:04:59.468 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:803 Tuesday 31 January 2023 15:40:12 +0000 (0:00:00.198) 0:04:59.667 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:811 Tuesday 31 January 2023 15:40:13 +0000 (0:00:00.190) 0:04:59.858 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Tuesday 31 January 2023 15:40:13 +0000 (0:00:00.159) 0:05:00.017 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the privileged account login] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:823 Tuesday 31 January 2023 15:40:13 +0000 (0:00:00.172) 0:05:00.190 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:835 Tuesday 31 January 2023 15:40:13 +0000 (0:00:00.106) 0:05:00.296 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:850 Tuesday 31 January 2023 15:40:13 +0000 (0:00:00.177) 0:05:00.474 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:869 Tuesday 31 January 2023 15:40:14 +0000 (0:00:00.211) 0:05:00.686 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:923 Tuesday 31 January 2023 15:40:14 +0000 (0:00:00.272) 0:05:00.968 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Tuesday 31 January 2023 15:40:14 +0000 (0:00:00.246) 0:05:01.215 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Tuesday 31 January 2023 15:40:14 +0000 (0:00:00.149) 0:05:01.364 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:947 Tuesday 31 January 2023 15:40:14 +0000 (0:00:00.242) 0:05:01.607 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:953 Tuesday 31 January 2023 15:40:15 +0000 (0:00:00.212) 0:05:01.819 ******* 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 : Get mssql-server ver to see if WRITE_LEASE_VALIDITY is available] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Tuesday 31 January 2023 15:40:15 +0000 (0:00:00.136) 0:05:01.956 ******* 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 SQL entities on the primary replica] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:968 Tuesday 31 January 2023 15:40:15 +0000 (0:00:00.118) 0:05:02.074 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:979 Tuesday 31 January 2023 15:40:15 +0000 (0:00:00.099) 0:05:02.173 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:994 Tuesday 31 January 2023 15:40:15 +0000 (0:00:00.104) 0:05:02.277 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1001 Tuesday 31 January 2023 15:40:15 +0000 (0:00:00.101) 0:05:02.379 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag, grant permissions to login, replicate DBs] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1026 Tuesday 31 January 2023 15:40:15 +0000 (0:00:00.185) 0:05:02.565 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to ha login] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Tuesday 31 January 2023 15:40:16 +0000 (0:00:00.143) 0:05:02.708 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Tuesday 31 January 2023 15:40:16 +0000 (0:00:00.091) 0:05:02.800 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1064 Tuesday 31 January 2023 15:40:16 +0000 (0:00:00.142) 0:05:02.943 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1070 Tuesday 31 January 2023 15:40:16 +0000 (0:00:00.149) 0:05:03.092 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1077 Tuesday 31 January 2023 15:40:16 +0000 (0:00:00.232) 0:05:03.325 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Tuesday 31 January 2023 15:40:16 +0000 (0:00:00.304) 0:05:03.630 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1092 Tuesday 31 January 2023 15:40:17 +0000 (0:00:00.097) 0:05:03.727 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1104 Tuesday 31 January 2023 15:40:17 +0000 (0:00:00.224) 0:05:03.951 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1117 Tuesday 31 January 2023 15:40:17 +0000 (0:00:00.183) 0:05:04.135 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1130 Tuesday 31 January 2023 15:40:17 +0000 (0:00:00.121) 0:05:04.257 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1142 Tuesday 31 January 2023 15:40:17 +0000 (0:00:00.113) 0:05:04.370 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Tuesday 31 January 2023 15:40:17 +0000 (0:00:00.105) 0:05:04.476 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1157 Tuesday 31 January 2023 15:40:18 +0000 (0:00:00.200) 0:05:04.676 ******* changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Tuesday 31 January 2023 15:40:18 +0000 (0:00:00.931) 0:05:05.608 ******* changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:36:49 UTC", "ActiveEnterTimestampMonotonic": "1505492419", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target sysinit.target -.mount network.target system.slice auditd.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:36:49 UTC", "AssertTimestampMonotonic": "1505490980", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-01-31 15:36:49 UTC", "ConditionTimestampMonotonic": "1505490978", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6783", "ExecMainStartTimestamp": "Tue 2023-01-31 15:36:49 UTC", "ExecMainStartTimestampMonotonic": "1505492338", "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", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-01-31 15:36:49 UTC", "InactiveExitTimestampMonotonic": "1505492419", "InvocationID": "2abe01d2b63442829ee54cda1b1bd0de", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6783", "MemoryAccounting": "yes", "MemoryCurrent": "680796160", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:36:49 UTC", "StateChangeTimestampMonotonic": "1505492419", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "144", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2023-01-31 15:36:49 UTC", "WatchdogTimestampMonotonic": "1505492416", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1170 Tuesday 31 January 2023 15:40:19 +0000 (0:00:00.951) 0:05:06.559 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_idempotency_2022.yml:28 Tuesday 31 January 2023 15:40:20 +0000 (0:00:00.185) 0:05:06.744 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql-sever-increase-start-limit.yml for sut TASK [Modify the mssql-server service start limit interval] ******************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql-sever-increase-start-limit.yml:3 Tuesday 31 January 2023 15:40:20 +0000 (0:00:00.321) 0:05:07.065 ******* changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql-sever-increase-start-limit.yml:10 Tuesday 31 January 2023 15:40:20 +0000 (0:00:00.545) 0:05:07.611 ******* changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql-sever-increase-start-limit.yml:17 Tuesday 31 January 2023 15:40:21 +0000 (0:00:00.387) 0:05:07.999 ******* ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_idempotency_2022.yml:31 Tuesday 31 January 2023 15:40:22 +0000 (0:00:00.741) 0:05:08.740 ******* TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 31 January 2023 15:40:22 +0000 (0:00:00.364) 0:05:09.104 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 31 January 2023 15:40:22 +0000 (0:00:00.312) 0:05:09.417 ******* ok: [sut] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Tuesday 31 January 2023 15:40:23 +0000 (0:00:01.045) 0:05:10.462 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 31 January 2023 15:40:23 +0000 (0:00:00.175) 0:05:10.638 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 31 January 2023 15:40:24 +0000 (0:00:00.150) 0:05:10.789 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 31 January 2023 15:40:24 +0000 (0:00:00.196) 0:05:10.985 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 31 January 2023 15:40:24 +0000 (0:00:00.172) 0:05:11.157 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 31 January 2023 15:40:24 +0000 (0:00:00.091) 0:05:11.248 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:41 Tuesday 31 January 2023 15:40:24 +0000 (0:00:00.172) 0:05:11.421 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:53 Tuesday 31 January 2023 15:40:24 +0000 (0:00:00.227) 0:05:11.649 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:61 Tuesday 31 January 2023 15:40:25 +0000 (0:00:00.140) 0:05:11.789 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:70 Tuesday 31 January 2023 15:40:25 +0000 (0:00:00.108) 0:05:11.898 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 Tuesday 31 January 2023 15:40:25 +0000 (0:00:00.191) 0:05:12.089 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:88 Tuesday 31 January 2023 15:40:28 +0000 (0:00:03.514) 0:05:15.603 ******* 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" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 31 January 2023 15:40:29 +0000 (0:00:00.719) 0:05:16.323 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:104 Tuesday 31 January 2023 15:40:29 +0000 (0:00:00.269) 0:05:16.593 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that version 2022 is not used with RHEL 7] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 31 January 2023 15:40:30 +0000 (0:00:00.314) 0:05:16.907 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:120 Tuesday 31 January 2023 15:40:30 +0000 (0:00:00.170) 0:05:17.077 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Tuesday 31 January 2023 15:40:30 +0000 (0:00:00.206) 0:05:17.283 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Tuesday 31 January 2023 15:40:31 +0000 (0:00:01.272) 0:05:18.556 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:154 Tuesday 31 January 2023 15:40:32 +0000 (0:00:00.544) 0:05:19.100 ******* 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 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:163 Tuesday 31 January 2023 15:40:32 +0000 (0:00:00.400) 0:05:19.510 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:171 Tuesday 31 January 2023 15:40:33 +0000 (0:00:00.367) 0:05:19.877 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:181 Tuesday 31 January 2023 15:40:33 +0000 (0:00:00.433) 0:05:20.311 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Tuesday 31 January 2023 15:40:38 +0000 (0:00:04.524) 0:05:24.835 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Tuesday 31 January 2023 15:40:40 +0000 (0:00:02.619) 0:05:27.455 ******* 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.007819", "end": "2023-01-31 15:40:41.751056", "rc": 0, "start": "2023-01-31 15:40:41.743237" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:212 Tuesday 31 January 2023 15:40:43 +0000 (0:00:02.727) 0:05:30.183 ******* 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 : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Tuesday 31 January 2023 15:40:51 +0000 (0:00:07.525) 0:05:37.708 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Tuesday 31 January 2023 15:40:53 +0000 (0:00:02.411) 0:05:40.120 ******* 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 tuned-profiles-mssql package is installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Tuesday 31 January 2023 15:40:55 +0000 (0:00:02.480) 0:05:42.600 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:254 Tuesday 31 January 2023 15:41:00 +0000 (0:00:04.886) 0:05:47.487 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:11:56 UTC", "ActiveEnterTimestampMonotonic": "12742604", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket basic.target dbus.service sysinit.target systemd-sysctl.service network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:11:55 UTC", "AssertTimestampMonotonic": "11681926", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-01-31 15:11:55 UTC", "ConditionTimestampMonotonic": "11681919", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service tlp.service shutdown.target cpupower.service power-profiles-daemon.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "660", "ExecMainStartTimestamp": "Tue 2023-01-31 15:11:55 UTC", "ExecMainStartTimestampMonotonic": "11683544", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-01-31 15:11:55 UTC", "InactiveExitTimestampMonotonic": "11683618", "InvocationID": "54070dc1bb91452b87a4fc112ff85fb6", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14014", "LimitNPROCSoft": "14014", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "660", "MemoryAccounting": "yes", "MemoryCurrent": "25645056", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.service dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:11:56 UTC", "StateChangeTimestampMonotonic": "12742604", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "22423", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2023-01-31 15:11:56 UTC", "WatchdogTimestampMonotonic": "12742599", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:260 Tuesday 31 January 2023 15:41:04 +0000 (0:00:04.134) 0:05:51.622 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.146612", "end": "2023-01-31 15:41:06.599347", "rc": 0, "start": "2023-01-31 15:41:06.452735" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Tuesday 31 January 2023 15:41:08 +0000 (0:00:03.540) 0:05:55.162 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:283 Tuesday 31 January 2023 15:41:10 +0000 (0:00:01.893) 0:05:57.056 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:292 Tuesday 31 January 2023 15:41:11 +0000 (0:00:01.055) 0:05:58.111 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Tuesday 31 January 2023 15:41:12 +0000 (0:00:01.497) 0:05:59.608 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:309 Tuesday 31 January 2023 15:41:16 +0000 (0:00:03.401) 0:06:03.009 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:321 Tuesday 31 January 2023 15:41:21 +0000 (0:00:05.187) 0:06:08.197 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Tuesday 31 January 2023 15:41:24 +0000 (0:00:02.941) 0:06:11.139 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ActiveEnterTimestampMonotonic": "1715863742", "ActiveExitTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ActiveExitTimestampMonotonic": "1715637190", "ActiveState": "active", "After": "auditd.service basic.target sysinit.target system.slice systemd-journald.socket -.mount network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:40:19 UTC", "AssertTimestampMonotonic": "1715861911", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ConditionTimestampMonotonic": "1715861909", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9234", "ExecMainStartTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ExecMainStartTimestampMonotonic": "1715863671", "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", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-01-31 15:40:19 UTC", "InactiveEnterTimestampMonotonic": "1715860313", "InactiveExitTimestamp": "Tue 2023-01-31 15:40:19 UTC", "InactiveExitTimestampMonotonic": "1715863742", "InvocationID": "0256906cc3754e0f960aa072037c8516", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9234", "MemoryAccounting": "yes", "MemoryCurrent": "1111564288", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:40:19 UTC", "StateChangeTimestampMonotonic": "1715863742", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "163", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2023-01-31 15:40:19 UTC", "WatchdogTimestampMonotonic": "1715863739", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Tuesday 31 January 2023 15:41:28 +0000 (0:00:03.550) 0:06:14.689 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004100", "end": "2023-01-31 15:41:29.184840", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:41:29.180740" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Tuesday 31 January 2023 15:41:30 +0000 (0:00:02.714) 0:06:17.404 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003798", "end": "2023-01-31 15:41:31.888392", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:41:31.884594" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Tuesday 31 January 2023 15:41:33 +0000 (0:00:03.269) 0:06:20.673 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:325 Tuesday 31 January 2023 15:41:36 +0000 (0:00:02.562) 0:06:23.236 ******* ok: [sut] => { "changed": false, "elapsed": 3, "gid": 990, "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": 13022, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:332 Tuesday 31 January 2023 15:41:45 +0000 (0:00:08.869) 0:06:32.105 ******* 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 : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:339 Tuesday 31 January 2023 15:41:47 +0000 (0:00:02.311) 0:06:34.417 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:346 Tuesday 31 January 2023 15:41:49 +0000 (0:00:01.883) 0:06:36.300 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Tuesday 31 January 2023 15:41:55 +0000 (0:00:05.515) 0:06:41.815 ******* 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 scripts to SQL Server] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:375 Tuesday 31 January 2023 15:41:56 +0000 (0:00:00.918) 0:06:42.734 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:390 Tuesday 31 January 2023 15:41:57 +0000 (0:00:01.331) 0:06:44.065 ******* 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.006472", "end": "2023-01-31 15:41:58.275839", "rc": 0, "start": "2023-01-31 15:41:58.269367" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Tuesday 31 January 2023 15:41:59 +0000 (0:00:02.447) 0:06:46.512 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:410 Tuesday 31 January 2023 15:42:01 +0000 (0:00:01.853) 0:06:48.365 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:417 Tuesday 31 January 2023 15:42:09 +0000 (0:00:07.424) 0:06:55.790 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:436 Tuesday 31 January 2023 15:42:10 +0000 (0:00:01.295) 0:06:57.085 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:42:14 +0000 (0:00:04.464) 0:07:01.550 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003826", "end": "2023-01-31 15:42:16.262101", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:42:16.258275" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:42:18 +0000 (0:00:04.046) 0:07:05.596 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:42:20 +0000 (0:00:01.967) 0:07:07.564 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:443 Tuesday 31 January 2023 15:42:21 +0000 (0:00:01.073) 0:07:08.637 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:450 Tuesday 31 January 2023 15:42:23 +0000 (0:00:01.770) 0:07:10.408 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:461 Tuesday 31 January 2023 15:42:25 +0000 (0:00:01.626) 0:07:12.034 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:42:29 +0000 (0:00:03.653) 0:07:15.688 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004127", "end": "2023-01-31 15:42:30.993103", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:42:30.988976" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:42:32 +0000 (0:00:03.935) 0:07:19.623 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.178241", "end": "2023-01-31 15:42:34.023855", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:42:33.845614" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:42:35 +0000 (0:00:02.277) 0:07:21.900 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:467 Tuesday 31 January 2023 15:42:37 +0000 (0:00:01.816) 0:07:23.761 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Tuesday 31 January 2023 15:42:39 +0000 (0:00:01.976) 0:07:25.737 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:42:41 +0000 (0:00:02.936) 0:07:28.673 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003673", "end": "2023-01-31 15:42:42.710353", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:42:42.706680" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:42:44 +0000 (0:00:02.157) 0:07:30.831 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:42:46 +0000 (0:00:02.815) 0:07:33.646 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Tuesday 31 January 2023 15:42:48 +0000 (0:00:01.997) 0:07:35.644 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:499 Tuesday 31 January 2023 15:42:53 +0000 (0:00:04.364) 0:07:40.009 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:508 Tuesday 31 January 2023 15:42:58 +0000 (0:00:05.423) 0:07:45.432 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Tuesday 31 January 2023 15:43:03 +0000 (0:00:04.681) 0:07:50.114 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting hadr hadrenabled] ************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:43:07 +0000 (0:00:04.319) 0:07:54.433 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003742", "end": "2023-01-31 15:43:09.181897", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:43:09.178155" } STDOUT: hadrenabled = 1 TASK [linux-system-roles.mssql : Configure the setting hadr hadrenabled] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:43:10 +0000 (0:00:03.210) 0:07:57.644 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting hadr hadrenabled] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:43:12 +0000 (0:00:01.796) 0:07:59.440 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:523 Tuesday 31 January 2023 15:43:16 +0000 (0:00:03.387) 0:08:02.827 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.005071", "end": "2023-01-31 15:43:18.423794", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:43:17.418723" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:529 Tuesday 31 January 2023 15:43:20 +0000 (0:00:03.963) 0:08:06.791 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:535 Tuesday 31 January 2023 15:43:22 +0000 (0:00:02.116) 0:08:08.908 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:542 Tuesday 31 January 2023 15:43:23 +0000 (0:00:01.760) 0:08:10.668 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:43:25 +0000 (0:00:02.011) 0:08:12.680 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003914", "end": "2023-01-31 15:43:26.800426", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:43:26.796512" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:43:28 +0000 (0:00:02.422) 0:08:15.102 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:43:29 +0000 (0:00:01.560) 0:08:16.662 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:548 Tuesday 31 January 2023 15:43:31 +0000 (0:00:01.698) 0:08:18.361 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:43:33 +0000 (0:00:02.181) 0:08:20.542 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004999", "end": "2023-01-31 15:43:36.395618", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:43:35.390619" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:43:39 +0000 (0:00:05.609) 0:08:26.152 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:43:41 +0000 (0:00:02.386) 0:08:28.539 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:566 Tuesday 31 January 2023 15:43:43 +0000 (0:00:01.911) 0:08:30.450 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:580 Tuesday 31 January 2023 15:43:45 +0000 (0:00:01.792) 0:08:32.243 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Tuesday 31 January 2023 15:43:46 +0000 (0:00:01.279) 0:08:33.522 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:603 Tuesday 31 January 2023 15:43:48 +0000 (0:00:01.472) 0:08:34.995 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Tuesday 31 January 2023 15:43:49 +0000 (0:00:01.454) 0:08:36.449 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:621 Tuesday 31 January 2023 15:43:51 +0000 (0:00:02.222) 0:08:38.672 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Tuesday 31 January 2023 15:43:54 +0000 (0:00:02.219) 0:08:40.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:640 Tuesday 31 January 2023 15:43:56 +0000 (0:00:01.990) 0:08:42.882 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the adutil package] ******************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:644 Tuesday 31 January 2023 15:43:57 +0000 (0:00:01.581) 0:08:44.464 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Tuesday 31 January 2023 15:43:59 +0000 (0:00:01.375) 0:08:45.840 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print the status of credential cache for {{ __mssql_kinit_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:656 Tuesday 31 January 2023 15:44:00 +0000 (0:00:01.379) 0:08:47.219 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket of the AD user {{ ad_integration_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:664 Tuesday 31 January 2023 15:44:03 +0000 (0:00:02.703) 0:08:49.923 ******* 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 SQL user exists] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:677 Tuesday 31 January 2023 15:44:06 +0000 (0:00:02.916) 0:08:52.840 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify password provided for user] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:686 Tuesday 31 January 2023 15:44:08 +0000 (0:00:02.807) 0:08:55.647 ******* 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 : Update password for the SQL user] ************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:698 Tuesday 31 January 2023 15:44:11 +0000 (0:00:02.538) 0:08:58.185 ******* 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 : In AD server create user] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Tuesday 31 January 2023 15:44:13 +0000 (0:00:01.806) 0:08:59.992 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:720 Tuesday 31 January 2023 15:44:15 +0000 (0:00:02.314) 0:09:02.307 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:725 Tuesday 31 January 2023 15:44:17 +0000 (0:00:02.041) 0:09:04.349 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:742 Tuesday 31 January 2023 15:44:19 +0000 (0:00:01.724) 0:09:06.073 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Tuesday 31 January 2023 15:44:21 +0000 (0:00:02.090) 0:09:08.163 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Tuesday 31 January 2023 15:44:23 +0000 (0:00:01.542) 0:09:09.706 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:758 Tuesday 31 January 2023 15:44:23 +0000 (0:00:00.814) 0:09:10.520 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Tuesday 31 January 2023 15:44:25 +0000 (0:00:01.728) 0:09:12.248 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:803 Tuesday 31 January 2023 15:44:27 +0000 (0:00:02.129) 0:09:14.378 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:811 Tuesday 31 January 2023 15:44:29 +0000 (0:00:02.079) 0:09:16.458 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Tuesday 31 January 2023 15:44:31 +0000 (0:00:01.762) 0:09:18.220 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the privileged account login] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:823 Tuesday 31 January 2023 15:44:33 +0000 (0:00:01.785) 0:09:20.006 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:835 Tuesday 31 January 2023 15:44:35 +0000 (0:00:02.549) 0:09:22.555 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:850 Tuesday 31 January 2023 15:44:40 +0000 (0:00:04.729) 0:09:27.286 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:869 Tuesday 31 January 2023 15:44:44 +0000 (0:00:04.010) 0:09:31.296 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:923 Tuesday 31 January 2023 15:44:47 +0000 (0:00:02.768) 0:09:34.065 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Tuesday 31 January 2023 15:44:49 +0000 (0:00:02.506) 0:09:36.572 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Tuesday 31 January 2023 15:44:51 +0000 (0:00:01.868) 0:09:38.440 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:947 Tuesday 31 January 2023 15:44:53 +0000 (0:00:01.678) 0:09:40.119 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:953 Tuesday 31 January 2023 15:44:55 +0000 (0:00:01.620) 0:09:41.740 ******* 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 : Get mssql-server ver to see if WRITE_LEASE_VALIDITY is available] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Tuesday 31 January 2023 15:44:56 +0000 (0:00:01.359) 0:09:43.099 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Configure SQL entities on the primary replica] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:968 Tuesday 31 January 2023 15:44:58 +0000 (0:00:01.657) 0:09:44.757 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:979 Tuesday 31 January 2023 15:44:59 +0000 (0:00:01.289) 0:09:46.047 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:994 Tuesday 31 January 2023 15:45:02 +0000 (0:00:02.897) 0:09:48.944 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1001 Tuesday 31 January 2023 15:45:04 +0000 (0:00:01.815) 0:09:50.780 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag, grant permissions to login, replicate DBs] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1026 Tuesday 31 January 2023 15:45:06 +0000 (0:00:02.228) 0:09:53.008 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to ha login] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Tuesday 31 January 2023 15:45:06 +0000 (0:00:00.183) 0:09:53.192 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Tuesday 31 January 2023 15:45:06 +0000 (0:00:00.111) 0:09:53.303 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1064 Tuesday 31 January 2023 15:45:06 +0000 (0:00:00.170) 0:09:53.474 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1070 Tuesday 31 January 2023 15:45:07 +0000 (0:00:00.367) 0:09:53.841 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1077 Tuesday 31 January 2023 15:45:07 +0000 (0:00:00.166) 0:09:54.008 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Tuesday 31 January 2023 15:45:07 +0000 (0:00:00.185) 0:09:54.194 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1092 Tuesday 31 January 2023 15:45:07 +0000 (0:00:00.150) 0:09:54.344 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1104 Tuesday 31 January 2023 15:45:07 +0000 (0:00:00.201) 0:09:54.546 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1117 Tuesday 31 January 2023 15:45:08 +0000 (0:00:00.244) 0:09:54.790 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1130 Tuesday 31 January 2023 15:45:08 +0000 (0:00:00.273) 0:09:55.064 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1142 Tuesday 31 January 2023 15:45:08 +0000 (0:00:00.255) 0:09:55.319 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Tuesday 31 January 2023 15:45:08 +0000 (0:00:00.198) 0:09:55.517 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1157 Tuesday 31 January 2023 15:45:09 +0000 (0:00:00.165) 0:09:55.683 ******* ok: [sut] => { "changed": false } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1170 Tuesday 31 January 2023 15:45:10 +0000 (0:00:01.244) 0:09:56.928 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_idempotency_2022.yml:45 Tuesday 31 January 2023 15:45:10 +0000 (0:00:00.144) 0:09:57.073 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:8 Tuesday 31 January 2023 15:45:11 +0000 (0:00:00.814) 0:09:57.887 ******* 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.007368", "end": "2023-01-31 15:45:11.500871", "rc": 0, "start": "2023-01-31 15:45:11.493503" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:23 Tuesday 31 January 2023 15:45:11 +0000 (0:00:00.416) 0:09:58.304 ******* 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.006510", "end": "2023-01-31 15:45:11.941823", "rc": 0, "start": "2023-01-31 15:45:11.935313" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:36 Tuesday 31 January 2023 15:45:12 +0000 (0:00:00.488) 0:09:58.792 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the IP address setting] ******************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:40 Tuesday 31 January 2023 15:45:12 +0000 (0:00:00.156) 0:09:58.949 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:47 Tuesday 31 January 2023 15:45:12 +0000 (0:00:00.170) 0:09:59.120 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:57 Tuesday 31 January 2023 15:45:12 +0000 (0:00:00.203) 0:09:59.324 ******* TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Tuesday 31 January 2023 15:45:12 +0000 (0:00:00.338) 0:09:59.662 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ActiveEnterTimestampMonotonic": "1715863742", "ActiveExitTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ActiveExitTimestampMonotonic": "1715637190", "ActiveState": "active", "After": "auditd.service basic.target sysinit.target system.slice systemd-journald.socket -.mount network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:40:19 UTC", "AssertTimestampMonotonic": "1715861911", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ConditionTimestampMonotonic": "1715861909", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9234", "ExecMainStartTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ExecMainStartTimestampMonotonic": "1715863671", "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", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-01-31 15:40:19 UTC", "InactiveEnterTimestampMonotonic": "1715860313", "InactiveExitTimestamp": "Tue 2023-01-31 15:40:19 UTC", "InactiveExitTimestampMonotonic": "1715863742", "InvocationID": "0256906cc3754e0f960aa072037c8516", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9234", "MemoryAccounting": "yes", "MemoryCurrent": "1153916928", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:40:19 UTC", "StateChangeTimestampMonotonic": "1715863742", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "162", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2023-01-31 15:40:19 UTC", "WatchdogTimestampMonotonic": "1715863739", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Tuesday 31 January 2023 15:45:13 +0000 (0:00:00.556) 0:10:00.219 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004260", "end": "2023-01-31 15:45:13.853798", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:45:13.849538" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Tuesday 31 January 2023 15:45:13 +0000 (0:00:00.451) 0:10:00.671 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.005294", "end": "2023-01-31 15:45:15.343305", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:45:14.338011" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Tuesday 31 January 2023 15:45:15 +0000 (0:00:01.453) 0:10:02.125 ******* 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 start and prepare for client connections] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:65 Tuesday 31 January 2023 15:45:15 +0000 (0:00:00.267) 0:10:02.393 ******* ok: [sut] => { "changed": false, "elapsed": 3, "gid": 990, "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": 13022, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:72 Tuesday 31 January 2023 15:45:19 +0000 (0:00:03.437) 0:10:05.830 ******* ok: [sut] => { "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.035026", "end": "2023-01-31 15:45:19.489654", "rc": 0, "start": "2023-01-31 15:45:19.454628" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2022 (RTM) - 16.0.1000.6 (X64) Oct 8 2022 05:58:25 Copyright (C) 2022 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux 8.8 Beta (Ootpa)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:78 Tuesday 31 January 2023 15:45:19 +0000 (0:00:00.495) 0:10:06.326 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:82 Tuesday 31 January 2023 15:45:19 +0000 (0:00:00.150) 0:10:06.477 ******* ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify that the SQL agent is enabled] ************************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:86 Tuesday 31 January 2023 15:45:20 +0000 (0:00:00.210) 0:10:06.687 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:7 Tuesday 31 January 2023 15:45:20 +0000 (0:00:00.208) 0:10:06.895 ******* ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.008219", "end": "2023-01-31 15:45:20.491259", "rc": 0, "start": "2023-01-31 15:45:20.483040" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:14 Tuesday 31 January 2023 15:45:20 +0000 (0:00:00.393) 0:10:07.289 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:26 Tuesday 31 January 2023 15:45:20 +0000 (0:00:00.162) 0:10:07.452 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:41 Tuesday 31 January 2023 15:45:20 +0000 (0:00:00.220) 0:10:07.673 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:93 Tuesday 31 January 2023 15:45:21 +0000 (0:00:00.227) 0:10:07.901 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:7 Tuesday 31 January 2023 15:45:21 +0000 (0:00:00.465) 0:10:08.366 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:12 Tuesday 31 January 2023 15:45:23 +0000 (0:00:01.741) 0:10:10.108 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:17 Tuesday 31 January 2023 15:45:23 +0000 (0:00:00.119) 0:10:10.227 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:100 Tuesday 31 January 2023 15:45:23 +0000 (0:00:00.079) 0:10:10.307 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:7 Tuesday 31 January 2023 15:45:23 +0000 (0:00:00.151) 0:10:10.458 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:12 Tuesday 31 January 2023 15:45:25 +0000 (0:00:01.757) 0:10:12.216 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:17 Tuesday 31 January 2023 15:45:25 +0000 (0:00:00.108) 0:10:12.324 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is installed mssql-server-ha] ********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:111 Tuesday 31 January 2023 15:45:25 +0000 (0:00:00.075) 0:10:12.400 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:7 Tuesday 31 January 2023 15:45:25 +0000 (0:00:00.143) 0:10:12.543 ******* 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-ha] ********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:12 Tuesday 31 January 2023 15:45:27 +0000 (0:00:02.059) 0:10:14.602 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-ha] ****************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:17 Tuesday 31 January 2023 15:45:28 +0000 (0:00:00.102) 0:10:14.705 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:117 Tuesday 31 January 2023 15:45:28 +0000 (0:00:00.077) 0:10:14.783 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting hadrenabled] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:7 Tuesday 31 January 2023 15:45:28 +0000 (0:00:00.149) 0:10:14.932 ******* ok: [sut] => { "changed": false, "cmd": "grep '^hadrenabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005490", "end": "2023-01-31 15:45:28.548134", "rc": 0, "start": "2023-01-31 15:45:28.542644" } STDOUT: hadrenabled = 1 TASK [Verify the setting when it is type str hadrenabled] ********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:14 Tuesday 31 January 2023 15:45:28 +0000 (0:00:00.374) 0:10:15.306 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool hadrenabled] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:26 Tuesday 31 January 2023 15:45:28 +0000 (0:00:00.079) 0:10:15.386 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:41 Tuesday 31 January 2023 15:45:28 +0000 (0:00:00.117) 0:10:15.504 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:127 Tuesday 31 January 2023 15:45:28 +0000 (0:00:00.077) 0:10:15.581 ******* ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.008355", "end": "2023-01-31 15:45:29.185479", "rc": 0, "start": "2023-01-31 15:45:29.177124" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:132 Tuesday 31 January 2023 15:45:29 +0000 (0:00:00.355) 0:10:15.937 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:137 Tuesday 31 January 2023 15:45:29 +0000 (0:00:00.132) 0:10:16.069 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:143 Tuesday 31 January 2023 15:45:29 +0000 (0:00:00.085) 0:10:16.155 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:7 Tuesday 31 January 2023 15:45:29 +0000 (0:00:00.128) 0:10:16.284 ******* ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.006338", "end": "2023-01-31 15:45:29.843875", "rc": 0, "start": "2023-01-31 15:45:29.837537" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:14 Tuesday 31 January 2023 15:45:29 +0000 (0:00:00.308) 0:10:16.592 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:26 Tuesday 31 January 2023 15:45:29 +0000 (0:00:00.078) 0:10:16.671 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:41 Tuesday 31 January 2023 15:45:30 +0000 (0:00:00.089) 0:10:16.760 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:149 Tuesday 31 January 2023 15:45:30 +0000 (0:00:00.075) 0:10:16.835 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:7 Tuesday 31 January 2023 15:45:30 +0000 (0:00:00.129) 0:10:16.965 ******* ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.008050", "end": "2023-01-31 15:45:30.648948", "rc": 0, "start": "2023-01-31 15:45:30.640898" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:14 Tuesday 31 January 2023 15:45:30 +0000 (0:00:00.438) 0:10:17.403 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:26 Tuesday 31 January 2023 15:45:30 +0000 (0:00:00.077) 0:10:17.481 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:41 Tuesday 31 January 2023 15:45:30 +0000 (0:00:00.095) 0:10:17.576 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:159 Tuesday 31 January 2023 15:45:31 +0000 (0:00:00.136) 0:10:17.713 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:167 Tuesday 31 January 2023 15:45:31 +0000 (0:00:00.072) 0:10:17.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:175 Tuesday 31 January 2023 15:45:31 +0000 (0:00:00.072) 0:10:17.858 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:183 Tuesday 31 January 2023 15:45:31 +0000 (0:00:00.072) 0:10:17.930 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_idempotency_2022.yml:58 Tuesday 31 January 2023 15:45:31 +0000 (0:00:00.072) 0:10:18.002 ******* TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 31 January 2023 15:45:31 +0000 (0:00:00.640) 0:10:18.643 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 31 January 2023 15:45:32 +0000 (0:00:00.142) 0:10:18.785 ******* ok: [sut] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Tuesday 31 January 2023 15:45:32 +0000 (0:00:00.772) 0:10:19.558 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 31 January 2023 15:45:33 +0000 (0:00:00.188) 0:10:19.747 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 31 January 2023 15:45:33 +0000 (0:00:00.097) 0:10:19.844 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 31 January 2023 15:45:33 +0000 (0:00:00.098) 0:10:19.943 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 31 January 2023 15:45:33 +0000 (0:00:00.123) 0:10:20.066 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 31 January 2023 15:45:33 +0000 (0:00:00.081) 0:10:20.148 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:41 Tuesday 31 January 2023 15:45:33 +0000 (0:00:00.081) 0:10:20.230 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:53 Tuesday 31 January 2023 15:45:33 +0000 (0:00:00.094) 0:10:20.325 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:61 Tuesday 31 January 2023 15:45:33 +0000 (0:00:00.079) 0:10:20.404 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:70 Tuesday 31 January 2023 15:45:33 +0000 (0:00:00.080) 0:10:20.485 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 Tuesday 31 January 2023 15:45:33 +0000 (0:00:00.081) 0:10:20.566 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:88 Tuesday 31 January 2023 15:45:35 +0000 (0:00:01.866) 0:10:22.433 ******* skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 31 January 2023 15:45:36 +0000 (0:00:00.242) 0:10:22.676 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:104 Tuesday 31 January 2023 15:45:36 +0000 (0:00:00.080) 0:10:22.756 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that version 2022 is not used with RHEL 7] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 31 January 2023 15:45:36 +0000 (0:00:00.087) 0:10:22.843 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:120 Tuesday 31 January 2023 15:45:36 +0000 (0:00:00.094) 0:10:22.938 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Tuesday 31 January 2023 15:45:36 +0000 (0:00:00.251) 0:10:23.189 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Tuesday 31 January 2023 15:45:37 +0000 (0:00:00.610) 0:10:23.799 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:154 Tuesday 31 January 2023 15:45:37 +0000 (0:00:00.135) 0:10:23.934 ******* 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 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:163 Tuesday 31 January 2023 15:45:37 +0000 (0:00:00.163) 0:10:24.097 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:171 Tuesday 31 January 2023 15:45:37 +0000 (0:00:00.170) 0:10:24.268 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:181 Tuesday 31 January 2023 15:45:37 +0000 (0:00:00.337) 0:10:24.606 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Tuesday 31 January 2023 15:45:39 +0000 (0:00:01.879) 0:10:26.485 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Tuesday 31 January 2023 15:45:39 +0000 (0:00:00.184) 0:10:26.669 ******* 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.007567", "end": "2023-01-31 15:45:40.263098", "rc": 0, "start": "2023-01-31 15:45:40.255531" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:212 Tuesday 31 January 2023 15:45:40 +0000 (0:00:00.418) 0:10:27.088 ******* 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 : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Tuesday 31 January 2023 15:45:43 +0000 (0:00:02.958) 0:10:30.047 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Tuesday 31 January 2023 15:45:44 +0000 (0:00:00.765) 0:10:30.812 ******* 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 tuned-profiles-mssql package is installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Tuesday 31 January 2023 15:45:45 +0000 (0:00:01.060) 0:10:31.873 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:254 Tuesday 31 January 2023 15:45:48 +0000 (0:00:03.086) 0:10:34.960 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:11:56 UTC", "ActiveEnterTimestampMonotonic": "12742604", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket basic.target dbus.service sysinit.target systemd-sysctl.service network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:11:55 UTC", "AssertTimestampMonotonic": "11681926", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-01-31 15:11:55 UTC", "ConditionTimestampMonotonic": "11681919", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service tlp.service shutdown.target cpupower.service power-profiles-daemon.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "660", "ExecMainStartTimestamp": "Tue 2023-01-31 15:11:55 UTC", "ExecMainStartTimestampMonotonic": "11683544", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-01-31 15:11:55 UTC", "InactiveExitTimestampMonotonic": "11683618", "InvocationID": "54070dc1bb91452b87a4fc112ff85fb6", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14014", "LimitNPROCSoft": "14014", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "660", "MemoryAccounting": "yes", "MemoryCurrent": "25731072", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.service dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:11:56 UTC", "StateChangeTimestampMonotonic": "12742604", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "22423", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2023-01-31 15:11:56 UTC", "WatchdogTimestampMonotonic": "12742599", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:260 Tuesday 31 January 2023 15:45:49 +0000 (0:00:01.527) 0:10:36.487 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.161285", "end": "2023-01-31 15:45:50.391905", "rc": 0, "start": "2023-01-31 15:45:50.230620" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Tuesday 31 January 2023 15:45:50 +0000 (0:00:01.018) 0:10:37.506 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:283 Tuesday 31 January 2023 15:45:51 +0000 (0:00:00.607) 0:10:38.113 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:292 Tuesday 31 January 2023 15:45:52 +0000 (0:00:00.578) 0:10:38.691 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Tuesday 31 January 2023 15:45:52 +0000 (0:00:00.573) 0:10:39.265 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:309 Tuesday 31 January 2023 15:45:53 +0000 (0:00:01.205) 0:10:40.470 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:321 Tuesday 31 January 2023 15:45:56 +0000 (0:00:02.728) 0:10:43.199 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Tuesday 31 January 2023 15:45:57 +0000 (0:00:01.257) 0:10:44.457 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ActiveEnterTimestampMonotonic": "1715863742", "ActiveExitTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ActiveExitTimestampMonotonic": "1715637190", "ActiveState": "active", "After": "auditd.service basic.target sysinit.target system.slice systemd-journald.socket -.mount network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:40:19 UTC", "AssertTimestampMonotonic": "1715861911", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ConditionTimestampMonotonic": "1715861909", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9234", "ExecMainStartTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ExecMainStartTimestampMonotonic": "1715863671", "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", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-01-31 15:40:19 UTC", "InactiveEnterTimestampMonotonic": "1715860313", "InactiveExitTimestamp": "Tue 2023-01-31 15:40:19 UTC", "InactiveExitTimestampMonotonic": "1715863742", "InvocationID": "0256906cc3754e0f960aa072037c8516", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9234", "MemoryAccounting": "yes", "MemoryCurrent": "1244999680", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:40:19 UTC", "StateChangeTimestampMonotonic": "1715863742", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "188", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2023-01-31 15:40:19 UTC", "WatchdogTimestampMonotonic": "1715863739", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Tuesday 31 January 2023 15:45:59 +0000 (0:00:01.600) 0:10:46.057 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004540", "end": "2023-01-31 15:46:00.038439", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:46:00.033899" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Tuesday 31 January 2023 15:46:00 +0000 (0:00:01.554) 0:10:47.612 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004730", "end": "2023-01-31 15:46:02.493031", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:46:01.488301" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Tuesday 31 January 2023 15:46:03 +0000 (0:00:02.527) 0:10:50.139 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:325 Tuesday 31 January 2023 15:46:04 +0000 (0:00:00.696) 0:10:50.836 ******* ok: [sut] => { "changed": false, "elapsed": 3, "gid": 990, "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": 13523, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:332 Tuesday 31 January 2023 15:46:08 +0000 (0:00:04.147) 0:10:54.984 ******* fatal: [sut]: FAILED! => { "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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:339 Tuesday 31 January 2023 15:46:09 +0000 (0:00:01.443) 0:10:56.427 ******* NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for sut changed: [sut] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ActiveEnterTimestampMonotonic": "1715863742", "ActiveExitTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ActiveExitTimestampMonotonic": "1715637190", "ActiveState": "active", "After": "auditd.service basic.target sysinit.target system.slice systemd-journald.socket -.mount network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:40:19 UTC", "AssertTimestampMonotonic": "1715861911", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ConditionTimestampMonotonic": "1715861909", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9234", "ExecMainStartTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ExecMainStartTimestampMonotonic": "1715863671", "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", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-01-31 15:40:19 UTC", "InactiveEnterTimestampMonotonic": "1715860313", "InactiveExitTimestamp": "Tue 2023-01-31 15:40:19 UTC", "InactiveExitTimestampMonotonic": "1715863742", "InvocationID": "0256906cc3754e0f960aa072037c8516", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9234", "MemoryAccounting": "yes", "MemoryCurrent": "1249656832", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:40:19 UTC", "StateChangeTimestampMonotonic": "1715863742", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "187", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2023-01-31 15:40:19 UTC", "WatchdogTimestampMonotonic": "1715863739", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:346 Tuesday 31 January 2023 15:46:11 +0000 (0:00:01.964) 0:10:58.392 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Tuesday 31 January 2023 15:46:15 +0000 (0:00:04.090) 0:11:02.482 ******* fatal: [sut]: FAILED! => { "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 : Workaround for expected error on version 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:364 Tuesday 31 January 2023 15:46:26 +0000 (0:00:11.018) 0:11:13.501 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Pre-input SQL scripts to SQL Server] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:375 Tuesday 31 January 2023 15:46:27 +0000 (0:00:01.154) 0:11:14.656 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:390 Tuesday 31 January 2023 15:46:29 +0000 (0:00:01.108) 0:11:15.764 ******* 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.006615", "end": "2023-01-31 15:46:29.728673", "rc": 0, "start": "2023-01-31 15:46:29.722058" } STDOUT: false TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Tuesday 31 January 2023 15:46:30 +0000 (0:00:01.297) 0:11:17.062 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ActiveEnterTimestampMonotonic": "1715863742", "ActiveExitTimestamp": "Tue 2023-01-31 15:46:10 UTC", "ActiveExitTimestampMonotonic": "2067049179", "ActiveState": "failed", "After": "auditd.service basic.target sysinit.target system.slice systemd-journald.socket -.mount network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:40:19 UTC", "AssertTimestampMonotonic": "1715861911", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ConditionTimestampMonotonic": "1715861909", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2023-01-31 15:46:11 UTC", "ExecMainExitTimestampMonotonic": "2067290961", "ExecMainPID": "9234", "ExecMainStartTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ExecMainStartTimestampMonotonic": "1715863671", "ExecMainStatus": "255", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-01-31 15:40:19 UTC] ; stop_time=[Tue 2023-01-31 15:46:11 UTC] ; pid=9234 ; code=exited ; status=255 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-01-31 15:46:11 UTC", "InactiveEnterTimestampMonotonic": "2067291142", "InactiveExitTimestamp": "Tue 2023-01-31 15:40:19 UTC", "InactiveExitTimestampMonotonic": "1715863742", "InvocationID": "0256906cc3754e0f960aa072037c8516", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "exit-code", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:46:11 UTC", "StateChangeTimestampMonotonic": "2067291142", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "failed", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:410 Tuesday 31 January 2023 15:46:33 +0000 (0:00:02.713) 0:11:19.775 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:417 Tuesday 31 January 2023 15:46:37 +0000 (0:00:04.617) 0:11:24.393 ******* fatal: [sut]: FAILED! => { "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 : Workaround for expected error on version 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Tuesday 31 January 2023 15:46:48 +0000 (0:00:10.885) 0:11:35.278 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:436 Tuesday 31 January 2023 15:46:50 +0000 (0:00:02.367) 0:11:37.645 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:46:52 +0000 (0:00:01.709) 0:11:39.354 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004032", "end": "2023-01-31 15:46:53.921945", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:46:53.917913" } STDOUT: ipaddress = 0.0.0.0 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:46:54 +0000 (0:00:02.136) 0:11:41.490 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.152806", "end": "2023-01-31 15:46:56.597375", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:46:56.444569" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:46:57 +0000 (0:00:03.065) 0:11:44.556 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:443 Tuesday 31 January 2023 15:46:59 +0000 (0:00:01.398) 0:11:45.955 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:450 Tuesday 31 January 2023 15:47:00 +0000 (0:00:01.309) 0:11:47.264 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:461 Tuesday 31 January 2023 15:47:01 +0000 (0:00:01.333) 0:11:48.598 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:47:04 +0000 (0:00:02.664) 0:11:51.262 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003673", "end": "2023-01-31 15:47:05.141327", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:47:05.137654" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:47:05 +0000 (0:00:00.978) 0:11:52.241 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.155803", "end": "2023-01-31 15:47:07.451258", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:47:07.295455" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:47:09 +0000 (0:00:03.476) 0:11:55.718 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:467 Tuesday 31 January 2023 15:47:10 +0000 (0:00:00.982) 0:11:56.700 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Tuesday 31 January 2023 15:47:11 +0000 (0:00:01.216) 0:11:57.916 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:47:14 +0000 (0:00:03.491) 0:12:01.408 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003850", "end": "2023-01-31 15:47:15.871298", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:47:15.867448" } STDOUT: enabled = True TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:47:16 +0000 (0:00:02.265) 0:12:03.673 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.154430", "end": "2023-01-31 15:47:18.530516", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:47:18.376086" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:47:19 +0000 (0:00:02.281) 0:12:05.955 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Tuesday 31 January 2023 15:47:20 +0000 (0:00:01.492) 0:12:07.448 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: mssql-server-fts-16.0.1000.6-26.x86_64" ] } TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:499 Tuesday 31 January 2023 15:47:25 +0000 (0:00:04.767) 0:12:12.215 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: powershell-7.3.2-1.rh.x86_64" ] } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:508 Tuesday 31 January 2023 15:47:30 +0000 (0:00:05.169) 0:12:17.384 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: mssql-server-ha-16.0.1000.6-26.x86_64" ] } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Tuesday 31 January 2023 15:47:34 +0000 (0:00:03.457) 0:12:20.842 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting hadr hadrenabled] ************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:47:36 +0000 (0:00:02.064) 0:12:22.907 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004961", "end": "2023-01-31 15:47:38.204783", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:47:37.199822" } STDOUT: hadrenabled = 1 TASK [linux-system-roles.mssql : Configure the setting hadr hadrenabled] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:47:39 +0000 (0:00:02.827) 0:12:25.734 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "hadr.hadrenabled", "0" ], "delta": "0:00:00.156840", "end": "2023-01-31 15:47:41.197676", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:47:41.040836" } 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 hadr hadrenabled] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:47:42 +0000 (0:00:03.259) 0:12:28.994 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:523 Tuesday 31 January 2023 15:47:44 +0000 (0:00:02.026) 0:12:31.020 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004192", "end": "2023-01-31 15:47:45.756580", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:47:45.752388" } STDOUT: traceflag0 = 3979 TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:529 Tuesday 31 January 2023 15:47:46 +0000 (0:00:02.492) 0:12:33.513 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:535 Tuesday 31 January 2023 15:47:47 +0000 (0:00:01.074) 0:12:34.587 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.154405", "end": "2023-01-31 15:47:49.064034", "rc": 0, "start": "2023-01-31 15:47:48.909629" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:542 Tuesday 31 January 2023 15:47:50 +0000 (0:00:02.910) 0:12:37.498 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:47:52 +0000 (0:00:02.112) 0:12:39.610 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004115", "end": "2023-01-31 15:47:53.820404", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:47:53.816289" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:47:54 +0000 (0:00:01.573) 0:12:41.183 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:47:56 +0000 (0:00:01.897) 0:12:43.081 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:548 Tuesday 31 January 2023 15:47:57 +0000 (0:00:01.334) 0:12:44.415 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:48:00 +0000 (0:00:02.281) 0:12:46.696 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004343", "end": "2023-01-31 15:48:01.165302", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:48:01.160959" } STDOUT: writethrough = 1 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:48:02 +0000 (0:00:02.256) 0:12:48.953 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.154375", "end": "2023-01-31 15:48:03.671816", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:48:03.517441" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:48:04 +0000 (0:00:02.184) 0:12:51.138 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:566 Tuesday 31 January 2023 15:48:05 +0000 (0:00:00.933) 0:12:52.071 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:580 Tuesday 31 January 2023 15:48:07 +0000 (0:00:02.296) 0:12:54.368 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Tuesday 31 January 2023 15:48:09 +0000 (0:00:02.220) 0:12:56.589 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:603 Tuesday 31 January 2023 15:48:11 +0000 (0:00:01.304) 0:12:57.893 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Tuesday 31 January 2023 15:48:12 +0000 (0:00:01.027) 0:12:58.921 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:621 Tuesday 31 January 2023 15:48:13 +0000 (0:00:01.173) 0:13:00.094 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Tuesday 31 January 2023 15:48:14 +0000 (0:00:01.457) 0:13:01.552 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:640 Tuesday 31 January 2023 15:48:16 +0000 (0:00:01.490) 0:13:03.042 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the adutil package] ******************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:644 Tuesday 31 January 2023 15:48:17 +0000 (0:00:01.077) 0:13:04.120 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Tuesday 31 January 2023 15:48:19 +0000 (0:00:01.698) 0:13:05.818 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print the status of credential cache for {{ __mssql_kinit_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:656 Tuesday 31 January 2023 15:48:20 +0000 (0:00:01.327) 0:13:07.145 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket of the AD user {{ ad_integration_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:664 Tuesday 31 January 2023 15:48:21 +0000 (0:00:01.281) 0:13:08.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 SQL user exists] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:677 Tuesday 31 January 2023 15:48:23 +0000 (0:00:01.688) 0:13:10.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify password provided for user] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:686 Tuesday 31 January 2023 15:48:25 +0000 (0:00:01.612) 0:13:11.727 ******* 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 : Update password for the SQL user] ************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:698 Tuesday 31 January 2023 15:48:26 +0000 (0:00:01.242) 0:13:12.970 ******* 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 : In AD server create user] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Tuesday 31 January 2023 15:48:27 +0000 (0:00:01.373) 0:13:14.343 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:720 Tuesday 31 January 2023 15:48:29 +0000 (0:00:01.719) 0:13:16.063 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:725 Tuesday 31 January 2023 15:48:31 +0000 (0:00:02.315) 0:13:18.378 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:742 Tuesday 31 January 2023 15:48:33 +0000 (0:00:01.605) 0:13:19.984 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Tuesday 31 January 2023 15:48:34 +0000 (0:00:01.337) 0:13:21.321 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Tuesday 31 January 2023 15:48:35 +0000 (0:00:01.135) 0:13:22.456 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:758 Tuesday 31 January 2023 15:48:36 +0000 (0:00:01.220) 0:13:23.677 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Tuesday 31 January 2023 15:48:38 +0000 (0:00:01.056) 0:13:24.734 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:803 Tuesday 31 January 2023 15:48:38 +0000 (0:00:00.876) 0:13:25.610 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:811 Tuesday 31 January 2023 15:48:40 +0000 (0:00:01.709) 0:13:27.319 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Tuesday 31 January 2023 15:48:42 +0000 (0:00:01.582) 0:13:28.902 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the privileged account login] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:823 Tuesday 31 January 2023 15:48:43 +0000 (0:00:01.238) 0:13:30.140 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:835 Tuesday 31 January 2023 15:48:44 +0000 (0:00:01.514) 0:13:31.655 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:850 Tuesday 31 January 2023 15:48:45 +0000 (0:00:00.984) 0:13:32.640 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:869 Tuesday 31 January 2023 15:48:46 +0000 (0:00:01.025) 0:13:33.665 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:923 Tuesday 31 January 2023 15:48:48 +0000 (0:00:01.238) 0:13:34.904 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Tuesday 31 January 2023 15:48:51 +0000 (0:00:02.795) 0:13:37.699 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Tuesday 31 January 2023 15:48:52 +0000 (0:00:01.536) 0:13:39.236 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:947 Tuesday 31 January 2023 15:48:53 +0000 (0:00:01.148) 0:13:40.384 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:953 Tuesday 31 January 2023 15:48:54 +0000 (0:00:01.223) 0:13:41.608 ******* 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 : Get mssql-server ver to see if WRITE_LEASE_VALIDITY is available] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Tuesday 31 January 2023 15:48:56 +0000 (0:00:01.616) 0:13:43.224 ******* 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 SQL entities on the primary replica] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:968 Tuesday 31 January 2023 15:48:57 +0000 (0:00:01.416) 0:13:44.640 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:979 Tuesday 31 January 2023 15:48:59 +0000 (0:00:01.657) 0:13:46.298 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:994 Tuesday 31 January 2023 15:49:01 +0000 (0:00:01.881) 0:13:48.180 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1001 Tuesday 31 January 2023 15:49:02 +0000 (0:00:01.336) 0:13:49.517 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag, grant permissions to login, replicate DBs] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1026 Tuesday 31 January 2023 15:49:04 +0000 (0:00:01.256) 0:13:50.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to ha login] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Tuesday 31 January 2023 15:49:05 +0000 (0:00:01.401) 0:13:52.175 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Tuesday 31 January 2023 15:49:06 +0000 (0:00:00.803) 0:13:52.979 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1064 Tuesday 31 January 2023 15:49:07 +0000 (0:00:01.153) 0:13:54.132 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1070 Tuesday 31 January 2023 15:49:08 +0000 (0:00:01.129) 0:13:55.262 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1077 Tuesday 31 January 2023 15:49:09 +0000 (0:00:00.769) 0:13:56.031 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Tuesday 31 January 2023 15:49:10 +0000 (0:00:00.696) 0:13:56.728 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1092 Tuesday 31 January 2023 15:49:11 +0000 (0:00:01.008) 0:13:57.736 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1104 Tuesday 31 January 2023 15:49:11 +0000 (0:00:00.760) 0:13:58.497 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1117 Tuesday 31 January 2023 15:49:12 +0000 (0:00:00.552) 0:13:59.049 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1130 Tuesday 31 January 2023 15:49:13 +0000 (0:00:01.343) 0:14:00.393 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1142 Tuesday 31 January 2023 15:49:15 +0000 (0:00:01.340) 0:14:01.734 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Tuesday 31 January 2023 15:49:15 +0000 (0:00:00.665) 0:14:02.399 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1157 Tuesday 31 January 2023 15:49:16 +0000 (0:00:00.910) 0:14:03.310 ******* changed: [sut] => { "changed": true } MSG: Block inserted RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Tuesday 31 January 2023 15:49:19 +0000 (0:00:02.936) 0:14:06.246 ******* changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ActiveEnterTimestampMonotonic": "1715863742", "ActiveExitTimestamp": "Tue 2023-01-31 15:46:10 UTC", "ActiveExitTimestampMonotonic": "2067049179", "ActiveState": "failed", "After": "auditd.service basic.target sysinit.target system.slice systemd-journald.socket -.mount network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:40:19 UTC", "AssertTimestampMonotonic": "1715861911", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ConditionTimestampMonotonic": "1715861909", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2023-01-31 15:46:11 UTC", "ExecMainExitTimestampMonotonic": "2067290961", "ExecMainPID": "9234", "ExecMainStartTimestamp": "Tue 2023-01-31 15:40:19 UTC", "ExecMainStartTimestampMonotonic": "1715863671", "ExecMainStatus": "255", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-01-31 15:40:19 UTC] ; stop_time=[Tue 2023-01-31 15:46:11 UTC] ; pid=9234 ; code=exited ; status=255 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-01-31 15:46:11 UTC", "InactiveEnterTimestampMonotonic": "2067291142", "InactiveExitTimestamp": "Tue 2023-01-31 15:40:19 UTC", "InactiveExitTimestampMonotonic": "1715863742", "InvocationID": "0256906cc3754e0f960aa072037c8516", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "exit-code", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:46:11 UTC", "StateChangeTimestampMonotonic": "2067291142", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "failed", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1170 Tuesday 31 January 2023 15:49:23 +0000 (0:00:03.571) 0:14:09.818 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run with the edited settings again - should report not changed] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_idempotency_2022.yml:72 Tuesday 31 January 2023 15:49:24 +0000 (0:00:01.577) 0:14:11.395 ******* TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Tuesday 31 January 2023 15:49:34 +0000 (0:00:09.329) 0:14:20.724 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Tuesday 31 January 2023 15:49:36 +0000 (0:00:02.672) 0:14:23.397 ******* ok: [sut] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Tuesday 31 January 2023 15:49:39 +0000 (0:00:02.751) 0:14:26.148 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Tuesday 31 January 2023 15:49:41 +0000 (0:00:02.008) 0:14:28.157 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Tuesday 31 January 2023 15:49:42 +0000 (0:00:01.359) 0:14:29.517 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Tuesday 31 January 2023 15:49:44 +0000 (0:00:01.578) 0:14:31.096 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Tuesday 31 January 2023 15:49:45 +0000 (0:00:00.920) 0:14:32.017 ******* skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Tuesday 31 January 2023 15:49:46 +0000 (0:00:01.231) 0:14:33.248 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:41 Tuesday 31 January 2023 15:49:47 +0000 (0:00:01.419) 0:14:34.667 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:53 Tuesday 31 January 2023 15:49:49 +0000 (0:00:01.321) 0:14:35.989 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:61 Tuesday 31 January 2023 15:49:50 +0000 (0:00:01.620) 0:14:37.609 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:70 Tuesday 31 January 2023 15:49:52 +0000 (0:00:01.726) 0:14:39.335 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 Tuesday 31 January 2023 15:49:54 +0000 (0:00:01.971) 0:14:41.307 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:88 Tuesday 31 January 2023 15:50:01 +0000 (0:00:07.158) 0:14:48.465 ******* 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" } ok: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 31 January 2023 15:50:06 +0000 (0:00:04.552) 0:14:53.018 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:104 Tuesday 31 January 2023 15:50:06 +0000 (0:00:00.249) 0:14:53.267 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that version 2022 is not used with RHEL 7] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Tuesday 31 January 2023 15:50:06 +0000 (0:00:00.198) 0:14:53.466 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:120 Tuesday 31 January 2023 15:50:07 +0000 (0:00:00.212) 0:14:53.679 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Tuesday 31 January 2023 15:50:07 +0000 (0:00:00.392) 0:14:54.072 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Tuesday 31 January 2023 15:50:07 +0000 (0:00:00.597) 0:14:54.670 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:154 Tuesday 31 January 2023 15:50:08 +0000 (0:00:00.138) 0:14:54.808 ******* 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 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:163 Tuesday 31 January 2023 15:50:08 +0000 (0:00:00.223) 0:14:55.031 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:171 Tuesday 31 January 2023 15:50:08 +0000 (0:00:00.153) 0:14:55.185 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:181 Tuesday 31 January 2023 15:50:08 +0000 (0:00:00.445) 0:14:55.631 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Tuesday 31 January 2023 15:50:10 +0000 (0:00:01.777) 0:14:57.409 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 Tuesday 31 January 2023 15:50:10 +0000 (0:00:00.084) 0:14:57.493 ******* 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.007522", "end": "2023-01-31 15:50:11.094408", "rc": 0, "start": "2023-01-31 15:50:11.086886" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:212 Tuesday 31 January 2023 15:50:11 +0000 (0:00:00.391) 0:14:57.884 ******* 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 : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:226 Tuesday 31 January 2023 15:50:13 +0000 (0:00:02.201) 0:15:00.086 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 Tuesday 31 January 2023 15:50:13 +0000 (0:00:00.176) 0:15:00.262 ******* 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 tuned-profiles-mssql package is installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 Tuesday 31 January 2023 15:50:13 +0000 (0:00:00.103) 0:15:00.366 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:254 Tuesday 31 January 2023 15:50:15 +0000 (0:00:01.699) 0:15:02.066 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:11:56 UTC", "ActiveEnterTimestampMonotonic": "12742604", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket basic.target dbus.service sysinit.target systemd-sysctl.service network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:11:55 UTC", "AssertTimestampMonotonic": "11681926", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-01-31 15:11:55 UTC", "ConditionTimestampMonotonic": "11681919", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service tlp.service shutdown.target cpupower.service power-profiles-daemon.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "660", "ExecMainStartTimestamp": "Tue 2023-01-31 15:11:55 UTC", "ExecMainStartTimestampMonotonic": "11683544", "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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-01-31 15:11:55 UTC", "InactiveExitTimestampMonotonic": "11683618", "InvocationID": "54070dc1bb91452b87a4fc112ff85fb6", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14014", "LimitNPROCSoft": "14014", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "660", "MemoryAccounting": "yes", "MemoryCurrent": "25616384", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.service dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:11:56 UTC", "StateChangeTimestampMonotonic": "12742604", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "22423", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2023-01-31 15:11:56 UTC", "WatchdogTimestampMonotonic": "12742599", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:260 Tuesday 31 January 2023 15:50:15 +0000 (0:00:00.601) 0:15:02.667 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.146534", "end": "2023-01-31 15:50:16.376117", "rc": 0, "start": "2023-01-31 15:50:16.229583" } 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Tuesday 31 January 2023 15:50:16 +0000 (0:00:00.482) 0:15:03.150 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:283 Tuesday 31 January 2023 15:50:16 +0000 (0:00:00.104) 0:15:03.254 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:292 Tuesday 31 January 2023 15:50:16 +0000 (0:00:00.101) 0:15:03.356 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Tuesday 31 January 2023 15:50:16 +0000 (0:00:00.101) 0:15:03.458 ******* ok: [sut] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:309 Tuesday 31 January 2023 15:50:17 +0000 (0:00:00.321) 0:15:03.779 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:321 Tuesday 31 January 2023 15:50:18 +0000 (0:00:01.650) 0:15:05.429 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Tuesday 31 January 2023 15:50:18 +0000 (0:00:00.164) 0:15:05.594 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:49:21 UTC", "ActiveEnterTimestampMonotonic": "2257576138", "ActiveExitTimestamp": "Tue 2023-01-31 15:46:10 UTC", "ActiveExitTimestampMonotonic": "2067049179", "ActiveState": "active", "After": "auditd.service basic.target sysinit.target system.slice systemd-journald.socket -.mount network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:49:21 UTC", "AssertTimestampMonotonic": "2257574769", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-01-31 15:49:21 UTC", "ConditionTimestampMonotonic": "2257574767", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11879", "ExecMainStartTimestamp": "Tue 2023-01-31 15:49:21 UTC", "ExecMainStartTimestampMonotonic": "2257576031", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-01-31 15:49:21 UTC] ; stop_time=[n/a] ; pid=11879 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-01-31 15:46:11 UTC", "InactiveEnterTimestampMonotonic": "2067291142", "InactiveExitTimestamp": "Tue 2023-01-31 15:49:21 UTC", "InactiveExitTimestampMonotonic": "2257576138", "InvocationID": "5fdad14afd18416e81cf214baf521ac6", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11879", "MemoryAccounting": "yes", "MemoryCurrent": "638062592", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:49:21 UTC", "StateChangeTimestampMonotonic": "2257576138", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "151", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2023-01-31 15:49:21 UTC", "WatchdogTimestampMonotonic": "2257576134", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Tuesday 31 January 2023 15:50:19 +0000 (0:00:00.535) 0:15:06.130 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003646", "end": "2023-01-31 15:50:19.681686", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:50:19.678040" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Tuesday 31 January 2023 15:50:19 +0000 (0:00:00.300) 0:15:06.430 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003926", "end": "2023-01-31 15:50:19.984997", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:50:19.981071" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Tuesday 31 January 2023 15:50:20 +0000 (0:00:00.300) 0:15:06.731 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:325 Tuesday 31 January 2023 15:50:20 +0000 (0:00:00.099) 0:15:06.831 ******* ok: [sut] => { "changed": false, "elapsed": 3, "gid": 990, "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": 10471, "state": "file", "uid": 990 } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:332 Tuesday 31 January 2023 15:50:23 +0000 (0:00:03.299) 0:15:10.131 ******* 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 : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:339 Tuesday 31 January 2023 15:50:23 +0000 (0:00:00.353) 0:15:10.485 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:346 Tuesday 31 January 2023 15:50:23 +0000 (0:00:00.077) 0:15:10.562 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Tuesday 31 January 2023 15:50:25 +0000 (0:00:01.777) 0:15:12.340 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Pre-input SQL scripts to SQL Server] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:375 Tuesday 31 January 2023 15:50:25 +0000 (0:00:00.142) 0:15:12.483 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:390 Tuesday 31 January 2023 15:50:25 +0000 (0:00:00.074) 0:15:12.557 ******* 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.006203", "end": "2023-01-31 15:50:26.111447", "rc": 0, "start": "2023-01-31 15:50:26.105244" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Tuesday 31 January 2023 15:50:26 +0000 (0:00:00.299) 0:15:12.857 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:410 Tuesday 31 January 2023 15:50:26 +0000 (0:00:00.077) 0:15:12.935 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:417 Tuesday 31 January 2023 15:50:27 +0000 (0:00:01.703) 0:15:14.638 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:436 Tuesday 31 January 2023 15:50:28 +0000 (0:00:00.076) 0:15:14.715 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:50:28 +0000 (0:00:00.129) 0:15:14.844 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003419", "end": "2023-01-31 15:50:28.391239", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:50:28.387820" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Configure the setting network ipaddress] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:50:28 +0000 (0:00:00.291) 0:15:15.136 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network ipaddress] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:50:28 +0000 (0:00:00.084) 0:15:15.221 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:443 Tuesday 31 January 2023 15:50:28 +0000 (0:00:00.075) 0:15:15.296 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:450 Tuesday 31 January 2023 15:50:28 +0000 (0:00:00.073) 0:15:15.370 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:461 Tuesday 31 January 2023 15:50:28 +0000 (0:00:00.073) 0:15:15.443 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:50:28 +0000 (0:00:00.124) 0:15:15.568 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003825", "end": "2023-01-31 15:50:29.115746", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:50:29.111921" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Configure the setting network tcpport] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:50:29 +0000 (0:00:00.295) 0:15:15.864 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting network tcpport] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:50:29 +0000 (0:00:00.080) 0:15:15.944 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:467 Tuesday 31 January 2023 15:50:29 +0000 (0:00:00.069) 0:15:16.014 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:485 Tuesday 31 January 2023 15:50:29 +0000 (0:00:00.071) 0:15:16.085 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:50:29 +0000 (0:00:00.132) 0:15:16.218 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.005117", "end": "2023-01-31 15:50:30.770096", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:50:29.764979" } STDOUT: enabled = False TASK [linux-system-roles.mssql : Configure the setting sqlagent enabled] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:50:30 +0000 (0:00:01.298) 0:15:17.516 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting sqlagent enabled] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:50:30 +0000 (0:00:00.083) 0:15:17.600 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-fts] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Tuesday 31 January 2023 15:50:31 +0000 (0:00:00.075) 0:15:17.676 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure the package powershell] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:499 Tuesday 31 January 2023 15:50:32 +0000 (0:00:01.633) 0:15:19.309 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:508 Tuesday 31 January 2023 15:50:34 +0000 (0:00:01.621) 0:15:20.931 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Tuesday 31 January 2023 15:50:35 +0000 (0:00:01.625) 0:15:22.557 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for sut TASK [linux-system-roles.mssql : Get the setting hadr hadrenabled] ************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:50:36 +0000 (0:00:00.129) 0:15:22.686 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003770", "end": "2023-01-31 15:50:36.241823", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:50:36.238053" } STDOUT: hadrenabled = 0 TASK [linux-system-roles.mssql : Configure the setting hadr hadrenabled] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:50:36 +0000 (0:00:00.298) 0:15:22.985 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting hadr hadrenabled] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:50:36 +0000 (0:00:00.095) 0:15:23.081 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:523 Tuesday 31 January 2023 15:50:36 +0000 (0:00:00.085) 0:15:23.166 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003776", "end": "2023-01-31 15:50:36.716168", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:50:36.712392" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:529 Tuesday 31 January 2023 15:50:36 +0000 (0:00:00.304) 0:15:23.471 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:535 Tuesday 31 January 2023 15:50:36 +0000 (0:00:00.082) 0:15:23.554 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:542 Tuesday 31 January 2023 15:50:36 +0000 (0:00:00.075) 0:15:23.630 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:50:37 +0000 (0:00:00.159) 0:15:23.790 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003755", "end": "2023-01-31 15:50:37.339915", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:50:37.336160" } STDOUT: alternatewritethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control alternatewritethrough] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:50:37 +0000 (0:00:00.305) 0:15:24.095 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control alternatewritethrough] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:50:37 +0000 (0:00:00.119) 0:15:24.215 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:548 Tuesday 31 January 2023 15:50:37 +0000 (0:00:00.106) 0:15:24.322 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Tuesday 31 January 2023 15:50:37 +0000 (0:00:00.201) 0:15:24.523 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003954", "end": "2023-01-31 15:50:38.109897", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:50:38.105943" } STDOUT: writethrough = 0 TASK [linux-system-roles.mssql : Configure the setting control writethrough] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:12 Tuesday 31 January 2023 15:50:38 +0000 (0:00:00.474) 0:15:24.997 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the setting control writethrough] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:42 Tuesday 31 January 2023 15:50:38 +0000 (0:00:00.166) 0:15:25.164 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:566 Tuesday 31 January 2023 15:50:38 +0000 (0:00:00.115) 0:15:25.279 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:580 Tuesday 31 January 2023 15:50:38 +0000 (0:00:00.101) 0:15:25.381 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Tuesday 31 January 2023 15:50:38 +0000 (0:00:00.099) 0:15:25.481 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:603 Tuesday 31 January 2023 15:50:38 +0000 (0:00:00.097) 0:15:25.578 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:612 Tuesday 31 January 2023 15:50:38 +0000 (0:00:00.079) 0:15:25.658 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:621 Tuesday 31 January 2023 15:50:39 +0000 (0:00:00.098) 0:15:25.757 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:628 Tuesday 31 January 2023 15:50:39 +0000 (0:00:00.093) 0:15:25.851 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:640 Tuesday 31 January 2023 15:50:39 +0000 (0:00:00.089) 0:15:25.940 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the adutil package] ******************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:644 Tuesday 31 January 2023 15:50:39 +0000 (0:00:00.090) 0:15:26.031 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Tuesday 31 January 2023 15:50:39 +0000 (0:00:00.099) 0:15:26.130 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print the status of credential cache for {{ __mssql_kinit_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:656 Tuesday 31 January 2023 15:50:39 +0000 (0:00:00.108) 0:15:26.239 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Obtain Kerberos ticket of the AD user {{ ad_integration_user }}] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:664 Tuesday 31 January 2023 15:50:39 +0000 (0:00:00.089) 0:15:26.329 ******* 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 SQL user exists] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:677 Tuesday 31 January 2023 15:50:39 +0000 (0:00:00.090) 0:15:26.420 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify password provided for user] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:686 Tuesday 31 January 2023 15:50:39 +0000 (0:00:00.179) 0:15:26.599 ******* 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 : Update password for the SQL user] ************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:698 Tuesday 31 January 2023 15:50:40 +0000 (0:00:00.083) 0:15:26.683 ******* 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 : In AD server create user] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Tuesday 31 January 2023 15:50:40 +0000 (0:00:00.091) 0:15:26.775 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:720 Tuesday 31 January 2023 15:50:40 +0000 (0:00:00.097) 0:15:26.873 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register SPNs to the principal] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:725 Tuesday 31 January 2023 15:50:40 +0000 (0:00:00.091) 0:15:26.964 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get kvno of the SPN host] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:742 Tuesday 31 January 2023 15:50:40 +0000 (0:00:00.084) 0:15:27.049 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get stats of the keytab file] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:747 Tuesday 31 January 2023 15:50:40 +0000 (0:00:00.089) 0:15:27.139 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get keytab properties] ************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:752 Tuesday 31 January 2023 15:50:40 +0000 (0:00:00.090) 0:15:27.230 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create keytab] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:758 Tuesday 31 January 2023 15:50:40 +0000 (0:00:00.079) 0:15:27.309 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:783 Tuesday 31 January 2023 15:50:40 +0000 (0:00:00.083) 0:15:27.393 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:803 Tuesday 31 January 2023 15:50:40 +0000 (0:00:00.080) 0:15:27.473 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:811 Tuesday 31 January 2023 15:50:40 +0000 (0:00:00.079) 0:15:27.552 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:817 Tuesday 31 January 2023 15:50:40 +0000 (0:00:00.081) 0:15:27.634 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the privileged account login] ********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:823 Tuesday 31 January 2023 15:50:41 +0000 (0:00:00.090) 0:15:27.725 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:835 Tuesday 31 January 2023 15:50:41 +0000 (0:00:00.113) 0:15:27.838 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:850 Tuesday 31 January 2023 15:50:41 +0000 (0:00:00.099) 0:15:27.937 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:869 Tuesday 31 January 2023 15:50:41 +0000 (0:00:00.283) 0:15:28.220 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:923 Tuesday 31 January 2023 15:50:41 +0000 (0:00:00.254) 0:15:28.475 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:929 Tuesday 31 January 2023 15:50:41 +0000 (0:00:00.177) 0:15:28.652 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:936 Tuesday 31 January 2023 15:50:42 +0000 (0:00:00.182) 0:15:28.835 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:947 Tuesday 31 January 2023 15:50:42 +0000 (0:00:00.177) 0:15:29.013 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:953 Tuesday 31 January 2023 15:50:42 +0000 (0:00:00.153) 0:15:29.166 ******* skipping: [sut] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get mssql-server ver to see if WRITE_LEASE_VALIDITY is available] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:963 Tuesday 31 January 2023 15:50:42 +0000 (0:00:00.265) 0:15:29.432 ******* 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 SQL entities on the primary replica] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:968 Tuesday 31 January 2023 15:50:43 +0000 (0:00:00.245) 0:15:29.678 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:979 Tuesday 31 January 2023 15:50:43 +0000 (0:00:00.173) 0:15:29.852 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:994 Tuesday 31 January 2023 15:50:43 +0000 (0:00:00.248) 0:15:30.100 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1001 Tuesday 31 January 2023 15:50:43 +0000 (0:00:00.176) 0:15:30.276 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure ag, grant permissions to login, replicate DBs] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1026 Tuesday 31 January 2023 15:50:43 +0000 (0:00:00.199) 0:15:30.475 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to ha login] **************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1039 Tuesday 31 January 2023 15:50:44 +0000 (0:00:00.220) 0:15:30.695 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1051 Tuesday 31 January 2023 15:50:44 +0000 (0:00:00.162) 0:15:30.858 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-ha] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1064 Tuesday 31 January 2023 15:50:44 +0000 (0:00:00.209) 0:15:31.067 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1070 Tuesday 31 January 2023 15:50:44 +0000 (0:00:00.161) 0:15:31.229 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1077 Tuesday 31 January 2023 15:50:44 +0000 (0:00:00.295) 0:15:31.525 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1085 Tuesday 31 January 2023 15:50:45 +0000 (0:00:00.162) 0:15:31.688 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1092 Tuesday 31 January 2023 15:50:45 +0000 (0:00:00.181) 0:15:31.869 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1104 Tuesday 31 January 2023 15:50:45 +0000 (0:00:00.230) 0:15:32.099 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1117 Tuesday 31 January 2023 15:50:45 +0000 (0:00:00.177) 0:15:32.277 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1130 Tuesday 31 January 2023 15:50:45 +0000 (0:00:00.182) 0:15:32.459 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1142 Tuesday 31 January 2023 15:50:45 +0000 (0:00:00.145) 0:15:32.605 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure listener for the availability group] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1148 Tuesday 31 January 2023 15:50:46 +0000 (0:00:00.180) 0:15:32.785 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1157 Tuesday 31 January 2023 15:50:46 +0000 (0:00:00.209) 0:15:32.994 ******* ok: [sut] => { "changed": false } META: ran handlers TASK [linux-system-roles.mssql : Post-input SQL scripts to SQL Server] ********* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:1170 Tuesday 31 January 2023 15:50:48 +0000 (0:00:02.523) 0:15:35.518 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_idempotency_2022.yml:86 Tuesday 31 January 2023 15:50:50 +0000 (0:00:01.164) 0:15:36.683 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml for sut TASK [Check if the errorlog file exists and its location] ********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:8 Tuesday 31 January 2023 15:50:54 +0000 (0:00:04.074) 0:15:40.757 ******* 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.008000", "end": "2023-01-31 15:50:54.667999", "rc": 0, "start": "2023-01-31 15:50:54.659999" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:23 Tuesday 31 January 2023 15:50:55 +0000 (0:00:01.544) 0:15:42.302 ******* 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.006572", "end": "2023-01-31 15:50:56.615328", "rc": 0, "start": "2023-01-31 15:50:56.608756" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:36 Tuesday 31 January 2023 15:50:57 +0000 (0:00:01.437) 0:15:43.739 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the IP address setting] ******************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:40 Tuesday 31 January 2023 15:50:57 +0000 (0:00:00.581) 0:15:44.321 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:47 Tuesday 31 January 2023 15:50:58 +0000 (0:00:00.647) 0:15:44.968 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:57 Tuesday 31 January 2023 15:50:59 +0000 (0:00:00.861) 0:15:45.830 ******* TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Tuesday 31 January 2023 15:51:00 +0000 (0:00:01.144) 0:15:46.974 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:49:21 UTC", "ActiveEnterTimestampMonotonic": "2257576138", "ActiveExitTimestamp": "Tue 2023-01-31 15:46:10 UTC", "ActiveExitTimestampMonotonic": "2067049179", "ActiveState": "active", "After": "auditd.service basic.target sysinit.target system.slice systemd-journald.socket -.mount network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:49:21 UTC", "AssertTimestampMonotonic": "2257574769", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-01-31 15:49:21 UTC", "ConditionTimestampMonotonic": "2257574767", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11879", "ExecMainStartTimestamp": "Tue 2023-01-31 15:49:21 UTC", "ExecMainStartTimestampMonotonic": "2257576031", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-01-31 15:49:21 UTC] ; stop_time=[n/a] ; pid=11879 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "990", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-01-31 15:46:11 UTC", "InactiveEnterTimestampMonotonic": "2067291142", "InactiveExitTimestamp": "Tue 2023-01-31 15:49:21 UTC", "InactiveExitTimestampMonotonic": "2257576138", "InvocationID": "5fdad14afd18416e81cf214baf521ac6", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11879", "MemoryAccounting": "yes", "MemoryCurrent": "653414400", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:49:21 UTC", "StateChangeTimestampMonotonic": "2257576138", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "145", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2023-01-31 15:49:21 UTC", "WatchdogTimestampMonotonic": "2257576134", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Tuesday 31 January 2023 15:51:01 +0000 (0:00:01.640) 0:15:48.615 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.005064", "end": "2023-01-31 15:51:03.785002", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:51:02.779938" } STDOUT: tcpport = 1435 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Tuesday 31 January 2023 15:51:04 +0000 (0:00:02.739) 0:15:51.354 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003989", "end": "2023-01-31 15:51:05.434987", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:51:05.430998" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a login command] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Tuesday 31 January 2023 15:51:05 +0000 (0:00:01.287) 0:15:52.641 ******* 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 start and prepare for client connections] ******* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:65 Tuesday 31 January 2023 15:51:06 +0000 (0:00:00.689) 0:15:53.330 ******* ok: [sut] => { "changed": false, "elapsed": 3, "gid": 990, "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": 10471, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:72 Tuesday 31 January 2023 15:51:10 +0000 (0:00:04.220) 0:15:57.550 ******* ok: [sut] => { "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.034865", "end": "2023-01-31 15:51:11.529249", "rc": 0, "start": "2023-01-31 15:51:11.494384" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2022 (RTM) - 16.0.1000.6 (X64) Oct 8 2022 05:58:25 Copyright (C) 2022 Microsoft Corporation Standard Edition (64-bit) on Linux (Red Hat Enterprise Linux 8.8 Beta (Ootpa)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:78 Tuesday 31 January 2023 15:51:11 +0000 (0:00:01.111) 0:15:58.661 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set the mssql_password variable to default null] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:82 Tuesday 31 January 2023 15:51:13 +0000 (0:00:01.175) 0:15:59.837 ******* ok: [sut] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify that the SQL agent is enabled] ************************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:86 Tuesday 31 January 2023 15:51:14 +0000 (0:00:00.895) 0:16:00.732 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting enabled] ************************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:7 Tuesday 31 January 2023 15:51:15 +0000 (0:00:01.789) 0:16:02.521 ******* ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005892", "end": "2023-01-31 15:51:16.776193", "rc": 0, "start": "2023-01-31 15:51:16.770301" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:14 Tuesday 31 January 2023 15:51:18 +0000 (0:00:02.667) 0:16:05.189 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:26 Tuesday 31 January 2023 15:51:20 +0000 (0:00:02.125) 0:16:07.314 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:41 Tuesday 31 January 2023 15:51:22 +0000 (0:00:01.677) 0:16:08.992 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package mssql-server-fts] ************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:93 Tuesday 31 January 2023 15:51:22 +0000 (0:00:00.599) 0:16:09.591 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:7 Tuesday 31 January 2023 15:51:24 +0000 (0:00:01.129) 0:16:10.720 ******* 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/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:12 Tuesday 31 January 2023 15:51:34 +0000 (0:00:10.750) 0:16:21.471 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:17 Tuesday 31 January 2023 15:51:36 +0000 (0:00:02.009) 0:16:23.480 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:100 Tuesday 31 January 2023 15:51:39 +0000 (0:00:02.538) 0:16:26.019 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:7 Tuesday 31 January 2023 15:51:41 +0000 (0:00:02.318) 0:16:28.338 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:12 Tuesday 31 January 2023 15:51:48 +0000 (0:00:06.429) 0:16:34.767 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:17 Tuesday 31 January 2023 15:51:49 +0000 (0:00:01.675) 0:16:36.443 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is installed mssql-server-ha] ********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:111 Tuesday 31 January 2023 15:51:51 +0000 (0:00:01.713) 0:16:38.157 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:7 Tuesday 31 January 2023 15:51:57 +0000 (0:00:05.561) 0:16:43.719 ******* 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-ha] ********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:12 Tuesday 31 January 2023 15:52:02 +0000 (0:00:05.433) 0:16:49.152 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed mssql-server-ha] ****************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:17 Tuesday 31 January 2023 15:52:03 +0000 (0:00:01.050) 0:16:50.202 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify the hadrenabled setting] ****************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:117 Tuesday 31 January 2023 15:52:06 +0000 (0:00:02.553) 0:16:52.756 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting hadrenabled] ******************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:7 Tuesday 31 January 2023 15:52:08 +0000 (0:00:02.315) 0:16:55.072 ******* ok: [sut] => { "changed": false, "cmd": "grep '^hadrenabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005720", "end": "2023-01-31 15:52:09.616868", "rc": 0, "start": "2023-01-31 15:52:09.611148" } STDOUT: hadrenabled = 0 TASK [Verify the setting when it is type str hadrenabled] ********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:14 Tuesday 31 January 2023 15:52:10 +0000 (0:00:01.708) 0:16:56.780 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool hadrenabled] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:26 Tuesday 31 January 2023 15:52:10 +0000 (0:00:00.718) 0:16:57.499 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:41 Tuesday 31 January 2023 15:52:11 +0000 (0:00:00.802) 0:16:58.301 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:127 Tuesday 31 January 2023 15:52:12 +0000 (0:00:00.924) 0:16:59.226 ******* ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005604", "end": "2023-01-31 15:52:13.447654", "rc": 0, "start": "2023-01-31 15:52:13.442050" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:132 Tuesday 31 January 2023 15:52:15 +0000 (0:00:03.043) 0:17:02.270 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:137 Tuesday 31 January 2023 15:52:17 +0000 (0:00:01.652) 0:17:03.923 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:143 Tuesday 31 January 2023 15:52:21 +0000 (0:00:03.849) 0:17:07.772 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting alternatewritethrough] ********************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:7 Tuesday 31 January 2023 15:52:23 +0000 (0:00:02.324) 0:17:10.097 ******* ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.006275", "end": "2023-01-31 15:52:24.132681", "rc": 0, "start": "2023-01-31 15:52:24.126406" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:14 Tuesday 31 January 2023 15:52:24 +0000 (0:00:01.526) 0:17:11.623 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:26 Tuesday 31 January 2023 15:52:27 +0000 (0:00:02.479) 0:17:14.103 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:41 Tuesday 31 January 2023 15:52:29 +0000 (0:00:02.514) 0:17:16.618 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:149 Tuesday 31 January 2023 15:52:32 +0000 (0:00:02.111) 0:17:18.985 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml for sut TASK [Get the value of the setting writethrough] ******************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:7 Tuesday 31 January 2023 15:52:35 +0000 (0:00:02.853) 0:17:21.839 ******* ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005940", "end": "2023-01-31 15:52:36.110014", "rc": 0, "start": "2023-01-31 15:52:36.104074" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:14 Tuesday 31 January 2023 15:52:37 +0000 (0:00:02.416) 0:17:24.255 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:26 Tuesday 31 January 2023 15:52:40 +0000 (0:00:02.444) 0:17:26.699 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/mssql_conf_verify.yml:41 Tuesday 31 January 2023 15:52:42 +0000 (0:00:02.676) 0:17:29.376 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:159 Tuesday 31 January 2023 15:52:44 +0000 (0:00:01.308) 0:17:30.685 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:167 Tuesday 31 January 2023 15:52:45 +0000 (0:00:01.498) 0:17:32.183 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:175 Tuesday 31 January 2023 15:52:49 +0000 (0:00:03.496) 0:17:35.679 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_settings.yml:183 Tuesday 31 January 2023 15:52:50 +0000 (0:00:01.388) 0:17:37.067 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_idempotency_2022.yml:99 Tuesday 31 January 2023 15:52:51 +0000 (0:00:01.052) 0:17:38.120 ******* included: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/check_header.yml for sut TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/check_header.yml:4 Tuesday 31 January 2023 15:52:59 +0000 (0:00:08.342) 0:17:46.462 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004024", "end": "2023-01-31 15:53:02.310590", "rc": 0, "start": "2023-01-31 15:53:02.306566" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = False [EULA] accepteula = Y [network] ipaddress = 127.0.0.1 tcpport = 1435 [hadr] hadrenabled = 0 [traceflag] [control] alternatewritethrough = 0 writethrough = 0 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=265 changed=33 unreachable=0 failed=0 skipped=409 rescued=2 ignored=1 Tuesday 31 January 2023 15:53:02 +0000 (0:00:02.736) 0:17:49.199 ******* =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 59.08s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:181 linux-system-roles.mssql : Ensure the package mssql-server-fts --------- 36.99s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 linux-system-roles.mssql : Ensure that the tuned service is started and enabled -- 19.27s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:254 linux-system-roles.mssql : Ensure the package mssql-server-ha ---------- 17.88s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:508 linux-system-roles.mssql : Ensure the package powershell --------------- 17.79s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:499 linux-system-roles.mssql : Set up MSSQL -------------------------------- 15.52s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:238 linux-system-roles.mssql : Gather system services facts ---------------- 14.79s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:212 linux-system-roles.mssql : Ensure that SQL Server client tools are installed -- 13.12s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:309 linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed -- 12.41s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:249 linux-system-roles.mssql : Change the password of sa user -------------- 11.16s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 linux-system-roles.mssql : Change the edition of MSSQL ----------------- 10.96s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:417 Gather package facts --------------------------------------------------- 10.75s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:7 linux-system-roles.mssql : Check if the errorlog file exists and its location -- 10.69s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:197 linux-system-roles.mssql : Gather package facts ------------------------ 10.26s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:410 linux-system-roles.mssql : Get the active Tuned profiles --------------- 10.21s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:260 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections --- 9.88s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:325 Run with the edited settings again - should report not changed ---------- 9.33s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_idempotency_2022.yml:72 linux-system-roles.mssql : Gather package facts ------------------------- 9.03s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles --- 8.51s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 linux-system-roles.mssql : Configure the TCP port setting to 1433 ------- 8.38s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:461 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---