# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_route_table_nm.yml ********************************************* 6 plays in /WORKDIR/git-bond_options_rewritesacsnolo/tests/tests_route_table_nm.yml PLAY [Run playbook 'playbooks/tests_route_table.yml' with nm as provider] ****** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tests_route_table_nm.yml:6 Friday 09 February 2024 16:01:41 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tests_route_table_nm.yml:9 Friday 09 February 2024 16:01:41 +0000 (0:00:00.643) 0:00:00.656 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/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_rewritesacsnolo/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 16:01:41 +0000 (0:00:00.015) 0:00:00.672 ******* 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.093538", "end": "2024-02-09 16:01:50.320043", "rc": 0, "start": "2024-02-09 16:01:42.226505" } STDOUT: 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 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=51 time=3.04 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=2 ttl=51 time=1.92 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=3 ttl=51 time=1.96 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=4 ttl=51 time=2.05 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=5 ttl=51 time=1.95 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 1.915/2.179/3.035/0.429 ms 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (67.219.144.68) 56(84) bytes of data. 64 bytes from 67.219.144.68 (67.219.144.68): icmp_seq=1 ttl=49 time=30.8 ms 64 bytes from 67.219.144.68 (67.219.144.68): icmp_seq=2 ttl=49 time=29.9 ms 64 bytes from 67.219.144.68 (67.219.144.68): icmp_seq=3 ttl=49 time=29.9 ms 64 bytes from 67.219.144.68 (67.219.144.68): icmp_seq=4 ttl=49 time=29.9 ms 64 bytes from 67.219.144.68 (67.219.144.68): icmp_seq=5 ttl=49 time=30.0 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 29.880/30.093/30.776/0.342 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_rewritesacsnolo/tests/tasks/el_repo_setup.yml:17 Friday 09 February 2024 16:01:50 +0000 (0:00:08.375) 0:00:09.047 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:33 Friday 09 February 2024 16:01:50 +0000 (0:00:00.343) 0:00:09.391 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:38 Friday 09 February 2024 16:01:50 +0000 (0:00:00.262) 0:00:09.654 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:42 Friday 09 February 2024 16:01:50 +0000 (0:00:00.022) 0:00:09.676 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:67 Friday 09 February 2024 16:01:50 +0000 (0:00:00.020) 0:00:09.697 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 16:01:51 +0000 (0:00:00.035) 0:00:09.732 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 16:01:51 +0000 (0:00:00.011) 0:00:09.743 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 16:01:51 +0000 (0:00:00.011) 0:00:09.754 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 16:01:51 +0000 (0:00:00.011) 0:00:09.766 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 16:01:51 +0000 (0:00:00.011) 0:00:09.777 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify DNS and ping still work after el repo setup] ********************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:71 Friday 09 February 2024 16:01:51 +0000 (0:00:00.009) 0:00:09.787 ******* 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.096519", "end": "2024-02-09 16:01:59.340410", "rc": 0, "start": "2024-02-09 16:01:51.243891" } STDOUT: 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (67.219.144.68) 56(84) bytes of data. 64 bytes from 67.219.144.68 (67.219.144.68): icmp_seq=1 ttl=49 time=30.6 ms 64 bytes from 67.219.144.68 (67.219.144.68): icmp_seq=2 ttl=49 time=29.7 ms 64 bytes from 67.219.144.68 (67.219.144.68): icmp_seq=3 ttl=49 time=29.8 ms 64 bytes from 67.219.144.68 (67.219.144.68): icmp_seq=4 ttl=49 time=29.9 ms 64 bytes from 67.219.144.68 (67.219.144.68): icmp_seq=5 ttl=49 time=29.9 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 29.739/29.985/30.606/0.317 ms 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 PING wildcard.fedoraproject.org (38.145.60.21) 56(84) bytes of data. 64 bytes from proxy-iad02.fedoraproject.org (38.145.60.21): icmp_seq=1 ttl=53 time=2.98 ms 64 bytes from proxy-iad02.fedoraproject.org (38.145.60.21): icmp_seq=2 ttl=53 time=1.87 ms 64 bytes from proxy-iad02.fedoraproject.org (38.145.60.21): icmp_seq=3 ttl=53 time=1.80 ms 64 bytes from proxy-iad02.fedoraproject.org (38.145.60.21): icmp_seq=4 ttl=53 time=1.87 ms 64 bytes from proxy-iad02.fedoraproject.org (38.145.60.21): icmp_seq=5 ttl=53 time=1.81 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4005ms rtt min/avg/max/mdev = 1.804/2.066/2.983/0.459 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 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tests_route_table_nm.yml:11 Friday 09 February 2024 16:01:59 +0000 (0:00:08.282) 0:00:18.069 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing route table] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:3 Friday 09 February 2024 16:01:59 +0000 (0:00:00.012) 0:00:18.081 ******* ok: [sut] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:11 Friday 09 February 2024 16:01:59 +0000 (0:00:00.489) 0:00:18.571 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:15 Friday 09 February 2024 16:01:59 +0000 (0:00:00.012) 0:00:18.584 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:01:59 +0000 (0:00:00.019) 0:00:18.604 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:01:59 +0000 (0:00:00.014) 0:00:18.618 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003213", "end": "2024-02-09 16:02:00.075915", "rc": 0, "start": "2024-02-09 16:02:00.072702" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:02:00 +0000 (0:00:00.196) 0:00:18.814 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:02:00 +0000 (0:00:00.034) 0:00:18.849 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:17 Friday 09 February 2024 16:02:00 +0000 (0:00:00.046) 0:00:18.896 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 16:02:00 +0000 (0:00:00.053) 0:00:18.949 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 16:02:00 +0000 (0:00:00.021) 0:00:18.970 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 16:02:00 +0000 (0:00:00.024) 0:00:18.995 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:02:00 +0000 (0:00:00.019) 0:00:19.014 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:02:00 +0000 (0:00:00.018) 0:00:19.033 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003082", "end": "2024-02-09 16:02:00.536977", "rc": 0, "start": "2024-02-09 16:02:00.533895" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:02:00 +0000 (0:00:00.231) 0:00:19.265 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:02:00 +0000 (0:00:00.016) 0:00:19.281 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 16:02:00 +0000 (0:00:00.017) 0:00:19.299 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 16:02:02 +0000 (0:00:02.048) 0:00:21.347 ******* ok: [sut] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.025784", "end": "2024-02-09 16:02:02.834966", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-02-09 16:02:02.809182" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003504", "end": "2024-02-09 16:02:03.050636", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-02-09 16:02:03.047132" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.003370", "end": "2024-02-09 16:02:03.229455", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-02-09 16:02:03.226085" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 16:02:03 +0000 (0:00:00.615) 0:00:21.962 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.128287", "end": "2024-02-09 16:02:03.560577", "rc": 0, "start": "2024-02-09 16:02:03.432290" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 16:02:03 +0000 (0:00:00.326) 0:00:22.289 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 16:02:03 +0000 (0:00:00.018) 0:00:22.308 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 16:02:03 +0000 (0:00:00.016) 0:00:22.324 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 16:02:03 +0000 (0:00:00.012) 0:00:22.336 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 16:02:03 +0000 (0:00:00.029) 0:00:22.366 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:21 Friday 09 February 2024 16:02:03 +0000 (0:00:00.017) 0:00:22.383 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 16:02:03 +0000 (0:00:00.028) 0:00:22.412 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:02:03 +0000 (0:00:00.016) 0:00:22.429 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494522.8294377, "block_size": 4096, "blocks": 0, "ctime": 1707494522.8294377, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1707494522.8294377, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 - 'ethtest0'] *********************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 16:02:03 +0000 (0:00:00.217) 0:00:22.647 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:02:03 +0000 (0:00:00.021) 0:00:22.668 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:02:04 +0000 (0:00:00.077) 0:00:22.745 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:02:04 +0000 (0:00:00.026) 0:00:22.771 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:02:04 +0000 (0:00:00.013) 0:00:22.785 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:02:04 +0000 (0:00:00.019) 0:00:22.805 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:02:05 +0000 (0:00:01.486) 0:00:24.291 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:02:06 +0000 (0:00:01.099) 0:00:25.390 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:02:06 +0000 (0:00:00.023) 0:00:25.414 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:02:06 +0000 (0:00:00.022) 0:00:25.437 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:02:06 +0000 (0:00:00.049) 0:00:25.486 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:02:06 +0000 (0:00:00.046) 0:00:25.533 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:02:06 +0000 (0:00:00.022) 0:00:25.555 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:02:06 +0000 (0:00:00.022) 0:00:25.578 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:02:06 +0000 (0:00:00.026) 0:00:25.605 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:02:07 +0000 (0:00:00.507) 0:00:26.112 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:02:07 +0000 (0:00:00.028) 0:00:26.141 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:02:07 +0000 (0:00:00.024) 0:00:26.165 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:02:07 +0000 (0:00:00.023) 0:00:26.188 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 94a81128-73fb-4678-bb87-51e31fb07861 [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 94a81128-73fb-4678-bb87-51e31fb07861 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:02:08 +0000 (0:00:00.927) 0:00:27.116 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:02:08 +0000 (0:00:00.024) 0:00:27.140 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 94a81128-73fb-4678-bb87-51e31fb07861", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 94a81128-73fb-4678-bb87-51e31fb07861 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:02:08 +0000 (0:00:00.058) 0:00:27.199 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 94a81128-73fb-4678-bb87-51e31fb07861\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 94a81128-73fb-4678-bb87-51e31fb07861 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 94a81128-73fb-4678-bb87-51e31fb07861", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 94a81128-73fb-4678-bb87-51e31fb07861 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:02:08 +0000 (0:00:00.027) 0:00:27.226 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:02:08 +0000 (0:00:00.076) 0:00:27.303 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the routes from the route table 30200] ******************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:51 Friday 09 February 2024 16:02:08 +0000 (0:00:00.301) 0:00:27.605 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30200" ], "delta": "0:00:00.003517", "end": "2024-02-09 16:02:09.063758", "rc": 0, "start": "2024-02-09 16:02:09.060241" } STDOUT: 198.51.100.64/26 via 198.51.100.6 dev ethtest0 proto static metric 4 TASK [Get the routes from the route table 30400] ******************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:57 Friday 09 February 2024 16:02:09 +0000 (0:00:00.217) 0:00:27.823 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30400" ], "delta": "0:00:00.003407", "end": "2024-02-09 16:02:09.283514", "rc": 0, "start": "2024-02-09 16:02:09.280107" } STDOUT: 198.51.100.128/26 via 198.51.100.1 dev ethtest0 proto static metric 2 TASK [Assert that the route table 30200 contains the specified route] ********** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:63 Friday 09 February 2024 16:02:09 +0000 (0:00:00.198) 0:00:28.021 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the route table 30400 contains the specified route] ********** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:72 Friday 09 February 2024 16:02:09 +0000 (0:00:00.024) 0:00:28.045 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Create a dedicated test file in `/etc/iproute2/rt_tables.d/` and add a new routing table] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:80 Friday 09 February 2024 16:02:09 +0000 (0:00:00.026) 0:00:28.072 ******* changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:02:09 +0000 (0:00:00.339) 0:00:28.412 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:02:09 +0000 (0:00:00.046) 0:00:28.459 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:02:09 +0000 (0:00:00.057) 0:00:28.516 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:02:09 +0000 (0:00:00.055) 0:00:28.571 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:02:09 +0000 (0:00:00.037) 0:00:28.608 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:02:11 +0000 (0:00:01.392) 0:00:30.000 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:02:12 +0000 (0:00:00.934) 0:00:30.935 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:02:12 +0000 (0:00:00.025) 0:00:30.961 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:02:12 +0000 (0:00:00.023) 0:00:30.984 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:02:12 +0000 (0:00:00.024) 0:00:31.008 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:02:12 +0000 (0:00:00.046) 0:00:31.055 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:02:12 +0000 (0:00:00.023) 0:00:31.079 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:02:12 +0000 (0:00:00.023) 0:00:31.102 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:02:12 +0000 (0:00:00.026) 0:00:31.129 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:02:12 +0000 (0:00:00.370) 0:00:31.499 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:02:12 +0000 (0:00:00.030) 0:00:31.529 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:02:12 +0000 (0:00:00.025) 0:00:31.555 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:02:12 +0000 (0:00:00.025) 0:00:31.581 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": "custom" }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": "custom" } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': update connection ethtest0, 94a81128-73fb-4678-bb87-51e31fb07861 [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 94a81128-73fb-4678-bb87-51e31fb07861 (is-modified) [005] #0, state:up persistent_state:present, 'ethtest0': connection reapplied TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:02:13 +0000 (0:00:00.393) 0:00:31.974 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:02:13 +0000 (0:00:00.025) 0:00:32.000 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': update connection ethtest0, 94a81128-73fb-4678-bb87-51e31fb07861", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 94a81128-73fb-4678-bb87-51e31fb07861 (is-modified)", "[005] #0, state:up persistent_state:present, 'ethtest0': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:02:13 +0000 (0:00:00.039) 0:00:32.039 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": "custom" }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": "custom" } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'ethtest0': update connection ethtest0, 94a81128-73fb-4678-bb87-51e31fb07861\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 94a81128-73fb-4678-bb87-51e31fb07861 (is-modified)\n[005] #0, state:up persistent_state:present, 'ethtest0': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': update connection ethtest0, 94a81128-73fb-4678-bb87-51e31fb07861", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 94a81128-73fb-4678-bb87-51e31fb07861 (is-modified)", "[005] #0, state:up persistent_state:present, 'ethtest0': connection reapplied" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:02:13 +0000 (0:00:00.032) 0:00:32.071 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:02:13 +0000 (0:00:00.025) 0:00:32.097 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the routes from the named route table 'custom'] ********************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:115 Friday 09 February 2024 16:02:13 +0000 (0:00:00.196) 0:00:32.293 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "custom" ], "delta": "0:00:00.003237", "end": "2024-02-09 16:02:13.757383", "rc": 0, "start": "2024-02-09 16:02:13.754146" } STDOUT: 198.51.100.64/26 via 198.51.100.6 dev ethtest0 proto static metric 4 198.51.100.128/26 via 198.51.100.1 dev ethtest0 proto static metric 2 TASK [Assert that the named route table 'custom' contains the specified route] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:121 Friday 09 February 2024 16:02:13 +0000 (0:00:00.201) 0:00:32.495 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove the dedicated test file in `/etc/iproute2/rt_tables.d/`] ********** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:132 Friday 09 February 2024 16:02:13 +0000 (0:00:00.027) 0:00:32.523 ******* changed: [sut] => { "changed": true, "path": "/etc/iproute2/rt_tables.d/table.conf", "state": "absent" } META: ran handlers META: ran handlers PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/down_profile.yml:3 Friday 09 February 2024 16:02:14 +0000 (0:00:00.320) 0:00:32.844 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:02:14 +0000 (0:00:00.588) 0:00:33.432 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:02:14 +0000 (0:00:00.045) 0:00:33.478 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:02:14 +0000 (0:00:00.036) 0:00:33.514 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:02:14 +0000 (0:00:00.024) 0:00:33.539 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:02:14 +0000 (0:00:00.033) 0:00:33.573 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:02:16 +0000 (0:00:01.388) 0:00:34.961 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:02:17 +0000 (0:00:00.973) 0:00:35.934 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:02:17 +0000 (0:00:00.024) 0:00:35.958 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:02:17 +0000 (0:00:00.023) 0:00:35.982 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:02:17 +0000 (0:00:00.022) 0:00:36.005 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:02:17 +0000 (0:00:00.046) 0:00:36.052 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:02:17 +0000 (0:00:00.024) 0:00:36.076 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:02:17 +0000 (0:00:00.022) 0:00:36.099 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:02:17 +0000 (0:00:00.028) 0:00:36.128 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:02:17 +0000 (0:00:00.358) 0:00:36.487 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:02:17 +0000 (0:00:00.031) 0:00:36.518 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:02:17 +0000 (0:00:00.023) 0:00:36.542 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:02:17 +0000 (0:00:00.026) 0:00:36.568 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:02:18 +0000 (0:00:00.411) 0:00:36.980 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:02:18 +0000 (0:00:00.023) 0:00:37.003 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:02:18 +0000 (0:00:00.062) 0:00:37.066 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:02:18 +0000 (0:00:00.027) 0:00:37.094 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:02:18 +0000 (0:00:00.023) 0:00:37.118 ******* ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/down_profile+delete_interface.yml:5 Friday 09 February 2024 16:02:18 +0000 (0:00:00.197) 0:00:37.315 ******* ok: [sut] META: ran handlers TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/down_profile+delete_interface.yml:8 Friday 09 February 2024 16:02:19 +0000 (0:00:00.532) 0:00:37.848 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 16:02:19 +0000 (0:00:00.036) 0:00:37.884 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.012768", "end": "2024-02-09 16:02:19.356274", "rc": 0, "start": "2024-02-09 16:02:19.343506" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/remove_profile.yml:3 Friday 09 February 2024 16:02:19 +0000 (0:00:00.221) 0:00:38.106 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:02:19 +0000 (0:00:00.509) 0:00:38.615 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:02:19 +0000 (0:00:00.061) 0:00:38.676 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:02:20 +0000 (0:00:00.041) 0:00:38.718 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:02:20 +0000 (0:00:00.023) 0:00:38.742 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:02:20 +0000 (0:00:00.071) 0:00:38.813 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:02:21 +0000 (0:00:01.377) 0:00:40.191 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:02:22 +0000 (0:00:00.950) 0:00:41.141 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:02:22 +0000 (0:00:00.027) 0:00:41.169 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:02:22 +0000 (0:00:00.039) 0:00:41.209 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:02:22 +0000 (0:00:00.026) 0:00:41.236 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:02:22 +0000 (0:00:00.061) 0:00:41.297 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:02:22 +0000 (0:00:00.065) 0:00:41.363 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:02:22 +0000 (0:00:00.030) 0:00:41.394 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:02:22 +0000 (0:00:00.028) 0:00:41.422 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:02:23 +0000 (0:00:00.360) 0:00:41.783 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:02:23 +0000 (0:00:00.033) 0:00:41.816 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:02:23 +0000 (0:00:00.040) 0:00:41.857 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:02:23 +0000 (0:00:00.035) 0:00:41.893 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:02:23 +0000 (0:00:00.395) 0:00:42.289 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:02:23 +0000 (0:00:00.022) 0:00:42.311 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:02:23 +0000 (0:00:00.024) 0:00:42.336 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:02:23 +0000 (0:00:00.025) 0:00:42.361 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:02:23 +0000 (0:00:00.022) 0:00:42.383 ******* ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:146 Friday 09 February 2024 16:02:23 +0000 (0:00:00.191) 0:00:42.575 ******* ok: [sut] META: ran handlers TASK [Include the task 'assert_profile_absent.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:149 Friday 09 February 2024 16:02:24 +0000 (0:00:00.546) 0:00:43.122 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 16:02:24 +0000 (0:00:00.038) 0:00:43.160 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/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_rewritesacsnolo/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 16:02:24 +0000 (0:00:00.039) 0:00:43.199 ******* 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_rewritesacsnolo/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 16:02:24 +0000 (0:00:00.023) 0:00:43.222 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 16:02:24 +0000 (0:00:00.194) 0:00:43.417 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 16:02:24 +0000 (0:00:00.025) 0:00:43.443 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.019997", "end": "2024-02-09 16:02:24.921534", "rc": 1, "start": "2024-02-09 16:02:24.901537" } 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_rewritesacsnolo/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 16:02:24 +0000 (0:00:00.223) 0:00:43.667 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 16:02:24 +0000 (0:00:00.034) 0:00:43.702 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 16:02:25 +0000 (0:00:00.029) 0:00:43.732 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest0] *************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 16:02:25 +0000 (0:00:00.030) 0:00:43.762 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest0] ************************ task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 16:02:25 +0000 (0:00:00.033) 0:00:43.795 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest0'] ************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 16:02:25 +0000 (0:00:00.025) 0:00:43.821 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:153 Friday 09 February 2024 16:02:25 +0000 (0:00:00.026) 0:00:43.848 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 16:02:25 +0000 (0:00:00.066) 0:00:43.915 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:02:25 +0000 (0:00:00.036) 0:00:43.951 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 16:02:25 +0000 (0:00:00.197) 0:00:44.148 ******* ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=89 changed=6 unreachable=0 failed=0 skipped=75 rescued=0 ignored=1 Friday 09 February 2024 16:02:25 +0000 (0:00:00.019) 0:00:44.168 ******* =============================================================================== Verify DNS and ping still work before el repo setup --------------------- 8.38s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:3 ----- Verify DNS and ping still work after el repo setup ---------------------- 8.28s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:71 ---- Install iproute --------------------------------------------------------- 2.05s /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.10s /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.93s /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.64s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tests_route_table_nm.yml:6 ---- Create veth interface ethtest0 ------------------------------------------ 0.62s /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tasks/manage_test_interface.yml:28 Gathering Facts --------------------------------------------------------- 0.59s /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/down_profile.yml:3 -- Gathering Facts --------------------------------------------------------- 0.55s /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:146 Gathering Facts --------------------------------------------------------- 0.53s /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 0.51s /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/remove_profile.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 0.51s /WORKDIR/git-bond_options_rewritesacsnolo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_route_table.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---