# 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_rewrite7iq5q6vt/.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_rewrite7iq5q6vt/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_rewrite7iq5q6vt/tests/tests_auto_gateway_initscripts.yml:5 Friday 09 February 2024 15:52:48 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/tests_auto_gateway_initscripts.yml:8 Friday 09 February 2024 15:52:49 +0000 (0:00:00.796) 0:00:00.808 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/tasks/el_repo_setup.yml for sut TASK [Verify DNS and ping still work before el repo setup] ********************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 15:52:49 +0000 (0:00:00.013) 0:00:00.822 ******* ok: [sut] => { "changed": false, "cmd": "set -euxo pipefail\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n exit 1\n fi\n if ! ping -c5 \"$host\"; then\n exit 1\n fi\ndone\n", "delta": "0:00:08.055079", "end": "2024-02-09 15:52:57.902776", "rc": 0, "start": "2024-02-09 15:52:49.847697" } STDOUT: 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (8.43.85.67) 56(84) bytes of data. 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=1 ttl=50 time=12.6 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=2 ttl=50 time=11.2 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=3 ttl=50 time=11.2 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=4 ttl=50 time=11.2 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=5 ttl=50 time=11.1 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 11.093/11.450/12.599/0.575 ms 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 PING wildcard.fedoraproject.org (38.145.60.20) 56(84) bytes of data. 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=1 ttl=49 time=2.59 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=2 ttl=49 time=1.87 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=3 ttl=49 time=1.79 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=4 ttl=49 time=1.75 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=5 ttl=49 time=1.83 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 1.753/1.967/2.590/0.316 ms STDERR: + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.fedoraproject.org + ping -c5 mirrors.fedoraproject.org + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.centos.org + ping -c5 mirrors.centos.org TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/tasks/el_repo_setup.yml:17 Friday 09 February 2024 15:52:57 +0000 (0:00:08.305) 0:00:09.128 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/tasks/el_repo_setup.yml:31 Friday 09 February 2024 15:52:58 +0000 (0:00:00.368) 0:00:09.496 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/tasks/el_repo_setup.yml:36 Friday 09 February 2024 15:52:58 +0000 (0:00:00.256) 0:00:09.752 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/tasks/el_repo_setup.yml:40 Friday 09 February 2024 15:52:58 +0000 (0:00:00.017) 0:00:09.770 ******* 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_rewrite7iq5q6vt/tests/tasks/el_repo_setup.yml:65 Friday 09 February 2024 15:52:58 +0000 (0:00:00.011) 0:00:09.782 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 15:52:58 +0000 (0:00:00.022) 0:00:09.804 ******* 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_rewrite7iq5q6vt/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 15:52:58 +0000 (0:00:00.194) 0:00:09.998 ******* 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_rewrite7iq5q6vt/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 15:52:58 +0000 (0:00:00.008) 0:00:10.007 ******* 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_rewrite7iq5q6vt/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 15:52:58 +0000 (0:00:00.010) 0:00:10.017 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.248447", "end": "2024-02-09 15:52:59.233122", "rc": 0, "start": "2024-02-09 15:52:58.984675" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 15:52:59 +0000 (0:00:00.440) 0:00:10.458 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Verify DNS and ping still work after el repo setup] ********************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/tasks/el_repo_setup.yml:69 Friday 09 February 2024 15:52:59 +0000 (0:00:00.008) 0:00:10.466 ******* ok: [sut] => { "changed": false, "cmd": "set -euxo pipefail\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n exit 1\n fi\n if ! ping -c5 \"$host\"; then\n exit 1\n fi\ndone\n", "delta": "0:00:08.113884", "end": "2024-02-09 15:53:07.544491", "rc": 0, "start": "2024-02-09 15:52:59.430607" } STDOUT: 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (140.211.169.196) 56(84) bytes of data. 64 bytes from proxy06.fedoraproject.org (140.211.169.196): icmp_seq=1 ttl=42 time=74.5 ms 64 bytes from proxy06.fedoraproject.org (140.211.169.196): icmp_seq=2 ttl=42 time=73.3 ms 64 bytes from proxy06.fedoraproject.org (140.211.169.196): icmp_seq=3 ttl=42 time=73.1 ms 64 bytes from proxy06.fedoraproject.org (140.211.169.196): icmp_seq=4 ttl=42 time=73.1 ms 64 bytes from proxy06.fedoraproject.org (140.211.169.196): icmp_seq=5 ttl=42 time=73.0 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4005ms rtt min/avg/max/mdev = 73.027/73.401/74.533/0.597 ms 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (38.145.60.20) 56(84) bytes of data. 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=1 ttl=49 time=2.61 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=2 ttl=49 time=1.80 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=3 ttl=49 time=3.16 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=4 ttl=49 time=1.87 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=5 ttl=49 time=1.81 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 1.795/2.248/3.155/0.549 ms STDERR: + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.fedoraproject.org + ping -c5 mirrors.fedoraproject.org + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.centos.org + ping -c5 mirrors.centos.org TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/tests_auto_gateway_initscripts.yml:10 Friday 09 February 2024 15:53:07 +0000 (0:00:08.305) 0:00:18.771 ******* 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_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:3 Friday 09 February 2024 15:53:07 +0000 (0:00:00.018) 0:00:18.790 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:9 Friday 09 February 2024 15:53:08 +0000 (0:00:00.651) 0:00:19.442 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 15:53:08 +0000 (0:00:00.035) 0:00:19.477 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 15:53:08 +0000 (0:00:00.024) 0:00:19.501 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003523", "end": "2024-02-09 15:53:08.494749", "rc": 0, "start": "2024-02-09 15:53:08.491226" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 15:53:08 +0000 (0:00:00.220) 0:00:19.721 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 15:53:08 +0000 (0:00:00.024) 0:00:19.745 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:11 Friday 09 February 2024 15:53:08 +0000 (0:00:00.034) 0:00:19.780 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 15:53:08 +0000 (0:00:00.036) 0:00:19.816 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 15:53:08 +0000 (0:00:00.018) 0:00:19.835 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 15:53:08 +0000 (0:00:00.018) 0:00:19.853 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 15:53:08 +0000 (0:00:00.021) 0:00:19.875 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 15:53:08 +0000 (0:00:00.022) 0:00:19.897 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003453", "end": "2024-02-09 15:53:08.897378", "rc": 0, "start": "2024-02-09 15:53:08.893925" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 15:53:08 +0000 (0:00:00.224) 0:00:20.122 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 15:53:08 +0000 (0:00:00.029) 0:00:20.152 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 15:53:08 +0000 (0:00:00.034) 0:00:20.186 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 09 February 2024 15:53:11 +0000 (0:00:02.989) 0:00:23.176 ******* 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.027441", "end": "2024-02-09 15:53:12.180586", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-09 15:53:12.153145" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004205", "end": "2024-02-09 15:53:12.410984", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-09 15:53:12.406779" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004266", "end": "2024-02-09 15:53:12.596798", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-09 15:53:12.592532" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 09 February 2024 15:53:12 +0000 (0:00:00.649) 0:00:23.826 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.103200", "end": "2024-02-09 15:53:12.910099", "rc": 0, "start": "2024-02-09 15:53:12.806899" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 09 February 2024 15:53:12 +0000 (0:00:00.310) 0:00:24.136 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 09 February 2024 15:53:12 +0000 (0:00:00.019) 0:00:24.156 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 09 February 2024 15:53:12 +0000 (0:00:00.020) 0:00:24.176 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 09 February 2024 15:53:12 +0000 (0:00:00.018) 0:00:24.194 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 15:53:13 +0000 (0:00:00.018) 0:00:24.213 ******* 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_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:15 Friday 09 February 2024 15:53:13 +0000 (0:00:00.017) 0:00:24.230 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 15:53:13 +0000 (0:00:00.034) 0:00:24.265 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 15:53:13 +0000 (0:00:00.021) 0:00:24.286 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707493992.1754706, "block_size": 4096, "blocks": 0, "ctime": 1707493992.1754706, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21623, "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": 1707493992.1754706, "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_rewrite7iq5q6vt/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 15:53:13 +0000 (0:00:00.218) 0:00:24.505 ******* 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_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:17 Friday 09 February 2024 15:53:13 +0000 (0:00:00.024) 0:00:24.530 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:53:13 +0000 (0:00:00.042) 0:00:24.572 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:53:13 +0000 (0:00:00.032) 0:00:24.604 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:53:13 +0000 (0:00:00.023) 0:00:24.628 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:53:13 +0000 (0:00:00.024) 0:00:24.652 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:53:13 +0000 (0:00:00.039) 0:00:24.692 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:53:15 +0000 (0:00:01.716) 0:00:26.408 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:53:16 +0000 (0:00:01.555) 0:00:27.964 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:53:16 +0000 (0:00:00.032) 0:00:27.996 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:53:16 +0000 (0:00:00.035) 0:00:28.031 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:53:16 +0000 (0:00:00.033) 0:00:28.064 ******* changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:53:20 +0000 (0:00:04.124) 0:00:32.189 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:53:21 +0000 (0:00:00.032) 0:00:32.221 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:53:21 +0000 (0:00:00.054) 0:00:32.275 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:53:21 +0000 (0:00:00.039) 0:00:32.314 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:53:21 +0000 (0:00:00.034) 0:00:32.349 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:53:21 +0000 (0:00:00.028) 0:00:32.377 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:53:22 +0000 (0:00:00.949) 0:00:33.327 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2449phdv4vk_/tmpyk8i2q85" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:53:22 +0000 (0:00:00.453) 0:00:33.781 ******* 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\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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:53:30 +0000 (0:00:07.748) 0:00:41.530 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:53:30 +0000 (0:00:00.036) 0:00:41.566 ******* 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\\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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:53:30 +0000 (0:00:00.035) 0:00:41.602 ******* 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\\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\\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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:53:30 +0000 (0:00:00.035) 0:00:41.637 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:53:30 +0000 (0:00:00.037) 0:00:41.675 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:42 Friday 09 February 2024 15:53:30 +0000 (0:00:00.441) 0:00:42.116 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 15:53:30 +0000 (0:00:00.073) 0:00:42.189 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 15:53:31 +0000 (0:00:00.048) 0:00:42.238 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707493992.1754706, "block_size": 4096, "blocks": 0, "ctime": 1707493992.1754706, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21623, "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": 1707493992.1754706, "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_rewrite7iq5q6vt/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 15:53:31 +0000 (0:00:00.211) 0:00:42.450 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:44 Friday 09 February 2024 15:53:31 +0000 (0:00:00.062) 0:00:42.512 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 15:53:31 +0000 (0:00:00.064) 0:00:42.576 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/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_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 15:53:31 +0000 (0:00:00.045) 0:00:42.622 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 15:53:31 +0000 (0:00:00.034) 0:00:42.656 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494003.0436468, "block_size": 4096, "blocks": 8, "ctime": 1707494003.0236468, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5998980, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707494003.0236468, "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_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 15:53:31 +0000 (0:00:00.208) 0:00:42.865 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 15:53:31 +0000 (0:00:00.030) 0:00:42.896 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021455", "end": "2024-02-09 15:53:31.893016", "rc": 1, "start": "2024-02-09 15:53:31.871561" } 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_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 15:53:31 +0000 (0:00:00.241) 0:00:43.137 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 15:53:31 +0000 (0:00:00.036) 0:00:43.174 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003260", "end": "2024-02-09 15:53:32.155361", "rc": 0, "start": "2024-02-09 15:53:32.152101" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 15:53:32 +0000 (0:00:00.219) 0:00:43.394 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 15:53:32 +0000 (0:00:00.041) 0:00:43.435 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003354", "end": "2024-02-09 15:53:32.412901", "rc": 0, "start": "2024-02-09 15:53:32.409547" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 15:53:32 +0000 (0:00:00.212) 0:00:43.648 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 15:53:32 +0000 (0:00:00.036) 0:00:43.684 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 15:53:32 +0000 (0:00:00.033) 0:00:43.717 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 15:53:32 +0000 (0:00:00.036) 0:00:43.753 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:48 Friday 09 February 2024 15:53:32 +0000 (0:00:00.033) 0:00:43.787 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003885", "end": "2024-02-09 15:53:32.774822", "rc": 0, "start": "2024-02-09 15:53:32.770937" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.219 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.219 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_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:52 Friday 09 February 2024 15:53:32 +0000 (0:00:00.222) 0:00:44.009 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:58 Friday 09 February 2024 15:53:32 +0000 (0:00:00.075) 0:00:44.085 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004020", "end": "2024-02-09 15:53:33.072788", "rc": 0, "start": "2024-02-09 15:53:33.068768" } 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_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:62 Friday 09 February 2024 15:53:33 +0000 (0:00:00.240) 0:00:44.325 ******* 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_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:69 Friday 09 February 2024 15:53:33 +0000 (0:00:00.042) 0:00:44.368 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:53:33 +0000 (0:00:00.033) 0:00:44.401 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:53:33 +0000 (0:00:00.045) 0:00:44.446 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:53:33 +0000 (0:00:00.034) 0:00:44.481 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:53:33 +0000 (0:00:00.034) 0:00:44.515 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:53:33 +0000 (0:00:00.032) 0:00:44.547 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:53:35 +0000 (0:00:01.690) 0:00:46.238 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:53:36 +0000 (0:00:01.378) 0:00:47.616 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:53:36 +0000 (0:00:00.035) 0:00:47.652 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:53:36 +0000 (0:00:00.075) 0:00:47.727 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:53:36 +0000 (0:00:00.051) 0:00:47.779 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:53:36 +0000 (0:00:00.069) 0:00:47.849 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:53:36 +0000 (0:00:00.043) 0:00:47.893 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:53:36 +0000 (0:00:00.122) 0:00:48.016 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:53:36 +0000 (0:00:00.040) 0:00:48.056 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:53:36 +0000 (0:00:00.033) 0:00:48.089 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:53:36 +0000 (0:00:00.035) 0:00:48.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:53:37 +0000 (0:00:00.399) 0:00:48.524 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2449phdv4vk_/tmp5sqb5qbg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:53:37 +0000 (0:00:00.358) 0:00:48.883 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:53:38 +0000 (0:00:00.469) 0:00:49.352 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:53:38 +0000 (0:00:00.044) 0:00:49.396 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:53:38 +0000 (0:00:00.066) 0:00:49.463 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:53:38 +0000 (0:00:00.050) 0:00:49.514 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:53:38 +0000 (0:00:00.043) 0:00:49.557 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:81 Friday 09 February 2024 15:53:38 +0000 (0:00:00.233) 0:00:49.790 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 15:53:38 +0000 (0:00:00.088) 0:00:49.879 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 15:53:38 +0000 (0:00:00.040) 0:00:49.920 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 15:53:38 +0000 (0:00:00.050) 0:00:49.970 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 15:53:38 +0000 (0:00:00.087) 0:00:50.057 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 15:53:38 +0000 (0:00:00.042) 0:00:50.100 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003470", "end": "2024-02-09 15:53:39.089232", "rc": 0, "start": "2024-02-09 15:53:39.085762" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 15:53:39 +0000 (0:00:00.225) 0:00:50.325 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 15:53:39 +0000 (0:00:00.051) 0:00:50.377 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 15:53:39 +0000 (0:00:00.065) 0:00:50.442 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 09 February 2024 15:53:42 +0000 (0:00:02.769) 0:00:53.212 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 09 February 2024 15:53:42 +0000 (0:00:00.040) 0:00:53.252 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 09 February 2024 15:53:42 +0000 (0:00:00.029) 0:00:53.282 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012978", "end": "2024-02-09 15:53:42.273375", "rc": 0, "start": "2024-02-09 15:53:42.260397" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 09 February 2024 15:53:42 +0000 (0:00:00.233) 0:00:53.516 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 09 February 2024 15:53:42 +0000 (0:00:00.049) 0:00:53.565 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 09 February 2024 15:53:42 +0000 (0:00:00.040) 0:00:53.605 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 15:53:42 +0000 (0:00:00.050) 0:00:53.656 ******* 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_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:85 Friday 09 February 2024 15:53:42 +0000 (0:00:00.041) 0:00:53.698 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:89 Friday 09 February 2024 15:53:42 +0000 (0:00:00.042) 0:00:53.740 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 15:53:42 +0000 (0:00:00.061) 0:00:53.801 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 15:53:42 +0000 (0:00:00.065) 0:00:53.866 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 15:53:42 +0000 (0:00:00.029) 0:00:53.895 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 15:53:42 +0000 (0:00:00.042) 0:00:53.938 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 15:53:42 +0000 (0:00:00.041) 0:00:53.979 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003477", "end": "2024-02-09 15:53:42.958943", "rc": 0, "start": "2024-02-09 15:53:42.955466" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 15:53:42 +0000 (0:00:00.215) 0:00:54.195 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 15:53:43 +0000 (0:00:00.031) 0:00:54.226 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 15:53:43 +0000 (0:00:00.031) 0:00:54.257 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 09 February 2024 15:53:45 +0000 (0:00:02.590) 0:00:56.848 ******* 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.006658", "end": "2024-02-09 15:53:45.831465", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-09 15:53:45.824807" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003981", "end": "2024-02-09 15:53:46.063657", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-09 15:53:46.059676" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004680", "end": "2024-02-09 15:53:46.253022", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-09 15:53:46.248342" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 09 February 2024 15:53:46 +0000 (0:00:00.642) 0:00:57.490 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022428", "end": "2024-02-09 15:53:46.489861", "rc": 0, "start": "2024-02-09 15:53:46.467433" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 09 February 2024 15:53:46 +0000 (0:00:00.239) 0:00:57.730 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 09 February 2024 15:53:46 +0000 (0:00:00.039) 0:00:57.769 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 09 February 2024 15:53:46 +0000 (0:00:00.034) 0:00:57.803 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 09 February 2024 15:53:46 +0000 (0:00:00.060) 0:00:57.864 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 15:53:46 +0000 (0:00:00.053) 0:00:57.918 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:53:46 +0000 (0:00:00.051) 0:00:57.969 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:53:46 +0000 (0:00:00.078) 0:00:58.047 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:53:46 +0000 (0:00:00.036) 0:00:58.083 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:53:46 +0000 (0:00:00.035) 0:00:58.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 : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:53:46 +0000 (0:00:00.033) 0:00:58.152 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:53:48 +0000 (0:00:01.627) 0:00:59.780 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:53:49 +0000 (0:00:01.354) 0:01:01.134 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:53:49 +0000 (0:00:00.036) 0:01:01.171 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:53:50 +0000 (0:00:00.036) 0:01:01.207 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:53:50 +0000 (0:00:00.034) 0:01:01.241 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:53:50 +0000 (0:00:00.060) 0:01:01.301 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:53:50 +0000 (0:00:00.034) 0:01:01.336 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:53:50 +0000 (0:00:00.035) 0:01:01.372 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:53:50 +0000 (0:00:00.070) 0:01:01.442 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:53:50 +0000 (0:00:00.064) 0:01:01.506 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:53:50 +0000 (0:00:00.036) 0:01:01.543 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:53:50 +0000 (0:00:00.439) 0:01:01.982 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2449phdv4vk_/tmpjqko1vc2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:53:51 +0000 (0:00:00.555) 0:01:02.538 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:53:57 +0000 (0:00:06.535) 0:01:09.074 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:53:57 +0000 (0:00:00.050) 0:01:09.124 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:53:57 +0000 (0:00:00.036) 0:01:09.160 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:53:58 +0000 (0:00:00.056) 0:01:09.216 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:53:58 +0000 (0:00:00.061) 0:01:09.278 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:110 Friday 09 February 2024 15:53:58 +0000 (0:00:00.248) 0:01:09.527 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 15:53:58 +0000 (0:00:00.074) 0:01:09.601 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 15:53:58 +0000 (0:00:00.096) 0:01:09.697 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494025.8287158, "block_size": 4096, "blocks": 0, "ctime": 1707494025.8287158, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22209, "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": 1707494025.8287158, "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_rewrite7iq5q6vt/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 15:53:58 +0000 (0:00:00.241) 0:01:09.939 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:112 Friday 09 February 2024 15:53:58 +0000 (0:00:00.034) 0:01:09.973 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 15:53:58 +0000 (0:00:00.064) 0:01:10.037 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/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_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 15:53:58 +0000 (0:00:00.099) 0:01:10.137 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 15:53:58 +0000 (0:00:00.045) 0:01:10.182 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494031.6246114, "block_size": 4096, "blocks": 8, "ctime": 1707494031.6046114, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5998980, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707494031.6046114, "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_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 15:53:59 +0000 (0:00:00.234) 0:01:10.416 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 15:53:59 +0000 (0:00:00.039) 0:01:10.456 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021017", "end": "2024-02-09 15:53:59.456011", "rc": 1, "start": "2024-02-09 15:53:59.434994" } 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_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 15:53:59 +0000 (0:00:00.248) 0:01:10.705 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 15:53:59 +0000 (0:00:00.066) 0:01:10.771 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003369", "end": "2024-02-09 15:53:59.756789", "rc": 0, "start": "2024-02-09 15:53:59.753420" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 15:53:59 +0000 (0:00:00.232) 0:01:11.004 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 15:53:59 +0000 (0:00:00.036) 0:01:11.041 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003391", "end": "2024-02-09 15:54:00.023126", "rc": 0, "start": "2024-02-09 15:54:00.019735" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 15:54:00 +0000 (0:00:00.227) 0:01:11.269 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 15:54:00 +0000 (0:00:00.041) 0:01:11.310 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 15:54:00 +0000 (0:00:00.037) 0:01:11.347 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 15:54:00 +0000 (0:00:00.040) 0:01:11.388 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:116 Friday 09 February 2024 15:54:00 +0000 (0:00:00.038) 0:01:11.426 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003760", "end": "2024-02-09 15:54:00.433583", "rc": 0, "start": "2024-02-09 15:54:00.429823" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.219 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.219 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_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:120 Friday 09 February 2024 15:54:00 +0000 (0:00:00.262) 0:01:11.689 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:126 Friday 09 February 2024 15:54:00 +0000 (0:00:00.034) 0:01:11.724 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003987", "end": "2024-02-09 15:54:00.708937", "rc": 0, "start": "2024-02-09 15:54:00.704950" } 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_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:130 Friday 09 February 2024 15:54:00 +0000 (0:00:00.235) 0:01:11.959 ******* 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_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:137 Friday 09 February 2024 15:54:00 +0000 (0:00:00.032) 0:01:11.992 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:54:00 +0000 (0:00:00.033) 0:01:12.026 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:54:00 +0000 (0:00:00.127) 0:01:12.154 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:54:01 +0000 (0:00:00.101) 0:01:12.255 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:54:01 +0000 (0:00:00.104) 0:01:12.359 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:54:01 +0000 (0:00:00.058) 0:01:12.417 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:54:02 +0000 (0:00:01.710) 0:01:14.127 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:54:04 +0000 (0:00:01.363) 0:01:15.490 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:54:04 +0000 (0:00:00.034) 0:01:15.524 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:54:04 +0000 (0:00:00.034) 0:01:15.559 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:54:04 +0000 (0:00:00.034) 0:01:15.594 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:54:04 +0000 (0:00:00.058) 0:01:15.652 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:54:04 +0000 (0:00:00.037) 0:01:15.689 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:54:04 +0000 (0:00:00.033) 0:01:15.723 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:54:04 +0000 (0:00:00.036) 0:01:15.759 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:54:04 +0000 (0:00:00.033) 0:01:15.792 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:54:04 +0000 (0:00:00.029) 0:01:15.822 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:54:05 +0000 (0:00:00.497) 0:01:16.319 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2449phdv4vk_/tmpjh87ptlf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:54:05 +0000 (0:00:00.381) 0:01:16.700 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:54:05 +0000 (0:00:00.446) 0:01:17.147 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:54:05 +0000 (0:00:00.036) 0:01:17.184 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:54:06 +0000 (0:00:00.033) 0:01:17.217 ******* 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_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:54:06 +0000 (0:00:00.038) 0:01:17.256 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:54:06 +0000 (0:00:00.047) 0:01:17.303 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:149 Friday 09 February 2024 15:54:06 +0000 (0:00:00.239) 0:01:17.543 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 15:54:06 +0000 (0:00:00.087) 0:01:17.630 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 15:54:06 +0000 (0:00:00.039) 0:01:17.670 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 15:54:06 +0000 (0:00:00.031) 0:01:17.701 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 15:54:06 +0000 (0:00:00.044) 0:01:17.746 ******* included: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 15:54:06 +0000 (0:00:00.040) 0:01:17.786 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003471", "end": "2024-02-09 15:54:06.769752", "rc": 0, "start": "2024-02-09 15:54:06.766281" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 15:54:06 +0000 (0:00:00.261) 0:01:18.047 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 15:54:06 +0000 (0:00:00.040) 0:01:18.088 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 15:54:06 +0000 (0:00:00.036) 0:01:18.125 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 09 February 2024 15:54:09 +0000 (0:00:02.756) 0:01:20.881 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 09 February 2024 15:54:09 +0000 (0:00:00.060) 0:01:20.942 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 09 February 2024 15:54:09 +0000 (0:00:00.059) 0:01:21.002 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009869", "end": "2024-02-09 15:54:10.036321", "rc": 0, "start": "2024-02-09 15:54:10.026452" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 09 February 2024 15:54:10 +0000 (0:00:00.281) 0:01:21.283 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 09 February 2024 15:54:10 +0000 (0:00:00.052) 0:01:21.335 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 09 February 2024 15:54:10 +0000 (0:00:00.048) 0:01:21.384 ******* 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_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 15:54:10 +0000 (0:00:00.032) 0:01:21.417 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=140 changed=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Friday 09 February 2024 15:54:10 +0000 (0:00:00.070) 0:01:21.487 ******* =============================================================================== Verify DNS and ping still work before el repo setup --------------------- 8.31s /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/tasks/el_repo_setup.yml:3 ----- Verify DNS and ping still work after el repo setup ---------------------- 8.31s /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/tasks/el_repo_setup.yml:69 ---- fedora.linux_system_roles.network : Configure networking connection profiles --- 7.75s /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.54s /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Install packages -------------------- 4.12s /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install iproute --------------------------------------------------------- 2.99s /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.77s /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.76s /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.59s /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /WORKDIR/git-bond_options_rewrite7iq5q6vt/.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.71s /WORKDIR/git-bond_options_rewrite7iq5q6vt/.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.69s /WORKDIR/git-bond_options_rewrite7iq5q6vt/.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.63s /WORKDIR/git-bond_options_rewrite7iq5q6vt/.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.56s /WORKDIR/git-bond_options_rewrite7iq5q6vt/.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.38s /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 0.95s /WORKDIR/git-bond_options_rewrite7iq5q6vt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Gathering Facts --------------------------------------------------------- 0.80s /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/tests_auto_gateway_initscripts.yml:5 Gathering Facts --------------------------------------------------------- 0.65s /WORKDIR/git-bond_options_rewrite7iq5q6vt/tests/playbooks/tests_auto_gateway.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---