ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpxngj32xw executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 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: _backup.yml ********************************************************** 1 plays in /tmp/tmpcu0yxwd0/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpcu0yxwd0/tests/_backup.yml:6 Wednesday 03 August 2022 15:51:09 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659541868.471274, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659541868.471274, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 44975, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659248396.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/_backup.yml:13 Wednesday 03 August 2022 15:51:10 +0000 (0:00:00.641) 0:00:00.660 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-36.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0777', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': False, 'isfifo': False, 'islnk': True, 'issock': False, 'uid': 0, 'gid': 0, 'size': 39, 'inode': 44975, 'dev': 31, 'nlink': 1, 'atime': 1659541868.471274, 'mtime': 1659248396.0, 'ctime': 1659541868.471274, 'wusr': True, 'rusr': True, 'xusr': True, 'wgrp': True, 'rgrp': True, 'xgrp': True, 'woth': True, 'roth': True, 'xoth': True, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'lnk_source': '/run/systemd/resolve/stub-resolv.conf', 'lnk_target': '../run/systemd/resolve/stub-resolv.conf', 'pw_name': 'root', 'gr_name': 'root', 'mimetype': 'inode/symlink', 'charset': 'binary', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python3'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659541868.471274, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659541868.471274, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 44975, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659248396.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/_backup.yml:19 Wednesday 03 August 2022 15:51:10 +0000 (0:00:00.035) 0:00:00.695 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004069", "end": "2022-08-03 15:51:10.319053", "rc": 0, "start": "2022-08-03 15:51:10.314984" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:51:11 +0000 (0:00:00.533) 0:00:01.228 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.64s /tmp/tmpcu0yxwd0/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.53s /tmp/tmpcu0yxwd0/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpcu0yxwd0/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_provider_nm.yml ************************************************ 2 plays in /tmp/tmpcu0yxwd0/tests/tests_provider_nm.yml PLAY [Run playbook 'playbooks/tests_provider.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/tests_provider_nm.yml:5 Wednesday 03 August 2022 15:51:11 +0000 (0:00:00.013) 0:00:01.242 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tests_provider_nm.yml:8 Wednesday 03 August 2022 15:51:12 +0000 (0:00:01.103) 0:00:02.345 ****** included: /tmp/tmpcu0yxwd0/tests/tasks/el_repo_setup.yml for /cache/fedora-36.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:51:12 +0000 (0:00:00.027) 0:00:02.372 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:51:12 +0000 (0:00:00.020) 0:00:02.392 ****** included: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml for /cache/fedora-36.qcow2.snap TASK [Create EPEL 36] ********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:51:12 +0000 (0:00:00.028) 0:00:02.421 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:51:12 +0000 (0:00:00.018) 0:00:02.440 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:51:12 +0000 (0:00:00.020) 0:00:02.460 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:51:12 +0000 (0:00:00.019) 0:00:02.479 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/tests_provider_nm.yml:9 Wednesday 03 August 2022 15:51:12 +0000 (0:00:00.019) 0:00:02.498 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Install NetworkManager] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/tests_provider_nm.yml:16 Wednesday 03 August 2022 15:51:12 +0000 (0:00:00.028) 0:00:02.527 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/tests_provider_nm.yml:20 Wednesday 03 August 2022 15:51:14 +0000 (0:00:02.162) 0:00:04.689 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "rpm", "-q", "--qf", "%{version}", "NetworkManager" ], "delta": "0:00:00.009916", "end": "2022-08-03 15:51:14.193350", "rc": 0, "start": "2022-08-03 15:51:14.183434" } STDOUT: 1.38.2 META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_provider.yml:3 Wednesday 03 August 2022 15:51:15 +0000 (0:00:00.426) 0:00:05.116 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_provider.yml:10 Wednesday 03 August 2022 15:51:15 +0000 (0:00:00.856) 0:00:05.972 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: this is: playbooks/tests_states.yml TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_provider.yml:18 Wednesday 03 August 2022 15:51:15 +0000 (0:00:00.048) 0:00:06.021 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml for /cache/fedora-36.qcow2.snap TASK [TEST: I can manage a veth interface with NM after I managed it with initscripts.] *** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 15:51:16 +0000 (0:00:00.051) 0:00:06.073 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ########## I can manage a veth interface with NM after I managed it with initscripts. ########## TASK [Show item] *************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 15:51:16 +0000 (0:00:00.051) 0:00:06.124 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can manage a veth interface with NM after I managed it with initscripts." } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/setup_test_interface.yml", "tasks/provider/default_with_nm.yml", "tasks/provider/create_and_remove_with_initscripts.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/provider/create_with_nm.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 15:51:16 +0000 (0:00:00.196) 0:00:06.321 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:51:16 +0000 (0:00:00.051) 0:00:06.372 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:51:16 +0000 (0:00:00.048) 0:00:06.420 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003568", "end": "2022-08-03 15:51:15.948494", "rc": 0, "start": "2022-08-03 15:51:15.944926" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:51:16 +0000 (0:00:00.434) 0:00:06.854 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:51:16 +0000 (0:00:00.048) 0:00:06.902 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [setup] ******************************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 15:51:16 +0000 (0:00:00.049) 0:00:06.952 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/setup_test_interface.yml for /cache/fedora-36.qcow2.snap => (item=tasks/setup_test_interface.yml) included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/provider/default_with_nm.yml for /cache/fedora-36.qcow2.snap => (item=tasks/provider/default_with_nm.yml) included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/provider/create_and_remove_with_initscripts.yml for /cache/fedora-36.qcow2.snap => (item=tasks/provider/create_and_remove_with_initscripts.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/setup_test_interface.yml:3 Wednesday 03 August 2022 15:51:17 +0000 (0:00:00.078) 0:00:07.030 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-36.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:51:17 +0000 (0:00:00.055) 0:00:07.086 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:51:17 +0000 (0:00:00.039) 0:00:07.125 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:51:17 +0000 (0:00:00.038) 0:00:07.163 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:51:17 +0000 (0:00:00.049) 0:00:07.213 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:51:17 +0000 (0:00:00.073) 0:00:07.287 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003655", "end": "2022-08-03 15:51:16.817429", "rc": 0, "start": "2022-08-03 15:51:16.813774" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:51:17 +0000 (0:00:00.437) 0:00:07.725 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:51:17 +0000 (0:00:00.050) 0:00:07.776 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:51:17 +0000 (0:00:00.049) 0:00:07.825 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:51:19 +0000 (0:00:01.857) 0:00:09.682 ****** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. changed: [/cache/fedora-36.qcow2.snap] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.009063", "end": "2022-08-03 15:51:19.212791", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 15:51:19.203728" } changed: [/cache/fedora-36.qcow2.snap] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.004193", "end": "2022-08-03 15:51:19.614901", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 15:51:19.610708" } changed: [/cache/fedora-36.qcow2.snap] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.016742", "end": "2022-08-03 15:51:20.018075", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 15:51:20.001333" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:51:20 +0000 (0:00:01.244) 0:00:10.927 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.021296", "end": "2022-08-03 15:51:20.468885", "rc": 0, "start": "2022-08-03 15:51:20.447589" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:51:21 +0000 (0:00:00.447) 0:00:11.375 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:51:21 +0000 (0:00:00.038) 0:00:11.414 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:51:21 +0000 (0:00:00.036) 0:00:11.450 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:51:21 +0000 (0:00:00.040) 0:00:11.491 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:51:21 +0000 (0:00:00.036) 0:00:11.527 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/provider/default_with_nm.yml:3 Wednesday 03 August 2022 15:51:21 +0000 (0:00:00.035) 0:00:11.563 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:51:21 +0000 (0:00:00.057) 0:00:11.620 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:51:21 +0000 (0:00:00.052) 0:00:11.673 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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 services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:51:22 +0000 (0:00:00.567) 0:00:12.241 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:51:24 +0000 (0:00:02.264) 0:00:14.506 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:51:25 +0000 (0:00:01.057) 0:00:15.563 ****** ok: [/cache/fedora-36.qcow2.snap] => {} 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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:51:25 +0000 (0:00:00.064) 0:00:15.627 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:51:25 +0000 (0:00:00.054) 0:00:15.681 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:51:25 +0000 (0:00:00.052) 0:00:15.734 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:51:25 +0000 (0:00:00.074) 0:00:15.809 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:51:25 +0000 (0:00:00.052) 0:00:15.861 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:51:25 +0000 (0:00:00.051) 0:00:15.912 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:51:25 +0000 (0:00:00.055) 0:00:15.967 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:51:26 +0000 (0:00:00.867) 0:00:16.835 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:51:26 +0000 (0:00:00.057) 0:00:16.892 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:51:26 +0000 (0:00:00.054) 0:00:16.947 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:51:27 +0000 (0:00:00.110) 0:00:17.058 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:51:27 +0000 (0:00:00.779) 0:00:17.837 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:51:27 +0000 (0:00:00.058) 0:00:17.895 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:51:27 +0000 (0:00:00.065) 0:00:17.961 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:51:28 +0000 (0:00:00.064) 0:00:18.026 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:51:28 +0000 (0:00:00.054) 0:00:18.080 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/provider/create_and_remove_with_initscripts.yml:3 Wednesday 03 August 2022 15:51:28 +0000 (0:00:00.595) 0:00:18.675 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:51:28 +0000 (0:00:00.124) 0:00:18.800 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:51:28 +0000 (0:00:00.087) 0:00:18.887 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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 services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:51:29 +0000 (0:00:00.577) 0:00:19.464 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:51:31 +0000 (0:00:02.116) 0:00:21.581 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:51:32 +0000 (0:00:00.764) 0:00:22.345 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:51:32 +0000 (0:00:00.067) 0:00:22.412 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:51:32 +0000 (0:00:00.055) 0:00:22.468 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:51:32 +0000 (0:00:00.055) 0:00:22.524 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:51:32 +0000 (0:00:00.078) 0:00:22.602 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:51:32 +0000 (0:00:00.061) 0:00:22.663 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:51:32 +0000 (0:00:00.065) 0:00:22.729 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:51:32 +0000 (0:00:00.069) 0:00:22.798 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:51:32 +0000 (0:00:00.057) 0:00:22.856 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:51:32 +0000 (0:00:00.102) 0:00:22.959 ****** changed: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:51:33 +0000 (0:00:00.839) 0:00:23.798 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-255994g9xtr14/tmpldcx4_9u" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:51:34 +0000 (0:00:00.468) 0:00:24.266 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:51:37 +0000 (0:00:03.745) 0:00:28.012 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:51:38 +0000 (0:00:00.058) 0:00:28.070 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:51:38 +0000 (0:00:00.132) 0:00:28.203 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:51:38 +0000 (0:00:00.068) 0:00:28.271 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:51:38 +0000 (0:00:00.054) 0:00:28.326 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/provider/create_and_remove_with_initscripts.yml:16 Wednesday 03 August 2022 15:51:38 +0000 (0:00:00.463) 0:00:28.789 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:51:38 +0000 (0:00:00.106) 0:00:28.896 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:51:38 +0000 (0:00:00.086) 0:00:28.982 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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 services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:51:39 +0000 (0:00:00.584) 0:00:29.566 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:51:41 +0000 (0:00:02.229) 0:00:31.795 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:51:42 +0000 (0:00:00.791) 0:00:32.587 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:51:42 +0000 (0:00:00.099) 0:00:32.686 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:51:42 +0000 (0:00:00.063) 0:00:32.750 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:51:42 +0000 (0:00:00.059) 0:00:32.809 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:51:42 +0000 (0:00:00.083) 0:00:32.893 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:51:42 +0000 (0:00:00.058) 0:00:32.951 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:51:42 +0000 (0:00:00.064) 0:00:33.016 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:51:43 +0000 (0:00:00.059) 0:00:33.076 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:51:43 +0000 (0:00:00.057) 0:00:33.133 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:51:43 +0000 (0:00:00.056) 0:00:33.190 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:51:43 +0000 (0:00:00.621) 0:00:33.811 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-255994g9xtr14/tmpuc480sny" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:51:44 +0000 (0:00:00.499) 0:00:34.311 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active) [004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:51:44 +0000 (0:00:00.665) 0:00:34.977 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:51:45 +0000 (0:00:00.056) 0:00:35.034 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:51:45 +0000 (0:00:00.066) 0:00:35.101 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)\n[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:51:45 +0000 (0:00:00.069) 0:00:35.171 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:51:45 +0000 (0:00:00.056) 0:00:35.227 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [test] ******************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 15:51:45 +0000 (0:00:00.463) 0:00:35.691 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/provider/create_with_nm.yml for /cache/fedora-36.qcow2.snap => (item=tasks/provider/create_with_nm.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/provider/create_with_nm.yml:3 Wednesday 03 August 2022 15:51:45 +0000 (0:00:00.092) 0:00:35.783 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:51:45 +0000 (0:00:00.124) 0:00:35.908 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:51:45 +0000 (0:00:00.087) 0:00:35.995 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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 services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:51:46 +0000 (0:00:00.588) 0:00:36.583 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:51:48 +0000 (0:00:02.141) 0:00:38.724 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:51:49 +0000 (0:00:00.829) 0:00:39.554 ****** ok: [/cache/fedora-36.qcow2.snap] => {} 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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:51:49 +0000 (0:00:00.068) 0:00:39.622 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:51:49 +0000 (0:00:00.055) 0:00:39.678 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:51:49 +0000 (0:00:00.053) 0:00:39.731 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:51:49 +0000 (0:00:00.081) 0:00:39.813 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:51:49 +0000 (0:00:00.055) 0:00:39.869 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:51:49 +0000 (0:00:00.054) 0:00:39.923 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:51:49 +0000 (0:00:00.057) 0:00:39.980 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:51:50 +0000 (0:00:00.609) 0:00:40.590 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:51:50 +0000 (0:00:00.061) 0:00:40.651 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:51:50 +0000 (0:00:00.053) 0:00:40.705 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:51:50 +0000 (0:00:00.060) 0:00:40.765 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, ec2c1000-b122-4e9e-9857-50ed37e81034 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, ec2c1000-b122-4e9e-9857-50ed37e81034 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply changes to '802-3-ethernet.mac-address' setting (3): {'error': "nm-device-error-quark: Can't reapply changes to '802-3-ethernet.mac-address' setting (3)", 'success': None} TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:51:51 +0000 (0:00:00.668) 0:00:41.433 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:51:51 +0000 (0:00:00.061) 0:00:41.494 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, ec2c1000-b122-4e9e-9857-50ed37e81034", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, ec2c1000-b122-4e9e-9857-50ed37e81034 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply changes to '802-3-ethernet.mac-address' setting (3): {'error': \"nm-device-error-quark: Can't reapply changes to '802-3-ethernet.mac-address' setting (3)\", 'success': None}" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:51:51 +0000 (0:00:00.066) 0:00:41.561 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "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, 'testnic1': update connection testnic1, ec2c1000-b122-4e9e-9857-50ed37e81034\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, ec2c1000-b122-4e9e-9857-50ed37e81034 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply changes to '802-3-ethernet.mac-address' setting (3): {'error': \"nm-device-error-quark: Can't reapply changes to '802-3-ethernet.mac-address' setting (3)\", 'success': None}\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, ec2c1000-b122-4e9e-9857-50ed37e81034", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, ec2c1000-b122-4e9e-9857-50ed37e81034 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply changes to '802-3-ethernet.mac-address' setting (3): {'error': \"nm-device-error-quark: Can't reapply changes to '802-3-ethernet.mac-address' setting (3)\", 'success': None}" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:51:51 +0000 (0:00:00.068) 0:00:41.630 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:51:51 +0000 (0:00:00.057) 0:00:41.687 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [asserts] ***************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 15:51:52 +0000 (0:00:00.509) 0:00:42.197 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:51:52 +0000 (0:00:00.091) 0:00:42.288 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:51:52 +0000 (0:00:00.082) 0:00:42.370 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:51:52 +0000 (0:00:00.066) 0:00:42.437 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:51:52 +0000 (0:00:00.454) 0:00:42.892 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:51:52 +0000 (0:00:00.057) 0:00:42.949 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep testnic1 | grep /etc", "delta": "0:00:00.024988", "end": "2022-08-03 15:51:52.502968", "rc": 0, "start": "2022-08-03 15:51:52.477980" } STDOUT: testnic1 /etc/NetworkManager/system-connections/testnic1.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:51:53 +0000 (0:00:00.479) 0:00:43.428 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-testnic1] *********************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:51:53 +0000 (0:00:00.070) 0:00:43.499 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-testnic1] ******************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:51:53 +0000 (0:00:00.057) 0:00:43.557 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'testnic1' is present] ******************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:51:53 +0000 (0:00:00.094) 0:00:43.652 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'testnic1' is present] ************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:51:53 +0000 (0:00:00.071) 0:00:43.723 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 15:51:53 +0000 (0:00:00.079) 0:00:43.802 ****** TASK [Success in test 'I can manage a veth interface with NM after I managed it with initscripts.'] *** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 15:51:53 +0000 (0:00:00.048) 0:00:43.851 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: +++++ Success in test 'I can manage a veth interface with NM after I managed it with initscripts.' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 15:51:53 +0000 (0:00:00.068) 0:00:43.919 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-36.qcow2.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 15:51:54 +0000 (0:00:00.106) 0:00:44.025 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli con delete testnic1\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-testnic1\nrm -f /etc/sysconfig/network-scripts/ifcfg-testnic1\nip link del testnic1\n", "delta": "0:00:00.052249", "end": "2022-08-03 15:51:53.606171", "rc": 0, "start": "2022-08-03 15:51:53.553922" } STDOUT: Connection 'testnic1' (ec2c1000-b122-4e9e-9857-50ed37e81034) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-testnic1' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=85 changed=8 unreachable=0 failed=0 skipped=58 rescued=0 ignored=0 Wednesday 03 August 2022 15:51:54 +0000 (0:00:00.528) 0:00:44.554 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 3.75s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 2.26s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.23s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install NetworkManager -------------------------------------------------- 2.16s /tmp/tmpcu0yxwd0/tests/tests_provider_nm.yml:16 ------------------------------- linux-system-roles.network : Check which services are running ----------- 2.14s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.12s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 1.86s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Create veth interface testnic1 ------------------------------------------ 1.24s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmpcu0yxwd0/tests/tests_provider_nm.yml:5 -------------------------------- linux-system-roles.network : Check which packages are installed --------- 1.06s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.87s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpcu0yxwd0/tests/playbooks/tests_provider.yml:3 ------------------------- linux-system-roles.network : Enable network service --------------------- 0.84s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Check which packages are installed --------- 0.83s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.79s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.78s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.76s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.67s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.67s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.64s /tmp/tmpcu0yxwd0/tests/_backup.yml:6 ------------------------------------------ PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpcu0yxwd0/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/_restore.yml:4 Wednesday 03 August 2022 15:51:54 +0000 (0:00:00.047) 0:00:44.602 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006880", "end": "2022-08-03 15:51:54.102883", "rc": 0, "start": "2022-08-03 15:51:54.096003" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=86 changed=9 unreachable=0 failed=0 skipped=58 rescued=0 ignored=0 Wednesday 03 August 2022 15:51:55 +0000 (0:00:00.484) 0:00:45.086 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 3.75s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 2.26s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.23s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install NetworkManager -------------------------------------------------- 2.16s /tmp/tmpcu0yxwd0/tests/tests_provider_nm.yml:16 ------------------------------- linux-system-roles.network : Check which services are running ----------- 2.14s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.12s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 1.86s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Create veth interface testnic1 ------------------------------------------ 1.24s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmpcu0yxwd0/tests/tests_provider_nm.yml:5 -------------------------------- linux-system-roles.network : Check which packages are installed --------- 1.06s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.87s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpcu0yxwd0/tests/playbooks/tests_provider.yml:3 ------------------------- linux-system-roles.network : Enable network service --------------------- 0.84s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Check which packages are installed --------- 0.83s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.79s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.78s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.76s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.67s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.67s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.64s /tmp/tmpcu0yxwd0/tests/_backup.yml:6 ------------------------------------------ ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpxngj32xw executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 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: _backup.yml ********************************************************** 1 plays in /tmp/tmpsh02am6p/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpsh02am6p/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:18:15 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659543493.949551, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659543493.949551, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 44978, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659248396.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:18:16 +0000 (0:00:00.639) 0:00:00.656 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-36.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0777', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': False, 'isfifo': False, 'islnk': True, 'issock': False, 'uid': 0, 'gid': 0, 'size': 39, 'inode': 44978, 'dev': 31, 'nlink': 1, 'atime': 1659543493.949551, 'mtime': 1659248396.0, 'ctime': 1659543493.949551, 'wusr': True, 'rusr': True, 'xusr': True, 'wgrp': True, 'rgrp': True, 'xgrp': True, 'woth': True, 'roth': True, 'xoth': True, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'lnk_source': '/run/systemd/resolve/stub-resolv.conf', 'lnk_target': '../run/systemd/resolve/stub-resolv.conf', 'pw_name': 'root', 'gr_name': 'root', 'mimetype': 'inode/symlink', 'charset': 'binary', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python3'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659543493.949551, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659543493.949551, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 44978, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659248396.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:18:16 +0000 (0:00:00.034) 0:00:00.691 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004289", "end": "2022-08-03 16:18:15.776090", "rc": 0, "start": "2022-08-03 16:18:15.771801" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:18:16 +0000 (0:00:00.529) 0:00:01.221 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.64s /tmp/tmpsh02am6p/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.53s /tmp/tmpsh02am6p/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpsh02am6p/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_provider_nm.yml ************************************************ 2 plays in /tmp/tmpsh02am6p/tests/network/tests_provider_nm.yml PLAY [Run playbook 'playbooks/tests_provider.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/tests_provider_nm.yml:5 Wednesday 03 August 2022 16:18:16 +0000 (0:00:00.012) 0:00:01.233 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tests_provider_nm.yml:8 Wednesday 03 August 2022 16:18:17 +0000 (0:00:01.093) 0:00:02.326 ****** included: /tmp/tmpsh02am6p/tests/network/tasks/el_repo_setup.yml for /cache/fedora-36.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:18:17 +0000 (0:00:00.026) 0:00:02.353 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:18:17 +0000 (0:00:00.020) 0:00:02.374 ****** included: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml for /cache/fedora-36.qcow2.snap TASK [Create EPEL 36] ********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:18:17 +0000 (0:00:00.029) 0:00:02.403 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:18:17 +0000 (0:00:00.018) 0:00:02.421 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:18:17 +0000 (0:00:00.017) 0:00:02.439 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:18:17 +0000 (0:00:00.019) 0:00:02.459 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/tests_provider_nm.yml:9 Wednesday 03 August 2022 16:18:17 +0000 (0:00:00.018) 0:00:02.477 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Install NetworkManager] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/tests_provider_nm.yml:16 Wednesday 03 August 2022 16:18:17 +0000 (0:00:00.026) 0:00:02.504 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/tests_provider_nm.yml:20 Wednesday 03 August 2022 16:18:20 +0000 (0:00:02.143) 0:00:04.648 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "rpm", "-q", "--qf", "%{version}", "NetworkManager" ], "delta": "0:00:00.010147", "end": "2022-08-03 16:18:19.612571", "rc": 0, "start": "2022-08-03 16:18:19.602424" } STDOUT: 1.38.2 META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_provider.yml:3 Wednesday 03 August 2022 16:18:20 +0000 (0:00:00.424) 0:00:05.073 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_provider.yml:10 Wednesday 03 August 2022 16:18:21 +0000 (0:00:00.841) 0:00:05.914 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: this is: playbooks/tests_states.yml TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_provider.yml:18 Wednesday 03 August 2022 16:18:21 +0000 (0:00:00.049) 0:00:05.963 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml for /cache/fedora-36.qcow2.snap TASK [TEST: I can manage a veth interface with NM after I managed it with initscripts.] *** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 16:18:21 +0000 (0:00:00.051) 0:00:06.015 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ########## I can manage a veth interface with NM after I managed it with initscripts. ########## TASK [Show item] *************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 16:18:21 +0000 (0:00:00.055) 0:00:06.070 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can manage a veth interface with NM after I managed it with initscripts." } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/setup_test_interface.yml", "tasks/provider/default_with_nm.yml", "tasks/provider/create_and_remove_with_initscripts.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/provider/create_with_nm.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 16:18:21 +0000 (0:00:00.207) 0:00:06.277 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:18:21 +0000 (0:00:00.048) 0:00:06.326 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:18:21 +0000 (0:00:00.044) 0:00:06.370 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003536", "end": "2022-08-03 16:18:21.361005", "rc": 0, "start": "2022-08-03 16:18:21.357469" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:18:22 +0000 (0:00:00.429) 0:00:06.800 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:18:22 +0000 (0:00:00.047) 0:00:06.847 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [setup] ******************************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 16:18:22 +0000 (0:00:00.045) 0:00:06.893 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/setup_test_interface.yml for /cache/fedora-36.qcow2.snap => (item=tasks/setup_test_interface.yml) included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/provider/default_with_nm.yml for /cache/fedora-36.qcow2.snap => (item=tasks/provider/default_with_nm.yml) included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/provider/create_and_remove_with_initscripts.yml for /cache/fedora-36.qcow2.snap => (item=tasks/provider/create_and_remove_with_initscripts.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/setup_test_interface.yml:3 Wednesday 03 August 2022 16:18:22 +0000 (0:00:00.076) 0:00:06.969 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/fedora-36.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:18:22 +0000 (0:00:00.052) 0:00:07.021 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:18:22 +0000 (0:00:00.039) 0:00:07.061 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:18:22 +0000 (0:00:00.039) 0:00:07.101 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:18:22 +0000 (0:00:00.055) 0:00:07.157 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:18:22 +0000 (0:00:00.054) 0:00:07.211 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003476", "end": "2022-08-03 16:18:22.183708", "rc": 0, "start": "2022-08-03 16:18:22.180232" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:18:23 +0000 (0:00:00.414) 0:00:07.625 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:18:23 +0000 (0:00:00.046) 0:00:07.672 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:18:23 +0000 (0:00:00.046) 0:00:07.718 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:18:24 +0000 (0:00:01.872) 0:00:09.591 ****** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. changed: [/cache/fedora-36.qcow2.snap] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.009083", "end": "2022-08-03 16:18:24.591586", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 16:18:24.582503" } changed: [/cache/fedora-36.qcow2.snap] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003686", "end": "2022-08-03 16:18:25.002290", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 16:18:24.998604" } changed: [/cache/fedora-36.qcow2.snap] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.010384", "end": "2022-08-03 16:18:25.416541", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 16:18:25.406157" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:18:26 +0000 (0:00:01.273) 0:00:10.865 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.018235", "end": "2022-08-03 16:18:25.857467", "rc": 0, "start": "2022-08-03 16:18:25.839232" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:18:26 +0000 (0:00:00.432) 0:00:11.298 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:18:26 +0000 (0:00:00.039) 0:00:11.337 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:18:26 +0000 (0:00:00.039) 0:00:11.376 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:18:26 +0000 (0:00:00.037) 0:00:11.414 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:18:26 +0000 (0:00:00.039) 0:00:11.453 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/provider/default_with_nm.yml:3 Wednesday 03 August 2022 16:18:26 +0000 (0:00:00.038) 0:00:11.492 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:18:26 +0000 (0:00:00.066) 0:00:11.558 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:18:27 +0000 (0:00:00.055) 0:00:11.614 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:18:27 +0000 (0:00:00.550) 0:00:12.164 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:18:29 +0000 (0:00:02.224) 0:00:14.389 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:18:30 +0000 (0:00:01.037) 0:00:15.427 ****** ok: [/cache/fedora-36.qcow2.snap] => {} 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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:18:30 +0000 (0:00:00.068) 0:00:15.495 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:18:30 +0000 (0:00:00.055) 0:00:15.550 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:18:31 +0000 (0:00:00.059) 0:00:15.610 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:18:31 +0000 (0:00:00.080) 0:00:15.691 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:18:31 +0000 (0:00:00.055) 0:00:15.746 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:18:31 +0000 (0:00:00.056) 0:00:15.802 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:18:31 +0000 (0:00:00.062) 0:00:15.865 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:18:32 +0000 (0:00:00.863) 0:00:16.729 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:18:32 +0000 (0:00:00.061) 0:00:16.790 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:18:32 +0000 (0:00:00.059) 0:00:16.849 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:18:32 +0000 (0:00:00.090) 0:00:16.939 ****** ok: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:18:33 +0000 (0:00:00.769) 0:00:17.709 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:18:33 +0000 (0:00:00.056) 0:00:17.765 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:18:33 +0000 (0:00:00.062) 0:00:17.828 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:18:33 +0000 (0:00:00.070) 0:00:17.898 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:18:33 +0000 (0:00:00.057) 0:00:17.956 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/provider/create_and_remove_with_initscripts.yml:3 Wednesday 03 August 2022 16:18:33 +0000 (0:00:00.587) 0:00:18.543 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:18:34 +0000 (0:00:00.138) 0:00:18.681 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:18:34 +0000 (0:00:00.086) 0:00:18.768 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:18:34 +0000 (0:00:00.570) 0:00:19.338 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:18:36 +0000 (0:00:02.140) 0:00:21.479 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:18:37 +0000 (0:00:00.887) 0:00:22.366 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:18:37 +0000 (0:00:00.070) 0:00:22.436 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:18:37 +0000 (0:00:00.057) 0:00:22.494 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:18:37 +0000 (0:00:00.055) 0:00:22.550 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:18:38 +0000 (0:00:00.091) 0:00:22.641 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:18:38 +0000 (0:00:00.062) 0:00:22.703 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:18:38 +0000 (0:00:00.058) 0:00:22.762 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:18:38 +0000 (0:00:00.063) 0:00:22.825 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:18:38 +0000 (0:00:00.065) 0:00:22.890 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:18:38 +0000 (0:00:00.058) 0:00:22.949 ****** changed: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:18:39 +0000 (0:00:00.902) 0:00:23.851 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-6048199gtpj86/tmp1n0qlkpg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:18:39 +0000 (0:00:00.446) 0:00:24.298 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:18:43 +0000 (0:00:03.788) 0:00:28.087 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:18:43 +0000 (0:00:00.056) 0:00:28.143 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:18:43 +0000 (0:00:00.100) 0:00:28.244 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:18:43 +0000 (0:00:00.141) 0:00:28.385 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:18:43 +0000 (0:00:00.055) 0:00:28.441 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/provider/create_and_remove_with_initscripts.yml:16 Wednesday 03 August 2022 16:18:44 +0000 (0:00:00.457) 0:00:28.898 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:18:44 +0000 (0:00:00.109) 0:00:29.007 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:18:44 +0000 (0:00:00.087) 0:00:29.094 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:18:45 +0000 (0:00:00.585) 0:00:29.680 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:18:47 +0000 (0:00:02.145) 0:00:31.826 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.786) 0:00:32.612 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.146) 0:00:32.758 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.055) 0:00:32.814 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.056) 0:00:32.871 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.079) 0:00:32.950 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.060) 0:00:33.011 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.055) 0:00:33.066 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.057) 0:00:33.124 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.054) 0:00:33.178 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.061) 0:00:33.240 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:18:49 +0000 (0:00:00.613) 0:00:33.854 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-6048199gtpj86/tmp_6ihd1xh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:18:49 +0000 (0:00:00.469) 0:00:34.324 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active) [004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:18:50 +0000 (0:00:00.663) 0:00:34.988 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:18:50 +0000 (0:00:00.054) 0:00:35.043 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:18:50 +0000 (0:00:00.072) 0:00:35.116 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)\n[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:18:50 +0000 (0:00:00.068) 0:00:35.184 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:18:50 +0000 (0:00:00.053) 0:00:35.237 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [test] ******************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 16:18:51 +0000 (0:00:00.452) 0:00:35.690 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/provider/create_with_nm.yml for /cache/fedora-36.qcow2.snap => (item=tasks/provider/create_with_nm.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/provider/create_with_nm.yml:3 Wednesday 03 August 2022 16:18:51 +0000 (0:00:00.088) 0:00:35.778 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:18:51 +0000 (0:00:00.124) 0:00:35.903 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:18:51 +0000 (0:00:00.090) 0:00:35.994 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:18:51 +0000 (0:00:00.571) 0:00:36.566 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:18:54 +0000 (0:00:02.132) 0:00:38.699 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:18:54 +0000 (0:00:00.813) 0:00:39.512 ****** ok: [/cache/fedora-36.qcow2.snap] => {} 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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:18:54 +0000 (0:00:00.070) 0:00:39.582 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:18:55 +0000 (0:00:00.056) 0:00:39.639 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:18:55 +0000 (0:00:00.062) 0:00:39.701 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:18:55 +0000 (0:00:00.087) 0:00:39.788 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:18:55 +0000 (0:00:00.059) 0:00:39.848 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:18:55 +0000 (0:00:00.055) 0:00:39.903 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:18:55 +0000 (0:00:00.062) 0:00:39.966 ****** ok: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:18:55 +0000 (0:00:00.624) 0:00:40.590 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:18:56 +0000 (0:00:00.060) 0:00:40.651 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "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: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:18:56 +0000 (0:00:00.061) 0:00:40.713 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:18:56 +0000 (0:00:00.058) 0:00:40.771 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 12d3ab0f-53bb-40b9-9dc7-410e5328923a [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 12d3ab0f-53bb-40b9-9dc7-410e5328923a (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply changes to '802-3-ethernet.mac-address' setting (3): {'error': "nm-device-error-quark: Can't reapply changes to '802-3-ethernet.mac-address' setting (3)", 'success': None} TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:18:56 +0000 (0:00:00.644) 0:00:41.416 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:18:56 +0000 (0:00:00.054) 0:00:41.471 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 12d3ab0f-53bb-40b9-9dc7-410e5328923a", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 12d3ab0f-53bb-40b9-9dc7-410e5328923a (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply changes to '802-3-ethernet.mac-address' setting (3): {'error': \"nm-device-error-quark: Can't reapply changes to '802-3-ethernet.mac-address' setting (3)\", 'success': None}" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:18:56 +0000 (0:00:00.067) 0:00:41.538 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "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, 'testnic1': update connection testnic1, 12d3ab0f-53bb-40b9-9dc7-410e5328923a\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 12d3ab0f-53bb-40b9-9dc7-410e5328923a (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply changes to '802-3-ethernet.mac-address' setting (3): {'error': \"nm-device-error-quark: Can't reapply changes to '802-3-ethernet.mac-address' setting (3)\", 'success': None}\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 12d3ab0f-53bb-40b9-9dc7-410e5328923a", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 12d3ab0f-53bb-40b9-9dc7-410e5328923a (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply changes to '802-3-ethernet.mac-address' setting (3): {'error': \"nm-device-error-quark: Can't reapply changes to '802-3-ethernet.mac-address' setting (3)\", 'success': None}" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:18:57 +0000 (0:00:00.066) 0:00:41.605 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:18:57 +0000 (0:00:00.054) 0:00:41.659 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [asserts] ***************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 16:18:57 +0000 (0:00:00.491) 0:00:42.150 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:18:57 +0000 (0:00:00.089) 0:00:42.240 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:18:57 +0000 (0:00:00.080) 0:00:42.321 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:18:57 +0000 (0:00:00.063) 0:00:42.384 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:18:58 +0000 (0:00:00.423) 0:00:42.808 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:18:58 +0000 (0:00:00.055) 0:00:42.863 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep testnic1 | grep /etc", "delta": "0:00:00.020053", "end": "2022-08-03 16:18:57.858498", "rc": 0, "start": "2022-08-03 16:18:57.838445" } STDOUT: testnic1 /etc/NetworkManager/system-connections/testnic1.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:18:58 +0000 (0:00:00.456) 0:00:43.320 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-testnic1] *********************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:18:58 +0000 (0:00:00.071) 0:00:43.391 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-testnic1] ******************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:18:58 +0000 (0:00:00.058) 0:00:43.450 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'testnic1' is present] ******************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:18:58 +0000 (0:00:00.091) 0:00:43.541 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'testnic1' is present] ************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:18:59 +0000 (0:00:00.068) 0:00:43.610 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 16:18:59 +0000 (0:00:00.065) 0:00:43.675 ****** TASK [Success in test 'I can manage a veth interface with NM after I managed it with initscripts.'] *** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 16:18:59 +0000 (0:00:00.046) 0:00:43.722 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: +++++ Success in test 'I can manage a veth interface with NM after I managed it with initscripts.' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 16:18:59 +0000 (0:00:00.064) 0:00:43.786 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-36.qcow2.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 16:18:59 +0000 (0:00:00.088) 0:00:43.875 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli con delete testnic1\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-testnic1\nrm -f /etc/sysconfig/network-scripts/ifcfg-testnic1\nip link del testnic1\n", "delta": "0:00:00.057490", "end": "2022-08-03 16:18:58.916488", "rc": 0, "start": "2022-08-03 16:18:58.858998" } STDOUT: Connection 'testnic1' (12d3ab0f-53bb-40b9-9dc7-410e5328923a) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-testnic1' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=85 changed=8 unreachable=0 failed=0 skipped=58 rescued=0 ignored=0 Wednesday 03 August 2022 16:18:59 +0000 (0:00:00.524) 0:00:44.399 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 3.79s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 2.22s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.15s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install NetworkManager -------------------------------------------------- 2.14s /tmp/tmpsh02am6p/tests/network/tests_provider_nm.yml:16 ----------------------- fedora.linux_system_roles.network : Check which services are running ---- 2.14s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.13s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.87s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Create veth interface testnic1 ------------------------------------------ 1.27s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmpsh02am6p/tests/network/tests_provider_nm.yml:5 ------------------------ fedora.linux_system_roles.network : Check which packages are installed --- 1.04s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable network service -------------- 0.90s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Check which packages are installed --- 0.89s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.86s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpsh02am6p/tests/network/playbooks/tests_provider.yml:3 ----------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.79s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.77s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.66s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.64s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.64s /tmp/tmpsh02am6p/tests/network/_backup.yml:6 ---------------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpsh02am6p/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:18:59 +0000 (0:00:00.047) 0:00:44.447 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006425", "end": "2022-08-03 16:18:59.409070", "rc": 0, "start": "2022-08-03 16:18:59.402645" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=86 changed=9 unreachable=0 failed=0 skipped=58 rescued=0 ignored=0 Wednesday 03 August 2022 16:19:00 +0000 (0:00:00.494) 0:00:44.941 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 3.79s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 2.22s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.15s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install NetworkManager -------------------------------------------------- 2.14s /tmp/tmpsh02am6p/tests/network/tests_provider_nm.yml:16 ----------------------- fedora.linux_system_roles.network : Check which services are running ---- 2.14s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.13s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.87s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Create veth interface testnic1 ------------------------------------------ 1.27s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmpsh02am6p/tests/network/tests_provider_nm.yml:5 ------------------------ fedora.linux_system_roles.network : Check which packages are installed --- 1.04s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable network service -------------- 0.90s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Check which packages are installed --- 0.89s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.86s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpsh02am6p/tests/network/playbooks/tests_provider.yml:3 ----------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.79s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.77s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.66s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.64s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.64s /tmp/tmpsh02am6p/tests/network/_backup.yml:6 ----------------------------------