# 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_rewritenc8ysndq/.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_rewritenc8ysndq/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_rewritenc8ysndq/tests/tests_auto_gateway_initscripts.yml:5 Tuesday 13 February 2024 21:22:44 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/tests_auto_gateway_initscripts.yml:8 Tuesday 13 February 2024 21:22:45 +0000 (0:00:01.091) 0:00:01.103 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/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_rewritenc8ysndq/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 21:22:45 +0000 (0:00:00.032) 0:00:01.135 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/tasks/el_repo_setup.yml:17 Tuesday 13 February 2024 21:22:46 +0000 (0:00:00.478) 0:00:01.614 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/tasks/el_repo_setup.yml:22 Tuesday 13 February 2024 21:22:46 +0000 (0:00:00.287) 0:00:01.902 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/tasks/el_repo_setup.yml:26 Tuesday 13 February 2024 21:22:46 +0000 (0:00:00.023) 0:00:01.925 ****** 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_rewritenc8ysndq/tests/tasks/el_repo_setup.yml:51 Tuesday 13 February 2024 21:22:46 +0000 (0:00:00.037) 0:00:01.963 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 21:22:46 +0000 (0:00:00.057) 0:00:02.020 ****** 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_rewritenc8ysndq/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 21:22:46 +0000 (0:00:00.292) 0:00:02.313 ****** 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_rewritenc8ysndq/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 21:22:46 +0000 (0:00:00.010) 0:00:02.323 ****** 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_rewritenc8ysndq/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 21:22:46 +0000 (0:00:00.015) 0:00:02.339 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.269508", "end": "2024-02-13 21:22:47.231215", "rc": 0, "start": "2024-02-13 21:22:46.961707" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 21:22:47 +0000 (0:00:00.484) 0:00:02.823 ****** 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_rewritenc8ysndq/tests/tests_auto_gateway_initscripts.yml:10 Tuesday 13 February 2024 21:22:47 +0000 (0:00:00.016) 0:00:02.840 ****** 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_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 13 February 2024 21:22:47 +0000 (0:00:00.027) 0:00:02.867 ****** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 13 February 2024 21:22:48 +0000 (0:00:00.862) 0:00:03.730 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:22:48 +0000 (0:00:00.045) 0:00:03.775 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:22:48 +0000 (0:00:00.032) 0:00:03.808 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003775", "end": "2024-02-13 21:22:48.449658", "rc": 0, "start": "2024-02-13 21:22:48.445883" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:22:48 +0000 (0:00:00.242) 0:00:04.050 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:22:48 +0000 (0:00:00.049) 0:00:04.100 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 13 February 2024 21:22:48 +0000 (0:00:00.121) 0:00:04.221 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:22:48 +0000 (0:00:00.048) 0:00:04.269 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:22:48 +0000 (0:00:00.037) 0:00:04.306 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:22:48 +0000 (0:00:00.047) 0:00:04.354 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:22:48 +0000 (0:00:00.045) 0:00:04.400 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:22:48 +0000 (0:00:00.037) 0:00:04.437 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003752", "end": "2024-02-13 21:22:49.071019", "rc": 0, "start": "2024-02-13 21:22:49.067267" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:22:49 +0000 (0:00:00.247) 0:00:04.684 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:22:49 +0000 (0:00:00.041) 0:00:04.726 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:22:49 +0000 (0:00:00.070) 0:00:04.796 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:22:52 +0000 (0:00:03.551) 0:00:08.348 ****** 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.017244", "end": "2024-02-13 21:22:53.041800", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-13 21:22:53.024556" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004393", "end": "2024-02-13 21:22:53.335576", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-13 21:22:53.331183" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004746", "end": "2024-02-13 21:22:53.560997", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-13 21:22:53.556251" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:22:53 +0000 (0:00:00.829) 0:00:09.178 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.063113", "end": "2024-02-13 21:22:53.928991", "rc": 0, "start": "2024-02-13 21:22:53.865878" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:22:53 +0000 (0:00:00.347) 0:00:09.526 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:22:54 +0000 (0:00:00.058) 0:00:09.584 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:22:54 +0000 (0:00:00.041) 0:00:09.626 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:22:54 +0000 (0:00:00.053) 0:00:09.680 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:22:54 +0000 (0:00:00.044) 0:00:09.724 ****** 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_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 13 February 2024 21:22:54 +0000 (0:00:00.073) 0:00:09.798 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:22:54 +0000 (0:00:00.123) 0:00:09.922 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:22:54 +0000 (0:00:00.032) 0:00:09.954 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859373.0363295, "block_size": 4096, "blocks": 0, "ctime": 1707859373.0363295, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21722, "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": 1707859373.0363295, "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_rewritenc8ysndq/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:22:54 +0000 (0:00:00.287) 0:00:10.241 ****** 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_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 13 February 2024 21:22:54 +0000 (0:00:00.041) 0:00:10.283 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 21:22:54 +0000 (0:00:00.053) 0:00:10.336 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/.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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:22:54 +0000 (0:00:00.087) 0:00:10.424 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 21:22:54 +0000 (0:00:00.052) 0:00:10.476 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 21:22:54 +0000 (0:00:00.028) 0:00:10.505 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 21:22:54 +0000 (0:00:00.021) 0:00:10.526 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 21:22:56 +0000 (0:00:01.807) 0:00:12.333 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 21:22:58 +0000 (0:00:01.711) 0:00:14.045 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 21:22:58 +0000 (0:00:00.042) 0:00:14.088 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 21:22:58 +0000 (0:00:00.122) 0:00:14.210 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 21:22:58 +0000 (0:00:00.119) 0:00:14.330 ****** changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.18-1.el8.x86_64", "Installed: network-scripts-team-1.31-4.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 21:23:03 +0000 (0:00:04.510) 0:00:18.841 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 21:23:03 +0000 (0:00:00.044) 0:00:18.885 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 21:23:03 +0000 (0:00:00.038) 0:00:18.924 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 21:23:03 +0000 (0:00:00.109) 0:00:19.033 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 21:23:03 +0000 (0:00:00.061) 0:00:19.095 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 21:23:03 +0000 (0:00:00.072) 0:00:19.167 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 21:23:04 +0000 (0:00:01.098) 0:00:20.266 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2518edfcwo9z/tmp8ly5rj4q" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 21:23:05 +0000 (0:00:00.448) 0:00:20.715 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 21:23:12 +0000 (0:00:06.956) 0:00:27.671 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.050) 0:00:27.721 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.075) 0:00:27.797 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.060) 0:00:27.857 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.034) 0:00:27.891 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.381) 0:00:28.273 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.076) 0:00:28.349 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:23:12 +0000 (0:00:00.040) 0:00:28.390 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859373.0363295, "block_size": 4096, "blocks": 0, "ctime": 1707859373.0363295, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21722, "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": 1707859373.0363295, "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_rewritenc8ysndq/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.301) 0:00:28.691 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.081) 0:00:28.772 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.052) 0:00:28.825 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/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_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.040) 0:00:28.865 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.039) 0:00:28.905 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859385.718436, "block_size": 4096, "blocks": 8, "ctime": 1707859385.695436, "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": 1707859385.695436, "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_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.235) 0:00:29.140 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.050) 0:00:29.191 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021599", "end": "2024-02-13 21:23:13.841991", "rc": 1, "start": "2024-02-13 21:23:13.820392" } 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_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.271) 0:00:29.462 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 21:23:13 +0000 (0:00:00.039) 0:00:29.502 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003685", "end": "2024-02-13 21:23:14.175796", "rc": 0, "start": "2024-02-13 21:23:14.172111" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 21:23:14 +0000 (0:00:00.286) 0:00:29.788 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 21:23:14 +0000 (0:00:00.049) 0:00:29.838 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003565", "end": "2024-02-13 21:23:14.511816", "rc": 0, "start": "2024-02-13 21:23:14.508251" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 21:23:14 +0000 (0:00:00.278) 0:00:30.117 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 21:23:14 +0000 (0:00:00.038) 0:00:30.155 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 21:23:14 +0000 (0:00:00.061) 0:00:30.217 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 21:23:14 +0000 (0:00:00.074) 0:00:30.292 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 13 February 2024 21:23:14 +0000 (0:00:00.032) 0:00:30.324 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004020", "end": "2024-02-13 21:23:14.954761", "rc": 0, "start": "2024-02-13 21:23:14.950741" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.139 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.40.139 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_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.252) 0:00:30.577 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.129) 0:00:30.707 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004146", "end": "2024-02-13 21:23:15.349202", "rc": 0, "start": "2024-02-13 21:23:15.345056" } 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_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.242) 0:00:30.949 ****** 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_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.053) 0:00:31.003 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.040) 0:00:31.044 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/.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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.066) 0:00:31.111 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.044) 0:00:31.155 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.046) 0:00:31.202 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 21:23:15 +0000 (0:00:00.112) 0:00:31.314 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 21:23:17 +0000 (0:00:01.873) 0:00:33.187 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 21:23:19 +0000 (0:00:01.564) 0:00:34.752 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.050) 0:00:34.802 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.039) 0:00:34.842 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.044) 0:00:34.887 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.068) 0:00:34.955 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.047) 0:00:35.003 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.119) 0:00:35.122 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.056) 0:00:35.178 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.087) 0:00:35.266 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 21:23:19 +0000 (0:00:00.046) 0:00:35.312 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 21:23:20 +0000 (0:00:00.465) 0:00:35.778 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2518edfcwo9z/tmps9igk9wd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 21:23:20 +0000 (0:00:00.414) 0:00:36.192 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.554) 0:00:36.747 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.095) 0:00:36.842 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.090) 0:00:36.933 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.097) 0:00:37.030 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.100) 0:00:37.130 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 13 February 2024 21:23:21 +0000 (0:00:00.339) 0:00:37.470 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:23:22 +0000 (0:00:00.122) 0:00:37.593 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:23:22 +0000 (0:00:00.044) 0:00:37.638 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:23:22 +0000 (0:00:00.096) 0:00:37.735 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:23:22 +0000 (0:00:00.149) 0:00:37.884 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:23:22 +0000 (0:00:00.110) 0:00:37.995 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003694", "end": "2024-02-13 21:23:22.698153", "rc": 0, "start": "2024-02-13 21:23:22.694459" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:23:22 +0000 (0:00:00.314) 0:00:38.309 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:23:22 +0000 (0:00:00.079) 0:00:38.389 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:23:22 +0000 (0:00:00.049) 0:00:38.438 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:23:25 +0000 (0:00:02.860) 0:00:41.299 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:23:25 +0000 (0:00:00.065) 0:00:41.364 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:23:25 +0000 (0:00:00.034) 0:00:41.399 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015373", "end": "2024-02-13 21:23:26.060287", "rc": 0, "start": "2024-02-13 21:23:26.044914" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.287) 0:00:41.686 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.062) 0:00:41.749 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.053) 0:00:41.802 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.056) 0:00:41.859 ****** 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_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.076) 0:00:41.935 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.095) 0:00:42.031 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.112) 0:00:42.144 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.087) 0:00:42.232 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.039) 0:00:42.271 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.043) 0:00:42.315 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:23:26 +0000 (0:00:00.054) 0:00:42.369 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003730", "end": "2024-02-13 21:23:27.059943", "rc": 0, "start": "2024-02-13 21:23:27.056213" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:23:27 +0000 (0:00:00.298) 0:00:42.668 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:23:27 +0000 (0:00:00.035) 0:00:42.704 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:23:27 +0000 (0:00:00.064) 0:00:42.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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:23:30 +0000 (0:00:02.868) 0:00:45.637 ****** 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.006761", "end": "2024-02-13 21:23:30.290611", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-13 21:23:30.283850" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004583", "end": "2024-02-13 21:23:30.577819", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-13 21:23:30.573236" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004768", "end": "2024-02-13 21:23:30.830606", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-13 21:23:30.825838" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:23:30 +0000 (0:00:00.843) 0:00:46.480 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023790", "end": "2024-02-13 21:23:31.142146", "rc": 0, "start": "2024-02-13 21:23:31.118356" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.271) 0:00:46.752 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.037) 0:00:46.789 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.059) 0:00:46.849 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.071) 0:00:46.920 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.069) 0:00:46.990 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.054) 0:00:47.045 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/.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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.108) 0:00:47.153 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.065) 0:00:47.219 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.032) 0:00:47.252 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 21:23:31 +0000 (0:00:00.036) 0:00:47.288 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 21:23:33 +0000 (0:00:01.835) 0:00:49.124 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 21:23:35 +0000 (0:00:01.594) 0:00:50.718 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.067) 0:00:50.786 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.055) 0:00:50.842 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.043) 0:00:50.885 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.227) 0:00:51.112 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.115) 0:00:51.228 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.167) 0:00:51.395 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 21:23:35 +0000 (0:00:00.115) 0:00:51.511 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 21:23:36 +0000 (0:00:00.105) 0:00:51.616 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 21:23:36 +0000 (0:00:00.042) 0:00:51.659 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 21:23:36 +0000 (0:00:00.480) 0:00:52.139 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2518edfcwo9z/tmp8xdapy7c" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 21:23:37 +0000 (0:00:00.517) 0:00:52.657 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 21:23:43 +0000 (0:00:06.629) 0:00:59.286 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 21:23:43 +0000 (0:00:00.048) 0:00:59.334 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 21:23:43 +0000 (0:00:00.041) 0:00:59.375 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 21:23:43 +0000 (0:00:00.049) 0:00:59.425 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 21:23:43 +0000 (0:00:00.058) 0:00:59.483 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 13 February 2024 21:23:44 +0000 (0:00:00.267) 0:00:59.751 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:23:44 +0000 (0:00:00.161) 0:00:59.913 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:23:44 +0000 (0:00:00.173) 0:01:00.086 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859410.2878914, "block_size": 4096, "blocks": 0, "ctime": 1707859410.2878914, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22308, "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": 1707859410.2878914, "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_rewritenc8ysndq/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:23:44 +0000 (0:00:00.276) 0:01:00.363 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 13 February 2024 21:23:44 +0000 (0:00:00.058) 0:01:00.421 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 21:23:44 +0000 (0:00:00.134) 0:01:00.555 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/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_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 21:23:45 +0000 (0:00:00.139) 0:01:00.695 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 21:23:45 +0000 (0:00:00.110) 0:01:00.805 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859417.4672537, "block_size": 4096, "blocks": 8, "ctime": 1707859417.4452536, "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": 1707859417.4452536, "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_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 21:23:45 +0000 (0:00:00.265) 0:01:01.071 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 21:23:45 +0000 (0:00:00.044) 0:01:01.116 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022810", "end": "2024-02-13 21:23:45.777330", "rc": 1, "start": "2024-02-13 21:23:45.754520" } 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_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 21:23:45 +0000 (0:00:00.269) 0:01:01.386 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 21:23:45 +0000 (0:00:00.042) 0:01:01.428 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003684", "end": "2024-02-13 21:23:46.069867", "rc": 0, "start": "2024-02-13 21:23:46.066183" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.246) 0:01:01.675 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.047) 0:01:01.722 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003705", "end": "2024-02-13 21:23:46.377230", "rc": 0, "start": "2024-02-13 21:23:46.373525" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.268) 0:01:01.991 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.076) 0:01:02.068 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.050) 0:01:02.119 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.035) 0:01:02.154 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.055) 0:01:02.210 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004174", "end": "2024-02-13 21:23:46.893498", "rc": 0, "start": "2024-02-13 21:23:46.889324" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.139 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.139 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_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 13 February 2024 21:23:46 +0000 (0:00:00.300) 0:01:02.511 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.071) 0:01:02.582 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004266", "end": "2024-02-13 21:23:47.236840", "rc": 0, "start": "2024-02-13 21:23:47.232574" } 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_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.262) 0:01:02.845 ****** 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_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.057) 0:01:02.902 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.043) 0:01:02.945 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/.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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.113) 0:01:03.058 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.060) 0:01:03.119 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.047) 0:01:03.166 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 21:23:47 +0000 (0:00:00.078) 0:01:03.245 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 21:23:49 +0000 (0:00:01.833) 0:01:05.079 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 21:23:51 +0000 (0:00:01.509) 0:01:06.588 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.041) 0:01:06.630 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.042) 0:01:06.672 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.060) 0:01:06.733 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.061) 0:01:06.795 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.045) 0:01:06.840 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.041) 0:01:06.882 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.088) 0:01:06.971 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.055) 0:01:07.027 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 21:23:51 +0000 (0:00:00.081) 0:01:07.109 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 21:23:52 +0000 (0:00:00.626) 0:01:07.735 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2518edfcwo9z/tmpqmk10l5x" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 21:23:52 +0000 (0:00:00.421) 0:01:08.157 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 21:23:53 +0000 (0:00:00.535) 0:01:08.693 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 21:23:53 +0000 (0:00:00.046) 0:01:08.740 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 21:23:53 +0000 (0:00:00.048) 0:01:08.788 ****** 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_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 21:23:53 +0000 (0:00:00.063) 0:01:08.851 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 21:23:53 +0000 (0:00:00.050) 0:01:08.902 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 13 February 2024 21:23:53 +0000 (0:00:00.299) 0:01:09.201 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:23:53 +0000 (0:00:00.124) 0:01:09.325 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:23:53 +0000 (0:00:00.037) 0:01:09.363 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:23:53 +0000 (0:00:00.031) 0:01:09.394 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:23:53 +0000 (0:00:00.082) 0:01:09.477 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:23:53 +0000 (0:00:00.065) 0:01:09.542 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003870", "end": "2024-02-13 21:23:54.180490", "rc": 0, "start": "2024-02-13 21:23:54.176620" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:23:54 +0000 (0:00:00.307) 0:01:09.850 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:23:54 +0000 (0:00:00.034) 0:01:09.885 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:23:54 +0000 (0:00:00.034) 0:01:09.919 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:23:57 +0000 (0:00:02.916) 0:01:12.836 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:23:57 +0000 (0:00:00.065) 0:01:12.902 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:23:57 +0000 (0:00:00.030) 0:01:12.932 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013442", "end": "2024-02-13 21:23:57.579359", "rc": 0, "start": "2024-02-13 21:23:57.565917" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:23:57 +0000 (0:00:00.264) 0:01:13.197 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:23:57 +0000 (0:00:00.074) 0:01:13.271 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:23:57 +0000 (0:00:00.053) 0:01:13.325 ****** 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_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:23:57 +0000 (0:00:00.108) 0:01:13.434 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:153 Tuesday 13 February 2024 21:23:57 +0000 (0:00:00.065) 0:01:13.499 ****** included: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 21:23:58 +0000 (0:00:00.102) 0:01:13.601 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :_\nfi\n", "delta": "0:00:00.010499", "end": "2024-02-13 21:23:58.274775", "rc": 0, "start": "2024-02-13 21:23:58.264276" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:9c:70:66:b8:0f brd ff:ff:ff:ff:ff:ff inet 10.31.40.139/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2594sec preferred_lft 2594sec inet6 fe80::c9c:70ff:fe66:b80f/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.139 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.139 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 13 February 2024 21:23:58 +0000 (0:00:00.292) 0:01:13.894 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.171063", "end": "2024-02-13 21:23:58.755781", "rc": 0, "start": "2024-02-13 21:23:58.584718" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 9838 0 --:--:-- --:--:-- --:--:-- 9838 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2645 0 --:--:-- --:--:-- --:--:-- 2645 PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Tuesday 13 February 2024 21:23:58 +0000 (0:00:00.550) 0:01:14.444 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.96s /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.63s /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Install packages -------------------- 4.51s /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install iproute --------------------------------------------------------- 3.55s /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.92s /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.87s /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.86s /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /WORKDIR/git-bond_options_rewritenc8ysndq/.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.84s /WORKDIR/git-bond_options_rewritenc8ysndq/.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.83s /WORKDIR/git-bond_options_rewritenc8ysndq/.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.81s /WORKDIR/git-bond_options_rewritenc8ysndq/.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.71s /WORKDIR/git-bond_options_rewritenc8ysndq/.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.59s /WORKDIR/git-bond_options_rewritenc8ysndq/.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.56s /WORKDIR/git-bond_options_rewritenc8ysndq/.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.51s /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 1.10s /WORKDIR/git-bond_options_rewritenc8ysndq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Gathering Facts --------------------------------------------------------- 1.09s /WORKDIR/git-bond_options_rewritenc8ysndq/tests/tests_auto_gateway_initscripts.yml:5 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.84s /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 0.83s /WORKDIR/git-bond_options_rewritenc8ysndq/tests/playbooks/tasks/manage_test_interface.yml:27 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---