# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-bond_options_rewritez0l93qiz/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /WORKDIR/git-bond_options_rewritez0l93qiz/tests/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/tests_auto_gateway_initscripts.yml:5 Friday 02 February 2024 19:19:39 +0000 (0:00:00.015) 0:00:00.015 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/tests_auto_gateway_initscripts.yml:8 Friday 02 February 2024 19:19:40 +0000 (0:00:00.842) 0:00:00.858 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/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-bond_options_rewritez0l93qiz/tests/tasks/el_repo_setup.yml:3 Friday 02 February 2024 19:19:40 +0000 (0:00:00.013) 0:00:00.872 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/tasks/el_repo_setup.yml:17 Friday 02 February 2024 19:19:41 +0000 (0:00:00.424) 0:00:01.296 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/tasks/el_repo_setup.yml:22 Friday 02 February 2024 19:19:41 +0000 (0:00:00.286) 0:00:01.583 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/tasks/el_repo_setup.yml:26 Friday 02 February 2024 19:19:41 +0000 (0:00:00.016) 0:00:01.600 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/tasks/el_repo_setup.yml:51 Friday 02 February 2024 19:19:41 +0000 (0:00:00.009) 0:00:01.609 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/tasks/enable_epel.yml:8 Friday 02 February 2024 19:19:41 +0000 (0:00:00.025) 0:00:01.635 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/tasks/enable_epel.yml:24 Friday 02 February 2024 19:19:41 +0000 (0:00:00.274) 0:00:01.909 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/tasks/enable_epel.yml:30 Friday 02 February 2024 19:19:41 +0000 (0:00:00.011) 0:00:01.920 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/tasks/enable_epel.yml:35 Friday 02 February 2024 19:19:41 +0000 (0:00:00.010) 0:00:01.931 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.250350", "end": "2024-02-02 19:19:42.082909", "rc": 0, "start": "2024-02-02 19:19:41.832559" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/tasks/enable_epel.yml:40 Friday 02 February 2024 19:19:42 +0000 (0:00:00.447) 0:00:02.378 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/tests_auto_gateway_initscripts.yml:10 Friday 02 February 2024 19:19:42 +0000 (0:00:00.013) 0:00:02.392 ******* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:3 Friday 02 February 2024 19:19:42 +0000 (0:00:00.022) 0:00:02.414 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:9 Friday 02 February 2024 19:19:42 +0000 (0:00:00.635) 0:00:03.050 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 19:19:42 +0000 (0:00:00.046) 0:00:03.096 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 19:19:42 +0000 (0:00:00.023) 0:00:03.120 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003669", "end": "2024-02-02 19:19:43.037099", "rc": 0, "start": "2024-02-02 19:19:43.033430" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 19:19:43 +0000 (0:00:00.210) 0:00:03.330 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 19:19:43 +0000 (0:00:00.023) 0:00:03.354 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:11 Friday 02 February 2024 19:19:43 +0000 (0:00:00.022) 0:00:03.376 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 02 February 2024 19:19:43 +0000 (0:00:00.041) 0:00:03.418 ******* skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 02 February 2024 19:19:43 +0000 (0:00:00.020) 0:00:03.438 ******* skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 02 February 2024 19:19:43 +0000 (0:00:00.021) 0:00:03.460 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 19:19:43 +0000 (0:00:00.026) 0:00:03.486 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 19:19:43 +0000 (0:00:00.025) 0:00:03.512 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003770", "end": "2024-02-02 19:19:43.425276", "rc": 0, "start": "2024-02-02 19:19:43.421506" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 19:19:43 +0000 (0:00:00.207) 0:00:03.719 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 19:19:43 +0000 (0:00:00.022) 0:00:03.742 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 02 February 2024 19:19:43 +0000 (0:00:00.026) 0:00:03.768 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 02 February 2024 19:19:46 +0000 (0:00:02.928) 0:00:06.697 ******* 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.013026", "end": "2024-02-02 19:19:46.639492", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-02 19:19:46.626466" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004631", "end": "2024-02-02 19:19:46.881777", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-02 19:19:46.877146" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004797", "end": "2024-02-02 19:19:47.074695", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-02 19:19:47.069898" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 02 February 2024 19:19:47 +0000 (0:00:00.675) 0:00:07.373 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.126144", "end": "2024-02-02 19:19:47.410634", "rc": 0, "start": "2024-02-02 19:19:47.284490" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 02 February 2024 19:19:47 +0000 (0:00:00.334) 0:00:07.707 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 02 February 2024 19:19:47 +0000 (0:00:00.023) 0:00:07.730 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 02 February 2024 19:19:47 +0000 (0:00:00.026) 0:00:07.756 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 02 February 2024 19:19:47 +0000 (0:00:00.028) 0:00:07.785 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 02 February 2024 19:19:47 +0000 (0:00:00.025) 0:00:07.810 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:15 Friday 02 February 2024 19:19:47 +0000 (0:00:00.030) 0:00:07.841 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_device_present.yml:3 Friday 02 February 2024 19:19:47 +0000 (0:00:00.050) 0:00:07.891 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 19:19:47 +0000 (0:00:00.026) 0:00:07.918 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706901586.637949, "block_size": 4096, "blocks": 0, "ctime": 1706901586.637949, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21587, "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": 1706901586.637949, "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-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_device_present.yml:5 Friday 02 February 2024 19:19:47 +0000 (0:00:00.210) 0:00:08.128 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:17 Friday 02 February 2024 19:19:47 +0000 (0:00:00.025) 0:00:08.153 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 19:19:47 +0000 (0:00:00.025) 0:00:08.179 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 19:19:47 +0000 (0:00:00.040) 0:00:08.219 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 19:19:47 +0000 (0:00:00.026) 0:00:08.246 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 19:19:48 +0000 (0:00:00.030) 0:00:08.276 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 19:19:48 +0000 (0:00:00.026) 0:00:08.303 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 19:19:49 +0000 (0:00:01.677) 0:00:09.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 [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 19:19:51 +0000 (0:00:01.628) 0:00:11.609 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 19:19:51 +0000 (0:00:00.037) 0:00:11.646 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 19:19:51 +0000 (0:00:00.036) 0:00:11.683 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 19:19:51 +0000 (0:00:00.038) 0:00:11.721 ******* changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 19:20:00 +0000 (0:00:09.181) 0:00:20.903 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 19:20:00 +0000 (0:00:00.037) 0:00:20.940 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 19:20:00 +0000 (0:00:00.037) 0:00:20.978 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 19:20:00 +0000 (0:00:00.091) 0:00:21.070 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 19:20:00 +0000 (0:00:00.037) 0:00:21.107 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 19:20:00 +0000 (0:00:00.043) 0:00:21.150 ******* changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 19:20:01 +0000 (0:00:00.962) 0:00:22.112 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-235296f8q7ea/tmpeu0jz6gg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 19:20:02 +0000 (0:00:00.340) 0:00:22.453 ******* 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 19:20:08 +0000 (0:00:06.805) 0:00:29.258 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 19:20:09 +0000 (0:00:00.037) 0:00:29.295 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 19:20:09 +0000 (0:00:00.042) 0:00:29.338 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 19:20:09 +0000 (0:00:00.043) 0:00:29.381 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 19:20:09 +0000 (0:00:00.052) 0:00:29.433 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:42 Friday 02 February 2024 19:20:09 +0000 (0:00:00.381) 0:00:29.815 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_device_present.yml:3 Friday 02 February 2024 19:20:09 +0000 (0:00:00.075) 0:00:29.891 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 19:20:09 +0000 (0:00:00.055) 0:00:29.946 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706901586.637949, "block_size": 4096, "blocks": 0, "ctime": 1706901586.637949, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21587, "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": 1706901586.637949, "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-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_device_present.yml:5 Friday 02 February 2024 19:20:09 +0000 (0:00:00.236) 0:00:30.183 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:44 Friday 02 February 2024 19:20:09 +0000 (0:00:00.084) 0:00:30.267 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 02 February 2024 19:20:10 +0000 (0:00:00.073) 0:00:30.341 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 02 February 2024 19:20:10 +0000 (0:00:00.065) 0:00:30.407 ******* 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-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 02 February 2024 19:20:10 +0000 (0:00:00.044) 0:00:30.452 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706901602.643739, "block_size": 4096, "blocks": 8, "ctime": 1706901602.6227398, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706901602.6227398, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 02 February 2024 19:20:10 +0000 (0:00:00.220) 0:00:30.672 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 02 February 2024 19:20:10 +0000 (0:00:00.036) 0:00:30.709 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021945", "end": "2024-02-02 19:20:10.643298", "rc": 1, "start": "2024-02-02 19:20:10.621353" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 02 February 2024 19:20:10 +0000 (0:00:00.241) 0:00:30.950 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 02 February 2024 19:20:10 +0000 (0:00:00.042) 0:00:30.993 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003644", "end": "2024-02-02 19:20:10.918921", "rc": 0, "start": "2024-02-02 19:20:10.915277" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 02 February 2024 19:20:10 +0000 (0:00:00.234) 0:00:31.227 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 02 February 2024 19:20:10 +0000 (0:00:00.040) 0:00:31.268 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003709", "end": "2024-02-02 19:20:11.190970", "rc": 0, "start": "2024-02-02 19:20:11.187261" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 02 February 2024 19:20:11 +0000 (0:00:00.231) 0:00:31.500 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 02 February 2024 19:20:11 +0000 (0:00:00.039) 0:00:31.539 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 02 February 2024 19:20:11 +0000 (0:00:00.036) 0:00:31.576 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 02 February 2024 19:20:11 +0000 (0:00:00.038) 0:00:31.614 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:48 Friday 02 February 2024 19:20:11 +0000 (0:00:00.039) 0:00:31.653 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004129", "end": "2024-02-02 19:20:11.571505", "rc": 0, "start": "2024-02-02 19:20:11.567376" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.42 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.42 metric 100 169.254.0.0/16 dev veth0 scope link metric 1004 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:52 Friday 02 February 2024 19:20:11 +0000 (0:00:00.237) 0:00:31.890 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:58 Friday 02 February 2024 19:20:11 +0000 (0:00:00.050) 0:00:31.940 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004249", "end": "2024-02-02 19:20:11.898367", "rc": 0, "start": "2024-02-02 19:20:11.894118" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 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 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:62 Friday 02 February 2024 19:20:11 +0000 (0:00:00.298) 0:00:32.238 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:69 Friday 02 February 2024 19:20:11 +0000 (0:00:00.033) 0:00:32.272 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 19:20:12 +0000 (0:00:00.035) 0:00:32.307 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 19:20:12 +0000 (0:00:00.057) 0:00:32.365 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 19:20:12 +0000 (0:00:00.045) 0:00:32.411 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 19:20:12 +0000 (0:00:00.042) 0:00:32.453 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 19:20:12 +0000 (0:00:00.045) 0:00:32.498 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 19:20:13 +0000 (0:00:01.650) 0:00:34.149 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 19:20:15 +0000 (0:00:01.364) 0:00:35.513 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 19:20:15 +0000 (0:00:00.039) 0:00:35.552 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 19:20:15 +0000 (0:00:00.049) 0:00:35.602 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 19:20:15 +0000 (0:00:00.057) 0:00:35.659 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 19:20:15 +0000 (0:00:00.080) 0:00:35.739 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 19:20:15 +0000 (0:00:00.046) 0:00:35.786 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 19:20:15 +0000 (0:00:00.069) 0:00:35.856 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 19:20:15 +0000 (0:00:00.048) 0:00:35.905 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 19:20:15 +0000 (0:00:00.040) 0:00:35.945 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 19:20:15 +0000 (0:00:00.036) 0:00:35.982 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 19:20:16 +0000 (0:00:00.412) 0:00:36.394 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-235296f8q7ea/tmpgje49ixd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 19:20:16 +0000 (0:00:00.327) 0:00:36.721 ******* 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 19:20:16 +0000 (0:00:00.465) 0:00:37.187 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 19:20:16 +0000 (0:00:00.037) 0:00:37.225 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 19:20:16 +0000 (0:00:00.040) 0:00:37.265 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 19:20:17 +0000 (0:00:00.037) 0:00:37.302 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 19:20:17 +0000 (0:00:00.042) 0:00:37.345 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:81 Friday 02 February 2024 19:20:17 +0000 (0:00:00.231) 0:00:37.576 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 02 February 2024 19:20:17 +0000 (0:00:00.071) 0:00:37.648 ******* skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 02 February 2024 19:20:17 +0000 (0:00:00.038) 0:00:37.686 ******* skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 02 February 2024 19:20:17 +0000 (0:00:00.030) 0:00:37.717 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 19:20:17 +0000 (0:00:00.074) 0:00:37.791 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 19:20:17 +0000 (0:00:00.045) 0:00:37.836 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003822", "end": "2024-02-02 19:20:17.753523", "rc": 0, "start": "2024-02-02 19:20:17.749701" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 19:20:17 +0000 (0:00:00.223) 0:00:38.060 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 19:20:17 +0000 (0:00:00.035) 0:00:38.095 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 02 February 2024 19:20:17 +0000 (0:00:00.035) 0:00:38.131 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 02 February 2024 19:20:20 +0000 (0:00:02.623) 0:00:40.755 ******* skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 02 February 2024 19:20:20 +0000 (0:00:00.044) 0:00:40.800 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 02 February 2024 19:20:20 +0000 (0:00:00.035) 0:00:40.835 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012710", "end": "2024-02-02 19:20:20.768157", "rc": 0, "start": "2024-02-02 19:20:20.755447" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 02 February 2024 19:20:20 +0000 (0:00:00.244) 0:00:41.080 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 02 February 2024 19:20:20 +0000 (0:00:00.034) 0:00:41.114 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 02 February 2024 19:20:20 +0000 (0:00:00.035) 0:00:41.150 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 02 February 2024 19:20:20 +0000 (0:00:00.034) 0:00:41.185 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:85 Friday 02 February 2024 19:20:20 +0000 (0:00:00.033) 0:00:41.219 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:89 Friday 02 February 2024 19:20:20 +0000 (0:00:00.036) 0:00:41.255 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 02 February 2024 19:20:21 +0000 (0:00:00.069) 0:00:41.324 ******* skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 02 February 2024 19:20:21 +0000 (0:00:00.060) 0:00:41.384 ******* skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 02 February 2024 19:20:21 +0000 (0:00:00.032) 0:00:41.417 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 19:20:21 +0000 (0:00:00.046) 0:00:41.464 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 19:20:21 +0000 (0:00:00.045) 0:00:41.510 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003776", "end": "2024-02-02 19:20:21.428152", "rc": 0, "start": "2024-02-02 19:20:21.424376" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 19:20:21 +0000 (0:00:00.224) 0:00:41.735 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 19:20:21 +0000 (0:00:00.038) 0:00:41.773 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 02 February 2024 19:20:21 +0000 (0:00:00.035) 0:00:41.809 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 02 February 2024 19:20:24 +0000 (0:00:02.615) 0:00:44.424 ******* 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.012094", "end": "2024-02-02 19:20:24.351415", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-02 19:20:24.339321" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004377", "end": "2024-02-02 19:20:24.584388", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-02 19:20:24.580011" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004638", "end": "2024-02-02 19:20:24.781313", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-02 19:20:24.776675" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 02 February 2024 19:20:24 +0000 (0:00:00.665) 0:00:45.090 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023455", "end": "2024-02-02 19:20:25.026275", "rc": 0, "start": "2024-02-02 19:20:25.002820" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 02 February 2024 19:20:25 +0000 (0:00:00.247) 0:00:45.337 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 02 February 2024 19:20:25 +0000 (0:00:00.044) 0:00:45.381 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 02 February 2024 19:20:25 +0000 (0:00:00.044) 0:00:45.425 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 02 February 2024 19:20:25 +0000 (0:00:00.035) 0:00:45.460 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 02 February 2024 19:20:25 +0000 (0:00:00.041) 0:00:45.501 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 19:20:25 +0000 (0:00:00.037) 0:00:45.539 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 19:20:25 +0000 (0:00:00.085) 0:00:45.625 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 19:20:25 +0000 (0:00:00.042) 0:00:45.667 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 19:20:25 +0000 (0:00:00.036) 0:00:45.704 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 19:20:25 +0000 (0:00:00.043) 0:00:45.748 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 19:20:27 +0000 (0:00:01.656) 0:00:47.404 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 19:20:28 +0000 (0:00:01.352) 0:00:48.757 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 19:20:28 +0000 (0:00:00.037) 0:00:48.794 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 19:20:28 +0000 (0:00:00.040) 0:00:48.835 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 19:20:28 +0000 (0:00:00.038) 0:00:48.873 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 19:20:28 +0000 (0:00:00.073) 0:00:48.946 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 19:20:28 +0000 (0:00:00.037) 0:00:48.984 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 19:20:28 +0000 (0:00:00.037) 0:00:49.022 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 19:20:28 +0000 (0:00:00.042) 0:00:49.064 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 19:20:28 +0000 (0:00:00.036) 0:00:49.100 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 19:20:28 +0000 (0:00:00.033) 0:00:49.134 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 19:20:29 +0000 (0:00:00.404) 0:00:49.538 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-235296f8q7ea/tmpy7jjl__i" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 19:20:29 +0000 (0:00:00.356) 0:00:49.894 ******* 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 19:20:36 +0000 (0:00:06.560) 0:00:56.455 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 19:20:36 +0000 (0:00:00.059) 0:00:56.515 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 19:20:36 +0000 (0:00:00.044) 0:00:56.559 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 19:20:36 +0000 (0:00:00.054) 0:00:56.613 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 19:20:36 +0000 (0:00:00.047) 0:00:56.661 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:110 Friday 02 February 2024 19:20:36 +0000 (0:00:00.248) 0:00:56.910 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_device_present.yml:3 Friday 02 February 2024 19:20:36 +0000 (0:00:00.097) 0:00:57.007 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 19:20:36 +0000 (0:00:00.074) 0:00:57.082 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706901624.3434532, "block_size": 4096, "blocks": 0, "ctime": 1706901624.3434532, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22173, "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": 1706901624.3434532, "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-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_device_present.yml:5 Friday 02 February 2024 19:20:37 +0000 (0:00:00.245) 0:00:57.328 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:112 Friday 02 February 2024 19:20:37 +0000 (0:00:00.048) 0:00:57.376 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 02 February 2024 19:20:37 +0000 (0:00:00.106) 0:00:57.483 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 02 February 2024 19:20:37 +0000 (0:00:00.111) 0:00:57.594 ******* 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-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 02 February 2024 19:20:37 +0000 (0:00:00.037) 0:00:57.632 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706901629.9408798, "block_size": 4096, "blocks": 8, "ctime": 1706901629.9198804, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706901629.9198804, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 02 February 2024 19:20:37 +0000 (0:00:00.242) 0:00:57.874 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 02 February 2024 19:20:37 +0000 (0:00:00.038) 0:00:57.913 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021560", "end": "2024-02-02 19:20:37.847459", "rc": 1, "start": "2024-02-02 19:20:37.825899" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 02 February 2024 19:20:37 +0000 (0:00:00.244) 0:00:58.157 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 02 February 2024 19:20:37 +0000 (0:00:00.051) 0:00:58.208 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003655", "end": "2024-02-02 19:20:38.141881", "rc": 0, "start": "2024-02-02 19:20:38.138226" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 02 February 2024 19:20:38 +0000 (0:00:00.250) 0:00:58.458 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 02 February 2024 19:20:38 +0000 (0:00:00.047) 0:00:58.505 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003673", "end": "2024-02-02 19:20:38.426666", "rc": 0, "start": "2024-02-02 19:20:38.422993" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 02 February 2024 19:20:38 +0000 (0:00:00.230) 0:00:58.736 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 02 February 2024 19:20:38 +0000 (0:00:00.040) 0:00:58.776 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 02 February 2024 19:20:38 +0000 (0:00:00.055) 0:00:58.832 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 02 February 2024 19:20:38 +0000 (0:00:00.045) 0:00:58.878 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:116 Friday 02 February 2024 19:20:38 +0000 (0:00:00.044) 0:00:58.923 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004079", "end": "2024-02-02 19:20:38.843150", "rc": 0, "start": "2024-02-02 19:20:38.839071" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.42 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.42 metric 100 169.254.0.0/16 dev veth0 scope link metric 1006 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:120 Friday 02 February 2024 19:20:38 +0000 (0:00:00.229) 0:00:59.152 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:126 Friday 02 February 2024 19:20:38 +0000 (0:00:00.041) 0:00:59.193 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004320", "end": "2024-02-02 19:20:39.109111", "rc": 0, "start": "2024-02-02 19:20:39.104791" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 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 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:130 Friday 02 February 2024 19:20:39 +0000 (0:00:00.234) 0:00:59.428 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:137 Friday 02 February 2024 19:20:39 +0000 (0:00:00.044) 0:00:59.472 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 02 February 2024 19:20:39 +0000 (0:00:00.039) 0:00:59.512 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 02 February 2024 19:20:39 +0000 (0:00:00.091) 0:00:59.604 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 02 February 2024 19:20:39 +0000 (0:00:00.047) 0:00:59.651 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 02 February 2024 19:20:39 +0000 (0:00:00.040) 0:00:59.692 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 02 February 2024 19:20:39 +0000 (0:00:00.041) 0:00:59.733 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 02 February 2024 19:20:41 +0000 (0:00:01.636) 0:01:01.370 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 02 February 2024 19:20:42 +0000 (0:00:01.362) 0:01:02.732 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 02 February 2024 19:20:42 +0000 (0:00:00.042) 0:01:02.775 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 02 February 2024 19:20:42 +0000 (0:00:00.039) 0:01:02.814 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 02 February 2024 19:20:42 +0000 (0:00:00.048) 0:01:02.862 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 02 February 2024 19:20:42 +0000 (0:00:00.075) 0:01:02.938 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 02 February 2024 19:20:42 +0000 (0:00:00.040) 0:01:02.978 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 02 February 2024 19:20:42 +0000 (0:00:00.044) 0:01:03.022 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 02 February 2024 19:20:42 +0000 (0:00:00.053) 0:01:03.076 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 02 February 2024 19:20:42 +0000 (0:00:00.047) 0:01:03.124 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 02 February 2024 19:20:42 +0000 (0:00:00.034) 0:01:03.158 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 02 February 2024 19:20:43 +0000 (0:00:00.490) 0:01:03.649 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-235296f8q7ea/tmp7_d091js" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 02 February 2024 19:20:43 +0000 (0:00:00.323) 0:01:03.972 ******* 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 02 February 2024 19:20:44 +0000 (0:00:00.469) 0:01:04.442 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 02 February 2024 19:20:44 +0000 (0:00:00.055) 0:01:04.497 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 02 February 2024 19:20:44 +0000 (0:00:00.053) 0:01:04.551 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 02 February 2024 19:20:44 +0000 (0:00:00.040) 0:01:04.591 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 02 February 2024 19:20:44 +0000 (0:00:00.039) 0:01:04.631 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:149 Friday 02 February 2024 19:20:44 +0000 (0:00:00.257) 0:01:04.889 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 02 February 2024 19:20:44 +0000 (0:00:00.077) 0:01:04.966 ******* skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 02 February 2024 19:20:44 +0000 (0:00:00.036) 0:01:05.003 ******* skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 02 February 2024 19:20:44 +0000 (0:00:00.040) 0:01:05.043 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 19:20:44 +0000 (0:00:00.059) 0:01:05.103 ******* included: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 19:20:44 +0000 (0:00:00.050) 0:01:05.154 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003730", "end": "2024-02-02 19:20:45.078291", "rc": 0, "start": "2024-02-02 19:20:45.074561" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 19:20:45 +0000 (0:00:00.273) 0:01:05.427 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 19:20:45 +0000 (0:00:00.049) 0:01:05.477 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 02 February 2024 19:20:45 +0000 (0:00:00.040) 0:01:05.518 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 02 February 2024 19:20:47 +0000 (0:00:02.709) 0:01:08.227 ******* skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 02 February 2024 19:20:47 +0000 (0:00:00.047) 0:01:08.274 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 02 February 2024 19:20:48 +0000 (0:00:00.035) 0:01:08.309 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010621", "end": "2024-02-02 19:20:48.234643", "rc": 0, "start": "2024-02-02 19:20:48.224022" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 02 February 2024 19:20:48 +0000 (0:00:00.241) 0:01:08.551 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 02 February 2024 19:20:48 +0000 (0:00:00.037) 0:01:08.588 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 02 February 2024 19:20:48 +0000 (0:00:00.047) 0:01:08.635 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 02 February 2024 19:20:48 +0000 (0:00:00.047) 0:01:08.683 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=138 changed=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Friday 02 February 2024 19:20:48 +0000 (0:00:00.099) 0:01:08.782 ******* =============================================================================== fedora.linux_system_roles.network : Install packages -------------------- 9.18s /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.81s /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.56s /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Install iproute --------------------------------------------------------- 2.93s /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.71s /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.62s /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.62s /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 0.96s /WORKDIR/git-bond_options_rewritez0l93qiz/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Gathering Facts --------------------------------------------------------- 0.84s /WORKDIR/git-bond_options_rewritez0l93qiz/tests/tests_auto_gateway_initscripts.yml:5 Create veth interface veth0 --------------------------------------------- 0.68s /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 0.67s /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.64s /WORKDIR/git-bond_options_rewritez0l93qiz/tests/playbooks/tests_auto_gateway.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---