# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_accept_eula.yml ************************************************ 2 plays in /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_accept_eula.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_accept_eula.yml:4 Wednesday 06 December 2023 13:35:48 +0000 (0:00:00.013) 0:00:00.013 **** ok: [sut] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Ensure that the role runs when EULA are accepted] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_accept_eula.yml:9 Wednesday 06 December 2023 13:35:48 +0000 (0:00:00.014) 0:00:00.028 **** ok: [sut] META: ran handlers TASK [Run the role with default parameters] ************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_accept_eula.yml:29 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.641) 0:00:00.669 **** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.164) 0:00:00.834 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.010) 0:00:00.845 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.018) 0:00:00.863 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.032) 0:00:00.896 **** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.009) 0:00:00.905 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.017) 0:00:00.923 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.018) 0:00:00.941 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.017) 0:00:00.959 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.019) 0:00:00.978 **** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.021) 0:00:01.000 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.018) 0:00:01.018 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:67 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.021) 0:00:01.040 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:75 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.018) 0:00:01.058 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:84 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.017) 0:00:01.075 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:97 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.017) 0:00:01.093 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:108 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.018) 0:00:01.111 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Wednesday 06 December 2023 13:35:49 +0000 (0:00:00.024) 0:00:01.136 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:121 Wednesday 06 December 2023 13:35:51 +0000 (0:00:01.461) 0:00:02.597 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:130 Wednesday 06 December 2023 13:35:51 +0000 (0:00:00.046) 0:00:02.644 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:137 Wednesday 06 December 2023 13:35:51 +0000 (0:00:00.027) 0:00:02.671 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Wednesday 06 December 2023 13:35:51 +0000 (0:00:00.031) 0:00:02.703 **** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Wednesday 06 December 2023 13:35:51 +0000 (0:00:00.056) 0:00:02.759 **** changed: [sut] => { "attempts": 1, "changed": true } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:172 Wednesday 06 December 2023 13:35:51 +0000 (0:00:00.698) 0:00:03.457 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:182 Wednesday 06 December 2023 13:35:51 +0000 (0:00:00.023) 0:00:03.480 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:193 Wednesday 06 December 2023 13:35:51 +0000 (0:00:00.021) 0:00:03.502 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 Wednesday 06 December 2023 13:35:51 +0000 (0:00:00.021) 0:00:03.524 **** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:214 Wednesday 06 December 2023 13:35:52 +0000 (0:00:00.273) 0:00:03.797 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:222 Wednesday 06 December 2023 13:35:52 +0000 (0:00:00.018) 0:00:03.815 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:227 Wednesday 06 December 2023 13:35:52 +0000 (0:00:00.017) 0:00:03.833 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Wednesday 06 December 2023 13:35:52 +0000 (0:00:00.018) 0:00:03.851 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:245 Wednesday 06 December 2023 13:35:52 +0000 (0:00:00.018) 0:00:03.869 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Wednesday 06 December 2023 13:35:52 +0000 (0:00:00.018) 0:00:03.888 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: libipt-1.6.1-8.el8.x86_64", "Installed: mssql-server-14.0.3465.1-1.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: python2-pip-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Installed: python2-pip-wheel-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Installed: python2-setuptools-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Installed: python2-setuptools-wheel-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Installed: python2-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Installed: gc-7.6.4-3.el8.x86_64", "Installed: gdb-8.2-20.el8.x86_64", "Installed: libatomic-8.5.0-20.el8.x86_64", "Installed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Installed: gcc-gdb-plugin-8.5.0-20.el8.x86_64", "Installed: gdb-headless-8.2-20.el8.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: python2-libs-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Installed: libtool-ltdl-2.4.6-25.el8.x86_64", "Installed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Installed: libbabeltrace-1.5.4-4.el8.x86_64", "Installed: guile-5:2.0.14-7.el8.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 06 December 2023 13:36:40 +0000 (0:00:48.576) 0:00:52.465 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Wednesday 06 December 2023 13:36:40 +0000 (0:00:00.020) 0:00:52.486 **** 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.007983", "end": "2023-12-06 13:36:41.195791", "rc": 0, "start": "2023-12-06 13:36:41.187808" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 06 December 2023 13:36:41 +0000 (0:00:00.297) 0:00:52.783 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:285 Wednesday 06 December 2023 13:36:42 +0000 (0:00:01.745) 0:00:54.529 **** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:294 Wednesday 06 December 2023 13:36:42 +0000 (0:00:00.028) 0:00:54.557 **** fatal: [sut]: FAILED! => { "assertion": "mssql_edition is not none", "changed": false, "evaluated_to": false } MSG: ['You must define the following variables to set up MSSQL:', 'mssql_password', 'mssql_edition'] TASK [Assert that the role failed with variables undefined] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_accept_eula.yml:38 Wednesday 06 December 2023 13:36:43 +0000 (0:00:00.041) 0:00:54.598 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_accept_eula.yml:44 Wednesday 06 December 2023 13:36:43 +0000 (0:00:00.022) 0:00:54.621 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:2 Wednesday 06 December 2023 13:36:43 +0000 (0:00:00.033) 0:00:54.654 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:6 Wednesday 06 December 2023 13:36:44 +0000 (0:00:01.343) 0:00:55.997 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:14 Wednesday 06 December 2023 13:36:44 +0000 (0:00:00.026) 0:00:56.024 **** ok: [sut] => { "ansible_python_version": "3.6.8" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:18 Wednesday 06 December 2023 13:36:44 +0000 (0:00:00.021) 0:00:56.045 **** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 06 December 2023 13:36:44 +0000 (0:00:00.085) 0:00:56.131 **** included: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 06 December 2023 13:36:44 +0000 (0:00:00.037) 0:00:56.168 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Wednesday 06 December 2023 13:36:44 +0000 (0:00:00.026) 0:00:56.194 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Wednesday 06 December 2023 13:36:44 +0000 (0:00:00.268) 0:00:56.462 **** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Wednesday 06 December 2023 13:36:44 +0000 (0:00:00.025) 0:00:56.487 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 06 December 2023 13:36:46 +0000 (0:00:01.298) 0:00:57.786 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 06 December 2023 13:36:46 +0000 (0:00:00.020) 0:00:57.806 **** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 06 December 2023 13:36:46 +0000 (0:00:00.026) 0:00:57.833 **** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service system.slice sysinit.target basic.target dbus.socket dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "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": "yes", "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": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service shutdown.target nftables.service ip6tables.service ebtables.service iptables.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "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": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "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": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "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": "firewalld.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 dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "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": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 06 December 2023 13:36:46 +0000 (0:00:00.506) 0:00:58.340 **** changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice polkit.service basic.target dbus.socket sysinit.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "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": "yes", "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": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ip6tables.service iptables.service nftables.service ebtables.service ipset.service shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "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": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "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": "28562", "LimitNPROCSoft": "28562", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "28562", "LimitSIGPENDINGSoft": "28562", "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": "firewalld.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 dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "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": "45699", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 06 December 2023 13:36:47 +0000 (0:00:01.167) 0:00:59.508 **** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python3", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 06 December 2023 13:36:47 +0000 (0:00:00.026) 0:00:59.534 **** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 01fd12090b256116f23dc2e9bb64a2e7b3c0af919a1dc686580df84563bbd9ef /etc/firewalld/lockdown-whitelist.xml STDERR: Shared connection to 10.31.43.167 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 06 December 2023 13:36:49 +0000 (0:00:01.837) 0:01:01.372 **** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 06 December 2023 13:36:49 +0000 (0:00:00.024) 0:01:01.397 **** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 06 December 2023 13:36:49 +0000 (0:00:00.044) 0:01:01.441 **** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 06 December 2023 13:36:49 +0000 (0:00:00.022) 0:01:01.464 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 06 December 2023 13:36:49 +0000 (0:00:00.024) 0:01:01.488 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 06 December 2023 13:36:49 +0000 (0:00:00.021) 0:01:01.510 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 06 December 2023 13:36:49 +0000 (0:00:00.021) 0:01:01.531 **** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.43.167 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 06 December 2023 13:36:50 +0000 (0:00:00.283) 0:01:01.815 **** changed: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 06 December 2023 13:36:50 +0000 (0:00:00.026) 0:01:01.841 **** skipping: [sut] => {} TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:27 Wednesday 06 December 2023 13:36:50 +0000 (0:00:00.024) 0:01:01.866 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:35 Wednesday 06 December 2023 13:36:50 +0000 (0:00:00.026) 0:01:01.893 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:39 Wednesday 06 December 2023 13:36:50 +0000 (0:00:00.025) 0:01:01.919 **** changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:45 Wednesday 06 December 2023 13:36:50 +0000 (0:00:00.292) 0:01:02.211 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: libtool-ltdl-2.4.6-25.el8.x86_64", "Removed: mssql-server-14.0.3465.1-1.x86_64", "Removed: libatomic-8.5.0-20.el8.x86_64", "Removed: libatomic_ops-7.6.2-3.el8.x86_64", "Removed: libipt-1.6.1-8.el8.x86_64", "Removed: libbabeltrace-1.5.4-4.el8.x86_64", "Removed: python2-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Removed: python2-libs-2.7.18-15.module+el8.9.0+20125+68111a8f.x86_64", "Removed: gc-7.6.4-3.el8.x86_64", "Removed: python2-pip-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Removed: gcc-gdb-plugin-8.5.0-20.el8.x86_64", "Removed: gdb-8.2-20.el8.x86_64", "Removed: gdb-headless-8.2-20.el8.x86_64", "Removed: python2-pip-wheel-9.0.3-19.module+el8.9.0+19487+7dc18407.noarch", "Removed: python2-setuptools-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Removed: python2-setuptools-wheel-39.0.1-13.module+el8.9.0+19487+7dc18407.noarch", "Removed: guile-5:2.0.14-7.el8.x86_64", "Removed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Removed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Removed: bzip2-1.0.6-26.el8.x86_64" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:58 Wednesday 06 December 2023 13:36:54 +0000 (0:00:03.366) 0:01:05.578 **** changed: [sut] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.005066", "end": "2023-12-06 13:36:54.201548", "rc": 0, "start": "2023-12-06 13:36:54.196482" } STDOUT: removed '/var/opt/mssql/mssql.conf' removed directory '/var/opt/mssql' removed directory '/opt/mssql' removed '/etc/yum.repos.d/packages-microsoft-com-mssql-server-2017.repo' TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:72 Wednesday 06 December 2023 13:36:54 +0000 (0:00:00.214) 0:01:05.792 **** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.011264", "end": "2023-12-06 13:36:54.421320", "rc": 0, "start": "2023-12-06 13:36:54.410056" } STDERR: Failed to stop mssql-server.service: Unit mssql-server.service not loaded. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=33 changed=8 unreachable=0 failed=0 skipped=36 rescued=1 ignored=0 Wednesday 06 December 2023 13:36:54 +0000 (0:00:00.204) 0:01:05.997 **** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 48.58s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Remove related packages ------------------------------------------------- 3.37s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:45 --------------- fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 1.84s /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 linux-system-roles.mssql : Gather system services facts ----------------- 1.75s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 linux-system-roles.mssql : Gather package facts ------------------------- 1.46s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:117 Gather package facts ---------------------------------------------------- 1.34s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:2 ---------------- fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.30s /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 1.17s /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories --- 0.70s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:159 Gathering Facts --------------------------------------------------------- 0.64s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_accept_eula.yml:9 ------------ fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.51s /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 linux-system-roles.mssql : Check if the errorlog file exists and its location --- 0.30s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:266 Ensure that yum and dnf caching is enabled ------------------------------ 0.29s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:39 --------------- fedora.linux_system_roles.firewall : Get config files, checksums after --- 0.28s /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017 --- 0.27s /WORKDIR/git-storage-selinuxil2rcgwq/tests/roles/linux-system-roles.mssql/tasks/main.yml:201 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.27s /WORKDIR/git-storage-selinuxil2rcgwq/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Remove related files ---------------------------------------------------- 0.21s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:58 --------------- Stop the mssql-server service ------------------------------------------- 0.21s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:72 --------------- Run the role with default parameters ------------------------------------ 0.16s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tests_accept_eula.yml:29 ----------- Purge firewall configuration -------------------------------------------- 0.09s /WORKDIR/git-storage-selinuxil2rcgwq/tests/tasks/cleanup.yml:18 --------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---