# 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_auto_gateway_nm.yml ******************************************** 2 plays in /WORKDIR/git-skip_initscripts4ug8vvmm/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/tests_auto_gateway_nm.yml:5 Wednesday 20 December 2023 20:27:51 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/tests_auto_gateway_nm.yml:9 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.626) 0:00:00.639 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/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-skip_initscripts4ug8vvmm/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.010) 0:00:00.650 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/tasks/el_repo_setup.yml:19 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.341) 0:00:00.992 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/tasks/el_repo_setup.yml:24 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.250) 0:00:01.242 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/tasks/el_repo_setup.yml:28 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.019) 0:00:01.262 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/tasks/el_repo_setup.yml:53 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.016) 0:00:01.279 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.028) 0:00:01.308 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.009) 0:00:01.317 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.009) 0:00:01.326 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.009) 0:00:01.336 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.009) 0:00:01.345 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/tests_auto_gateway_nm.yml:11 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.008) 0:00:01.354 **** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.010) 0:00:01.364 **** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.508) 0:00:01.873 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.022) 0:00:01.895 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.013) 0:00:01.908 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003115", "end": "2023-12-20 20:27:53.639981", "rc": 0, "start": "2023-12-20 20:27:53.636866" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.236) 0:00:02.144 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.012) 0:00:02.157 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.010) 0:00:02.168 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.030) 0:00:02.198 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.014) 0:00:02.213 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.017) 0:00:02.231 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.012) 0:00:02.243 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.011) 0:00:02.255 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003344", "end": "2023-12-20 20:27:53.938168", "rc": 0, "start": "2023-12-20 20:27:53.934824" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.185) 0:00:02.441 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.013) 0:00:02.454 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.011) 0:00:02.466 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 20:27:55 +0000 (0:00:01.950) 0:00:04.417 **** ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.019967", "end": "2023-12-20 20:27:56.120126", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-20 20:27:56.100159" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003638", "end": "2023-12-20 20:27:56.332682", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-20 20:27:56.329044" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004166", "end": "2023-12-20 20:27:56.512090", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-20 20:27:56.507924" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.599) 0:00:05.017 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.148322", "end": "2023-12-20 20:27:56.844520", "rc": 0, "start": "2023-12-20 20:27:56.696198" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.332) 0:00:05.350 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.011) 0:00:05.361 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.010) 0:00:05.372 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.010) 0:00:05.382 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.010) 0:00:05.393 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.009) 0:00:05.402 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.026) 0:00:05.428 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.040) 0:00:05.468 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104076.1128597, "block_size": 4096, "blocks": 0, "ctime": 1703104076.1128597, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23004, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703104076.1128597, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:27:57 +0000 (0:00:00.184) 0:00:05.652 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 20 December 2023 20:27:57 +0000 (0:00:00.011) 0:00:05.664 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:27:57 +0000 (0:00:00.009) 0:00:05.674 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:27:57 +0000 (0:00:00.065) 0:00:05.739 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:27:57 +0000 (0:00:00.011) 0:00:05.751 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:27:57 +0000 (0:00:00.009) 0:00:05.760 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:27:57 +0000 (0:00:00.009) 0:00:05.770 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:27:58 +0000 (0:00:01.438) 0:00:07.208 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:27:59 +0000 (0:00:01.041) 0:00:08.249 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:27:59 +0000 (0:00:00.022) 0:00:08.272 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:27:59 +0000 (0:00:00.036) 0:00:08.309 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:27:59 +0000 (0:00:00.021) 0:00:08.330 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:27:59 +0000 (0:00:00.041) 0:00:08.372 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:27:59 +0000 (0:00:00.020) 0:00:08.392 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:27:59 +0000 (0:00:00.019) 0:00:08.412 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:27:59 +0000 (0:00:00.024) 0:00:08.437 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:28:00 +0000 (0:00:00.491) 0:00:08.929 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:28:00 +0000 (0:00:00.025) 0:00:08.954 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:28:00 +0000 (0:00:00.019) 0:00:08.974 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:28:00 +0000 (0:00:00.020) 0:00:08.994 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c3f8ca41-3ab7-46d6-9b38-191ba6af1c23 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c3f8ca41-3ab7-46d6-9b38-191ba6af1c23 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:28:01 +0000 (0:00:00.802) 0:00:09.796 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:28:01 +0000 (0:00:00.020) 0:00:09.817 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c3f8ca41-3ab7-46d6-9b38-191ba6af1c23", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c3f8ca41-3ab7-46d6-9b38-191ba6af1c23 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:28:01 +0000 (0:00:00.043) 0:00:09.860 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c3f8ca41-3ab7-46d6-9b38-191ba6af1c23\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c3f8ca41-3ab7-46d6-9b38-191ba6af1c23 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c3f8ca41-3ab7-46d6-9b38-191ba6af1c23", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c3f8ca41-3ab7-46d6-9b38-191ba6af1c23 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:28:01 +0000 (0:00:00.022) 0:00:09.883 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:28:01 +0000 (0:00:00.020) 0:00:09.904 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 20 December 2023 20:28:01 +0000 (0:00:00.241) 0:00:10.145 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:28:01 +0000 (0:00:00.046) 0:00:10.192 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:28:01 +0000 (0:00:00.032) 0:00:10.224 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104076.1128597, "block_size": 4096, "blocks": 0, "ctime": 1703104076.1128597, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23004, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703104076.1128597, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:28:01 +0000 (0:00:00.193) 0:00:10.418 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 20 December 2023 20:28:01 +0000 (0:00:00.022) 0:00:10.440 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.046) 0:00:10.487 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.034) 0:00:10.521 **** 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-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.021) 0:00:10.542 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.217) 0:00:10.760 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.022) 0:00:10.782 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.131321", "end": "2023-12-20 20:28:02.593436", "rc": 0, "start": "2023-12-20 20:28:02.462115" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.325) 0:00:11.108 **** 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-veth0] ************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.024) 0:00:11.132 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.021) 0:00:11.154 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.022) 0:00:11.176 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.023) 0:00:11.199 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.023) 0:00:11.222 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.023) 0:00:11.246 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.023) 0:00:11.269 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.022) 0:00:11.292 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003649", "end": "2023-12-20 20:28:02.974322", "rc": 0, "start": "2023-12-20 20:28:02.970673" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.199 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.199 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 20 December 2023 20:28:03 +0000 (0:00:00.196) 0:00:11.488 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 20 December 2023 20:28:03 +0000 (0:00:00.022) 0:00:11.511 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003494", "end": "2023-12-20 20:28:03.192194", "rc": 0, "start": "2023-12-20 20:28:03.188700" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 20 December 2023 20:28:03 +0000 (0:00:00.194) 0:00:11.705 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 20 December 2023 20:28:03 +0000 (0:00:00.024) 0:00:11.730 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:28:03 +0000 (0:00:00.049) 0:00:11.779 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:28:03 +0000 (0:00:00.037) 0:00:11.816 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:28:03 +0000 (0:00:00.025) 0:00:11.842 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:28:03 +0000 (0:00:00.020) 0:00:11.862 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:28:03 +0000 (0:00:00.020) 0:00:11.883 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:28:04 +0000 (0:00:01.406) 0:00:13.289 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:28:05 +0000 (0:00:00.947) 0:00:14.237 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:28:05 +0000 (0:00:00.027) 0:00:14.265 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:28:05 +0000 (0:00:00.023) 0:00:14.289 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:28:05 +0000 (0:00:00.021) 0:00:14.310 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:28:05 +0000 (0:00:00.041) 0:00:14.352 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:28:05 +0000 (0:00:00.020) 0:00:14.372 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:28:05 +0000 (0:00:00.020) 0:00:14.393 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:28:05 +0000 (0:00:00.023) 0:00:14.416 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:28:06 +0000 (0:00:00.350) 0:00:14.767 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:28:06 +0000 (0:00:00.024) 0:00:14.791 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:28:06 +0000 (0:00:00.020) 0:00:14.811 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:28:06 +0000 (0:00:00.019) 0:00:14.831 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:28:06 +0000 (0:00:00.422) 0:00:15.253 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:28:06 +0000 (0:00:00.058) 0:00:15.312 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:28:06 +0000 (0:00:00.023) 0:00:15.335 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:28:06 +0000 (0:00:00.023) 0:00:15.359 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:28:06 +0000 (0:00:00.021) 0:00:15.380 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 20 December 2023 20:28:07 +0000 (0:00:00.186) 0:00:15.567 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:28:07 +0000 (0:00:00.050) 0:00:15.617 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:28:07 +0000 (0:00:00.020) 0:00:15.638 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:28:07 +0000 (0:00:00.019) 0:00:15.658 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:28:07 +0000 (0:00:00.033) 0:00:15.692 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:28:07 +0000 (0:00:00.032) 0:00:15.724 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004443", "end": "2023-12-20 20:28:08.406666", "rc": 0, "start": "2023-12-20 20:28:07.402223" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:28:08 +0000 (0:00:01.195) 0:00:16.920 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:28:08 +0000 (0:00:00.022) 0:00:16.943 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:28:08 +0000 (0:00:00.021) 0:00:16.965 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 20:28:09 +0000 (0:00:00.863) 0:00:17.829 **** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 20:28:09 +0000 (0:00:00.030) 0:00:17.859 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 20:28:09 +0000 (0:00:00.021) 0:00:17.881 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015534", "end": "2023-12-20 20:28:09.575385", "rc": 0, "start": "2023-12-20 20:28:09.559851" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 20:28:09 +0000 (0:00:00.213) 0:00:18.094 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 20:28:09 +0000 (0:00:00.023) 0:00:18.117 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:28:09 +0000 (0:00:00.021) 0:00:18.139 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 20:28:09 +0000 (0:00:00.022) 0:00:18.161 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 20 December 2023 20:28:09 +0000 (0:00:00.021) 0:00:18.183 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 20 December 2023 20:28:09 +0000 (0:00:00.022) 0:00:18.205 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:28:09 +0000 (0:00:00.087) 0:00:18.293 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:28:09 +0000 (0:00:00.021) 0:00:18.315 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:28:09 +0000 (0:00:00.021) 0:00:18.336 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:28:09 +0000 (0:00:00.033) 0:00:18.370 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:28:09 +0000 (0:00:00.033) 0:00:18.403 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003152", "end": "2023-12-20 20:28:10.084553", "rc": 0, "start": "2023-12-20 20:28:10.081401" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:28:10 +0000 (0:00:00.194) 0:00:18.598 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:28:10 +0000 (0:00:00.022) 0:00:18.621 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:28:10 +0000 (0:00:00.021) 0:00:18.642 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 20:28:11 +0000 (0:00:00.868) 0:00:19.510 **** ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.007456", "end": "2023-12-20 20:28:11.199576", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-20 20:28:11.192120" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003342", "end": "2023-12-20 20:28:11.401041", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-20 20:28:11.397699" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003549", "end": "2023-12-20 20:28:11.579169", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-20 20:28:11.575620" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 20:28:11 +0000 (0:00:00.583) 0:00:20.094 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022407", "end": "2023-12-20 20:28:11.795951", "rc": 0, "start": "2023-12-20 20:28:11.773544" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 20:28:11 +0000 (0:00:00.217) 0:00:20.311 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 20:28:11 +0000 (0:00:00.022) 0:00:20.334 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 20:28:11 +0000 (0:00:00.023) 0:00:20.357 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:28:11 +0000 (0:00:00.021) 0:00:20.379 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 20:28:11 +0000 (0:00:00.021) 0:00:20.400 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:28:11 +0000 (0:00:00.021) 0:00:20.422 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:28:11 +0000 (0:00:00.038) 0:00:20.460 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:28:11 +0000 (0:00:00.025) 0:00:20.485 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:28:12 +0000 (0:00:00.020) 0:00:20.506 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:28:12 +0000 (0:00:00.021) 0:00:20.528 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:28:13 +0000 (0:00:01.367) 0:00:21.895 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:28:14 +0000 (0:00:00.914) 0:00:22.809 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:28:14 +0000 (0:00:00.022) 0:00:22.832 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:28:14 +0000 (0:00:00.020) 0:00:22.852 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:28:14 +0000 (0:00:00.019) 0:00:22.872 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:28:14 +0000 (0:00:00.043) 0:00:22.916 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:28:14 +0000 (0:00:00.020) 0:00:22.937 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:28:14 +0000 (0:00:00.019) 0:00:22.956 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:28:14 +0000 (0:00:00.023) 0:00:22.980 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:28:14 +0000 (0:00:00.373) 0:00:23.354 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:28:14 +0000 (0:00:00.025) 0:00:23.379 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:28:14 +0000 (0:00:00.019) 0:00:23.399 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:28:14 +0000 (0:00:00.020) 0:00:23.420 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, ce5a417f-1f68-44e4-8767-441563f061b3 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ce5a417f-1f68-44e4-8767-441563f061b3 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:28:15 +0000 (0:00:00.391) 0:00:23.811 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:28:15 +0000 (0:00:00.021) 0:00:23.833 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, ce5a417f-1f68-44e4-8767-441563f061b3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ce5a417f-1f68-44e4-8767-441563f061b3 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:28:15 +0000 (0:00:00.023) 0:00:23.856 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, ce5a417f-1f68-44e4-8767-441563f061b3\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ce5a417f-1f68-44e4-8767-441563f061b3 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, ce5a417f-1f68-44e4-8767-441563f061b3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ce5a417f-1f68-44e4-8767-441563f061b3 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:28:15 +0000 (0:00:00.021) 0:00:23.877 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:28:15 +0000 (0:00:00.020) 0:00:23.898 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 20 December 2023 20:28:15 +0000 (0:00:00.188) 0:00:24.087 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:28:15 +0000 (0:00:00.050) 0:00:24.137 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:28:15 +0000 (0:00:00.034) 0:00:24.172 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104091.195808, "block_size": 4096, "blocks": 0, "ctime": 1703104091.195808, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23590, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703104091.195808, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:28:15 +0000 (0:00:00.223) 0:00:24.396 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 20 December 2023 20:28:15 +0000 (0:00:00.024) 0:00:24.420 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 20:28:15 +0000 (0:00:00.050) 0:00:24.471 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:28:16 +0000 (0:00:00.034) 0:00:24.505 **** 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-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:28:16 +0000 (0:00:00.020) 0:00:24.526 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:28:16 +0000 (0:00:00.187) 0:00:24.713 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:28:16 +0000 (0:00:00.020) 0:00:24.734 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021519", "end": "2023-12-20 20:28:16.433109", "rc": 0, "start": "2023-12-20 20:28:16.411590" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:28:16 +0000 (0:00:00.213) 0:00:24.947 **** 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-veth0] ************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:28:16 +0000 (0:00:00.024) 0:00:24.972 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:28:16 +0000 (0:00:00.021) 0:00:24.993 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:28:16 +0000 (0:00:00.021) 0:00:25.015 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:28:16 +0000 (0:00:00.022) 0:00:25.037 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 20:28:16 +0000 (0:00:00.021) 0:00:25.058 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 20:28:16 +0000 (0:00:00.057) 0:00:25.116 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 20:28:16 +0000 (0:00:00.024) 0:00:25.140 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 20 December 2023 20:28:16 +0000 (0:00:00.023) 0:00:25.164 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003379", "end": "2023-12-20 20:28:16.847510", "rc": 0, "start": "2023-12-20 20:28:16.844131" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.199 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.199 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 20 December 2023 20:28:16 +0000 (0:00:00.197) 0:00:25.361 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 20 December 2023 20:28:16 +0000 (0:00:00.024) 0:00:25.386 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003488", "end": "2023-12-20 20:28:17.074399", "rc": 0, "start": "2023-12-20 20:28:17.070911" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 20 December 2023 20:28:17 +0000 (0:00:00.202) 0:00:25.589 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 20 December 2023 20:28:17 +0000 (0:00:00.023) 0:00:25.613 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:28:17 +0000 (0:00:00.021) 0:00:25.634 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:28:17 +0000 (0:00:00.036) 0:00:25.671 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:28:17 +0000 (0:00:00.026) 0:00:25.697 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:28:17 +0000 (0:00:00.020) 0:00:25.717 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:28:17 +0000 (0:00:00.020) 0:00:25.737 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:28:18 +0000 (0:00:01.406) 0:00:27.144 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:28:19 +0000 (0:00:00.913) 0:00:28.057 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:28:19 +0000 (0:00:00.022) 0:00:28.080 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:28:19 +0000 (0:00:00.022) 0:00:28.102 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:28:19 +0000 (0:00:00.022) 0:00:28.125 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:28:19 +0000 (0:00:00.042) 0:00:28.168 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:28:19 +0000 (0:00:00.022) 0:00:28.190 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:28:19 +0000 (0:00:00.023) 0:00:28.213 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:28:19 +0000 (0:00:00.027) 0:00:28.241 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.352) 0:00:28.594 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.024) 0:00:28.619 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.020) 0:00:28.640 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.019) 0:00:28.659 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.417) 0:00:29.077 **** 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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.021) 0:00:29.098 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.021) 0:00:29.119 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "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-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.023) 0:00:29.143 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.019) 0:00:29.162 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.188) 0:00:29.351 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.054) 0:00:29.406 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.030) 0:00:29.437 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.025) 0:00:29.462 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:28:21 +0000 (0:00:00.084) 0:00:29.546 **** included: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:28:21 +0000 (0:00:00.035) 0:00:29.581 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003136", "end": "2023-12-20 20:28:21.263095", "rc": 0, "start": "2023-12-20 20:28:21.259959" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:28:21 +0000 (0:00:00.195) 0:00:29.777 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:28:21 +0000 (0:00:00.022) 0:00:29.800 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:28:21 +0000 (0:00:00.021) 0:00:29.821 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.894) 0:00:30.716 **** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.032) 0:00:30.748 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.021) 0:00:30.770 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.007396", "end": "2023-12-20 20:28:22.460284", "rc": 0, "start": "2023-12-20 20:28:22.452888" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.216) 0:00:30.986 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.024) 0:00:31.010 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.069) 0:00:31.080 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.023) 0:00:31.103 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.009) 0:00:31.112 **** =============================================================================== Install iproute --------------------------------------------------------- 1.95s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gather current interface info ------------------------------------------- 1.20s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.89s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.87s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.86s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.84s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 0.80s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.70s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gathering Facts --------------------------------------------------------- 0.63s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/tests_auto_gateway_nm.yml:5 ------- Create veth interface veth0 --------------------------------------------- 0.60s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:24 Create veth interface veth0 --------------------------------------------- 0.58s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.51s /WORKDIR/git-skip_initscripts4ug8vvmm/tests/playbooks/tests_auto_gateway.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---