# 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_bridge_nm.yml ************************************************** 10 plays in /WORKDIR/git-route_type4wiwlwuv/tests/tests_bridge_nm.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/tests_bridge_nm.yml:6 Wednesday 10 January 2024 15:51:16 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/tests_bridge_nm.yml:9 Wednesday 10 January 2024 15:51:17 +0000 (0:00:00.698) 0:00:00.710 ***** included: /WORKDIR/git-route_type4wiwlwuv/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/git-route_type4wiwlwuv/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 15:51:17 +0000 (0:00:00.013) 0:00:00.724 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 15:51:17 +0000 (0:00:00.371) 0:00:01.095 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 15:51:17 +0000 (0:00:00.262) 0:00:01.357 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 15:51:17 +0000 (0:00:00.039) 0:00:01.397 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 15:51:17 +0000 (0:00:00.018) 0:00:01.415 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 15:51:17 +0000 (0:00:00.030) 0:00:01.446 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 15:51:18 +0000 (0:00:00.239) 0:00:01.685 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 15:51:18 +0000 (0:00:00.010) 0:00:01.696 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 15:51:18 +0000 (0:00:00.010) 0:00:01.706 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.250461", "end": "2024-01-10 15:51:18.526213", "rc": 0, "start": "2024-01-10 15:51:18.275752" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 15:51:18 +0000 (0:00:00.434) 0:00:02.141 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tests_bridge_nm.yml:11 Wednesday 10 January 2024 15:51:18 +0000 (0:00:00.009) 0:00:02.150 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_bridge.yml:3 Wednesday 10 January 2024 15:51:18 +0000 (0:00:00.008) 0:00:02.159 ***** ok: [sut] META: ran handlers TASK [Set interface=LSR-TST-br31] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_bridge.yml:9 Wednesday 10 January 2024 15:51:19 +0000 (0:00:00.542) 0:00:02.701 ***** ok: [sut] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_bridge.yml:12 Wednesday 10 January 2024 15:51:19 +0000 (0:00:00.010) 0:00:02.712 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:51:19 +0000 (0:00:00.011) 0:00:02.724 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:51:19 +0000 (0:00:00.013) 0:00:02.737 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003100", "end": "2024-01-10 15:51:19.309205", "rc": 0, "start": "2024-01-10 15:51:19.306105" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:51:19 +0000 (0:00:00.185) 0:00:02.923 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:51:19 +0000 (0:00:00.011) 0:00:02.934 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_bridge.yml:14 Wednesday 10 January 2024 15:51:19 +0000 (0:00:00.010) 0:00:02.945 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:51:19 +0000 (0:00:00.013) 0:00:02.959 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:51:19 +0000 (0:00:00.014) 0:00:02.973 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:51:19 +0000 (0:00:00.201) 0:00:03.175 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_bridge.yml:17 Wednesday 10 January 2024 15:51:19 +0000 (0:00:00.016) 0:00:03.192 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:51:20 +0000 (0:00:00.545) 0:00:03.738 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:51:20 +0000 (0:00:00.064) 0:00:03.802 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:51:20 +0000 (0:00:00.011) 0:00:03.813 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:51:20 +0000 (0:00:00.009) 0:00:03.822 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:51:20 +0000 (0:00:00.009) 0:00:03.832 ***** 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.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:51:21 +0000 (0:00:01.601) 0:00:05.433 ***** 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.network : Print network provider] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:51:23 +0000 (0:00:01.441) 0:00:06.875 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:51:23 +0000 (0:00:00.022) 0:00:06.898 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:51:23 +0000 (0:00:00.021) 0:00:06.919 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:51:23 +0000 (0:00:00.029) 0:00:06.949 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:51:23 +0000 (0:00:00.045) 0:00:06.995 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:51:23 +0000 (0:00:00.023) 0:00:07.018 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:51:23 +0000 (0:00:00.023) 0:00:07.042 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:51:23 +0000 (0:00:00.029) 0:00:07.072 ***** 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.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:51:23 +0000 (0:00:00.472) 0:00:07.544 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:51:23 +0000 (0:00:00.025) 0:00:07.569 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:51:23 +0000 (0:00:00.020) 0:00:07.589 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:51:24 +0000 (0:00:00.020) 0:00:07.609 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, b6f5c7bc-7bf7-48b9-ad62-e1fbe220ed2b [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, b6f5c7bc-7bf7-48b9-ad62-e1fbe220ed2b (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:51:24 +0000 (0:00:00.547) 0:00:08.157 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:51:24 +0000 (0:00:00.022) 0:00:08.179 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, b6f5c7bc-7bf7-48b9-ad62-e1fbe220ed2b", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, b6f5c7bc-7bf7-48b9-ad62-e1fbe220ed2b (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:51:24 +0000 (0:00:00.021) 0:00:08.201 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "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, 'LSR-TST-br31': add connection LSR-TST-br31, b6f5c7bc-7bf7-48b9-ad62-e1fbe220ed2b\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, b6f5c7bc-7bf7-48b9-ad62-e1fbe220ed2b (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, b6f5c7bc-7bf7-48b9-ad62-e1fbe220ed2b", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, b6f5c7bc-7bf7-48b9-ad62-e1fbe220ed2b (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:51:24 +0000 (0:00:00.021) 0:00:08.223 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:51:24 +0000 (0:00:00.019) 0:00:08.243 ***** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/run_tasks.yml:3 Wednesday 10 January 2024 15:51:24 +0000 (0:00:00.253) 0:00:08.496 ***** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_device_present.yml'] ********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/run_tasks.yml:6 Wednesday 10 January 2024 15:51:25 +0000 (0:00:00.583) 0:00:09.080 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:51:25 +0000 (0:00:00.034) 0:00:09.115 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:51:25 +0000 (0:00:00.035) 0:00:09.150 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901884.4395406, "block_size": 4096, "blocks": 0, "ctime": 1704901884.4395406, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LSR-TST-br31", "lnk_target": "../../devices/virtual/net/LSR-TST-br31", "mode": "0777", "mtime": 1704901884.4395406, "nlink": 1, "path": "/sys/class/net/LSR-TST-br31", "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 the interface is present - 'LSR-TST-br31'] ******************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:51:25 +0000 (0:00:00.198) 0:00:09.348 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_present.yml] *********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/run_tasks.yml:3 Wednesday 10 January 2024 15:51:25 +0000 (0:00:00.027) 0:00:09.375 ***** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_profile_present.yml'] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/run_tasks.yml:6 Wednesday 10 January 2024 15:51:26 +0000 (0:00:00.588) 0:00:09.964 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:51:26 +0000 (0:00:00.038) 0:00:10.002 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:51:26 +0000 (0:00:00.048) 0:00:10.051 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:51:26 +0000 (0:00:00.039) 0:00:10.090 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901884.5032225, "block_size": 4096, "blocks": 8, "ctime": 1704901884.4372256, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6065222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704901884.4372256, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 250, "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/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:51:26 +0000 (0:00:00.197) 0:00:10.288 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:51:26 +0000 (0:00:00.023) 0:00:10.311 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.020565", "end": "2024-01-10 15:51:26.901613", "rc": 0, "start": "2024-01-10 15:51:26.881048" } STDOUT: LSR-TST-br31 /etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:51:26 +0000 (0:00:00.215) 0:00:10.527 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:51:26 +0000 (0:00:00.034) 0:00:10.562 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:51:26 +0000 (0:00:00.024) 0:00:10.586 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:51:27 +0000 (0:00:00.022) 0:00:10.609 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:51:27 +0000 (0:00:00.023) 0:00:10.632 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'LSR-TST-br31'] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:51:27 +0000 (0:00:00.047) 0:00:10.680 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'LSR-TST-br31'] **** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:51:27 +0000 (0:00:00.025) 0:00:10.705 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in LSR-TST-br31] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:51:27 +0000 (0:00:00.026) 0:00:10.731 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/down_profile.yml:3 Wednesday 10 January 2024 15:51:27 +0000 (0:00:00.028) 0:00:10.760 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:51:27 +0000 (0:00:00.591) 0:00:11.351 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:51:27 +0000 (0:00:00.045) 0:00:11.397 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:51:27 +0000 (0:00:00.027) 0:00:11.424 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:51:27 +0000 (0:00:00.022) 0:00:11.447 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:51:27 +0000 (0:00:00.023) 0:00:11.470 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:51:29 +0000 (0:00:01.535) 0:00:13.006 ***** 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.network : Print network provider] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:51:30 +0000 (0:00:01.299) 0:00:14.305 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:51:30 +0000 (0:00:00.023) 0:00:14.329 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:51:30 +0000 (0:00:00.024) 0:00:14.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:51:30 +0000 (0:00:00.021) 0:00:14.376 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:51:30 +0000 (0:00:00.061) 0:00:14.437 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:51:30 +0000 (0:00:00.031) 0:00:14.468 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:51:30 +0000 (0:00:00.050) 0:00:14.518 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:51:30 +0000 (0:00:00.030) 0:00:14.549 ***** 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.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:51:31 +0000 (0:00:00.349) 0:00:14.899 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:51:31 +0000 (0:00:00.025) 0:00:14.924 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:51:31 +0000 (0:00:00.020) 0:00:14.945 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:51:31 +0000 (0:00:00.020) 0:00:14.966 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:51:31 +0000 (0:00:00.366) 0:00:15.332 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:51:31 +0000 (0:00:00.023) 0:00:15.355 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:51:31 +0000 (0:00:00.023) 0:00:15.379 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:51:31 +0000 (0:00:00.031) 0:00:15.410 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:51:31 +0000 (0:00:00.022) 0:00:15.433 ***** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/down_profile+delete_interface.yml:5 Wednesday 10 January 2024 15:51:32 +0000 (0:00:00.190) 0:00:15.624 ***** ok: [sut] META: ran handlers TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/down_profile+delete_interface.yml:8 Wednesday 10 January 2024 15:51:32 +0000 (0:00:00.580) 0:00:16.205 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 15:51:32 +0000 (0:00:00.034) 0:00:16.240 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.007823", "end": "2024-01-10 15:51:32.815461", "rc": 1, "start": "2024-01-10 15:51:32.807638" } STDERR: Cannot find device "LSR-TST-br31" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/remove_profile.yml:3 Wednesday 10 January 2024 15:51:32 +0000 (0:00:00.205) 0:00:16.445 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:51:33 +0000 (0:00:00.569) 0:00:17.015 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:51:33 +0000 (0:00:00.035) 0:00:17.051 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:51:33 +0000 (0:00:00.025) 0:00:17.076 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:51:33 +0000 (0:00:00.020) 0:00:17.097 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:51:33 +0000 (0:00:00.020) 0:00:17.118 ***** 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.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:51:35 +0000 (0:00:01.519) 0:00:18.638 ***** 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.network : Print network provider] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:51:36 +0000 (0:00:01.292) 0:00:19.930 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:51:36 +0000 (0:00:00.022) 0:00:19.952 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:51:36 +0000 (0:00:00.020) 0:00:19.973 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:51:36 +0000 (0:00:00.020) 0:00:19.993 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:51:36 +0000 (0:00:00.060) 0:00:20.054 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:51:36 +0000 (0:00:00.020) 0:00:20.075 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:51:36 +0000 (0:00:00.021) 0:00:20.096 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:51:36 +0000 (0:00:00.026) 0:00:20.122 ***** 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.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:51:36 +0000 (0:00:00.352) 0:00:20.475 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:51:36 +0000 (0:00:00.027) 0:00:20.503 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:51:36 +0000 (0:00:00.026) 0:00:20.529 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:51:36 +0000 (0:00:00.023) 0:00:20.552 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:51:37 +0000 (0:00:00.357) 0:00:20.909 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:51:37 +0000 (0:00:00.023) 0:00:20.932 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:51:37 +0000 (0:00:00.022) 0:00:20.955 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:51:37 +0000 (0:00:00.023) 0:00:20.978 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:51:37 +0000 (0:00:00.020) 0:00:20.999 ***** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/run_tasks.yml:3 Wednesday 10 January 2024 15:51:37 +0000 (0:00:00.192) 0:00:21.192 ***** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_profile_absent.yml'] ********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/run_tasks.yml:6 Wednesday 10 January 2024 15:51:38 +0000 (0:00:00.614) 0:00:21.806 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:51:38 +0000 (0:00:00.043) 0:00:21.849 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:51:38 +0000 (0:00:00.039) 0:00:21.889 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:51:38 +0000 (0:00:00.022) 0:00:21.912 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:51:38 +0000 (0:00:00.197) 0:00:22.109 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:51:38 +0000 (0:00:00.023) 0:00:22.132 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.019081", "end": "2024-01-10 15:51:38.721110", "rc": 1, "start": "2024-01-10 15:51:38.702029" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:51:38 +0000 (0:00:00.212) 0:00:22.345 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:51:38 +0000 (0:00:00.023) 0:00:22.368 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:51:38 +0000 (0:00:00.021) 0:00:22.390 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:51:38 +0000 (0:00:00.021) 0:00:22.412 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:51:38 +0000 (0:00:00.041) 0:00:22.454 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'LSR-TST-br31'] ********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:51:38 +0000 (0:00:00.022) 0:00:22.476 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_absent.yml] ************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/run_tasks.yml:3 Wednesday 10 January 2024 15:51:38 +0000 (0:00:00.025) 0:00:22.502 ***** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_device_absent.yml'] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/run_tasks.yml:6 Wednesday 10 January 2024 15:51:39 +0000 (0:00:00.569) 0:00:23.071 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:51:39 +0000 (0:00:00.034) 0:00:23.105 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:51:39 +0000 (0:00:00.034) 0:00:23.140 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:51:39 +0000 (0:00:00.194) 0:00:23.334 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=81 changed=3 unreachable=0 failed=0 skipped=56 rescued=0 ignored=2 Wednesday 10 January 2024 15:51:39 +0000 (0:00:00.010) 0:00:23.345 ***** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.44s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.30s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.29s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-route_type4wiwlwuv/tests/tests_bridge_nm.yml:6 ------------------- Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/run_tasks.yml:3 --------------- Gathering Facts --------------------------------------------------------- 0.59s /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/down_profile.yml:3 ------------ Gathering Facts --------------------------------------------------------- 0.59s /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/run_tasks.yml:3 --------------- Gathering Facts --------------------------------------------------------- 0.58s /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/run_tasks.yml:3 --------------- Gathering Facts --------------------------------------------------------- 0.58s /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 0.57s /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/remove_profile.yml:3 ---------- Gathering Facts --------------------------------------------------------- 0.57s /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/run_tasks.yml:3 --------------- linux-system-roles.network : Configure networking connection profiles --- 0.55s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.55s /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_bridge.yml:17 ----------- Gathering Facts --------------------------------------------------------- 0.54s /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_bridge.yml:3 ------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.47s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Enable EPEL 8 ----------------------------------------------------------- 0.43s /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml:35 ---------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.37s /WORKDIR/git-route_type4wiwlwuv/tests/tasks/el_repo_setup.yml:3 --------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---