# 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_2017.yml ******************************************* 1 plays in /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_idempotency_2017.yml PLAY [Ensure that the role is idempotent] ************************************** META: ran handlers TASK [Run on a fresh host and set all parameters] ****************************** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_idempotency_2017.yml:12 Tuesday 31 January 2023 15:06:40 +0000 (0:00:00.210) 0:00:00.210 ******* 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:06:45 +0000 (0:00:04.444) 0:00:04.655 ******* 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:06:45 +0000 (0:00:00.411) 0:00:05.066 ******* 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:06:52 +0000 (0:00:06.345) 0:00:11.411 ******* 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:06:53 +0000 (0:00:01.211) 0:00:12.623 ******* 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:06:54 +0000 (0:00:00.807) 0:00:13.430 ******* 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:06:55 +0000 (0:00:01.493) 0:00:14.924 ******* 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:06:56 +0000 (0:00:01.149) 0:00:16.074 ******* 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:06:57 +0000 (0:00:00.993) 0:00:17.068 ******* 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:06:58 +0000 (0:00:00.798) 0:00:17.866 ******* 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:06:59 +0000 (0:00:00.850) 0:00:18.716 ******* 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:07:00 +0000 (0:00:01.517) 0:00:20.233 ******* 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:07:01 +0000 (0:00:00.505) 0:00:20.739 ******* 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:07:01 +0000 (0:00:00.515) 0:00:21.254 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:07:10 +0000 (0:00:08.927) 0:00:30.182 ******* 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:07:14 +0000 (0:00:03.465) 0:00:33.647 ******* 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:07:15 +0000 (0:00:01.374) 0:00:35.021 ******* 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:07:17 +0000 (0:00:02.004) 0:00:37.026 ******* 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:07:19 +0000 (0:00:01.658) 0:00:38.684 ******* 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:07:23 +0000 (0:00:03.693) 0:00:42.378 ******* 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:07:34 +0000 (0:00:11.957) 0:00:54.335 ******* 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:07:38 +0000 (0:00:03.522) 0:00:57.858 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:163 Tuesday 31 January 2023 15:07:40 +0000 (0:00:02.176) 0:01:00.035 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:171 Tuesday 31 January 2023 15:07:42 +0000 (0:00:01.951) 0:01:01.987 ******* changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "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:07:48 +0000 (0:00:06.116) 0:01:08.103 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: gdb-8.2-19.el8.x86_64", "Installed: python2-setuptools-39.0.1-13.module+el8.4.0+9442+27d0e81c.noarch", "Installed: python2-setuptools-wheel-39.0.1-13.module+el8.4.0+9442+27d0e81c.noarch", "Installed: gc-7.6.4-3.el8.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: mssql-server-14.0.3456.2-3.x86_64", "Installed: gdb-headless-8.2-19.el8.x86_64", "Installed: gcc-gdb-plugin-8.5.0-18.el8.x86_64", "Installed: python2-libs-2.7.18-12.module+el8.8.0+17629+2cfc9d03.x86_64", "Installed: guile-5:2.0.14-7.el8.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: python2-pip-9.0.3-19.module+el8.6.0+13001+ad200bd9.noarch", "Installed: python2-pip-wheel-9.0.3-19.module+el8.6.0+13001+ad200bd9.noarch", "Installed: python2-2.7.18-12.module+el8.8.0+17629+2cfc9d03.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" ] } 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:08:42 +0000 (0:00:53.955) 0:02:02.058 ******* 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:08:44 +0000 (0:00:01.815) 0:02:03.874 ******* 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.006885", "end": "2023-01-31 15:08:49.443705", "rc": 0, "start": "2023-01-31 15:08:49.436820" } 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:08:50 +0000 (0:00:06.216) 0:02:10.090 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:09:00 +0000 (0:00:09.954) 0:02:20.098 ******* 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:09:02 +0000 (0:00:02.254) 0:02:22.352 ******* 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:09:11 +0000 (0:00:08.319) 0:02:30.671 ******* 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:09:17 +0000 (0:00:06.684) 0:02:37.356 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 14:57:03 UTC", "ActiveEnterTimestampMonotonic": "12139285", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service system.slice network.target basic.target systemd-journald.socket dbus.socket dbus.service sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 14:57:02 UTC", "AssertTimestampMonotonic": "10883154", "Before": "shutdown.target multi-user.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 14:57:02 UTC", "ConditionTimestampMonotonic": "10883152", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service shutdown.target cpupower.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": "655", "ExecMainStartTimestamp": "Tue 2023-01-31 14:57:02 UTC", "ExecMainStartTimestampMonotonic": "10884680", "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 14:57:02 UTC", "InactiveExitTimestampMonotonic": "10884745", "InvocationID": "be1c5c815a294a39a2c956e818e0052d", "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": "14015", "LimitNPROCSoft": "14015", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14015", "LimitSIGPENDINGSoft": "14015", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "655", "MemoryAccounting": "yes", "MemoryCurrent": "19283968", "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": "system.slice dbus.service sysinit.target polkit.service dbus.socket", "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 14:57:03 UTC", "StateChangeTimestampMonotonic": "12139285", "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": "22424", "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 14:57:03 UTC", "WatchdogTimestampMonotonic": "12139281", "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:09:27 +0000 (0:00:09.056) 0:02:46.413 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.146202", "end": "2023-01-31 15:09:28.152114", "rc": 0, "start": "2023-01-31 15:09:28.005912" } 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:09:30 +0000 (0:00:03.286) 0:02:49.699 ******* changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.578304", "end": "2023-01-31 15:09:33.095592", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:09:31.517288" } 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:09:35 +0000 (0:00:04.659) 0:02:54.359 ******* 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:09:36 +0000 (0:00:01.548) 0:02:55.907 ******* 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:09:38 +0000 (0:00:02.194) 0:02:58.102 ******* 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:09:41 +0000 (0:00:03.017) 0:03:01.119 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: msodbcsql17-17.10.2.1-1.x86_64", "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" ] } 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:09:50 +0000 (0:00:08.913) 0:03:10.033 ******* 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:09:54 +0000 (0:00:03.638) 0:03:13.671 ******* 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:09:55 +0000 (0:00:01.560) 0:03:15.232 ******* 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:09:57 +0000 (0:00:01.691) 0:03:16.924 ******* 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:09:59 +0000 (0:00:01.884) 0:03:18.809 ******* 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:10:01 +0000 (0:00:01.972) 0:03:20.781 ******* 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:10:03 +0000 (0:00:02.356) 0:03:23.137 ******* 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:10:06 +0000 (0:00:02.228) 0:03:25.366 ******* 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:10:06 +0000 (0:00:00.534) 0:03:25.900 ******* 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:10:06 +0000 (0:00:00.329) 0:03:26.230 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:10:07 +0000 (0:00:00.270) 0:03:26.501 ******* 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:10:07 +0000 (0:00:00.309) 0:03:26.810 ******* 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:10:07 +0000 (0:00:00.459) 0:03:27.269 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003821", "end": "2023-01-31 15:10:08.262083", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:10:08.258262" } 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:10:08 +0000 (0:00:00.538) 0:03:27.807 ******* 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.058609", "end": "2023-01-31 15:10:08.872189", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:10:08.813580" } 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:10:09 +0000 (0:00:00.645) 0:03:28.453 ******* 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:10:09 +0000 (0:00:00.389) 0:03:28.843 ******* 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:10:09 +0000 (0:00:00.460) 0:03:29.303 ******* 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:10:10 +0000 (0:00:00.162) 0:03:29.466 ******* 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:10:10 +0000 (0:00:00.532) 0:03:29.998 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003749", "end": "2023-01-31 15:10:10.965414", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:10:10.961665" } 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:10:11 +0000 (0:00:00.430) 0:03:30.429 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.058229", "end": "2023-01-31 15:10:11.457576", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:10:11.399347" } 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:10:11 +0000 (0:00:00.534) 0:03:30.963 ******* 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:10:11 +0000 (0:00:00.139) 0:03:31.103 ******* 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:10:12 +0000 (0:00:00.251) 0:03:31.355 ******* 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:10:12 +0000 (0:00:00.234) 0:03:31.590 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003632", "end": "2023-01-31 15:10:12.568188", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:10:12.564556" } 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:10:12 +0000 (0:00:00.611) 0:03:32.202 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.057885", "end": "2023-01-31 15:10:13.282283", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:10:13.224398" } 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:10:13 +0000 (0:00:00.687) 0:03:32.889 ******* 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:10:13 +0000 (0:00:00.260) 0:03:33.149 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-fts-14.0.3456.2-3.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:10:46 +0000 (0:00:32.728) 0:04:05.878 ******* 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:10:57 +0000 (0:00:11.302) 0:04:17.181 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: samba-common-4.17.4-1.el8.noarch", "Installed: samba-common-libs-4.17.4-1.el8.x86_64", "Installed: resource-agents-4.9.0-40.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: lvm2-8:2.03.14-9.el8.x86_64", "Installed: net-tools-2.0-0.52.20160912git.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-9.el8.x86_64", "Installed: cifs-utils-6.8-3.el8.x86_64", "Installed: mssql-server-ha-14.0.3456.2-3.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" ] } 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:11:07 +0000 (0:00:09.635) 0:04:26.817 ******* 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:11:09 +0000 (0:00:01.760) 0:04:28.577 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.028630", "end": "2023-01-31 15:11:09.912754", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:11:09.884124" } 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:11:11 +0000 (0:00:02.290) 0:04:30.868 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "hadr.hadrenabled", "1" ], "delta": "0:00:00.058215", "end": "2023-01-31 15:11:12.545826", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:11:12.487611" } 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:11:14 +0000 (0:00:03.056) 0:04:33.924 ******* 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:11:16 +0000 (0:00:01.927) 0:04:35.852 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003526", "end": "2023-01-31 15:11:18.076462", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:11:18.072936" } 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:11:19 +0000 (0:00:02.832) 0:04:38.685 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.058176", "end": "2023-01-31 15:11:21.266996", "rc": 0, "start": "2023-01-31 15:11:21.208820" } 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:11:22 +0000 (0:00:03.424) 0:04:42.109 ******* 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:11:24 +0000 (0:00:01.748) 0:04:43.857 ******* 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:11:28 +0000 (0:00:03.724) 0:04:47.582 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003623", "end": "2023-01-31 15:11:29.307843", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:11:29.304220" } 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:11:30 +0000 (0:00:01.916) 0:04:49.499 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.058179", "end": "2023-01-31 15:11:31.474642", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:11:31.416463" } 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:11:32 +0000 (0:00:02.855) 0:04:52.354 ******* 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:11:34 +0000 (0:00:01.238) 0:04:53.593 ******* 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:11:36 +0000 (0:00:01.884) 0:04:55.478 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003335", "end": "2023-01-31 15:11:37.654894", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:11:37.651559" } 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:11:39 +0000 (0:00:03.106) 0:04:58.584 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.057470", "end": "2023-01-31 15:11:40.337365", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:11:40.279895" } 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:11:42 +0000 (0:00:03.170) 0:05:01.755 ******* 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:11:43 +0000 (0:00:01.414) 0:05:03.169 ******* 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:11:46 +0000 (0:00:03.138) 0:05:06.308 ******* 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:11:47 +0000 (0:00:01.019) 0:05:07.327 ******* 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:11:50 +0000 (0:00:02.227) 0:05:09.554 ******* 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:11:51 +0000 (0:00:01.081) 0:05:10.636 ******* 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:11:52 +0000 (0:00:01.497) 0:05:12.133 ******* 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:11:54 +0000 (0:00:01.738) 0:05:13.872 ******* 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:11:56 +0000 (0:00:01.532) 0:05:15.404 ******* 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:11:57 +0000 (0:00:01.352) 0:05:16.757 ******* 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:11:58 +0000 (0:00:00.729) 0:05:17.486 ******* 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:12:00 +0000 (0:00:02.411) 0:05:19.898 ******* 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:12:01 +0000 (0:00:01.419) 0:05:21.317 ******* 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:12:02 +0000 (0:00:00.525) 0:05:21.842 ******* 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:12:03 +0000 (0:00:01.281) 0:05:23.124 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [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:12:05 +0000 (0:00:01.830) 0:05:24.954 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:12:06 +0000 (0:00:01.286) 0:05:26.241 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Get SPNs for the principal] ******************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:720 Tuesday 31 January 2023 15:12:07 +0000 (0:00:00.808) 0:05:27.069 ******* 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:12:09 +0000 (0:00:02.186) 0:05:29.255 ******* 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:12:12 +0000 (0:00:02.463) 0:05:31.719 ******* 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:12:14 +0000 (0:00:01.945) 0:05:33.665 ******* 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:12:15 +0000 (0:00:01.531) 0:05:35.196 ******* 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:12:18 +0000 (0:00:02.807) 0:05:38.004 ******* 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:12:20 +0000 (0:00:01.935) 0:05:39.939 ******* 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:12:22 +0000 (0:00:02.110) 0:05:42.050 ******* 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:12:24 +0000 (0:00:02.226) 0:05:44.277 ******* 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:12:27 +0000 (0:00:02.443) 0:05:46.720 ******* 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:12:29 +0000 (0:00:02.247) 0:05:48.967 ******* 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:12:31 +0000 (0:00:01.964) 0:05:50.932 ******* 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:12:34 +0000 (0:00:02.498) 0:05:53.430 ******* 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:12:36 +0000 (0:00:02.450) 0:05:55.881 ******* 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:12:39 +0000 (0:00:02.525) 0:05:58.406 ******* 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:12:40 +0000 (0:00:01.513) 0:05:59.920 ******* 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:12:42 +0000 (0:00:02.117) 0:06:02.038 ******* 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:12:43 +0000 (0:00:01.193) 0:06:03.232 ******* 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:12:45 +0000 (0:00:01.297) 0:06:04.529 ******* 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:12:47 +0000 (0:00:01.922) 0:06:06.452 ******* 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:12:49 +0000 (0:00:02.781) 0:06:09.233 ******* 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:12:52 +0000 (0:00:02.801) 0:06:12.035 ******* 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:12:55 +0000 (0:00:02.963) 0:06:14.999 ******* 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:12:57 +0000 (0:00:01.953) 0:06:16.952 ******* 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:12:59 +0000 (0:00:01.636) 0:06:18.589 ******* 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:13:01 +0000 (0:00:02.109) 0:06:20.698 ******* 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:13:04 +0000 (0:00:03.137) 0:06:23.836 ******* 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:13:06 +0000 (0:00:02.226) 0:06:26.062 ******* 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:13:09 +0000 (0:00:02.382) 0:06:28.445 ******* 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:13:11 +0000 (0:00:02.571) 0:06:31.016 ******* 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:13:13 +0000 (0:00:02.164) 0:06:33.181 ******* 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:13:15 +0000 (0:00:01.749) 0:06:34.930 ******* 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:13:19 +0000 (0:00:03.490) 0:06:38.420 ******* 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:13:20 +0000 (0:00:01.803) 0:06:40.224 ******* 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:13:23 +0000 (0:00:02.677) 0:06:42.901 ******* 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:13:27 +0000 (0:00:04.097) 0:06:46.998 ******* 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:13:30 +0000 (0:00:03.101) 0:06:50.100 ******* 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:13:33 +0000 (0:00:02.317) 0:06:52.418 ******* 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:13:41 +0000 (0:00:08.806) 0:07:01.224 ******* changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:09:09 UTC", "ActiveEnterTimestampMonotonic": "738003807", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "auditd.service systemd-journald.socket sysinit.target basic.target system.slice -.mount network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:09:09 UTC", "AssertTimestampMonotonic": "738002314", "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:09:09 UTC", "ConditionTimestampMonotonic": "738002312", "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": "6699", "ExecMainStartTimestamp": "Tue 2023-01-31 15:09:09 UTC", "ExecMainStartTimestampMonotonic": "738003734", "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": "988", "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:09:09 UTC", "InactiveExitTimestampMonotonic": "738003807", "InvocationID": "c5fbe1add63a4fbc9e4f1b43c159d338", "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": "14015", "LimitSIGPENDINGSoft": "14015", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6699", "MemoryAccounting": "yes", "MemoryCurrent": "620838912", "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 system.slice sysinit.target", "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:09:09 UTC", "StateChangeTimestampMonotonic": "738003807", "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": "126", "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:09:09 UTC", "WatchdogTimestampMonotonic": "738003803", "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:13:47 +0000 (0:00:05.937) 0:07:07.162 ******* 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_2017.yml:26 Tuesday 31 January 2023 15:13:49 +0000 (0:00:01.842) 0:07:09.004 ******* 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:13:54 +0000 (0:00:04.954) 0:07:13.959 ******* 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:14:04 +0000 (0:00:09.550) 0:07:23.509 ******* 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:14:06 +0000 (0:00:02.483) 0:07:25.993 ******* 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_2017.yml:29 Tuesday 31 January 2023 15:14:10 +0000 (0:00:03.860) 0:07:29.853 ******* 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:14:19 +0000 (0:00:09.082) 0:07:38.936 ******* 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:14:21 +0000 (0:00:02.080) 0:07:41.016 ******* 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:14:26 +0000 (0:00:04.613) 0:07:45.630 ******* 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:14:29 +0000 (0:00:03.548) 0:07:49.179 ******* 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:14:31 +0000 (0:00:01.925) 0:07:51.105 ******* 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:14:33 +0000 (0:00:01.558) 0:07:52.663 ******* 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:14:35 +0000 (0:00:01.696) 0:07:54.359 ******* 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:14:37 +0000 (0:00:02.022) 0:07:56.382 ******* 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:14:38 +0000 (0:00:01.490) 0:07:57.872 ******* 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:14:39 +0000 (0:00:01.026) 0:07:58.898 ******* 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:14:40 +0000 (0:00:01.172) 0:08:00.070 ******* 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:14:41 +0000 (0:00:01.038) 0:08:01.109 ******* 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:14:42 +0000 (0:00:01.064) 0:08:02.174 ******* 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:14:56 +0000 (0:00:13.253) 0:08:15.427 ******* ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 31 January 2023 15:15:03 +0000 (0:00:07.111) 0:08:22.539 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:104 Tuesday 31 January 2023 15:15:06 +0000 (0:00:03.179) 0:08:25.718 ******* 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:15:06 +0000 (0:00:00.571) 0:08:26.289 ******* 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:15:07 +0000 (0:00:00.428) 0:08:26.718 ******* 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:15:07 +0000 (0:00:00.629) 0:08:27.373 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Tuesday 31 January 2023 15:15:08 +0000 (0:00:00.769) 0:08:28.142 ******* 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:15:08 +0000 (0:00:00.186) 0:08:28.329 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:163 Tuesday 31 January 2023 15:15:09 +0000 (0:00:00.147) 0:08:28.477 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:171 Tuesday 31 January 2023 15:15:09 +0000 (0:00:00.507) 0:08:28.985 ******* 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:15:10 +0000 (0:00:00.405) 0:08:29.390 ******* 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:15:12 +0000 (0:00:02.140) 0:08:31.530 ******* 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:15:12 +0000 (0:00:00.361) 0:08:31.892 ******* 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.007502", "end": "2023-01-31 15:15:12.902617", "rc": 0, "start": "2023-01-31 15:15:12.895115" } 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:15:13 +0000 (0:00:00.652) 0:08:32.544 ******* 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:15:16 +0000 (0:00:03.480) 0:08:36.025 ******* 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:15:17 +0000 (0:00:00.390) 0:08:36.415 ******* 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:15:17 +0000 (0:00:00.358) 0:08:36.773 ******* 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:15:19 +0000 (0:00:01.892) 0:08:38.665 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 14:57:03 UTC", "ActiveEnterTimestampMonotonic": "12139285", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket basic.target system.slice systemd-sysctl.service sysinit.target dbus.service network.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 14:57:02 UTC", "AssertTimestampMonotonic": "10883154", "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 14:57:02 UTC", "ConditionTimestampMonotonic": "10883152", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service power-profiles-daemon.service shutdown.target tlp.service cpupower.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": "655", "ExecMainStartTimestamp": "Tue 2023-01-31 14:57:02 UTC", "ExecMainStartTimestampMonotonic": "10884680", "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 14:57:02 UTC", "InactiveExitTimestampMonotonic": "10884745", "InvocationID": "be1c5c815a294a39a2c956e818e0052d", "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": "14015", "LimitNPROCSoft": "14015", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14015", "LimitSIGPENDINGSoft": "14015", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "655", "MemoryAccounting": "yes", "MemoryCurrent": "19566592", "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": "dbus.service dbus.socket system.slice polkit.service sysinit.target", "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 14:57:03 UTC", "StateChangeTimestampMonotonic": "12139285", "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": "22424", "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 14:57:03 UTC", "WatchdogTimestampMonotonic": "12139281", "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:15:19 +0000 (0:00:00.675) 0:08:39.340 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.144376", "end": "2023-01-31 15:15:20.390972", "rc": 0, "start": "2023-01-31 15:15:20.246596" } 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:15:20 +0000 (0:00:00.673) 0:08:40.014 ******* 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:15:21 +0000 (0:00:00.576) 0:08:40.591 ******* 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:15:21 +0000 (0:00:00.449) 0:08:41.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:15:22 +0000 (0:00:00.366) 0:08:41.407 ******* 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:15:22 +0000 (0:00:00.595) 0:08:42.003 ******* 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:15:24 +0000 (0:00:02.122) 0:08:44.125 ******* 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:15:25 +0000 (0:00:00.680) 0:08:44.805 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:13:46 UTC", "ActiveEnterTimestampMonotonic": "1014459386", "ActiveExitTimestamp": "Tue 2023-01-31 15:13:45 UTC", "ActiveExitTimestampMonotonic": "1014182984", "ActiveState": "active", "After": "auditd.service systemd-journald.socket sysinit.target basic.target system.slice network.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:13:46 UTC", "AssertTimestampMonotonic": "1014457709", "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:13:46 UTC", "ConditionTimestampMonotonic": "1014457707", "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": "9098", "ExecMainStartTimestamp": "Tue 2023-01-31 15:13:46 UTC", "ExecMainStartTimestampMonotonic": "1014459324", "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": "988", "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:13:46 UTC", "InactiveEnterTimestampMonotonic": "1014456187", "InactiveExitTimestamp": "Tue 2023-01-31 15:13:46 UTC", "InactiveExitTimestampMonotonic": "1014459386", "InvocationID": "189cabf38f8f405a8c95166e4c875f3e", "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": "14015", "LimitSIGPENDINGSoft": "14015", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9098", "MemoryAccounting": "yes", "MemoryCurrent": "975548416", "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": "sysinit.target system.slice -.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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:13:46 UTC", "StateChangeTimestampMonotonic": "1014459386", "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": "138", "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:13:46 UTC", "WatchdogTimestampMonotonic": "1014459383", "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:15:26 +0000 (0:00:01.239) 0:08:46.045 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003762", "end": "2023-01-31 15:15:27.487115", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:15:27.483353" } 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:15:27 +0000 (0:00:01.258) 0:08:47.304 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003876", "end": "2023-01-31 15:15:28.288311", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:15:28.284435" } 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:15:28 +0000 (0:00:00.733) 0:08:48.037 ******* 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:15:29 +0000 (0:00:00.427) 0:08:48.464 ******* ok: [sut] => { "changed": false, "elapsed": 3, "gid": 988, "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": 6337, "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:15:34 +0000 (0:00:05.011) 0:08:53.476 ******* 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:15:34 +0000 (0:00:00.830) 0:08:54.307 ******* 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:15:35 +0000 (0:00:00.445) 0:08:54.752 ******* 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:15:42 +0000 (0:00:06.698) 0:09:01.451 ******* 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:15:43 +0000 (0:00:01.518) 0:09:02.969 ******* 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:15:44 +0000 (0:00:00.857) 0:09:03.827 ******* 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.006236", "end": "2023-01-31 15:15:46.181407", "rc": 0, "start": "2023-01-31 15:15:46.175171" } 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:15:48 +0000 (0:00:04.420) 0:09:08.248 ******* 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:15:51 +0000 (0:00:02.618) 0:09:10.867 ******* 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:16:06 +0000 (0:00:14.679) 0:09:25.546 ******* 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:16:09 +0000 (0:00:03.205) 0:09:28.751 ******* 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:16:11 +0000 (0:00:02.250) 0:09:31.002 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003903", "end": "2023-01-31 15:16:12.166505", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:16:12.162602" } 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:16:13 +0000 (0:00:01.792) 0:09:32.794 ******* 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:16:15 +0000 (0:00:01.955) 0:09:34.749 ******* 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:16:17 +0000 (0:00:02.067) 0:09:36.817 ******* 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:16:19 +0000 (0:00:01.552) 0:09:38.369 ******* 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:16:20 +0000 (0:00:01.857) 0:09:40.227 ******* 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:16:23 +0000 (0:00:02.840) 0:09:43.067 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003942", "end": "2023-01-31 15:16:25.633221", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:16:25.629279" } 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:16:27 +0000 (0:00:04.004) 0:09:47.071 ******* ok: [sut] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.059135", "end": "2023-01-31 15:16:29.284966", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:16:29.225831" } 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:16:31 +0000 (0:00:04.160) 0:09:51.232 ******* 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:16:34 +0000 (0:00:02.983) 0:09:54.215 ******* 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:16:36 +0000 (0:00:01.961) 0:09:56.177 ******* 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:16:40 +0000 (0:00:03.595) 0:09:59.773 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004016", "end": "2023-01-31 15:16:42.541896", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:16:42.537880" } 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:16:44 +0000 (0:00:04.156) 0:10:03.930 ******* 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:16:47 +0000 (0:00:02.781) 0:10:06.711 ******* 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:16:51 +0000 (0:00:03.932) 0:10:10.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:16:58 +0000 (0:00:07.191) 0:10:17.836 ******* 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:17:04 +0000 (0:00:05.906) 0:10:23.742 ******* 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:17:10 +0000 (0:00:06.080) 0:10:29.823 ******* 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:17:15 +0000 (0:00:04.744) 0:10:34.567 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003936", "end": "2023-01-31 15:17:17.842867", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:17:17.838931" } 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:17:20 +0000 (0:00:05.577) 0:10:40.145 ******* 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:17:25 +0000 (0:00:04.340) 0:10:44.485 ******* 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:17:32 +0000 (0:00:07.361) 0:10:51.846 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003968", "end": "2023-01-31 15:17:35.608357", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:17:35.604389" } 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:17:39 +0000 (0:00:06.725) 0:10:58.572 ******* 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:17:41 +0000 (0:00:02.352) 0:11:00.924 ******* 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:17:45 +0000 (0:00:03.747) 0:11:04.671 ******* 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:17:50 +0000 (0:00:05.304) 0:11:09.976 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003812", "end": "2023-01-31 15:17:52.976475", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:17:52.972663" } 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:17:56 +0000 (0:00:05.755) 0:11:15.732 ******* 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:18:00 +0000 (0:00:04.541) 0:11:20.273 ******* 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:18:03 +0000 (0:00:02.946) 0:11:23.220 ******* 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:18:09 +0000 (0:00:05.397) 0:11:28.617 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003935", "end": "2023-01-31 15:18:11.870362", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:18:11.866427" } 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:18:14 +0000 (0:00:05.559) 0:11:34.177 ******* 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:18:19 +0000 (0:00:04.373) 0:11:38.571 ******* 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:18:22 +0000 (0:00:03.306) 0:11:42.041 ******* 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:18:27 +0000 (0:00:05.053) 0:11:47.095 ******* 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:18:34 +0000 (0:00:06.528) 0:11:53.623 ******* 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:18:37 +0000 (0:00:02.737) 0:11:56.361 ******* 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:18:40 +0000 (0:00:03.016) 0:11:59.378 ******* 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:18:43 +0000 (0:00:03.090) 0:12:02.468 ******* 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:18:46 +0000 (0:00:03.411) 0:12:05.880 ******* 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:18:50 +0000 (0:00:04.086) 0:12:09.966 ******* 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:18:54 +0000 (0:00:03.632) 0:12:13.599 ******* 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:18:57 +0000 (0:00:03.537) 0:12:17.136 ******* 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:19:02 +0000 (0:00:04.541) 0:12:21.677 ******* 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:19:05 +0000 (0:00:03.438) 0:12:25.116 ******* 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:19:08 +0000 (0:00:02.457) 0:12:27.573 ******* 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:19:11 +0000 (0:00:03.715) 0:12:31.289 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:19:15 +0000 (0:00:03.287) 0:12:34.577 ******* 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:19:19 +0000 (0:00:04.080) 0:12:38.658 ******* 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:19:21 +0000 (0:00:02.627) 0:12:41.285 ******* 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:19:26 +0000 (0:00:04.622) 0:12:45.908 ******* 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:19:30 +0000 (0:00:03.763) 0:12:49.672 ******* 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:19:33 +0000 (0:00:02.836) 0:12:52.508 ******* 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:19:36 +0000 (0:00:03.498) 0:12:56.007 ******* 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:19:41 +0000 (0:00:04.728) 0:13:00.736 ******* 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:19:44 +0000 (0:00:03.199) 0:13:03.935 ******* 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:19:47 +0000 (0:00:02.552) 0:13:06.487 ******* 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:19:49 +0000 (0:00:02.652) 0:13:09.140 ******* 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:19:53 +0000 (0:00:03.349) 0:13:12.490 ******* 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:19:55 +0000 (0:00:02.788) 0:13:15.279 ******* 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:20:00 +0000 (0:00:04.280) 0:13:19.560 ******* 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:20:03 +0000 (0:00:03.529) 0:13:23.089 ******* 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:20:06 +0000 (0:00:02.570) 0:13:25.700 ******* 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:20:06 +0000 (0:00:00.421) 0:13:26.121 ******* 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:20:07 +0000 (0:00:00.659) 0:13:26.781 ******* 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:20:08 +0000 (0:00:00.981) 0:13:27.762 ******* 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:20:08 +0000 (0:00:00.272) 0:13:28.035 ******* 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:20:09 +0000 (0:00:00.482) 0:13:28.517 ******* 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:20:09 +0000 (0:00:00.452) 0:13:28.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 : 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:20:10 +0000 (0:00:00.533) 0:13:29.504 ******* 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:20:10 +0000 (0:00:00.361) 0:13:29.866 ******* 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:20:10 +0000 (0:00:00.331) 0:13:30.197 ******* 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:20:11 +0000 (0:00:00.336) 0:13:30.556 ******* 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:20:11 +0000 (0:00:00.272) 0:13:30.828 ******* 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:20:11 +0000 (0:00:00.258) 0:13:31.087 ******* 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:20:12 +0000 (0:00:00.465) 0:13:31.553 ******* 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:20:12 +0000 (0:00:00.392) 0:13:31.945 ******* 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:20:12 +0000 (0:00:00.322) 0:13:32.267 ******* 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:20:13 +0000 (0:00:00.266) 0:13:32.534 ******* 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:20:13 +0000 (0:00:00.364) 0:13:32.898 ******* 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:20:13 +0000 (0:00:00.278) 0:13:33.177 ******* 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:20:15 +0000 (0:00:01.368) 0:13:34.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:20:15 +0000 (0:00:00.419) 0:13:34.965 ******* 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:20:15 +0000 (0:00:00.325) 0:13:35.291 ******* 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:20:16 +0000 (0:00:00.364) 0:13:35.656 ******* 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:20:16 +0000 (0:00:00.471) 0:13:36.128 ******* 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:20:17 +0000 (0:00:00.298) 0:13:36.426 ******* 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:20:18 +0000 (0:00:01.358) 0:13:37.784 ******* 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_2017.yml:43 Tuesday 31 January 2023 15:20:18 +0000 (0:00:00.311) 0:13:38.096 ******* 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:20:19 +0000 (0:00:00.830) 0:13:38.927 ******* 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.007444", "end": "2023-01-31 15:20:19.960123", "rc": 0, "start": "2023-01-31 15:20:19.952679" } 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:20:20 +0000 (0:00:00.727) 0:13:39.668 ******* 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.006336", "end": "2023-01-31 15:20:20.613243", "rc": 0, "start": "2023-01-31 15:20:20.606907" } 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:20:20 +0000 (0:00:00.658) 0:13:40.327 ******* 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:20:21 +0000 (0:00:00.506) 0:13:40.833 ******* 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:20:21 +0000 (0:00:00.301) 0:13:41.134 ******* 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:20:22 +0000 (0:00:00.234) 0:13:41.369 ******* 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:20:22 +0000 (0:00:00.425) 0:13:41.795 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:13:46 UTC", "ActiveEnterTimestampMonotonic": "1014459386", "ActiveExitTimestamp": "Tue 2023-01-31 15:13:45 UTC", "ActiveExitTimestampMonotonic": "1014182984", "ActiveState": "active", "After": "auditd.service systemd-journald.socket sysinit.target basic.target system.slice network.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:13:46 UTC", "AssertTimestampMonotonic": "1014457709", "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:13:46 UTC", "ConditionTimestampMonotonic": "1014457707", "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": "9098", "ExecMainStartTimestamp": "Tue 2023-01-31 15:13:46 UTC", "ExecMainStartTimestampMonotonic": "1014459324", "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": "988", "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:13:46 UTC", "InactiveEnterTimestampMonotonic": "1014456187", "InactiveExitTimestamp": "Tue 2023-01-31 15:13:46 UTC", "InactiveExitTimestampMonotonic": "1014459386", "InvocationID": "189cabf38f8f405a8c95166e4c875f3e", "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": "14015", "LimitSIGPENDINGSoft": "14015", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9098", "MemoryAccounting": "yes", "MemoryCurrent": "1135951872", "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": "sysinit.target system.slice -.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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:13:46 UTC", "StateChangeTimestampMonotonic": "1014459386", "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": "155", "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:13:46 UTC", "WatchdogTimestampMonotonic": "1014459383", "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:20:23 +0000 (0:00:00.673) 0:13:42.468 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003791", "end": "2023-01-31 15:20:23.380810", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:20:23.377019" } 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:20:23 +0000 (0:00:00.474) 0:13:42.943 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004990", "end": "2023-01-31 15:20:24.865485", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:20:23.860495" } 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:20:24 +0000 (0:00:01.365) 0:13:44.308 ******* 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:20:25 +0000 (0:00:00.320) 0:13:44.629 ******* ok: [sut] => { "changed": false, "elapsed": 3, "gid": 988, "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": 6762, "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:20:29 +0000 (0:00:03.854) 0:13:48.483 ******* 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.031113", "end": "2023-01-31 15:20:29.456548", "rc": 0, "start": "2023-01-31 15:20:29.425435" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31) (KB5016884) - 14.0.3456.2 (X64) Sep 2 2022 11:01:50 Copyright (C) 2017 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:20:29 +0000 (0:00:00.721) 0:13:49.205 ******* 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:20:30 +0000 (0:00:00.636) 0:13:49.841 ******* 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:20:31 +0000 (0:00:00.731) 0:13:50.573 ******* 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:20:32 +0000 (0:00:01.421) 0:13:51.994 ******* ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005545", "end": "2023-01-31 15:20:33.429127", "rc": 0, "start": "2023-01-31 15:20:33.423582" } 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:20:34 +0000 (0:00:01.456) 0:13:53.451 ******* 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:20:34 +0000 (0:00:00.852) 0:13:54.303 ******* 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:20:35 +0000 (0:00:00.739) 0:13:55.042 ******* 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:20:36 +0000 (0:00:01.179) 0:13:56.222 ******* 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:20:40 +0000 (0:00:03.682) 0:13:59.905 ******* 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:20:52 +0000 (0:00:12.250) 0:14:12.155 ******* 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:20:56 +0000 (0:00:03.543) 0:14:15.699 ******* 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:21:01 +0000 (0:00:05.532) 0:14:21.231 ******* 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:21:05 +0000 (0:00:03.654) 0:14:24.885 ******* 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:21:11 +0000 (0:00:06.140) 0:14:31.026 ******* 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:21:15 +0000 (0:00:04.093) 0:14:35.120 ******* 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:21:19 +0000 (0:00:03.564) 0:14:38.684 ******* 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:21:22 +0000 (0:00:03.523) 0:14:42.208 ******* 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:21:36 +0000 (0:00:13.308) 0:14:55.516 ******* 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:21:42 +0000 (0:00:05.936) 0:15:01.452 ******* 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:21:46 +0000 (0:00:03.921) 0:15:05.374 ******* 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:21:53 +0000 (0:00:07.071) 0:15:12.446 ******* ok: [sut] => { "changed": false, "cmd": "grep '^hadrenabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005955", "end": "2023-01-31 15:21:55.494182", "rc": 0, "start": "2023-01-31 15:21:55.488227" } 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:22:00 +0000 (0:00:07.647) 0:15:20.094 ******* 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:22:05 +0000 (0:00:04.605) 0:15:24.699 ******* 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:22:08 +0000 (0:00:03.262) 0:15:27.962 ******* 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:22:10 +0000 (0:00:02.146) 0:15:30.109 ******* ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005577", "end": "2023-01-31 15:22:11.785923", "rc": 0, "start": "2023-01-31 15:22:11.780346" } 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:22:14 +0000 (0:00:04.032) 0:15:34.142 ******* 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:22:20 +0000 (0:00:05.257) 0:15:39.399 ******* 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:22:23 +0000 (0:00:03.275) 0:15:42.675 ******* 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:22:30 +0000 (0:00:07.319) 0:15:49.995 ******* ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005750", "end": "2023-01-31 15:22:33.277285", "rc": 0, "start": "2023-01-31 15:22:33.271535" } 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:22:36 +0000 (0:00:05.525) 0:15:55.520 ******* 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:22:42 +0000 (0:00:06.268) 0:16:01.789 ******* 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:22:46 +0000 (0:00:04.123) 0:16:05.912 ******* 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:22:49 +0000 (0:00:03.348) 0:16:09.260 ******* 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:22:58 +0000 (0:00:08.212) 0:16:17.473 ******* ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005608", "end": "2023-01-31 15:22:59.857228", "rc": 0, "start": "2023-01-31 15:22:59.851620" } 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:23:04 +0000 (0:00:06.568) 0:16:24.041 ******* 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:23:07 +0000 (0:00:03.205) 0:16:27.247 ******* 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:23:11 +0000 (0:00:04.125) 0:16:31.372 ******* 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:23:15 +0000 (0:00:02.996) 0:16:34.369 ******* 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:23:18 +0000 (0:00:03.636) 0:16:38.005 ******* 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:23:20 +0000 (0:00:01.388) 0:16:39.393 ******* 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:23:23 +0000 (0:00:03.701) 0:16:43.094 ******* 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_2017.yml:56 Tuesday 31 January 2023 15:23:28 +0000 (0:00:04.643) 0:16:47.738 ******* 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:23:59 +0000 (0:00:31.080) 0:17:18.818 ******* 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:24:05 +0000 (0:00:06.314) 0:17:25.157 ******* 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:24:15 +0000 (0:00:09.711) 0:17:34.868 ******* 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:24:22 +0000 (0:00:06.511) 0:17:41.380 ******* 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:24:23 +0000 (0:00:01.572) 0:17:42.953 ******* 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:24:25 +0000 (0:00:01.679) 0:17:44.632 ******* 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:24:29 +0000 (0:00:04.715) 0:17:49.348 ******* 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:24:35 +0000 (0:00:05.167) 0:17:54.515 ******* 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:24:39 +0000 (0:00:03.996) 0:17:58.512 ******* 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:24:49 +0000 (0:00:10.275) 0:18:08.788 ******* 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:24:53 +0000 (0:00:04.452) 0:18:13.241 ******* 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:24:56 +0000 (0:00:02.754) 0:18:15.995 ******* 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:25:00 +0000 (0:00:03.596) 0:18:19.592 ******* 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:25:07 +0000 (0:00:07.083) 0:18:26.676 ******* ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 31 January 2023 15:25:08 +0000 (0:00:00.962) 0:18:27.638 ******* 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:25:08 +0000 (0:00:00.345) 0:18:27.983 ******* 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:25:09 +0000 (0:00:00.401) 0:18:28.385 ******* 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:25:09 +0000 (0:00:00.330) 0:18:28.715 ******* 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:25:09 +0000 (0:00:00.570) 0:18:29.286 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Tuesday 31 January 2023 15:25:10 +0000 (0:00:00.877) 0:18:30.164 ******* 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:25:11 +0000 (0:00:00.502) 0:18:30.666 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:163 Tuesday 31 January 2023 15:25:12 +0000 (0:00:01.167) 0:18:31.854 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:171 Tuesday 31 January 2023 15:25:12 +0000 (0:00:00.465) 0:18:32.320 ******* 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:25:13 +0000 (0:00:00.962) 0:18:33.283 ******* 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:25:16 +0000 (0:00:02.563) 0:18:35.846 ******* 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:25:17 +0000 (0:00:00.702) 0:18:36.548 ******* 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.007560", "end": "2023-01-31 15:25:17.655553", "rc": 0, "start": "2023-01-31 15:25:17.647993" } 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:25:18 +0000 (0:00:00.921) 0:18:37.470 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:25:21 +0000 (0:00:03.810) 0:18:41.280 ******* 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:25:22 +0000 (0:00:00.446) 0:18:41.726 ******* 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:25:22 +0000 (0:00:00.368) 0:18:42.095 ******* 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:25:25 +0000 (0:00:02.262) 0:18:44.358 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 14:57:03 UTC", "ActiveEnterTimestampMonotonic": "12139285", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket basic.target system.slice systemd-sysctl.service sysinit.target dbus.service network.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 14:57:02 UTC", "AssertTimestampMonotonic": "10883154", "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 14:57:02 UTC", "ConditionTimestampMonotonic": "10883152", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service power-profiles-daemon.service shutdown.target tlp.service cpupower.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": "655", "ExecMainStartTimestamp": "Tue 2023-01-31 14:57:02 UTC", "ExecMainStartTimestampMonotonic": "10884680", "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 14:57:02 UTC", "InactiveExitTimestampMonotonic": "10884745", "InvocationID": "be1c5c815a294a39a2c956e818e0052d", "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": "14015", "LimitNPROCSoft": "14015", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14015", "LimitSIGPENDINGSoft": "14015", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "655", "MemoryAccounting": "yes", "MemoryCurrent": "19529728", "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": "dbus.service dbus.socket system.slice polkit.service sysinit.target", "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 14:57:03 UTC", "StateChangeTimestampMonotonic": "12139285", "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": "22424", "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 14:57:03 UTC", "WatchdogTimestampMonotonic": "12139281", "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:25:25 +0000 (0:00:00.874) 0:18:45.232 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.144907", "end": "2023-01-31 15:25:26.304735", "rc": 0, "start": "2023-01-31 15:25:26.159828" } 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:25:26 +0000 (0:00:00.725) 0:18:45.958 ******* 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:25:27 +0000 (0:00:00.607) 0:18:46.566 ******* 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:25:27 +0000 (0:00:00.629) 0:18:47.195 ******* 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:25:28 +0000 (0:00:00.793) 0:18:47.988 ******* 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:25:29 +0000 (0:00:00.795) 0:18:48.783 ******* 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:25:31 +0000 (0:00:01.886) 0:18:50.670 ******* 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:25:31 +0000 (0:00:00.628) 0:18:51.298 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:13:46 UTC", "ActiveEnterTimestampMonotonic": "1014459386", "ActiveExitTimestamp": "Tue 2023-01-31 15:13:45 UTC", "ActiveExitTimestampMonotonic": "1014182984", "ActiveState": "active", "After": "auditd.service systemd-journald.socket sysinit.target basic.target system.slice network.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:13:46 UTC", "AssertTimestampMonotonic": "1014457709", "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:13:46 UTC", "ConditionTimestampMonotonic": "1014457707", "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": "9098", "ExecMainStartTimestamp": "Tue 2023-01-31 15:13:46 UTC", "ExecMainStartTimestampMonotonic": "1014459324", "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": "988", "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:13:46 UTC", "InactiveEnterTimestampMonotonic": "1014456187", "InactiveExitTimestamp": "Tue 2023-01-31 15:13:46 UTC", "InactiveExitTimestampMonotonic": "1014459386", "InvocationID": "189cabf38f8f405a8c95166e4c875f3e", "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": "14015", "LimitSIGPENDINGSoft": "14015", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9098", "MemoryAccounting": "yes", "MemoryCurrent": "1135034368", "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": "sysinit.target system.slice -.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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:13:46 UTC", "StateChangeTimestampMonotonic": "1014459386", "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:13:46 UTC", "WatchdogTimestampMonotonic": "1014459383", "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:25:34 +0000 (0:00:02.232) 0:18:53.531 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003793", "end": "2023-01-31 15:25:34.723583", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:25:34.719790" } 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:25:35 +0000 (0:00:01.344) 0:18:54.876 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003809", "end": "2023-01-31 15:25:36.076234", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:25:36.072425" } 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:25:39 +0000 (0:00:04.428) 0:18:59.304 ******* 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:25:41 +0000 (0:00:01.444) 0:19:00.748 ******* ok: [sut] => { "changed": false, "elapsed": 3, "gid": 988, "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": 6762, "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:25:48 +0000 (0:00:07.003) 0:19:07.752 ******* 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:25:51 +0000 (0:00:03.213) 0:19:10.966 ******* 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:13:46 UTC", "ActiveEnterTimestampMonotonic": "1014459386", "ActiveExitTimestamp": "Tue 2023-01-31 15:13:45 UTC", "ActiveExitTimestampMonotonic": "1014182984", "ActiveState": "active", "After": "auditd.service systemd-journald.socket sysinit.target basic.target system.slice network.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:13:46 UTC", "AssertTimestampMonotonic": "1014457709", "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:13:46 UTC", "ConditionTimestampMonotonic": "1014457707", "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": "9098", "ExecMainStartTimestamp": "Tue 2023-01-31 15:13:46 UTC", "ExecMainStartTimestampMonotonic": "1014459324", "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": "988", "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:13:46 UTC", "InactiveEnterTimestampMonotonic": "1014456187", "InactiveExitTimestamp": "Tue 2023-01-31 15:13:46 UTC", "InactiveExitTimestampMonotonic": "1014459386", "InvocationID": "189cabf38f8f405a8c95166e4c875f3e", "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": "14015", "LimitSIGPENDINGSoft": "14015", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9098", "MemoryAccounting": "yes", "MemoryCurrent": "1134395392", "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": "sysinit.target system.slice -.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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:13:46 UTC", "StateChangeTimestampMonotonic": "1014459386", "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:13:46 UTC", "WatchdogTimestampMonotonic": "1014459383", "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:25:57 +0000 (0:00:05.596) 0:19:16.563 ******* 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:26:08 +0000 (0:00:11.226) 0:19:27.789 ******* changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Pre-input SQL 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:26:18 +0000 (0:00:10.350) 0:19:38.140 ******* 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:26:22 +0000 (0:00:03.788) 0:19:41.928 ******* 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.006375", "end": "2023-01-31 15:26:25.220716", "rc": 0, "start": "2023-01-31 15:26:25.214341" } 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:26:27 +0000 (0:00:05.169) 0:19:47.098 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:13:46 UTC", "ActiveEnterTimestampMonotonic": "1014459386", "ActiveExitTimestamp": "Tue 2023-01-31 15:25:55 UTC", "ActiveExitTimestampMonotonic": "1743286378", "ActiveState": "inactive", "After": "auditd.service systemd-journald.socket sysinit.target basic.target system.slice network.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:13:46 UTC", "AssertTimestampMonotonic": "1014457709", "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:13:46 UTC", "ConditionTimestampMonotonic": "1014457707", "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:25:55 UTC", "ExecMainExitTimestampMonotonic": "1743536934", "ExecMainPID": "9098", "ExecMainStartTimestamp": "Tue 2023-01-31 15:13:46 UTC", "ExecMainStartTimestampMonotonic": "1014459324", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-01-31 15:13:46 UTC] ; stop_time=[Tue 2023-01-31 15:25:55 UTC] ; pid=9098 ; code=exited ; status=0 }", "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:25:55 UTC", "InactiveEnterTimestampMonotonic": "1743537097", "InactiveExitTimestamp": "Tue 2023-01-31 15:13:46 UTC", "InactiveExitTimestampMonotonic": "1014459386", "InvocationID": "189cabf38f8f405a8c95166e4c875f3e", "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": "14015", "LimitSIGPENDINGSoft": "14015", "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": "sysinit.target system.slice -.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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:25:55 UTC", "StateChangeTimestampMonotonic": "1743537097", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "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:26:32 +0000 (0:00:04.631) 0:19:51.729 ******* 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:26:40 +0000 (0:00:08.378) 0:20:00.107 ******* changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:436 Tuesday 31 January 2023 15:26:51 +0000 (0:00:10.648) 0:20:10.756 ******* 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:26:56 +0000 (0:00:05.545) 0:20:16.302 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004669", "end": "2023-01-31 15:27:00.033036", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:26:59.028367" } 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:27:01 +0000 (0:00:04.595) 0:20:20.897 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.058845", "end": "2023-01-31 15:27:03.662614", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:27:03.603769" } 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:27:05 +0000 (0:00:03.668) 0:20:24.566 ******* 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:27:07 +0000 (0:00:02.430) 0:20:26.997 ******* 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:27:10 +0000 (0:00:02.467) 0:20:29.464 ******* 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:27:13 +0000 (0:00:03.038) 0:20:32.503 ******* 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:27:17 +0000 (0:00:04.126) 0:20:36.629 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003523", "end": "2023-01-31 15:27:18.646409", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:27:18.642886" } 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:27:22 +0000 (0:00:05.110) 0:20:41.740 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.058148", "end": "2023-01-31 15:27:23.550894", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:27:23.492746" } 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:27:25 +0000 (0:00:03.073) 0:20:44.814 ******* 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:27:27 +0000 (0:00:02.466) 0:20:47.280 ******* 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:27:31 +0000 (0:00:03.750) 0:20:51.031 ******* 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:27:37 +0000 (0:00:06.055) 0:20:57.086 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003546", "end": "2023-01-31 15:27:39.233017", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:27:39.229471" } 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:27:41 +0000 (0:00:04.202) 0:21:01.289 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.058051", "end": "2023-01-31 15:27:45.536391", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:27:45.478340" } 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:27:48 +0000 (0:00:06.664) 0:21:07.953 ******* 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:27:51 +0000 (0:00:02.980) 0:21:10.934 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: mssql-server-fts-14.0.3456.2-3.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:27:58 +0000 (0:00:06.872) 0:21:17.807 ******* 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:28:05 +0000 (0:00:07.281) 0:21:25.088 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: mssql-server-ha-14.0.3456.2-3.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:28:14 +0000 (0:00:08.858) 0:21:33.947 ******* 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:28:22 +0000 (0:00:07.956) 0:21:41.903 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003752", "end": "2023-01-31 15:28:23.995778", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:28:23.992026" } 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:28:26 +0000 (0:00:03.599) 0:21:45.503 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "hadr.hadrenabled", "0" ], "delta": "0:00:00.057531", "end": "2023-01-31 15:28:27.728117", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:28:27.670586" } 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:28:30 +0000 (0:00:04.672) 0:21:50.175 ******* 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:28:33 +0000 (0:00:02.179) 0:21:52.354 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004898", "end": "2023-01-31 15:28:35.641779", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:28:34.636881" } 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:28:38 +0000 (0:00:05.960) 0:21:58.315 ******* 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:28:42 +0000 (0:00:03.544) 0:22:01.860 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.058686", "end": "2023-01-31 15:28:46.230571", "rc": 0, "start": "2023-01-31 15:28:46.171885" } 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:28:49 +0000 (0:00:06.667) 0:22:08.527 ******* 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:28:52 +0000 (0:00:02.928) 0:22:11.456 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003878", "end": "2023-01-31 15:28:53.576645", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:28:53.572767" } 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:28:56 +0000 (0:00:04.556) 0:22:16.013 ******* 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:29:00 +0000 (0:00:03.814) 0:22:19.827 ******* 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:29:04 +0000 (0:00:03.801) 0:22:23.628 ******* 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:29:09 +0000 (0:00:05.045) 0:22:28.673 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004751", "end": "2023-01-31 15:29:12.340761", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:29:11.336010" } 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:29:17 +0000 (0:00:07.802) 0:22:36.476 ******* changed: [sut] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.058302", "end": "2023-01-31 15:29:18.450121", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:29:18.391819" } 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:29:20 +0000 (0:00:03.649) 0:22:40.126 ******* 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:29:22 +0000 (0:00:01.954) 0:22:42.080 ******* 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:29:25 +0000 (0:00:02.338) 0:22:44.418 ******* 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:29:27 +0000 (0:00:02.237) 0:22:46.655 ******* 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:29:28 +0000 (0:00:01.102) 0:22:47.758 ******* 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:29:31 +0000 (0:00:02.750) 0:22:50.509 ******* 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:29:35 +0000 (0:00:04.741) 0:22:55.251 ******* 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:29:40 +0000 (0:00:04.295) 0:22:59.546 ******* 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:29:43 +0000 (0:00:03.291) 0:23:02.838 ******* 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:29:46 +0000 (0:00:02.877) 0:23:05.715 ******* 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:29:50 +0000 (0:00:04.436) 0:23:10.151 ******* 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:29:55 +0000 (0:00:04.461) 0:23:14.613 ******* 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:29:57 +0000 (0:00:02.648) 0:23:17.261 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:30:00 +0000 (0:00:02.228) 0:23:19.490 ******* 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:30:06 +0000 (0:00:06.474) 0:23:25.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 : 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:30:07 +0000 (0:00:00.495) 0:23:26.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 [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:30:07 +0000 (0:00:00.468) 0:23:26.928 ******* 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:30:07 +0000 (0:00:00.412) 0:23:27.340 ******* 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:30:08 +0000 (0:00:00.303) 0:23:27.644 ******* 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:30:08 +0000 (0:00:00.162) 0:23:27.807 ******* 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:30:08 +0000 (0:00:00.232) 0:23:28.040 ******* 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:30:08 +0000 (0:00:00.262) 0:23:28.303 ******* 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:30:09 +0000 (0:00:00.308) 0:23:28.611 ******* 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:30:09 +0000 (0:00:00.434) 0:23:29.046 ******* 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:30:10 +0000 (0:00:00.376) 0:23:29.423 ******* 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:30:10 +0000 (0:00:00.351) 0:23:29.774 ******* 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:30:10 +0000 (0:00:00.300) 0:23:30.074 ******* 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:30:10 +0000 (0:00:00.261) 0:23:30.336 ******* 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:30:11 +0000 (0:00:00.220) 0:23:30.557 ******* 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:30:11 +0000 (0:00:00.208) 0:23:30.765 ******* 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:30:11 +0000 (0:00:00.273) 0:23:31.039 ******* 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:30:11 +0000 (0:00:00.254) 0:23:31.294 ******* 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:30:12 +0000 (0:00:00.222) 0:23:31.517 ******* 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:30:12 +0000 (0:00:00.265) 0:23:31.782 ******* 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:30:12 +0000 (0:00:00.265) 0:23:32.048 ******* 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:30:13 +0000 (0:00:00.437) 0:23:32.486 ******* 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:30:13 +0000 (0:00:00.342) 0:23:32.829 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:30:13 +0000 (0:00:00.203) 0:23:33.032 ******* 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:30:13 +0000 (0:00:00.273) 0:23:33.306 ******* 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:30:14 +0000 (0:00:00.449) 0:23:33.755 ******* 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:30:14 +0000 (0:00:00.291) 0:23:34.047 ******* 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:30:15 +0000 (0:00:00.305) 0:23:34.353 ******* 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:30:15 +0000 (0:00:00.305) 0:23:34.658 ******* 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:30:15 +0000 (0:00:00.257) 0:23:34.916 ******* 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:30:15 +0000 (0:00:00.320) 0:23:35.236 ******* 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:30:16 +0000 (0:00:00.204) 0:23:35.441 ******* 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:30:16 +0000 (0:00:00.399) 0:23:35.841 ******* 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:30:17 +0000 (0:00:00.843) 0:23:36.684 ******* 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:30:17 +0000 (0:00:00.473) 0:23:37.158 ******* 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:30:18 +0000 (0:00:00.548) 0:23:37.706 ******* 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:30:19 +0000 (0:00:00.647) 0:23:38.353 ******* 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:30:19 +0000 (0:00:00.436) 0:23:38.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 [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:30:19 +0000 (0:00:00.258) 0:23:39.048 ******* 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:30:20 +0000 (0:00:00.424) 0:23:39.473 ******* 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:30:20 +0000 (0:00:00.428) 0:23:39.930 ******* 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:30:22 +0000 (0:00:02.290) 0:23:42.221 ******* changed: [sut] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:13:46 UTC", "ActiveEnterTimestampMonotonic": "1014459386", "ActiveExitTimestamp": "Tue 2023-01-31 15:25:55 UTC", "ActiveExitTimestampMonotonic": "1743286378", "ActiveState": "inactive", "After": "auditd.service systemd-journald.socket sysinit.target basic.target system.slice network.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:13:46 UTC", "AssertTimestampMonotonic": "1014457709", "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:13:46 UTC", "ConditionTimestampMonotonic": "1014457707", "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:25:55 UTC", "ExecMainExitTimestampMonotonic": "1743536934", "ExecMainPID": "9098", "ExecMainStartTimestamp": "Tue 2023-01-31 15:13:46 UTC", "ExecMainStartTimestampMonotonic": "1014459324", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-01-31 15:13:46 UTC] ; stop_time=[Tue 2023-01-31 15:25:55 UTC] ; pid=9098 ; code=exited ; status=0 }", "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:25:55 UTC", "InactiveEnterTimestampMonotonic": "1743537097", "InactiveExitTimestamp": "Tue 2023-01-31 15:13:46 UTC", "InactiveExitTimestampMonotonic": "1014459386", "InvocationID": "189cabf38f8f405a8c95166e4c875f3e", "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": "14015", "LimitSIGPENDINGSoft": "14015", "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": "sysinit.target system.slice -.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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:25:55 UTC", "StateChangeTimestampMonotonic": "1743537097", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "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:30:23 +0000 (0:00:00.814) 0:23:43.036 ******* 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_2017.yml:70 Tuesday 31 January 2023 15:30:23 +0000 (0:00:00.142) 0:23:43.178 ******* 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:30:25 +0000 (0:00:01.955) 0:23:45.134 ******* 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:30:26 +0000 (0:00:00.312) 0:23:45.447 ******* 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:30:27 +0000 (0:00:01.586) 0:23:47.071 ******* 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:30:28 +0000 (0:00:00.781) 0:23:47.852 ******* 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:30:29 +0000 (0:00:00.840) 0:23:48.692 ******* 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:30:29 +0000 (0:00:00.532) 0:23:49.224 ******* 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:30:30 +0000 (0:00:00.454) 0:23:49.678 ******* 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:30:30 +0000 (0:00:00.266) 0:23:49.945 ******* 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:30:30 +0000 (0:00:00.332) 0:23:50.278 ******* 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:30:31 +0000 (0:00:00.464) 0:23:50.743 ******* 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:30:31 +0000 (0:00:00.439) 0:23:51.182 ******* 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:30:33 +0000 (0:00:01.396) 0:23:52.578 ******* 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:30:33 +0000 (0:00:00.362) 0:23:52.940 ******* 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:30:38 +0000 (0:00:04.870) 0:23:57.811 ******* ok: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Tuesday 31 January 2023 15:30:48 +0000 (0:00:09.777) 0:24:07.589 ******* 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:30:51 +0000 (0:00:02.913) 0:24:10.503 ******* 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:30:53 +0000 (0:00:02.315) 0:24:12.818 ******* 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:30:55 +0000 (0:00:02.185) 0:24:15.004 ******* 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:30:59 +0000 (0:00:03.682) 0:24:18.687 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Tuesday 31 January 2023 15:31:02 +0000 (0:00:03.361) 0:24:22.048 ******* 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:31:05 +0000 (0:00:02.311) 0:24:24.360 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:163 Tuesday 31 January 2023 15:31:07 +0000 (0:00:02.897) 0:24:27.258 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:171 Tuesday 31 January 2023 15:31:11 +0000 (0:00:03.654) 0:24:30.912 ******* 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:31:14 +0000 (0:00:02.655) 0:24:33.568 ******* 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:31:18 +0000 (0:00:03.972) 0:24:37.541 ******* 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:31:20 +0000 (0:00:02.363) 0:24:39.905 ******* 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.007128", "end": "2023-01-31 15:31:22.296365", "rc": 0, "start": "2023-01-31 15:31:22.289237" } 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:31:24 +0000 (0:00:03.961) 0:24:43.867 ******* 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:31:31 +0000 (0:00:06.913) 0:24:50.781 ******* 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:31:33 +0000 (0:00:02.539) 0:24:53.320 ******* 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:31:37 +0000 (0:00:03.615) 0:24:56.935 ******* 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:31:42 +0000 (0:00:05.012) 0:25:01.948 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 14:57:03 UTC", "ActiveEnterTimestampMonotonic": "12139285", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket basic.target system.slice systemd-sysctl.service sysinit.target dbus.service network.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 14:57:02 UTC", "AssertTimestampMonotonic": "10883154", "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 14:57:02 UTC", "ConditionTimestampMonotonic": "10883152", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service power-profiles-daemon.service shutdown.target tlp.service cpupower.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": "655", "ExecMainStartTimestamp": "Tue 2023-01-31 14:57:02 UTC", "ExecMainStartTimestampMonotonic": "10884680", "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 14:57:02 UTC", "InactiveExitTimestampMonotonic": "10884745", "InvocationID": "be1c5c815a294a39a2c956e818e0052d", "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": "14015", "LimitNPROCSoft": "14015", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14015", "LimitSIGPENDINGSoft": "14015", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "655", "MemoryAccounting": "yes", "MemoryCurrent": "19464192", "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": "dbus.service dbus.socket system.slice polkit.service sysinit.target", "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 14:57:03 UTC", "StateChangeTimestampMonotonic": "12139285", "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": "22424", "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 14:57:03 UTC", "WatchdogTimestampMonotonic": "12139281", "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:31:45 +0000 (0:00:03.305) 0:25:05.254 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.145187", "end": "2023-01-31 15:31:47.234808", "rc": 0, "start": "2023-01-31 15:31:47.089621" } 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:31:48 +0000 (0:00:02.579) 0:25:07.833 ******* 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:31:50 +0000 (0:00:02.337) 0:25:10.170 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:292 Tuesday 31 January 2023 15:31:53 +0000 (0:00:02.759) 0:25:12.930 ******* 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:31:59 +0000 (0:00:06.021) 0:25:18.951 ******* 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:32:04 +0000 (0:00:04.552) 0:25:23.504 ******* 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:32:08 +0000 (0:00:04.733) 0:25:28.238 ******* 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:32:13 +0000 (0:00:04.184) 0:25:32.422 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:30:23 UTC", "ActiveEnterTimestampMonotonic": "2011727696", "ActiveExitTimestamp": "Tue 2023-01-31 15:25:55 UTC", "ActiveExitTimestampMonotonic": "1743286378", "ActiveState": "active", "After": "auditd.service systemd-journald.socket sysinit.target basic.target system.slice network.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:30:23 UTC", "AssertTimestampMonotonic": "2011726361", "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:30:23 UTC", "ConditionTimestampMonotonic": "2011726359", "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": "11663", "ExecMainStartTimestamp": "Tue 2023-01-31 15:30:23 UTC", "ExecMainStartTimestampMonotonic": "2011727625", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-01-31 15:30:23 UTC] ; stop_time=[n/a] ; pid=11663 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "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:25:55 UTC", "InactiveEnterTimestampMonotonic": "1743537097", "InactiveExitTimestamp": "Tue 2023-01-31 15:30:23 UTC", "InactiveExitTimestampMonotonic": "2011727696", "InvocationID": "6685b07bd6854bedbb38f201288bc0f0", "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": "14015", "LimitSIGPENDINGSoft": "14015", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11663", "MemoryAccounting": "yes", "MemoryCurrent": "592633856", "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": "sysinit.target system.slice -.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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:30:23 UTC", "StateChangeTimestampMonotonic": "2011727696", "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": "122", "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:30:23 UTC", "WatchdogTimestampMonotonic": "2011727692", "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:32:19 +0000 (0:00:06.162) 0:25:38.585 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003814", "end": "2023-01-31 15:32:20.336584", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:32:20.332770" } 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:32:23 +0000 (0:00:03.872) 0:25:42.458 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004686", "end": "2023-01-31 15:32:25.406364", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:32:24.401678" } 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:32:27 +0000 (0:00:03.908) 0:25:46.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 [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:32:29 +0000 (0:00:02.767) 0:25:49.134 ******* ok: [sut] => { "changed": false, "elapsed": 3, "gid": 988, "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": 6904, "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:32:35 +0000 (0:00:05.235) 0:25:54.369 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:32:38 +0000 (0:00:03.877) 0:25:58.247 ******* 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:32:41 +0000 (0:00:02.255) 0:26:00.502 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:32:56 +0000 (0:00:15.589) 0:26:16.092 ******* 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:32:59 +0000 (0:00:03.066) 0:26:19.159 ******* 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:33:01 +0000 (0:00:01.723) 0:26:20.883 ******* 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.006575", "end": "2023-01-31 15:33:03.605817", "rc": 0, "start": "2023-01-31 15:33:03.599242" } 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:33:06 +0000 (0:00:04.586) 0:26:25.469 ******* 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:33:08 +0000 (0:00:02.639) 0:26:28.108 ******* 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:33:20 +0000 (0:00:11.558) 0:26:39.667 ******* 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:33:25 +0000 (0:00:05.192) 0:26:44.859 ******* 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:33:30 +0000 (0:00:05.176) 0:26:50.035 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004908", "end": "2023-01-31 15:33:33.010027", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:33:32.005119" } 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:33:34 +0000 (0:00:03.993) 0:26:54.029 ******* 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:33:40 +0000 (0:00:05.732) 0:26:59.761 ******* 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:33:42 +0000 (0:00:01.595) 0:27:01.356 ******* 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:33:45 +0000 (0:00:03.738) 0:27:05.095 ******* 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:33:48 +0000 (0:00:02.470) 0:27:07.565 ******* 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:33:51 +0000 (0:00:03.671) 0:27:11.237 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003445", "end": "2023-01-31 15:33:53.072726", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:33:53.069281" } 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:33:54 +0000 (0:00:02.741) 0:27:13.979 ******* 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:33:57 +0000 (0:00:02.442) 0:27:16.421 ******* 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:34:00 +0000 (0:00:03.141) 0:27:19.562 ******* 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:34:03 +0000 (0:00:03.168) 0:27:22.731 ******* 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:34:06 +0000 (0:00:03.541) 0:27:26.273 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003798", "end": "2023-01-31 15:34:08.009125", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:34:08.005327" } 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:34:09 +0000 (0:00:02.269) 0:27:28.542 ******* 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:34:10 +0000 (0:00:01.446) 0:27:29.988 ******* 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:34:12 +0000 (0:00:01.999) 0:27:31.988 ******* 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:34:17 +0000 (0:00:04.635) 0:27:36.623 ******* 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:34:23 +0000 (0:00:06.190) 0:27:42.814 ******* 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:34:26 +0000 (0:00:03.419) 0:27:46.234 ******* 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:34:30 +0000 (0:00:03.669) 0:27:49.904 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003963", "end": "2023-01-31 15:34:31.631969", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:34:31.628006" } 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:34:33 +0000 (0:00:02.841) 0:27:52.745 ******* 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:34:36 +0000 (0:00:03.205) 0:27:55.951 ******* 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:34:39 +0000 (0:00:02.533) 0:27:58.485 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003503", "end": "2023-01-31 15:34:40.714535", "failed_when_result": false, "rc": 1, "start": "2023-01-31 15:34:40.711032" } 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:34:41 +0000 (0:00:02.529) 0:28:01.015 ******* 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:34:43 +0000 (0:00:01.917) 0:28:02.932 ******* 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:34:46 +0000 (0:00:02.682) 0:28:05.614 ******* 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:34:49 +0000 (0:00:03.643) 0:28:09.258 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003686", "end": "2023-01-31 15:34:51.836430", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:34:51.832744" } 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:34:54 +0000 (0:00:04.134) 0:28:13.392 ******* 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:34:56 +0000 (0:00:02.099) 0:28:15.492 ******* 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:35:00 +0000 (0:00:04.313) 0:28:19.806 ******* 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:35:02 +0000 (0:00:02.487) 0:28:22.293 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004942", "end": "2023-01-31 15:35:06.029633", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:35:05.024691" } 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:35:06 +0000 (0:00:03.652) 0:28:25.946 ******* 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:35:06 +0000 (0:00:00.369) 0:28:26.316 ******* 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:35:07 +0000 (0:00:00.296) 0:28:26.613 ******* 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:35:07 +0000 (0:00:00.263) 0:28:26.876 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Tuesday 31 January 2023 15:35:07 +0000 (0:00:00.290) 0:28:27.166 ******* 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:35:08 +0000 (0:00:00.343) 0:28:27.510 ******* 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:35:08 +0000 (0:00:00.219) 0:28:27.729 ******* 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:35:08 +0000 (0:00:00.275) 0:28:28.005 ******* 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:35:08 +0000 (0:00:00.187) 0:28:28.192 ******* 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:35:09 +0000 (0:00:00.208) 0:28:28.400 ******* 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:35:09 +0000 (0:00:00.101) 0:28:28.502 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print credential caches to check if AD principal exists] *** task path: /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:649 Tuesday 31 January 2023 15:35:09 +0000 (0:00:00.230) 0:28:28.733 ******* 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:35:09 +0000 (0:00:00.100) 0:28:28.834 ******* 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:35:10 +0000 (0:00:00.519) 0:28:29.353 ******* 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:35:10 +0000 (0:00:00.221) 0:28:29.575 ******* 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:35:10 +0000 (0:00:00.351) 0:28:29.926 ******* 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:35:10 +0000 (0:00:00.235) 0:28:30.161 ******* 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:35:11 +0000 (0:00:00.237) 0:28:30.399 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : 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:35:11 +0000 (0:00:00.331) 0:28:30.731 ******* 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:35:11 +0000 (0:00:00.131) 0:28:30.863 ******* 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:35:11 +0000 (0:00:00.094) 0:28:30.957 ******* 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:35:11 +0000 (0:00:00.302) 0:28:31.260 ******* 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:35:12 +0000 (0:00:00.253) 0:28:31.514 ******* 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:35:12 +0000 (0:00:00.216) 0:28:31.730 ******* 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:35:12 +0000 (0:00:00.118) 0:28:31.849 ******* 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:35:12 +0000 (0:00:00.275) 0:28:32.125 ******* 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:35:12 +0000 (0:00:00.185) 0:28:32.310 ******* 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:35:13 +0000 (0:00:00.187) 0:28:32.498 ******* 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:35:13 +0000 (0:00:00.367) 0:28:32.866 ******* 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:35:13 +0000 (0:00:00.396) 0:28:33.262 ******* 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:35:14 +0000 (0:00:00.380) 0:28:33.643 ******* 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:35:14 +0000 (0:00:00.245) 0:28:33.889 ******* 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:35:14 +0000 (0:00:00.258) 0:28:34.147 ******* 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:35:14 +0000 (0:00:00.160) 0:28:34.308 ******* 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:35:15 +0000 (0:00:00.362) 0:28:34.671 ******* 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:35:15 +0000 (0:00:00.268) 0:28:34.939 ******* 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:35:15 +0000 (0:00:00.222) 0:28:35.161 ******* 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:35:16 +0000 (0:00:00.231) 0:28:35.392 ******* 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:35:16 +0000 (0:00:00.190) 0:28:35.583 ******* 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:35:16 +0000 (0:00:00.252) 0:28:35.835 ******* 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:35:16 +0000 (0:00:00.254) 0:28:36.090 ******* 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:35:16 +0000 (0:00:00.225) 0:28:36.315 ******* 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:35:17 +0000 (0:00:00.403) 0:28:36.719 ******* 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:35:17 +0000 (0:00:00.174) 0:28:36.894 ******* 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:35:18 +0000 (0:00:00.652) 0:28:37.546 ******* 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:35:18 +0000 (0:00:00.202) 0:28:37.749 ******* 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:35:18 +0000 (0:00:00.184) 0:28:37.934 ******* 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:35:18 +0000 (0:00:00.233) 0:28:38.167 ******* 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:35:18 +0000 (0:00:00.113) 0:28:38.281 ******* 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:35:19 +0000 (0:00:00.141) 0:28:38.423 ******* 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:35:19 +0000 (0:00:00.228) 0:28:38.651 ******* 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:35:19 +0000 (0:00:00.117) 0:28:38.769 ******* 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:35:19 +0000 (0:00:00.200) 0:28:38.969 ******* 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:35:19 +0000 (0:00:00.247) 0:28:39.217 ******* 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:35:19 +0000 (0:00:00.130) 0:28:39.348 ******* 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:35:20 +0000 (0:00:00.170) 0:28:39.518 ******* 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:35:20 +0000 (0:00:00.802) 0:28:40.321 ******* 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_2017.yml:84 Tuesday 31 January 2023 15:35:21 +0000 (0:00:00.345) 0:28:40.666 ******* 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:35:22 +0000 (0:00:01.323) 0:28:41.990 ******* 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.006911", "end": "2023-01-31 15:35:23.053926", "rc": 0, "start": "2023-01-31 15:35:23.047015" } 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:35:23 +0000 (0:00:00.696) 0:28:42.687 ******* 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.006314", "end": "2023-01-31 15:35:23.637984", "rc": 0, "start": "2023-01-31 15:35:23.631670" } 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:35:24 +0000 (0:00:00.716) 0:28:43.403 ******* 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:35:24 +0000 (0:00:00.481) 0:28:43.885 ******* 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:35:25 +0000 (0:00:00.523) 0:28:44.408 ******* 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:35:25 +0000 (0:00:00.485) 0:28:44.894 ******* 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:35:26 +0000 (0:00:00.634) 0:28:45.529 ******* ok: [sut] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-01-31 15:30:23 UTC", "ActiveEnterTimestampMonotonic": "2011727696", "ActiveExitTimestamp": "Tue 2023-01-31 15:25:55 UTC", "ActiveExitTimestampMonotonic": "1743286378", "ActiveState": "active", "After": "auditd.service systemd-journald.socket sysinit.target basic.target system.slice network.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-01-31 15:30:23 UTC", "AssertTimestampMonotonic": "2011726361", "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:30:23 UTC", "ConditionTimestampMonotonic": "2011726359", "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": "11663", "ExecMainStartTimestamp": "Tue 2023-01-31 15:30:23 UTC", "ExecMainStartTimestampMonotonic": "2011727625", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2023-01-31 15:30:23 UTC] ; stop_time=[n/a] ; pid=11663 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "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:25:55 UTC", "InactiveEnterTimestampMonotonic": "1743537097", "InactiveExitTimestamp": "Tue 2023-01-31 15:30:23 UTC", "InactiveExitTimestampMonotonic": "2011727696", "InvocationID": "6685b07bd6854bedbb38f201288bc0f0", "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": "14015", "LimitSIGPENDINGSoft": "14015", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11663", "MemoryAccounting": "yes", "MemoryCurrent": "636592128", "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": "sysinit.target system.slice -.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": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-01-31 15:30:23 UTC", "StateChangeTimestampMonotonic": "2011727696", "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": "132", "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:30:23 UTC", "WatchdogTimestampMonotonic": "2011727692", "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:35:27 +0000 (0:00:00.898) 0:28:46.427 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004935", "end": "2023-01-31 15:35:27.650749", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:35:27.645814" } 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:35:27 +0000 (0:00:00.779) 0:28:47.207 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005291", "end": "2023-01-31 15:35:28.249537", "failed_when_result": false, "rc": 0, "start": "2023-01-31 15:35:28.244246" } 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:35:28 +0000 (0:00:00.651) 0:28:47.859 ******* 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:35:28 +0000 (0:00:00.340) 0:28:48.199 ******* ok: [sut] => { "changed": false, "elapsed": 3, "gid": 988, "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": 7257, "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:35:32 +0000 (0:00:03.715) 0:28:51.915 ******* 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.027921", "end": "2023-01-31 15:35:33.037051", "rc": 0, "start": "2023-01-31 15:35:33.009130" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31) (KB5016884) - 14.0.3456.2 (X64) Sep 2 2022 11:01:50 Copyright (C) 2017 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:35:33 +0000 (0:00:01.010) 0:28:52.925 ******* 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:35:34 +0000 (0:00:00.597) 0:28:53.522 ******* 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:35:34 +0000 (0:00:00.499) 0:28:54.022 ******* 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:35:35 +0000 (0:00:00.775) 0:28:54.798 ******* ok: [sut] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005189", "end": "2023-01-31 15:35:35.740468", "rc": 0, "start": "2023-01-31 15:35:35.735279" } 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:35:36 +0000 (0:00:00.757) 0:28:55.555 ******* 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:35:36 +0000 (0:00:00.702) 0:28:56.257 ******* 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:35:38 +0000 (0:00:01.863) 0:28:58.121 ******* 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:35:39 +0000 (0:00:00.888) 0:28:59.009 ******* 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:35:42 +0000 (0:00:02.425) 0:29:01.435 ******* 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:35:52 +0000 (0:00:10.022) 0:29:11.457 ******* 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:35:53 +0000 (0:00:01.803) 0:29:13.261 ******* 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:35:55 +0000 (0:00:01.767) 0:29:15.029 ******* 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:36:00 +0000 (0:00:05.080) 0:29:20.109 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [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:36:08 +0000 (0:00:08.086) 0:29:28.196 ******* 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:36:11 +0000 (0:00:02.405) 0:29:30.601 ******* 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:36:12 +0000 (0:00:01.431) 0:29:32.032 ******* 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:36:15 +0000 (0:00:02.878) 0:29:34.911 ******* 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:36:29 +0000 (0:00:13.452) 0:29:48.428 ******* 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:36:30 +0000 (0:00:01.679) 0:29:50.107 ******* 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:36:33 +0000 (0:00:02.926) 0:29:53.034 ******* 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:36:37 +0000 (0:00:03.661) 0:29:56.695 ******* ok: [sut] => { "changed": false, "cmd": "grep '^hadrenabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005507", "end": "2023-01-31 15:36:38.229907", "rc": 0, "start": "2023-01-31 15:36:38.224400" } 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:36:41 +0000 (0:00:04.130) 0:30:00.826 ******* 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:36:43 +0000 (0:00:01.544) 0:30:02.370 ******* 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:36:45 +0000 (0:00:02.588) 0:30:04.959 ******* 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:36:47 +0000 (0:00:01.519) 0:30:06.478 ******* ok: [sut] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005388", "end": "2023-01-31 15:36:48.030469", "rc": 0, "start": "2023-01-31 15:36:48.025081" } 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:36:48 +0000 (0:00:01.840) 0:30:08.318 ******* 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:36:49 +0000 (0:00:01.007) 0:30:09.346 ******* 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:36:54 +0000 (0:00:04.961) 0:30:14.308 ******* 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:36:58 +0000 (0:00:03.846) 0:30:18.154 ******* ok: [sut] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005463", "end": "2023-01-31 15:37:00.366888", "rc": 0, "start": "2023-01-31 15:37:00.361425" } 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:37:02 +0000 (0:00:03.877) 0:30:22.032 ******* 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:37:05 +0000 (0:00:02.384) 0:30:24.416 ******* 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:37:07 +0000 (0:00:02.842) 0:30:27.259 ******* 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:37:10 +0000 (0:00:02.710) 0:30:29.970 ******* 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:37:14 +0000 (0:00:03.594) 0:30:33.565 ******* ok: [sut] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005460", "end": "2023-01-31 15:37:15.139387", "rc": 0, "start": "2023-01-31 15:37:15.133927" } 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:37:17 +0000 (0:00:03.006) 0:30:36.571 ******* 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:37:20 +0000 (0:00:03.187) 0:30:39.758 ******* 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:37:22 +0000 (0:00:01.885) 0:30:41.644 ******* 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:37:24 +0000 (0:00:01.990) 0:30:43.634 ******* 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:37:26 +0000 (0:00:01.735) 0:30:45.370 ******* 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:37:27 +0000 (0:00:01.427) 0:30:46.798 ******* 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:37:32 +0000 (0:00:05.335) 0:30:52.134 ******* 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_2017.yml:97 Tuesday 31 January 2023 15:37:34 +0000 (0:00:01.509) 0:30:53.644 ******* 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:37:38 +0000 (0:00:04.501) 0:30:58.145 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004012", "end": "2023-01-31 15:37:41.986179", "rc": 0, "start": "2023-01-31 15:37:41.982167" } 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=35 unreachable=0 failed=0 skipped=405 rescued=0 ignored=1 Tuesday 31 January 2023 15:37:42 +0000 (0:00:03.568) 0:31:01.713 ******* =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 56.10s /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 --------- 39.92s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:492 Run to edit settings --------------------------------------------------- 31.10s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tests_idempotency_2017.yml:56 linux-system-roles.mssql : Gather package facts ------------------------ 26.82s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:346 linux-system-roles.mssql : Gather package facts ------------------------ 22.20s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 linux-system-roles.mssql : Gather package facts ------------------------ 19.94s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:410 linux-system-roles.mssql : Ensure the package powershell --------------- 17.21s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:499 linux-system-roles.mssql : Change the edition of MSSQL ----------------- 15.84s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:417 linux-system-roles.mssql : Ensure the package mssql-server-ha ---------- 15.72s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:508 linux-system-roles.mssql : Gather package facts ------------------------ 14.95s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:410 linux-system-roles.mssql : Gather system services facts ---------------- 13.49s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:212 linux-system-roles.mssql : Ensure the package powershell --------------- 13.47s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:499 Gather package facts --------------------------------------------------- 13.45s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:7 linux-system-roles.mssql : Change the password of sa user -------------- 13.42s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:355 Gather package facts --------------------------------------------------- 13.31s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:7 linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories -- 12.73s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 linux-system-roles.mssql : Ensure the package mssql-server-ha ---------- 12.28s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:508 Gather package facts --------------------------------------------------- 12.25s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/tasks/verify_package.yml:7 linux-system-roles.mssql : Wait for mssql-server to prepare for client connections -- 12.24s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:325 linux-system-roles.mssql : Gather package facts ------------------------ 11.95s /WORKDIR/dist-git-mssql-ad-integration-idj8gfyw/tests/roles/linux-system-roles.mssql/tasks/main.yml:83 ---^---^---^---^---^--- # 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 ---^---^---^---^---^---