# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.13.6] 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.13/lib/python3.8/site-packages/ansible ansible collection location = /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection executable location = /opt/ansible-2.13/bin/ansible-playbook python version = 3.8.13 (default, Jun 24 2022, 15:27:57) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] 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_routing_rules_nm.yml ******************************************* 7 plays in /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_routing_rules_nm.yml PLAY [Run playbook 'playbooks/tests_routing_rules.yml' with nm as provider] **** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_routing_rules_nm.yml:5 Monday 16 January 2023 06:44:00 +0000 (0:00:00.202) 0:00:00.202 ******** ok: [sut] META: ran handlers TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_routing_rules_nm.yml:8 Monday 16 January 2023 06:44:11 +0000 (0:00:11.562) 0:00:11.764 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml:2 Monday 16 January 2023 06:44:12 +0000 (0:00:00.455) 0:00:12.220 ******** ok: [sut] TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml:13 Monday 16 January 2023 06:44:14 +0000 (0:00:02.290) 0:00:14.511 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml:38 Monday 16 January 2023 06:44:15 +0000 (0:00:00.830) 0:00:15.342 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:4 Monday 16 January 2023 06:44:16 +0000 (0:00:00.918) 0:00:16.260 ******** changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:00.612079", "end": "2023-01-16 06:44:24.300649", "rc": 0, "start": "2023-01-16 06:44:23.688570" } STDOUT: Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Verifying packages... Preparing packages... epel-release-8-18.el8.noarch Many EPEL packages require the CodeReady Builder (CRB) repository. It is recommended that you run /usr/bin/crb enable to enable the CRB repository. TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:19 Monday 16 January 2023 06:44:24 +0000 (0:00:08.415) 0:00:24.676 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:23 Monday 16 January 2023 06:44:25 +0000 (0:00:01.164) 0:00:25.840 ******** changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.558979", "end": "2023-01-16 06:44:27.451517", "rc": 0, "start": "2023-01-16 06:44:26.892538" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:30 Monday 16 January 2023 06:44:27 +0000 (0:00:01.730) 0:00:27.571 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_routing_rules_nm.yml:9 Monday 16 January 2023 06:44:28 +0000 (0:00:00.603) 0:00:28.174 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:3 Monday 16 January 2023 06:44:29 +0000 (0:00:00.803) 0:00:28.978 ******** ok: [sut] META: ran handlers META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:5 Monday 16 January 2023 06:44:31 +0000 (0:00:02.102) 0:00:31.081 ******** ok: [sut] META: ran handlers TASK [set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:12 Monday 16 January 2023 06:44:34 +0000 (0:00:03.794) 0:00:34.875 ******** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:16 Monday 16 January 2023 06:44:35 +0000 (0:00:00.863) 0:00:35.739 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/show_interfaces.yml:3 Monday 16 January 2023 06:44:36 +0000 (0:00:01.033) 0:00:36.772 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 16 January 2023 06:44:37 +0000 (0:00:00.660) 0:00:37.432 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004346", "end": "2023-01-16 06:44:39.125309", "rc": 0, "start": "2023-01-16 06:44:39.120963" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 16 January 2023 06:44:39 +0000 (0:00:01.959) 0:00:39.391 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/show_interfaces.yml:4 Monday 16 January 2023 06:44:40 +0000 (0:00:01.319) 0:00:40.711 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:17 Monday 16 January 2023 06:44:41 +0000 (0:00:00.793) 0:00:41.504 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 16 January 2023 06:44:42 +0000 (0:00:00.919) 0:00:42.424 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 16 January 2023 06:44:42 +0000 (0:00:00.319) 0:00:42.744 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 16 January 2023 06:44:43 +0000 (0:00:00.612) 0:00:43.356 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/show_interfaces.yml:3 Monday 16 January 2023 06:44:44 +0000 (0:00:00.734) 0:00:44.090 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 16 January 2023 06:44:44 +0000 (0:00:00.641) 0:00:44.732 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004283", "end": "2023-01-16 06:44:47.027724", "rc": 0, "start": "2023-01-16 06:44:47.023441" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 16 January 2023 06:44:47 +0000 (0:00:02.640) 0:00:47.372 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/show_interfaces.yml:4 Monday 16 January 2023 06:44:48 +0000 (0:00:00.788) 0:00:48.161 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/manage_test_interface.yml:15 Monday 16 January 2023 06:44:48 +0000 (0:00:00.609) 0:00:48.770 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/manage_test_interface.yml:21 Monday 16 January 2023 06:45:04 +0000 (0:00:16.151) 0:01:04.922 ******** changed: [sut] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.073535", "end": "2023-01-16 06:45:06.112076", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2023-01-16 06:45:06.038541" } changed: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.009102", "end": "2023-01-16 06:45:06.942468", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2023-01-16 06:45:06.933366" } changed: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.009027", "end": "2023-01-16 06:45:07.741865", "item": "ip link set ethtest0 up", "rc": 0, "start": "2023-01-16 06:45:07.732838" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 16 January 2023 06:45:07 +0000 (0:00:02.829) 0:01:07.751 ******** changed: [sut] => { "changed": true, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.085381", "end": "2023-01-16 06:45:08.220634", "rc": 0, "start": "2023-01-16 06:45:08.135253" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/manage_test_interface.yml:35 Monday 16 January 2023 06:45:08 +0000 (0:00:00.490) 0:01:08.242 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/manage_test_interface.yml:40 Monday 16 January 2023 06:45:08 +0000 (0:00:00.079) 0:01:08.322 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/manage_test_interface.yml:44 Monday 16 January 2023 06:45:08 +0000 (0:00:00.068) 0:01:08.390 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 16 January 2023 06:45:08 +0000 (0:00:00.062) 0:01:08.453 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/manage_test_interface.yml:53 Monday 16 January 2023 06:45:08 +0000 (0:00:00.062) 0:01:08.515 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:20 Monday 16 January 2023 06:45:08 +0000 (0:00:00.075) 0:01:08.591 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml for sut TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml:3 Monday 16 January 2023 06:45:08 +0000 (0:00:00.135) 0:01:08.726 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 16 January 2023 06:45:08 +0000 (0:00:00.056) 0:01:08.782 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1673851506.1089754, "block_size": 4096, "blocks": 0, "ctime": 1673851506.1089754, "dev": 20, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22064, "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": 1673851506.1089754, "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 interface ethtest0 is present] ******************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml:4 Monday 16 January 2023 06:45:09 +0000 (0:00:00.480) 0:01:09.263 ******** 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/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:22 Monday 16 January 2023 06:45:09 +0000 (0:00:00.059) 0:01:09.322 ******** changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 16 January 2023 06:45:09 +0000 (0:00:00.606) 0:01:09.928 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 16 January 2023 06:45:10 +0000 (0:00:00.065) 0:01:09.994 ******** 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 services are running] **** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Monday 16 January 2023 06:45:10 +0000 (0:00:00.493) 0:01:10.487 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Monday 16 January 2023 06:45:12 +0000 (0:00:02.445) 0:01:12.933 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 16 January 2023 06:45:15 +0000 (0:00:02.135) 0:01:15.068 ******** ok: [sut] => {} MSG: Using network provider: nm 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 16 January 2023 06:45:15 +0000 (0:00:00.081) 0:01:15.150 ******** skipping: [sut] => { "changed": false, "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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 16 January 2023 06:45:15 +0000 (0:00:00.118) 0:01:15.268 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 16 January 2023 06:45:15 +0000 (0:00:00.091) 0:01:15.360 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 16 January 2023 06:45:15 +0000 (0:00:00.128) 0:01:15.488 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 16 January 2023 06:45:15 +0000 (0:00:00.062) 0:01:15.551 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 16 January 2023 06:45:15 +0000 (0:00:00.116) 0:01:15.668 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 16 January 2023 06:45:15 +0000 (0:00:00.078) 0:01:15.747 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 16 January 2023 06:45:16 +0000 (0:00:00.923) 0:01:16.670 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 16 January 2023 06:45:16 +0000 (0:00:00.103) 0:01:16.774 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 16 January 2023 06:45:16 +0000 (0:00:00.069) 0:01:16.844 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 16 January 2023 06:45:16 +0000 (0:00:00.091) 0:01:16.935 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26", "2001:db8::2/32" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 }, { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db8::4", "prefix": 32, "table": 30600 } ], "routing_rule": [ { "from": "198.51.100.58/26", "priority": 30200, "table": 30200 }, { "family": "ipv4", "fwmark": 1, "fwmask": 1, "priority": 30201, "table": 30200 }, { "family": "ipv4", "ipproto": 6, "priority": 30202, "table": 30200 }, { "family": "ipv4", "priority": 30203, "sport": "128 - 256", "table": 30200 }, { "family": "ipv4", "priority": 30204, "table": 30200, "tos": 8 }, { "priority": 30400, "table": 30400, "to": "198.51.100.128/26" }, { "family": "ipv4", "iif": "iiftest", "priority": 30401, "table": 30400 }, { "family": "ipv4", "oif": "oiftest", "priority": 30402, "table": 30400 }, { "priority": 30600, "table": 30600, "to": "2001:db8::4/32" }, { "dport": "128 - 256", "family": "ipv6", "invert": true, "priority": 30601, "table": 30600 }, { "from": "198.51.100.56/26", "priority": 200, "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': add connection ethtest0, 1fe66b28-12f7-4283-b13b-cd83ac4fafe9 [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 1fe66b28-12f7-4283-b13b-cd83ac4fafe9 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 16 January 2023 06:45:17 +0000 (0:00:00.856) 0:01:17.792 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 16 January 2023 06:45:17 +0000 (0:00:00.057) 0:01:17.849 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 1fe66b28-12f7-4283-b13b-cd83ac4fafe9", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 1fe66b28-12f7-4283-b13b-cd83ac4fafe9 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 16 January 2023 06:45:17 +0000 (0:00:00.096) 0:01:17.946 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26", "2001:db8::2/32" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 }, { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db8::4", "prefix": 32, "table": 30600 } ], "routing_rule": [ { "from": "198.51.100.58/26", "priority": 30200, "table": 30200 }, { "family": "ipv4", "fwmark": 1, "fwmask": 1, "priority": 30201, "table": 30200 }, { "family": "ipv4", "ipproto": 6, "priority": 30202, "table": 30200 }, { "family": "ipv4", "priority": 30203, "sport": "128 - 256", "table": 30200 }, { "family": "ipv4", "priority": 30204, "table": 30200, "tos": 8 }, { "priority": 30400, "table": 30400, "to": "198.51.100.128/26" }, { "family": "ipv4", "iif": "iiftest", "priority": 30401, "table": 30400 }, { "family": "ipv4", "oif": "oiftest", "priority": 30402, "table": 30400 }, { "priority": 30600, "table": 30600, "to": "2001:db8::4/32" }, { "dport": "128 - 256", "family": "ipv6", "invert": true, "priority": 30601, "table": 30600 }, { "from": "198.51.100.56/26", "priority": 200, "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': add connection ethtest0, 1fe66b28-12f7-4283-b13b-cd83ac4fafe9\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 1fe66b28-12f7-4283-b13b-cd83ac4fafe9 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 1fe66b28-12f7-4283-b13b-cd83ac4fafe9", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 1fe66b28-12f7-4283-b13b-cd83ac4fafe9 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 16 January 2023 06:45:18 +0000 (0:00:00.139) 0:01:18.085 ******** skipping: [sut] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 16 January 2023 06:45:18 +0000 (0:00:00.073) 0:01:18.159 ******** ok: [sut] => { "changed": false, "ping": "pong" } META: role_complete for sut TASK [Get the routing rule for looking up the table 30200] ********************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:106 Monday 16 January 2023 06:45:18 +0000 (0:00:00.490) 0:01:18.649 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "rule", "list", "table", "30200" ], "delta": "0:00:00.064547", "end": "2023-01-16 06:45:18.985403", "rc": 0, "start": "2023-01-16 06:45:18.920856" } STDOUT: 30200: from 198.51.100.58/26 lookup 30200 proto static 30201: from all fwmark 0x1/0x1 lookup 30200 proto static 30202: from all ipproto tcp lookup 30200 proto static 30203: from all sport 128-256 lookup 30200 proto static 30204: from all tos throughput lookup 30200 proto static TASK [Get the routing rule for looking up the table 30400] ********************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:113 Monday 16 January 2023 06:45:19 +0000 (0:00:00.420) 0:01:19.070 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "rule", "list", "table", "30400" ], "delta": "0:00:00.004232", "end": "2023-01-16 06:45:19.342211", "rc": 0, "start": "2023-01-16 06:45:19.337979" } STDOUT: 30400: from all to 198.51.100.128/26 lookup 30400 proto static 30401: from all iif iiftest [detached] lookup 30400 proto static 30402: from all oif oiftest [detached] lookup 30400 proto static TASK [Get the routing rule for looking up the table 30600] ********************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:120 Monday 16 January 2023 06:45:19 +0000 (0:00:00.314) 0:01:19.385 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "rule", "list", "table", "30600" ], "delta": "0:00:00.004534", "end": "2023-01-16 06:45:19.660036", "rc": 0, "start": "2023-01-16 06:45:19.655502" } STDOUT: 30600: from all to 2001:db8::4/32 lookup 30600 proto static 30601: not from all dport 128-256 lookup 30600 proto static TASK [Get the routing rule for looking up the table 'custom'] ****************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:127 Monday 16 January 2023 06:45:19 +0000 (0:00:00.289) 0:01:19.675 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "rule", "list", "table", "custom" ], "delta": "0:00:00.004337", "end": "2023-01-16 06:45:19.968486", "rc": 0, "start": "2023-01-16 06:45:19.964149" } STDOUT: 200: from 198.51.100.56/26 lookup custom proto static TASK [Get the IPv4 routing rule for the connection "ethtest0"] ***************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:134 Monday 16 January 2023 06:45:20 +0000 (0:00:00.356) 0:01:20.031 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.022853", "end": "2023-01-16 06:45:20.329672", "rc": 0, "start": "2023-01-16 06:45:20.306819" } STDOUT: ipv4.routing-rules: priority 30200 from 198.51.100.58/26 table 30200, priority 30201 from 0.0.0.0/0 fwmark 0x1/0x1 table 30200, priority 30202 from 0.0.0.0/0 ipproto 6 table 30200, priority 30203 from 0.0.0.0/0 sport 128-256 table 30200, priority 30204 from 0.0.0.0/0 tos 0x08 table 30200, priority 30400 to 198.51.100.128/26 table 30400, priority 30401 from 0.0.0.0/0 iif iiftest table 30400, priority 30402 from 0.0.0.0/0 oif oiftest table 30400, priority 200 from 198.51.100.56/26 table 200 TASK [Get the IPv6 routing rule for the connection "ethtest0"] ***************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:140 Monday 16 January 2023 06:45:20 +0000 (0:00:00.449) 0:01:20.481 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.022141", "end": "2023-01-16 06:45:20.768013", "rc": 0, "start": "2023-01-16 06:45:20.745872" } STDOUT: ipv6.routing-rules: priority 30600 to 2001:db8::4/32 table 30600, priority 30601 not from ::/0 dport 128-256 table 30600 TASK [Assert that the routing rule with table lookup 30200 matches the specified rule] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:146 Monday 16 January 2023 06:45:20 +0000 (0:00:00.296) 0:01:20.777 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the routing rule with table lookup 30400 matches the specified rule] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:157 Monday 16 January 2023 06:45:20 +0000 (0:00:00.126) 0:01:20.903 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the routing rule with table lookup 30600 matches the specified rule] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:166 Monday 16 January 2023 06:45:21 +0000 (0:00:00.078) 0:01:20.982 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the routing rule with 'custom' table lookup matches the specified rule] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:174 Monday 16 January 2023 06:45:21 +0000 (0:00:00.085) 0:01:21.067 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the IPv4 routing rule in the connection "ethtest0" matches the specified rule] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:181 Monday 16 January 2023 06:45:21 +0000 (0:00:00.069) 0:01:21.137 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the IPv6 routing rule in the connection "ethtest0" matches the specified rule] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:195 Monday 16 January 2023 06:45:21 +0000 (0:00:00.113) 0:01:21.250 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove the dedicated test file in `/etc/iproute2/rt_tables.d/`] ********** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:202 Monday 16 January 2023 06:45:21 +0000 (0:00:00.172) 0:01:21.423 ******** changed: [sut] => { "changed": true, "path": "/etc/iproute2/rt_tables.d/table.conf", "state": "absent" } META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/down_profile.yml:3 Monday 16 January 2023 06:45:22 +0000 (0:00:00.563) 0:01:21.986 ******** ok: [sut] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 16 January 2023 06:45:22 +0000 (0:00:00.845) 0:01:22.832 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 16 January 2023 06:45:22 +0000 (0:00:00.096) 0:01:22.929 ******** 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 services are running] **** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Monday 16 January 2023 06:45:23 +0000 (0:00:00.463) 0:01:23.392 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Monday 16 January 2023 06:45:25 +0000 (0:00:02.065) 0:01:25.458 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 16 January 2023 06:45:27 +0000 (0:00:01.647) 0:01:27.106 ******** ok: [sut] => {} MSG: Using network provider: nm 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 16 January 2023 06:45:27 +0000 (0:00:00.058) 0:01:27.164 ******** skipping: [sut] => { "changed": false, "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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 16 January 2023 06:45:27 +0000 (0:00:00.068) 0:01:27.233 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 16 January 2023 06:45:27 +0000 (0:00:00.056) 0:01:27.290 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 16 January 2023 06:45:27 +0000 (0:00:00.106) 0:01:27.396 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 16 January 2023 06:45:27 +0000 (0:00:00.055) 0:01:27.451 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 16 January 2023 06:45:27 +0000 (0:00:00.056) 0:01:27.508 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 16 January 2023 06:45:27 +0000 (0:00:00.094) 0:01:27.602 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 16 January 2023 06:45:28 +0000 (0:00:00.507) 0:01:28.110 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 16 January 2023 06:45:28 +0000 (0:00:00.081) 0:01:28.191 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 16 January 2023 06:45:28 +0000 (0:00:00.050) 0:01:28.242 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 16 January 2023 06:45:28 +0000 (0:00:00.047) 0:01:28.289 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 16 January 2023 06:45:28 +0000 (0:00:00.583) 0:01:28.873 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 16 January 2023 06:45:28 +0000 (0:00:00.053) 0:01:28.926 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 16 January 2023 06:45:29 +0000 (0:00:00.055) 0:01:28.982 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 16 January 2023 06:45:29 +0000 (0:00:00.057) 0:01:29.040 ******** skipping: [sut] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 16 January 2023 06:45:29 +0000 (0:00:00.052) 0:01:29.093 ******** ok: [sut] => { "changed": false, "ping": "pong" } META: role_complete for sut META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/down_profile+delete_interface.yml:4 Monday 16 January 2023 06:45:29 +0000 (0:00:00.380) 0:01:29.473 ******** ok: [sut] META: ran handlers TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/down_profile+delete_interface.yml:7 Monday 16 January 2023 06:45:30 +0000 (0:00:00.830) 0:01:30.303 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/delete_interface.yml for sut TASK [remove test interface if necessary] ************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/delete_interface.yml:3 Monday 16 January 2023 06:45:30 +0000 (0:00:00.104) 0:01:30.408 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.012692", "end": "2023-01-16 06:45:30.687098", "rc": 0, "start": "2023-01-16 06:45:30.674406" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/remove_profile.yml:3 Monday 16 January 2023 06:45:30 +0000 (0:00:00.345) 0:01:30.754 ******** ok: [sut] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 16 January 2023 06:45:31 +0000 (0:00:00.765) 0:01:31.519 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 16 January 2023 06:45:31 +0000 (0:00:00.080) 0:01:31.600 ******** 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 services are running] **** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Monday 16 January 2023 06:45:32 +0000 (0:00:00.464) 0:01:32.065 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Monday 16 January 2023 06:45:34 +0000 (0:00:01.989) 0:01:34.054 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 16 January 2023 06:45:35 +0000 (0:00:01.604) 0:01:35.658 ******** ok: [sut] => {} MSG: Using network provider: nm 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 16 January 2023 06:45:35 +0000 (0:00:00.051) 0:01:35.710 ******** skipping: [sut] => { "changed": false, "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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 16 January 2023 06:45:35 +0000 (0:00:00.051) 0:01:35.761 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 16 January 2023 06:45:35 +0000 (0:00:00.055) 0:01:35.817 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 16 January 2023 06:45:36 +0000 (0:00:00.145) 0:01:35.963 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 16 January 2023 06:45:36 +0000 (0:00:00.049) 0:01:36.013 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 16 January 2023 06:45:36 +0000 (0:00:00.052) 0:01:36.065 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 16 January 2023 06:45:36 +0000 (0:00:00.089) 0:01:36.155 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 16 January 2023 06:45:36 +0000 (0:00:00.528) 0:01:36.683 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 16 January 2023 06:45:36 +0000 (0:00:00.088) 0:01:36.771 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 16 January 2023 06:45:36 +0000 (0:00:00.050) 0:01:36.822 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 16 January 2023 06:45:36 +0000 (0:00:00.054) 0:01:36.876 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 16 January 2023 06:45:37 +0000 (0:00:00.535) 0:01:37.412 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 16 January 2023 06:45:37 +0000 (0:00:00.063) 0:01:37.475 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 16 January 2023 06:45:37 +0000 (0:00:00.051) 0:01:37.526 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 16 January 2023 06:45:37 +0000 (0:00:00.051) 0:01:37.578 ******** skipping: [sut] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 16 January 2023 06:45:37 +0000 (0:00:00.050) 0:01:37.629 ******** ok: [sut] => { "changed": false, "ping": "pong" } META: role_complete for sut META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:214 Monday 16 January 2023 06:45:38 +0000 (0:00:00.552) 0:01:38.182 ******** ok: [sut] META: ran handlers TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:217 Monday 16 January 2023 06:45:39 +0000 (0:00:00.852) 0:01:39.034 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 16 January 2023 06:45:39 +0000 (0:00:00.145) 0:01:39.180 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 16 January 2023 06:45:39 +0000 (0:00:00.152) 0:01:39.333 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:8 Monday 16 January 2023 06:45:39 +0000 (0:00:00.097) 0:01:39.430 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:16 Monday 16 January 2023 06:45:39 +0000 (0:00:00.326) 0:01:39.757 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:24 Monday 16 January 2023 06:45:39 +0000 (0:00:00.085) 0:01:39.842 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.023001", "end": "2023-01-16 06:45:40.145560", "rc": 1, "start": "2023-01-16 06:45:40.122559" } 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/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:33 Monday 16 January 2023 06:45:40 +0000 (0:00:00.326) 0:01:40.169 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:43 Monday 16 January 2023 06:45:40 +0000 (0:00:00.075) 0:01:40.245 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 16 January 2023 06:45:40 +0000 (0:00:00.087) 0:01:40.332 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'ethtest0' is absent] ******************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_absent.yml:4 Monday 16 January 2023 06:45:40 +0000 (0:00:00.069) 0:01:40.402 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:220 Monday 16 January 2023 06:45:40 +0000 (0:00:00.092) 0:01:40.494 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 16 January 2023 06:45:40 +0000 (0:00:00.124) 0:01:40.619 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 16 January 2023 06:45:40 +0000 (0:00:00.159) 0:01:40.778 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface ethtest0 is absent] ******************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_absent.yml:4 Monday 16 January 2023 06:45:41 +0000 (0:00:00.305) 0:01:41.084 ******** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=88 changed=9 unreachable=0 failed=0 skipped=47 rescued=0 ignored=1 Monday 16 January 2023 06:45:41 +0000 (0:00:00.134) 0:01:41.218 ******** =============================================================================== Install iproute -------------------------------------------------------- 16.15s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/manage_test_interface.yml:15 Gathering Facts -------------------------------------------------------- 11.58s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_routing_rules_nm.yml:5 Create EPEL 8 ----------------------------------------------------------- 8.53s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:4 -- Gathering Facts --------------------------------------------------------- 3.79s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:5 Create veth interface ethtest0 ------------------------------------------ 2.83s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/manage_test_interface.yml:21 Gather current interface info ------------------------------------------- 2.64s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 2.45s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gather the minimum subset of ansible_facts required by the network role test --- 2.29s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml:2 fedora.linux_system_roles.network : Check which packages are installed --- 2.14s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 2.10s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 2.07s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.99s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gather current interface info ------------------------------------------- 1.96s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml:3 Enable EPEL 8 ----------------------------------------------------------- 1.73s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:23 - fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Set current_interfaces -------------------------------------------------- 1.32s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml:9 Enable EPEL 7 ----------------------------------------------------------- 1.05s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:19 - include_tasks ----------------------------------------------------------- 1.03s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_routing_rules.yml:16 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.92s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---