# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.13.6] 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.13/lib/python3.8/site-packages/ansible ansible collection location = /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection executable location = /opt/ansible-2.13/bin/ansible-playbook python version = 3.8.13 (default, Jun 24 2022, 15:27:57) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_reapply_nm.yml ************************************************* 2 plays in /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_reapply_nm.yml PLAY [Run playbook 'playbooks/tests_reapply.yml' with nm as provider] ********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_reapply_nm.yml:5 Monday 16 January 2023 06:29:09 +0000 (0:00:00.397) 0:00:00.397 ******** ok: [sut] META: ran handlers TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_reapply_nm.yml:8 Monday 16 January 2023 06:29:20 +0000 (0:00:10.882) 0:00:11.279 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml:2 Monday 16 January 2023 06:29:21 +0000 (0:00:00.853) 0:00:12.133 ******** ok: [sut] TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml:13 Monday 16 January 2023 06:29:23 +0000 (0:00:02.175) 0:00:14.308 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml:38 Monday 16 January 2023 06:29:24 +0000 (0:00:00.973) 0:00:15.282 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:4 Monday 16 January 2023 06:29:25 +0000 (0:00:00.802) 0:00:16.085 ******** changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:00.768021", "end": "2023-01-16 06:29:31.315985", "rc": 0, "start": "2023-01-16 06:29:30.547964" } STDOUT: Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Verifying packages... Preparing packages... epel-release-8-18.el8.noarch Many EPEL packages require the CodeReady Builder (CRB) repository. It is recommended that you run /usr/bin/crb enable to enable the CRB repository. TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:19 Monday 16 January 2023 06:29:31 +0000 (0:00:06.327) 0:00:22.412 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:23 Monday 16 January 2023 06:29:32 +0000 (0:00:00.641) 0:00:23.054 ******** changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.554174", "end": "2023-01-16 06:29:35.997046", "rc": 0, "start": "2023-01-16 06:29:34.442872" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:30 Monday 16 January 2023 06:29:36 +0000 (0:00:03.710) 0:00:26.764 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_reapply_nm.yml:9 Monday 16 January 2023 06:29:36 +0000 (0:00:00.618) 0:00:27.382 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_reapply.yml:7 Monday 16 January 2023 06:29:38 +0000 (0:00:01.448) 0:00:28.831 ******** ok: [sut] TASK [Show test banner] ******************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_reapply.yml:13 Monday 16 January 2023 06:29:41 +0000 (0:00:03.084) 0:00:31.915 ******** ok: [sut] => {} MSG: Inside states tests TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_reapply.yml:16 Monday 16 January 2023 06:29:42 +0000 (0:00:00.754) 0:00:32.670 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/show_interfaces.yml:3 Monday 16 January 2023 06:29:42 +0000 (0:00:00.823) 0:00:33.493 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 16 January 2023 06:29:44 +0000 (0:00:01.145) 0:00:34.638 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004046", "end": "2023-01-16 06:29:45.151538", "rc": 0, "start": "2023-01-16 06:29:45.147492" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 16 January 2023 06:29:45 +0000 (0:00:01.552) 0:00:36.190 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/show_interfaces.yml:4 Monday 16 January 2023 06:29:46 +0000 (0:00:01.005) 0:00:37.196 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_reapply.yml:17 Monday 16 January 2023 06:29:47 +0000 (0:00:00.591) 0:00:37.787 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 16 January 2023 06:29:48 +0000 (0:00:01.067) 0:00:38.855 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface rpltstbr] ***************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 16 January 2023 06:29:49 +0000 (0:00:00.895) 0:00:39.750 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface rpltstbr is absent] ******************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_absent.yml:4 Monday 16 January 2023 06:29:55 +0000 (0:00:06.480) 0:00:46.231 ******** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 16 January 2023 06:29:58 +0000 (0:00:02.325) 0:00:48.556 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 16 January 2023 06:29:59 +0000 (0:00:01.413) 0:00:49.969 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Monday 16 January 2023 06:30:01 +0000 (0:00:01.955) 0:00:51.925 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Monday 16 January 2023 06:30:07 +0000 (0:00:06.353) 0:00:58.279 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 16 January 2023 06:30:10 +0000 (0:00:02.969) 0:01:01.248 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 16 January 2023 06:30:10 +0000 (0:00:00.169) 0:01:01.417 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 16 January 2023 06:30:11 +0000 (0:00:00.144) 0:01:01.562 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 16 January 2023 06:30:11 +0000 (0:00:00.143) 0:01:01.705 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 16 January 2023 06:30:11 +0000 (0:00:00.156) 0:01:01.862 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 16 January 2023 06:30:11 +0000 (0:00:00.116) 0:01:01.978 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 16 January 2023 06:30:11 +0000 (0:00:00.234) 0:01:02.213 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 16 January 2023 06:30:11 +0000 (0:00:00.133) 0:01:02.346 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 16 January 2023 06:30:13 +0000 (0:00:01.328) 0:01:03.675 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 16 January 2023 06:30:13 +0000 (0:00:00.132) 0:01:03.807 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 16 January 2023 06:30:13 +0000 (0:00:00.110) 0:01:03.918 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 16 January 2023 06:30:13 +0000 (0:00:00.090) 0:01:04.009 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 16 January 2023 06:30:14 +0000 (0:00:00.993) 0:01:05.003 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 16 January 2023 06:30:14 +0000 (0:00:00.116) 0:01:05.119 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 16 January 2023 06:30:14 +0000 (0:00:00.092) 0:01:05.212 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 16 January 2023 06:30:14 +0000 (0:00:00.170) 0:01:05.383 ******** skipping: [sut] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 16 January 2023 06:30:14 +0000 (0:00:00.121) 0:01:05.504 ******** ok: [sut] => { "changed": false, "ping": "pong" } META: role_complete for sut TASK [Include network role] **************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_reapply.yml:23 Monday 16 January 2023 06:30:15 +0000 (0:00:00.663) 0:01:06.168 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 16 January 2023 06:30:15 +0000 (0:00:00.115) 0:01:06.284 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 16 January 2023 06:30:15 +0000 (0:00:00.164) 0:01:06.448 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Monday 16 January 2023 06:30:16 +0000 (0:00:00.672) 0:01:07.121 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Monday 16 January 2023 06:30:18 +0000 (0:00:02.084) 0:01:09.205 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 16 January 2023 06:30:20 +0000 (0:00:01.630) 0:01:10.835 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 16 January 2023 06:30:20 +0000 (0:00:00.135) 0:01:10.970 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 16 January 2023 06:30:20 +0000 (0:00:00.069) 0:01:11.044 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 16 January 2023 06:30:20 +0000 (0:00:00.077) 0:01:11.122 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 16 January 2023 06:30:20 +0000 (0:00:00.148) 0:01:11.271 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 16 January 2023 06:30:20 +0000 (0:00:00.084) 0:01:11.356 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 16 January 2023 06:30:20 +0000 (0:00:00.126) 0:01:11.483 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 16 January 2023 06:30:21 +0000 (0:00:00.124) 0:01:11.607 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 16 January 2023 06:30:21 +0000 (0:00:00.663) 0:01:12.271 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 16 January 2023 06:30:21 +0000 (0:00:00.083) 0:01:12.354 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 16 January 2023 06:30:21 +0000 (0:00:00.079) 0:01:12.433 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 16 January 2023 06:30:21 +0000 (0:00:00.075) 0:01:12.509 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, e328a618-fb22-4a4f-bb89-44e0fd8cbbd0 [004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, e328a618-fb22-4a4f-bb89-44e0fd8cbbd0 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 16 January 2023 06:30:22 +0000 (0:00:00.794) 0:01:13.304 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 16 January 2023 06:30:22 +0000 (0:00:00.082) 0:01:13.386 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, e328a618-fb22-4a4f-bb89-44e0fd8cbbd0", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, e328a618-fb22-4a4f-bb89-44e0fd8cbbd0 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 16 January 2023 06:30:22 +0000 (0:00:00.111) 0:01:13.498 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, e328a618-fb22-4a4f-bb89-44e0fd8cbbd0\n[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, e328a618-fb22-4a4f-bb89-44e0fd8cbbd0 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, e328a618-fb22-4a4f-bb89-44e0fd8cbbd0", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, e328a618-fb22-4a4f-bb89-44e0fd8cbbd0 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 16 January 2023 06:30:23 +0000 (0:00:00.108) 0:01:13.606 ******** skipping: [sut] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 16 January 2023 06:30:23 +0000 (0:00:00.066) 0:01:13.672 ******** ok: [sut] => { "changed": false, "ping": "pong" } META: role_complete for sut TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_reapply.yml:34 Monday 16 January 2023 06:30:23 +0000 (0:00:00.307) 0:01:13.980 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml for sut TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml:3 Monday 16 January 2023 06:30:23 +0000 (0:00:00.084) 0:01:14.065 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface rpltstbr] ***************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 16 January 2023 06:30:23 +0000 (0:00:00.102) 0:01:14.167 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1673850622.5781837, "block_size": 4096, "blocks": 0, "ctime": 1673850622.5781837, "dev": 20, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21878, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/rpltstbr", "lnk_target": "../../devices/virtual/net/rpltstbr", "mode": "0777", "mtime": 1673850622.5781837, "nlink": 1, "path": "/sys/class/net/rpltstbr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface rpltstbr is present] ******************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml:4 Monday 16 January 2023 06:30:23 +0000 (0:00:00.324) 0:01:14.492 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_reapply.yml:35 Monday 16 January 2023 06:30:24 +0000 (0:00:00.134) 0:01:14.627 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 16 January 2023 06:30:24 +0000 (0:00:00.129) 0:01:14.756 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 16 January 2023 06:30:24 +0000 (0:00:00.157) 0:01:14.913 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:8 Monday 16 January 2023 06:30:24 +0000 (0:00:00.185) 0:01:15.099 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1673850622.682037, "block_size": 4096, "blocks": 8, "ctime": 1673850622.4710348, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 297, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1673850622.4710348, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-rpltstbr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 223, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:16 Monday 16 January 2023 06:30:24 +0000 (0:00:00.324) 0:01:15.424 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:24 Monday 16 January 2023 06:30:24 +0000 (0:00:00.055) 0:01:15.480 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep rpltstbr | grep /etc", "delta": "0:00:00.068316", "end": "2023-01-16 06:30:25.217243", "rc": 0, "start": "2023-01-16 06:30:25.148927" } STDOUT: rpltstbr /etc/sysconfig/network-scripts/ifcfg-rpltstbr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:33 Monday 16 January 2023 06:30:25 +0000 (0:00:00.349) 0:01:15.830 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-rpltstbr] *********************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:43 Monday 16 January 2023 06:30:25 +0000 (0:00:00.073) 0:01:15.903 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-rpltstbr] ******************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 16 January 2023 06:30:25 +0000 (0:00:00.070) 0:01:15.974 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'rpltstbr' is present] ******************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:4 Monday 16 January 2023 06:30:25 +0000 (0:00:00.065) 0:01:16.040 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'rpltstbr' is present] ************ task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:9 Monday 16 January 2023 06:30:25 +0000 (0:00:00.066) 0:01:16.106 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get network_connections output] ****************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_reapply.yml:37 Monday 16 January 2023 06:30:25 +0000 (0:00:00.073) 0:01:16.179 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ip": { "address": [ "192.0.2.72/31" ], "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, e328a618-fb22-4a4f-bb89-44e0fd8cbbd0 [004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, e328a618-fb22-4a4f-bb89-44e0fd8cbbd0 (is-modified) [005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied TASK [Show test_module_run] **************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_reapply.yml:52 Monday 16 January 2023 06:30:26 +0000 (0:00:00.409) 0:01:16.589 ******** ok: [sut] => { "test_module_run": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ip": { "address": [ "192.0.2.72/31" ], "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, e328a618-fb22-4a4f-bb89-44e0fd8cbbd0\n[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, e328a618-fb22-4a4f-bb89-44e0fd8cbbd0 (is-modified)\n[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, e328a618-fb22-4a4f-bb89-44e0fd8cbbd0", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, e328a618-fb22-4a4f-bb89-44e0fd8cbbd0 (is-modified)", "[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied" ] } } TASK [Assert that reapply is found in log output] ****************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_reapply.yml:55 Monday 16 January 2023 06:30:26 +0000 (0:00:00.054) 0:01:16.643 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network_connections] *************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_reapply.yml:62 Monday 16 January 2023 06:30:26 +0000 (0:00:00.056) 0:01:16.700 ******** fatal: [sut]: FAILED! => { "changed": false } MSG: missing required arguments: __header ...ignoring TASK [command] ***************************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_reapply.yml:68 Monday 16 January 2023 06:30:26 +0000 (0:00:00.334) 0:01:17.035 ******** changed: [sut] => { "changed": true, "cmd": [ "ip", "link", "del", "rpltstbr" ], "delta": "0:00:00.024614", "end": "2023-01-16 06:30:26.760813", "rc": 0, "start": "2023-01-16 06:30:26.736199" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=56 changed=5 unreachable=0 failed=0 skipped=27 rescued=0 ignored=1 Monday 16 January 2023 06:30:26 +0000 (0:00:00.400) 0:01:17.435 ******** =============================================================================== Gathering Facts -------------------------------------------------------- 10.88s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_reapply_nm.yml:5 --- Get stat for interface rpltstbr ----------------------------------------- 6.48s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 6.35s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create EPEL 8 ----------------------------------------------------------- 6.33s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:4 -- Enable EPEL 8 ----------------------------------------------------------- 3.71s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:23 - Gathering Facts --------------------------------------------------------- 3.08s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_reapply.yml:7 fedora.linux_system_roles.network : Check which packages are installed --- 2.97s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 assert that interface rpltstbr is absent -------------------------------- 2.33s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_absent.yml:4 Gather the minimum subset of ansible_facts required by the network role test --- 2.18s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml:2 fedora.linux_system_roles.network : Check which services are running ---- 2.08s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 1.96s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gather current interface info ------------------------------------------- 1.55s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml:3 Set network provider to 'nm' -------------------------------------------- 1.45s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_reapply_nm.yml:9 --- fedora.linux_system_roles.network : Ensure ansible_facts used by role --- 1.41s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.33s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 include_tasks ----------------------------------------------------------- 1.15s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/show_interfaces.yml:3 include_tasks ----------------------------------------------------------- 1.07s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_reapply.yml:17 Set current_interfaces -------------------------------------------------- 1.01s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.99s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---